Silicon Laboratories Network Card manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Silicon Laboratories Network Card. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Silicon Laboratories Network Card ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Silicon Laboratories Network Card décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Silicon Laboratories Network Card devrait contenir:
- informations sur les caractéristiques techniques du dispositif Silicon Laboratories Network Card
- nom du fabricant et année de fabrication Silicon Laboratories Network Card
- instructions d'utilisation, de réglage et d’entretien de l'équipement Silicon Laboratories Network Card
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Silicon Laboratories Network Card ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Silicon Laboratories Network Card et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Silicon Laboratories en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Silicon Laboratories Network Card, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Silicon Laboratories Network Card, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Silicon Laboratories Network Card. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 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™[...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 29

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

  • Page 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[...]

  • Page 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[...]

  • Page 32

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

  • Page 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[...]

  • Page 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[...]

  • Page 35

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

  • Page 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[...]

  • Page 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. [...]

  • Page 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[...]

  • Page 39

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

  • Page 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[...]