Embedded Web Port Interface
2.0.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.
An Ethernut Board with programming adapter or similar hardware is required to run the binary, which is supplied in Intel hex format for ATmega 103 and ATmega 128. Schematics and board layouts are available at http://www.ethernut.de/
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.2. Remove any previously installed version.
- Install Nut/OS version 3.4 (or above). Check nutenv.bat for any required modification (CPU type etc.).
- Modify the source code or HTML pages.
- Open a DOS window and call nutenv.bat. 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/