ARM7xiashangyeTCPIP

所属分类:处理器开发
开发工具:PDF
文件大小:583KB
下载次数:9
上传日期:2010-05-18 19:18:17
上 传 者cgx1957
说明:  这是我在LPC2468以太网设计中用到的关于协议栈的详细解释,TCP/IP协议想必作以太网非要接触的。
(This is my design in the LPC2468 Ethernet protocol stack used in the detailed explanation on, TCP/IP protocol for Ethernet insist must have contact.)

文件列表:
菲利普arm7下的商业tcp ip协议栈\Software License Agreement.pdf (29888, 2006-09-28)
菲利普arm7下的商业tcp ip协议栈\LPC_30doc.zip (48766, 2006-09-25)
菲利普arm7下的商业tcp ip协议栈\LPC_30src.zip (538262, 2006-09-25)
菲利普arm7下的商业tcp ip协议栈\使用说明请参看右侧注释===〉〉.txt (771, 2007-04-29)
菲利普arm7下的商业tcp ip协议栈 (0, 2007-05-21)

September 2006 -------------- NicheLite for LPC Overview -------- This document describes the NicheLite for LPC product. The product consists of the following files: readme.txt - this document lpc_30src.zip - source files lpc_30doc.zip - documentation NicheLite for LPC is an implementation of the InterNiche Lightweight TCP/IP stack for the NXP LPC23xx processor family. The product includes the following functionality: TFTP client and server DHCP client DNS client Simple Web Server Virtual File System Command-line user interface Refer to the NicheLite documentation for a detailed product description. Installation ------------ The NicheLite for LPC product is targeted for the Keil MCB23xx Evaluation Board, using the ARM RealView 2.2 toolchain and RealView ICE-ME interface. Install the RealView software and review the ARM component documentation that is included in the installation. The ARM RealView 2.2 toolchain does not support the MCB23xx Evaluation Board directly; there is not device entry for the LPC23xx processor family. Instead, when connecting to the target board, select the LPC2148 device entry. The source ZIP file contains a pre-built executable (./lpc_30src/Release/nxplite.axf) which can be downloaded to Flash memory on the target board. To download the NicheLite for LPC application: 1. Connect the RealView ICE to the MCB23xx board and a Host USB port. 2. Connect a USB cable to the MCB23xx board and a Host USB port. 3. Start the RealView Debugger on the Host computer. 4. Open the Connection Control dialog box Target -> Connect to Target... Expand the LPC2148 Entry Check the ARM7TDMI... selection Close the dialog box 5. Open the NicheLite for LPC project Project -> Open Project... Browse to lpc_30src/nxplite.prj Click 'Open' button 6. Open the Flash Memory Control dialog box Target -> Load Image... Browse to lpc_30src/Release/nxplite.axf Click 'Open' button 7. Write philips.axf to Flash memory Uncheck 'Erase Block before Write' Clock Frequence is '12MHz' Click 'Erase' button In the RVDEBUG window, Debug -> Reset Target Processor In the RVDEBUG Register pane, select LPC2148 Tab and set the MemoryMode to 'User Flash' In the Flash Memory Control dialog box, click 'Write' button Close the Flash Memory Control dialog box Refer to the RealView documentation set for additional information on the download process. To run the NicheLite for LPC application: 1. Connect an ethernet cable to the MCB23xx. 2. Connect a serial cable between a Host COM port and the MCB23xx COM0 port. 3. Start a terminal emulator program on the Host. Configure the PC COM port: 115200 baud, 8-bit, 1 stop, no parity, no hardware handshack. 4. Apply power and press the RESET button on the MCB23xx. Start-up messages will be displayed through the serial port connection. As configured, when the NicheLite for LPC application is started, DHCP is used to acquire a network IP address. The web server can be accessed through a browser using the URL: http://xxx.xxx.xxx.xxx, where xxx.xxx.xxx.xxx is the IP address returned by the DHCP server and displayed on the MCB23xx board's LCD. NicheTool commands can be entered through the terminal emulator. The software attempts to obtain an IP address, using DHCP. There are also two additional IP addresses that are available; 10.0.0.161 and 192.168.0.161. Pressing the INT0 button cycles through the three IP choices. The LCD displays the current IP address. Build ----- Software development is performed using the ARM RealView 2.2 toolchain. Install the RealView software and review the ARM component documentation that is included in the installation. To build the NicheLite for LPC product: 1. Unzip the NicheLite lpc_30src.zip file. 2. Start the RealView Debugger (RVDEBUG) module. 3. Connect to the LPC23xx device. If the device is not in the list of supported devices, use the LPC2148 device. 4. Open the project: ./lpc_30src/nxplite.prj 5. Make any desired source code changes. 6. Select "Rebuild All" 7. Select "(Re)Load Image to Target" to download the software to the MCB23xx, as decribed above. 8. Select "Set PC to Entry Point" 9. Select "Run". NicheLite functionality can be selected/deselected through options in the file: ./lpc_30src/h/ipport.h. The network IP address can be set to a static address in the file: ./lpc_30src/lpc23xx/in_stubs.c. Refer to the NicheLite documentation for additional configuration information. LED Display ----------- If a fatal error occurs during software execution, the LEDs display an error code: 0x8z Program exit, exit code is 'z'. 0xE1 Illegal instruction 0xE2 Unknown software interrupt 0xE3 Instruction access error 0xE4 Data access error P0.23 .. P0.16 are bits 7..0, respectively. Support ------- For questions regarding the NicheLite for LPC software, contact InterNiche Support: support@iniche.com.

近期下载者

相关文件


收藏者