Silicon Laboratories Ethernet-DK Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Redes Silicon Laboratories Ethernet-DK. Silicon Laboratories Ethernet-DK User's Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 40
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Rev. 0.6 1/11 Copyright © 2011 by Silicon Laboratories Ethernet-DK
Ethernet-DK
EMBEDDED ETHERNET DEVELOPMENT KIT USERS GUIDE
1. Overview
The Embedded Ethernet Development Kit (Ethernet-DK) provides all the hardware and software required to
develop real-world embedded Ethernet applications using the industry proven CMX Micronet™ protocol stack and
high-performance Silicon Laboratories microcontrollers. The TCP/IP protocol stack is developed specifically for
embedded processors and is freely distributed in an easy-to-use library. A TCP/IP Configuration Wizard is provided
to generate a highly customized library optimized for user selected protocols. It also generates the framework code
required to use the library and a project file that can be managed in the Silicon Laboratories Integrated
Development Environment (IDE). Additional information about the TCP/IP library and Configuration Wizard,
including a detailed API description, can be found in application note “AN237: TCP/IP Library Programmer’s
Guide”.
The Embedded Ethernet Development Kit hardware includes a C8051F120 Target Board, AB4 Ethernet
Development Board, USB Debug Adapter, and all necessary cables to debug the MCU and connect it to an
Ethernet network. The C8051F120 Target Board features the 100 MIPS, 128 kB Flash, 8 kB RAM, 8051-based
C8051F120 MCU. The MCU network interface provided by the AB4 board consists of the CP2200 Ethernet
controller and an RJ-45 connector with integrated magnetics and LEDs. The TCP/IP Library includes a built-in
driver for the CP2200 and has a custom driver interface with auto-generated templates to allow drivers for any
Ethernet controller to be written.
The Silicon Labs IDE supports full-speed, non-intrusive MCU debugging and is bundled with an evaluation version
of the Keil C51 Toolchain allowing immediate application code evaluation in C. Projects with up to 4 kB of object
code and unlimited library code can be developed using the included toolset. Numerous application code examples
are included in the development kit and a walkthrough of an embedded web server demo is included in Section 6
on page 9.
Figure 1. C8051F120TB Target Board and AB4 Ethernet Development Board
Vista de página 0
1 2 3 4 5 6 ... 39 40

Resumo do Conteúdo

Página 1 - Ethernet-DK

Rev. 0.6 1/11 Copyright © 2011 by Silicon Laboratories Ethernet-DKEthernet-DKEMBEDDED ETHERNET DEVELOPMENT KIT USER’S GUIDE1. OverviewThe Embedded Et

Página 2

Ethernet-DK10 Rev. 0.65. In the System Settings section of the left window, select IP Addresses. 6. In the right window, set the Source IP Address to

Página 3

Ethernet-DKRev. 0.6 119. Save the selected configuration using the FileSave As menu. 10. Generate a new project with supporting firmware by selecting

Página 4

Ethernet-DK12 Rev. 0.66.1.2. Programming the MCUWe will now build the project created by the TCP/IP Configuration Wizard and download the firmware to

Página 5 - 4.1. Network Setup Procedure

Ethernet-DKRev. 0.6 135. Verify the Compiler and Linker tabs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:\Keil\C51\BIN in

Página 6

Ethernet-DK14 Rev. 0.68. Click the Connect button in the toolbar or select DebugConnect from the menu. Note: If you receive the error message “Commun

Página 7

Ethernet-DKRev. 0.6 156.1.3. Testing Connectivity Using PINGAfter pressing GO, the MCU will be executing the TCP/IP stack firmware. The LEDs on the RJ

Página 8

Ethernet-DK16 Rev. 0.66.2. Stage 2—Basic Web Server with DHCP and Netfinder CapabilityIn the first stage of the demo, we learned how to generate firm

Página 9

Ethernet-DKRev. 0.6 175. Save the selected configuration using the FileSave As menu. 6. Generate a new project with supporting firmware by selecting

Página 10

Ethernet-DK18 Rev. 0.66.2.2. Programming the MCUWe will now build the project created by the TCP/IP Configuration Wizard and download the firmware to

Página 11

Ethernet-DKRev. 0.6 195. Verify the Compiler and Linker tabs are pointing to the C51.exe (compiler) and BL51.exe (linker) files in C:\Keil\C51\BIN in

Página 12

Ethernet-DK2 Rev. 0.62. Kit ContentsThe Embedded Ethernet Development Kit contains the following items: C8051F120 Target Board AB4 Ethernet Develop

Página 13

Ethernet-DK20 Rev. 0.68. Click the Connect button in the toolbar or select DebugConnect from the menu. Note: If you receive the error message “Commun

Página 14

