SEARCH
TOOLBOX
LANGUAGES
modified on 27 March 2012 at 12:35 ••• 8,156 views

Eagle enet io Application

From Manuals

Revision as of 12:35, 27 March 2012 by Support (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Eagle 50E enet_io Application

The Eagle 50E SBC is shipped with the enet_io example application from the TI Stellarisware Library. This example application demonstrates web-based I/O control using the Ethernet controller and the lwIP TCP/IP Stack. DHCP is used to obtain an Ethernet address. If DHCP times out without obtaining an address, a static IP address will be chosen using AutoIP. The address that is selected will be shown on COM1, allowing access to the internal web pages served by the application via a normal web browser. Figure 2.1 shows the web page that will first be displayed.

Web interface
Figure 2.1: Web interface for the enet_io application

In order to demonstrate this application on an Eagle 50E without the optional USB Debug Port you will need the following software and equipment:

  • 1. A Personal Computer (PC) with a serial port or a USB to serial port adapter
  • 2. A DB9 to 2x5 adapter cable
  • 3. A null modem cable
  • 4. A terminal program such as Putty, HyperTerminal, or TeraTerm
  • 5. A web browser
  • 6. One Ethernet cable
  • 7. One +5V power supply

Please follow these steps to run the enet_io application on an Eagle 50E without the optional USB Debug Port:

  • 1. Connect the Eagle 50Es COM1 port to the PC by using the 2x5 adapter cable and the null modem cable.
  • 2. Connect the Eagle 50Es Ethernet port to an Ethernet Network.
  • 3. Start and set-up the terminal program with the following settings.
    • a. Baudrate – 115200
    • b. Data Bits – 8
    • c. Parity – None
    • d. Stop Bits – 1
    • e. Flow Control – None
  • 4. Apply power to the board.
  • 5. The Eagle 50E will transmit the boards IP address to the terminal
  • 6. Open a web browser.
  • 7. Type the IP address into the web browsers address bar and the web page in Figure 2.1 should load.
  • 8. Click on “I/O Control Demo 1 (HTTP Requests)”.
  • 9. Click on the “Toggle LED” button to turn the User LED on.

In order to demonstrate the enet_io application on an Eagle 50E with the optional USB Debug Port you will need the following software and equipment:

  • 1. A Personal Computer (PC) with a USB port
  • 2. A terminal program such as Putty, HyperTerminal, or TeraTerm
  • 3. A web browser
  • 4. One USB A to micro USB cable (Supplied with Eagle 50E with USB Debug Port)
  • 5. One Ethernet cable

Please follow these steps to run the enet_io application on an Eagle 50E with the optional USB Debug Port:

  • 1. Make sure there are jumpers on JP1(below micro USB connector) and JP6 (below micor SD connector) on the Eagle 50E.
  • 2. Connect the Eagle 50Es Ethernet port to an Ethernet Network.
  • 3. Connect the Eagle 50E to the PC by using the USB A to micro USB cable.
  • 4. Wait until the USB drivers have been installed. The USB drivers can be found in the Software Updates section on the Eagle's Wiki. http://wiki.micromint.com/index.php/Eagle_Documentation
  • 5. Find out what COM port the Eagle 50E is by looking in Windows Device Manager’s PORTS (COM & LPT). The Eagle 50Es COM port is the one that says Stellaris Virtual COM Port.
  • 6. Start and set-up the terminal program for the COM port that the Eagle 50E is on and with the following settings.
    • a. Baudrate – 115200
    • b. Data Bits – 8
    • c. Parity – None
    • d. Stop Bits – 1
    • e. Flow Control – None
  • 7. Press the Reset button.
  • 8. The Eagle 50E will transmit the boards IP address to the terminal.
  • 9. Open a web browser.
  • 10. Type the IP address into the web browsers address bar and the web page in Figure 2.1 should load.
  • 11. Click on “I/O Control Demo 1 (HTTP Requests)”.
  • 12. Click on the “Toggle LED” button to turn the User LED on.