下载中心
菲利普ARM7下的商业TCP/IP协议栈rar
1星 发布者: 冰人

2013-09-01 | 1积分 | 582.44KB |  0 次下载

下载 收藏 评论

文档简介
标签: 菲利普ARM7下的商业TCP

菲利普ARM7下的商业TCP

IP协议栈

IP协议栈

ECU

ECU

汽车电子

汽车电子

详细说明:菲利普ARM7下的商业TCP/IP协议栈,带有Keil ARM 开发环境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 - documentationNicheLite 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 interfaceRefer 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 boxRefer 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 errorP0.23 .. P0.16 are bits 7..0, respectively.

Support

-------For questions regarding the NicheLite for LPC software, contact

InterNiche Support: support@iniche.com.

评论
相关视频
  • 直播回放: Keysight 小探头,大学问,别让探头拖累你的测试结果!

  • 控制系统仿真与CAD

  • MIT 6.622 Power Electronics

  • 直播回放:基于英飞凌AIROC™ CYW20829低功耗蓝牙芯片的无线组网解决方案

  • 直播回放:ADI & WT·世健MCU痛点问题探索季:MCU应用难题全力击破!

  • Soc Design Lab - NYCU 2023

推荐帖子
精选电路图
  • PIC单片机控制的遥控防盗报警器电路

  • 使用ESP8266从NTP服务器获取时间并在OLED显示器上显示

  • 带有短路保护系统的5V直流稳压电源电路图

  • 如何构建一个触摸传感器电路

  • 如何调制IC555振荡器

  • 基于ICL296的大电流开关稳压器电源电路

×