InterNiche Demo for LPC Overview -------- This document describes the demo program for the LPC23xx processor family. The demo program is an implementation of the web server, FTP client and server, and Telnet server modules, the InterNiche TCP/IP stack, and the FreeRTOS operating system. The product includes the following functionality: Web server FTP client and server Telnet server DHCP client Virtual File System Command-line user interface Installation ------------ The InterNiche demo software is targeted for the Keil MCB23xx Evaluation Board, using the ARM RealView 2.2 toolchain and RealView ICE-ME interface. The demo requires 64 KBytes of SRAM beginning at location 0x40000000. 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 executable file, NicheStack.axf, can be downloaded to Flash memory on the target board. To download the demo 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 6. Open the Flash Memory Control dialog box Target -> Load Image... Browse to NicheStack.axf Click 'Open' button 7. Write NicheStack.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 demo 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 demo 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. Alternate IP Addresses ---------------------- The external interrupt button, labeled 'INT0' on the Evaluation Board, can be used to select alternate IP addresses. After DHCP acquires an address or times out (about 30 seconds), pressing the 'INT0' button will set the IP address to 10.0.0.161. Pressing the 'INT0' button again will set the IP address to 192.168.0.161. A third button press restarts DHCP. LED Display ----------- The demo software has a one-hour timeout. The LEDs display the time remaining until the program exits; 59 to 1 minute, then 59 to 0 seconds. 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 ------- Please contact www.iniche.com or firstname.lastname@example.org for additional product information.
This site is no longer updated
and may contain out of date information