Silicon Laboratories Network Card Bedienungsanleitung

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

Zur Seite of

Richtige Gebrauchsanleitung

Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Silicon Laboratories Network Card an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Silicon Laboratories Network Card, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.

Was ist eine Gebrauchsanleitung?

Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Silicon Laboratories Network Card die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.

Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Silicon Laboratories Network Card. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.

Was sollte also eine ideale Gebrauchsanleitung beinhalten?

Die Gebrauchsanleitung Silicon Laboratories Network Card sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Silicon Laboratories Network Card
- Den Namen des Produzenten und das Produktionsjahr des Geräts Silicon Laboratories Network Card
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Silicon Laboratories Network Card
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen

Warum lesen wir keine Gebrauchsanleitungen?

Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Silicon Laboratories Network Card zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Silicon Laboratories Network Card und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Silicon Laboratories finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Silicon Laboratories Network Card zu überspringen, wie es bei der Papierform passiert.

Warum sollte man Gebrauchsanleitungen lesen?

In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Silicon Laboratories Network Card, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.

Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Silicon Laboratories Network Card widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.

Inhaltsverzeichnis der Gebrauchsanleitungen

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • Seite 29

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

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

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

  • Seite 32

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

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

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

  • Seite 35

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

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

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

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

  • Seite 39

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

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