Embedded Web Port Interface
2.2.1
This application demonstrates how to create a simple web interface to monitor and control I/O ports of an embedded system via TCP/IP by using a browser.
The following items are required to run the binaries:
- An Ethernut or Charon II Development Board or similar hardware using an ATmega 103 or ATmega 128 CPU and a RTL8019AS or LAN91C111 Ethernet Controller.
- AVR ISP or JTAG adapter plus the proper software tool to upload Intel hex files to the target system.
Schematics and board layouts of the Ethernut hardware are available at http://www.ethernut.de/
More infos about the Charon II Development Board are available at http://www.HW-group.com/
To modify and compile the included source code, you need
This document has been automatically generated by Doxygen, a great tool created by Dimitri van Heesch.
- Connect the Ethernut Board (or similar) to your programming adapter. Connect the board also to the power supply and the Ethernet.
- Use your favorite ISP software and upload the binary file named webport.hex to your board. Note, that there are two different versions in to subdirectories. One is the ATmega 103 version, the second one is for the ATmega 128 running in native mode (not 103 compatibility mode).
- If you do not have a DHCP server running in your local network, you need to use the ARP method to assign an IP address to your board. For Ethernuts this is explained in detail in the hardware manual.
- Use a browser to connect your board. You should get the index file.
- Install AVR-GCC version 3.3 or above. Remove any previously installed version.
- Install Nut/OS version 3.9.6 (or above). Run the Configurator following the Nut/OS software manual.
- Create a sample directory with the Configurator.
- Copy the webport directory into the sample directory.
- Modify the source code or HTML pages.
- Open a DOS window. Make sure that the PATH environment includes the Nut/OS tools directory and the compiler's binary directories. Change to the directory, which contains the WebPort Makefile and enter make.
- The webport.hex file will contain your new binary, ready for uploading to the board. If your programming adapter is STK200/STK500 compatible, you can simple enter make burn on the command line. This will create the binary and upload it in one go.
If you would like to contact us regarding Ethernut, please email info@egnite.de
For updated information you may regularily visit http://www.ethernut.de/
Bare Ethernut boards as well as assembled and tested Ethernuts may be ordered from http://www.egnite.de/
© 2002-2004 by egnite Software GmbH -
visit http://www.ethernut.de/