Silicon Laboratories Network Card manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Silicon Laboratories Network Card. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoSilicon Laboratories Network Card vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Silicon Laboratories Network Card você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Silicon Laboratories Network Card, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Silicon Laboratories Network Card deve conte:
- dados técnicos do dispositivo Silicon Laboratories Network Card
- nome do fabricante e ano de fabricação do dispositivo Silicon Laboratories Network Card
- instruções de utilização, regulação e manutenção do dispositivo Silicon Laboratories Network Card
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Silicon Laboratories Network Card não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Silicon Laboratories Network Card e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Silicon Laboratories na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Silicon Laboratories Network Card, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Silicon Laboratories Network Card, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Silicon Laboratories Network Card. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    Rev. 0.6 1/11 Copyright © 2011 by Silicon La bo ratories Ethernet-DK Ethernet-DK E MBEDDED E THERNET D EVELOPMENT K IT U SER ’ S G UIDE 1. Overview The Embedded Ether net Development Kit (Ethe rnet-DK) provides all the hardwa re and soft ware required to develop real-world embedded Ethernet applications usin g the industry proven CMX Micronet™[...]

  • Página 2

    Ethernet-DK 2 Rev. 0.6 2. Kit Content s The Embedded Ethernet Develo pment Kit contains the following items:  C8051F120 T arget Board  AB4 Ethernet Development Board  CA T5e Ethernet Cable  Silicon Laboratories Evaluation Kit IDE and Product Information CD-ROM. CD content include s the following:  Silicon Laboratories Integrated D[...]

  • Página 3

    Ethernet-DK Rev. 0.6 3 3. Hardware Setup The following instructions illu strate how to setup the har dware included with the kit. 1. Connect the AB4 Ethernet Development Board to the C8051F120 T arg et Board at J24 (Fig ure 2). Apply slight pressure to ensure the matin g 96 -pin connectors ar e firmly connected. 2. Using the ribbon cable , connect [...]

  • Página 4

    Ethernet-DK 4 Rev. 0.6 4. Network Setup The Embedded Ethern et Developmen t Kit can be connecte d to an Ethernet network using a st andard Ethern et cable (see Figure 4) or directly to a PC using a crosso ver cable (see Figu re 5). T able 1 describes the benefit s of using each of the con nection methods. A stand ard Ethernet ca ble is included i n[...]

  • Página 5

    Ethernet-DK Rev. 0.6 5 4.1. Network Setup Procedure If using a standard ca ble: 1. Connect the AB4 Ethernet Development Board to an Ethernet wall o utlet or to a router/switch using a standar d Ethernet cable. 2. Connect a PC to the same Ethernet network using a st andard Ethernet cable. If using a crossover cable: 1. Connect the AB4 Ethernet Devel[...]

  • Página 6

    Ethernet-DK 6 Rev. 0.6 4.2. Selecting an IP Ad dress for the Embedded System For a PC to recognize an embedde d system on a network, it s IP address and subnet mask need to be configured. Below are a few guid elines to follow wh en choosing an IP a ddress for the embedded system. Figure 6 shows a n example of a compatib le PC a nd embedded system I[...]

  • Página 7

    Ethernet-DK Rev. 0.6 7 5. Sof tware Setup The included CD-ROM contains the S ilicon Laboratories IDE, Keil C51 toolset, and document ation including datasheet s, application notes, a nd an electronic version of this user’s guide. The instructions below de scribe how to install the Embe dded Ethernet Deve lopment Kit sof twa re. Refer to the readm[...]

  • Página 8

    Ethernet-DK 8 Rev. 0.6 4. Unselect the “Inst a ll Raisonance Evaluation 8051 T o olset” option and se lect “Install Keil Evalua tion 8051 T oolset”. Then press the In st all button. 5. Follow the installati on prompts to install the development tools. The following applications will be installed:  The Silicon Laboratorie s IDE will be[...]

  • Página 9

    Ethernet-DK Rev. 0.6 9 6. Embedded Ethernet T utorial Now that the E mbedded Ethern et Developm ent Kit hardware has been set u p, the software installed, an d the embedded system connected to a network, it is time to download firmware into the MCU an d test its ne twork connectivity . The Embedded Ether net Tutorial consists of fo ur stages of inc[...]

  • Página 10

    Ethernet-DK 10 Rev. 0.6 5. In the System Settings section of the left window , select IP Address es . 6. In the right window , set the Source IP Address to the IP address of the em bedded system. 7. If the Gateway IP Address and Subnet mask of the network are known, th en fill in the addresses on the right window (see Figure 8 ). 8. If using the CP[...]

  • Página 11

    Ethernet-DK Rev. 0.6 11 9. Save the selected configuration using the File  Save As m enu. 10. Generate a new project with supporting firmware by selecting Generate Project from the File menu (s ee Figure 9). 1 1. Whe n pr om p te d fo r a folder to sav e the project, br owse to an empty directory or create a new directory . Note: Any files in th[...]

  • Página 12

    Ethernet-DK 12 Rev. 0.6 6.1.2. Programming the MCU We will now build the project created by the TCP/IP Conf iguration Wizard and downloa d the firmware to the MCU using the Silicon La boratories IDE. 1. From the Windows S tart menu, st art the Silicon Laboratories IDE . The shortcut will be under the Start  Silicon Laboratories menu. Alternative[...]

  • Página 13

    Ethernet-DK Rev. 0.6 13 5. V erify the Compiler and Linker t abs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:KeilC51BIN in the Exec ut able fie ld. 6. Press the Compiler tab's Customize button. Under the V ariable Location drop down box, select Large: XDA T A and press OK . Then press OK to close the T ool Chain [...]

  • Página 14

    Ethernet-DK 14 Rev. 0.6 8. Click the Connect button in the toolbar or select Debug  Connect from the menu . Note: If you receive th e er ro r me ssa g e “Communication could not be established with th e specified serial adapter”, op en the Connection Options Dialog by selecting Options  Connection Opt ions from the menu. V erify that the [...]

  • Página 15

    Ethernet-DK Rev. 0.6 15 6.1.3. T esting Connectivity Using PING After pressing GO , the MCU will be executing the TCP/IP stack firmware. The LEDs on the RJ-45 Ethernet connector should lig ht up if the MCU is conn ected to a ne twork. Once the network router detect s the presence of the embedded system, it will be accessible from any PC connected t[...]

  • Página 16

    Ethernet-DK 16 Rev. 0.6 6.2. St age 2—Basic Web Server wi th DHCP and Net finder Capability In the first st age of the de mo, we learned ho w to generate firmware for an em bedded web server using the TCP/IP Configuration Wizard and access the embedded server from a web browser . In this stage, we will learn how to generate a web ser ver that use[...]

  • Página 17

    Ethernet-DK Rev. 0.6 17 5. Save the selected configuration using the File  Save As m enu. 6. Generate a new project with supporting firmware by se lecting Generate Pr oject from the File menu (see Figure 13). 7. When prompted for a folder to save th e project, browse to an empty directory or create a new directory . Note: Any files in the select[...]

  • Página 18

    Ethernet-DK 18 Rev. 0.6 6.2.2. Programming the MCU We will now build the project created by the TCP/IP Conf iguration Wizard and downloa d the firmware to the MCU using the Silicon La boratories IDE. 1. From the Windows S tart menu, st art the Silicon Laboratories IDE . The shortcut will be under the Start  Silicon Laboratories menu. Alternative[...]

  • Página 19

    Ethernet-DK Rev. 0.6 19 5. V erify the Compiler and Linker t abs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:KeilC51BIN in the Exec ut able fie ld. 6. Press the Compiler tab's Customize button. Under the V ariable Location drop down box, select Large: XDA T A and press OK . Then press OK to close the T ool Chain [...]

  • Página 20

    Ethernet-DK 20 Rev. 0.6 8. Click the Connect button in the toolbar or select Debug  Connect from the menu . Note: If you receive th e er ro r me ssa g e “Communication could not be established with th e specified serial adapter”, op en the Connection Options Dialog by selecting Options  Connection Opt ions from the menu. V erify that the [...]

  • Página 21

    Ethernet-DK Rev. 0.6 21 6.2.3. Fin ding the Emb edded Syst em We will now search for embedded systems on the network. Note: The Netfinder utility v1.0 is not compatible with Windows Vista or Windows 7. 1. Open th e Net finder utility found in C:SiLabsMCUUtilitiesNetfinder . 2. Press the Search button as shown in Figure 14 to begin searching for[...]

  • Página 22

    Ethernet-DK 22 Rev. 0.6 5. The default web browser should launch and display th e home page served by the e mbedded web server . The same result can be achieved by typing the IP addre ss of the embedded web ser ver into the addr ess bar of a web browse r . Figure 16 shows a screenshot of the home page. Now go directly to Section "6 .3. S t age[...]

  • Página 23

    Ethernet-DK Rev. 0.6 23 7. Enter the IP address, su bn et mask, and default gatewa y (if known) into the ‘Assign IP Address’ dialo g and press OK . See Appendix A for information on how to co nfigu r e the PC with a static IP address and how to select a static IP address for the CP220 1EB. A wi ndows command line window should ap pear , ping th[...]

  • Página 24

    Ethernet-DK 24 Rev. 0.6 10. The default web browser sho uld launch and display the home p age served by the embedded web server . The same result can be achieved by typing the IP a ddr ess of the emb edd ed we b ser ver into the ad dr ess bar of a web browser . Figure 20 shows a screenshot of the uW eb-v2.0 home p ag e. Figure 20. Hello World Web P[...]

  • Página 25

    Ethernet-DK Rev. 0.6 25 6.3. St age 3—Configuring MAC and IP Addresses over the Serial Port In the first two stages of the demo, we learned how to genera te firmware for an embedde d web server using the TCP/IP Configuration Wizard and access the embedded serv er from a web browser . In this stage, we will learn how to dyna mically config ure the[...]

  • Página 26

    Ethernet-DK 26 Rev. 0.6 6.3.3. Programming the IP Address Now the MCU will be running the new firmwa re and blinking the gre en LED (P1.6) to indicate that the IP address has not been programmed . In this mode, the MCU is waiting for the user to initiate the update by connecting to the serial port and pressing any key to start. Figu re 21 sh ows th[...]

  • Página 27

    Ethernet-DK Rev. 0.6 27 6.4. St age 4—Adding Web Server Content In the first three stages of the demo, we learne d how to make an embedded web se rver , find it on the network using Netfinder , and program its IP over the serial port. In this stage, we will learn how to cha nge the HTML content on the server and see an example of an embedded te m[...]

  • Página 28

    Ethernet-DK 28 Rev. 0.6 6.4.3. Re-Building the Project an d Viewing Re sult s Once the file arrays are updated , it is time to re-build the project and view the result s. 1. Open and re-build the proj ect. This can be done by selecting Project  Open Pr oject and selecting the correct proje ct, then clicki ng on the Build/Make Project button in t[...]

  • Página 29

    Ethernet-DK Rev. 0.6 29 Figure 26. µWeb Embedded Web Server[...]

  • Página 30

    Ethernet-DK 30 Rev. 0.6 7. Exampl e Source Code The Embedded Ether net Development Kit includ es example source code, librari es, and register definition files for all MCU devices. These examp les are inst alled by defa ult in the “C: SiLabsMCUExamp les ” directory during IDE installation. Inside th is directory , an “Etherne t” folder i[...]

  • Página 31

    Ethernet-DK Rev. 0.6 31 8. C8051F120 T arget Board The Embedded Etherne t Development Kit includes a t arget board with a C8051F120 device pre-insta lled for evaluation and software development. Numerous input/ou tput (I/O) connections are provided to facilit ate prototyping using the t arget board. Refer to Fi gure 27 for the locations of the vari[...]

  • Página 32

    Ethernet-DK 32 Rev. 0.6 8.1. C8051F120 T arg et Board Schematic Figure 28. C8051F120 T arget Board Schematic[...]

  • Página 33

    Ethernet-DK Rev. 0.6 33 9. AB4 Ethernet Developm ent Board The Embedded Ethernet De velopment Kit includes the AB4 Ethernet Development Board de signed to connect the C8051F120 (or C8051F340, C8 051F020, C8051F04 0, or C8051F060) t arget board to an ethern et network. The ethernet controller us ed is the CP2200. Refer to Figure 29 for the locations[...]

  • Página 34

    Ethernet-DK 34 Rev. 0.6 9.1. Exp a nsion I/O Connector (J1) The 96-pin exp ansion I/O connector J1 is used to conne ct the AB4 Ethernet Development Board to the C8051F120 T arget Board. J1 provides access to man y C8051F12 0 sign al pins. Pins for +3 V , digita l ground, analo g ground an d the unregulated power supp ly (VUNREG) are also availa ble[...]

  • Página 35

    Ethernet-DK Rev. 0.6 35 9.2. AB4 Board Schematic[...]

  • Página 36

    Ethernet-DK 36 Rev. 0.6 10. Silicon Laboratories IDE (In tegrated Development Environment) The Silicon Laboratories IDE integrat es a source-code editor , source-l evel debugger and in-system Flash programm er . The use of t hird-party compile rs and ass emblers is also supported. This development kit includes the Keil Sof tware A51 macro assembler[...]

  • Página 37

    Ethernet-DK Rev. 0.6 37 A PPENDIX —S UPPORTED P ROTOCOLS Link/Physical Layer: Ethernet (IEEE802.3) —Widely installed local area network link/physical layer . Internet Layer: IP (Internet Protocol) —IP specifies the format of p ackets and manages the addre ssing of all devi ces on the network. IP is included in all builds of the TCP/IP stack. [...]

  • Página 38

    Ethernet-DK 38 Rev. 0.6 D OCUMENT C HANGE L IST Revision 0.3 to Revision 0.4  Added Netf inder Example .  Added note that R1 sho uld be shorte d with a zer o ohm resistor on the 'F12x T arget Board.  Updated the su pp or te d pr ot oc ols in the Appendix.  Updated screenshot s for V ersion 3.1 of the TCP/IP Configuration Wizard. Re[...]

  • Página 39

    Ethernet-DK Rev. 0.6 39 N OTES :[...]

  • Página 40

    Ethernet-DK 40 Rev. 0.6 C ONT ACT I NFORMATION Silicon Laborato ries Inc. 400 W Cesar Chavez Austin, TX 78701 Please visit the Silicon Labs T echnical Support web page: https://www .silabs.com/support/pages/contacttechnicalsupport.aspx and register to submit a technical support request. . Silicon Laboratories and Silicon Labs are trademarks of Sili[...]