资料
  • 资料
  • 专题
菲利普ARM7下的商业TCP/IP协议栈
推荐星级:
时间:2019-12-22
大小:583.9KB
阅读数:106
上传用户:quw431979_163.com
查看他发布的资源
下载次数
0
所需E币
4
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
详细说明:菲利普ARM7下的商业TCP/IP协议栈,带有KeilARM 开发环境September 2006--------------NicheLite for LPCOverview--------This document describes the NicheLite for LPC product. The product consistsof the following files: readme.txt - this document lpc_30src.zip - source files lpc_30doc.zip - documentationNicheLite for LPC is an implementation of the InterNiche LightweightTCP/IP stack for the NXP LPC23xx processor family. The productincludes the following functionality: TFTP client and server DHCP client DNS client Simple Web Server Virtual File System Command-line user interfaceRefer to the NicheLite documentation for a detailed product description.Installation------------The NicheLite for LPC product is targeted for the Keil MCB23xx EvaluationBoard, using the ARM RealView 2.2 toolchain and RealView ICE-ME interface.Install the RealView software and review the ARM component documentationthat is included in the installation.The ARM RealView 2.2 toolchain does not support the MCB23xx Evaluation Boarddirectly; 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 -gt; Connect to Target... Expand the LPC2148 Entry Check the ARM7TDMI... selection Close the dialog box 5. Open the NicheLite for LPC project Project -gt; Open Project... Browse to lpc_30src/nxplite.prj Click 'Open' button 6. Open the Flash Memory Control dialog box Target -gt; 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 -gt; 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 boxRefer to the RealView documentation set for additional information onthe 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 isused to acquire a network IP address. The web server can be accessedthrough a browser using the URL: http://xxx.xxx.xxx.xxx, wherexxx.xxx.xxx.xxx is the IP address returned by the DHCP server and displayedon the MCB23xx board's LCD. NicheTool commands can be entered through theterminal emulator.The software attempts to obtain an IP address, using DHCP. There arealso two additional IP addresses that are available; 10.0.0.161 and192.168.0.161. Pressing the INT0 button cycles through the three IPchoices. 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 documentationthat 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 thefile: ./lpc_30src/h/ipport.h. The network IP address can be set to a staticaddress 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 anerror code: 0x8z Program exit, exit code is 'z'. 0xE1 Illegal instruction 0xE2 Unknown software interrupt 0xE3 Instruction access error 0xE4 Data access errorP0.23 .. P0.16 are bits 7..0, respectively.Support-------For questions regarding the NicheLite for LPC software, contactInterNiche Support: support@iniche.com.……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
PARTNER CONTENT
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书