Ethernet-DKRev. 0.6 216.2.3. Finding the Embedded SystemWe will now search for embedded systems on the network.Note: The Netfinder utility v1.0 is not

Página 15

Ethernet-DK22 Rev. 0.65. The default web browser should launch and display the home page served by the embedded web server. The same result can be ach

Página 16

Ethernet-DKRev. 0.6 237. Enter the IP address, subnet mask, and default gateway (if known) into the ‘Assign IP Address’ dialog and press OK. See Appen

Página 17

Ethernet-DK24 Rev. 0.610. The default web browser should launch and display the home page served by the embedded web server. The same result can be ac

Página 18

Ethernet-DKRev. 0.6 256.3. Stage 3—Configuring MAC and IP Addresses over the Serial PortIn the first two stages of the demo, we learned how to genera

Página 19

Ethernet-DK26 Rev. 0.66.3.3. Programming the IP AddressNow the MCU will be running the new firmware and blinking the green LED (P1.6) to indicate that

Página 20

Ethernet-DKRev. 0.6 276.4. Stage 4—Adding Web Server ContentIn the first three stages of the demo, we learned how to make an embedded web server, fin

Página 21

Ethernet-DK28 Rev. 0.66.4.3. Re-Building the Project and Viewing ResultsOnce the file arrays are updated, it is time to re-build the project and view

Página 22

Ethernet-DKRev. 0.6 29Figure 26. µWeb Embedded Web Server

Página 23

Ethernet-DKRev. 0.6 33. Hardware SetupThe following instructions illustrate how to setup the hardware included with the kit.1. Connect the AB4 Ethern

Página 24

Ethernet-DK30 Rev. 0.67. Example Source CodeThe Embedded Ethernet Development Kit includes example source code, libraries, and register definition fi

Página 25

Ethernet-DKRev. 0.6 318. C8051F120 Target BoardThe Embedded Ethernet Development Kit includes a target board with a C8051F120 device pre-installed fo

Página 26

Ethernet-DK32 Rev. 0.68.1. C8051F120 Target Board SchematicFigure 28. C8051F120 Target Board Schematic

Página 27

Ethernet-DKRev. 0.6 339. AB4 Ethernet Development BoardThe Embedded Ethernet Development Kit includes the AB4 Ethernet Development Board designed to

Página 28

Ethernet-DK34 Rev. 0.69.1. Expansion I/O Connector (J1)The 96-pin expansion I/O connector J1 is used to connect the AB4 Ethernet Development Board to

Página 29

Ethernet-DKRev. 0.6 359.2. AB4 Board Schematic

Página 30 - 7.5. DHCP/BOOTP Examples

Ethernet-DK36 Rev. 0.610. Silicon Laboratories IDE (Integrated Development Environment)The Silicon Laboratories IDE integrates a source-code editor,

Página 31

Ethernet-DKRev. 0.6 37APPENDIX—SUPPORTED PROTOCOLSLink/Physical Layer:Ethernet (IEEE802.3)—Widely installed local area network link/physical layer.Int

Página 32

Ethernet-DK38 Rev. 0.6DOCUMENT CHANGE LISTRevision 0.3 to Revision 0.4 Added Netfinder Example. Added note that R1 should be shorted with a zero ohm

Página 33

Ethernet-DKRev. 0.6 39NOTES:

Página 34

Ethernet-DK4 Rev. 0.64. Network SetupThe Embedded Ethernet Development Kit can be connected to an Ethernet network using a standard Ethernetcable (se

Página 35 - 9.2. AB4 Board Schematic

Ethernet-DK40 Rev. 0.6CONTACT INFORMATIONSilicon Laboratories Inc.400 W Cesar ChavezAustin, TX 78701Please visit the Silicon Labs Technical Support we

Página 36 - 10.2. Assembler and Linker

Ethernet-DKRev. 0.6 54.1. Network Setup ProcedureIf using a standard cable:1. Connect the AB4 Ethernet Development Board to an Ethernet wall outlet o

Página 37 - Application Layer:

Ethernet-DK6 Rev. 0.64.2. Selecting an IP Address for the Embedded SystemFor a PC to recognize an embedded system on a network, its IP address and su

Página 38 - Revision 0.5 to Revision 0.6

Ethernet-DKRev. 0.6 75. Software SetupThe included CD-ROM contains the Silicon Laboratories IDE, Keil C51 toolset, and documentation includingdatashe

Página 39

Ethernet-DK8 Rev. 0.64. Unselect the “Install Raisonance Evaluation 8051 Toolset” option and select “Install Keil Evaluation 8051 Toolset”. Then pres

Página 40 - CONTACT INFORMATION

Ethernet-DKRev. 0.6 96. Embedded Ethernet TutorialNow that the Embedded Ethernet Development Kit hardware has been set up, the software installed, an

Comentários a estes Manuais

Sem comentários