SEARCH
TOOLBOX
LANGUAGES
modified on 27 March 2012 at 12:53 ••• 8,155 views

Eagle enet io Application

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Created page with '===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 we…')
(Eagle 50E enet_io Application)
Line 1: Line 1:
-
===Eagle 50E enet_io Application===
+
===Eagle SBC 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.
+
The Eagle Single Board Computer's (SBC) with Ethernet are 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.
[[Image:Web_Interface.png|center|frame|alt=Web interface|Figure 2.1: Web interface for the enet_io application]]
[[Image:Web_Interface.png|center|frame|alt=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:
+
In order to demonstrate this application on an Eagle SBC 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
* 1. A Personal Computer (PC) with a serial port or a USB to serial port adapter
-
* 2. A DB9 to 2x5 adapter cable
+
* 2. A DB9 to 2x5 adapter cable if using an Eagle SBC where COM1 is a 2x5 pin header
* 3. A null modem cable  
* 3. A null modem cable  
* 4. A terminal program such as Putty, HyperTerminal, or TeraTerm
* 4. A terminal program such as Putty, HyperTerminal, or TeraTerm
Line 14: Line 14:
* 7. One +5V power supply
* 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:
+
Please follow these steps to run the enet_io application on an Eagle SBC 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.
+
* 1. If the Eagle SBC's COM1 port to the computer using the null modem cable. NOTE: Use the 2x5 adapter cable if COM1 is a 2x5 pin header.  
-
* 2. Connect the Eagle 50Es Ethernet port to an Ethernet Network.
+
* 2. Connect the Eagle SBC's Ethernet port to an Ethernet Network.
* 3. Start and set-up the terminal program with the following settings.
* 3. Start and set-up the terminal program with the following settings.
** a. Baudrate – 115200
** a. Baudrate – 115200
Line 25: Line 25:
** e. Flow Control – None
** e. Flow Control – None
* 4. Apply power to the board.   
* 4. Apply power to the board.   
-
* 5. The Eagle 50E will transmit the boards IP address to the terminal
+
* 5. The Eagle SBC will transmit the boards IP address to the terminal
* 6. Open a web browser.
* 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.
* 7. Type the IP address into the web browsers address bar and the web page in Figure 2.1 should load.
Line 31: Line 31:
* 9. Click on the “Toggle LED” button to turn the User LED on.   
* 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:
+
In order to demonstrate the enet_io application on an Eagle SBC with the optional USB Debug Port you will need the following software and equipment:
* 1. A Personal Computer (PC) with a USB port
* 1. A Personal Computer (PC) with a USB port
* 2. A terminal program such as Putty, HyperTerminal, or TeraTerm
* 2. A terminal program such as Putty, HyperTerminal, or TeraTerm
* 3. A web browser
* 3. A web browser
-
* 4. One USB A to micro USB cable (Supplied with Eagle 50E with USB Debug Port)
+
* 4. One USB A to micro USB cable (Supplied with Eagle SBC with USB Debug Port)
* 5. One Ethernet cable
* 5. One Ethernet cable
-
Please follow these steps to run the enet_io application on an Eagle 50E with the optional USB Debug Port:
+
Please follow these steps to run the enet_io application on an Eagle SBC 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.
+
* 1. Make sure two jumpers are set correctly to enable power to come from the Debug port and enable the virtual COM port. The Eagle 50 jumpers are JP1 for power and and JP6 for the virtual COM port.
-
* 2. Connect the Eagle 50Es Ethernet port to an Ethernet Network.
+
* 2. Connect the Eagle SBC's Ethernet port to an Ethernet Network.
-
* 3. Connect the Eagle 50E to the PC by using the USB A to micro USB cable.
+
* 3. Connect the Eagle SBC 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
* 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.  
+
* 5. Find out what COM port the Eagle SBC's virtual COM port is by looking in Windows Device Manager’s PORTS (COM & LPT). The Eagle SBC's 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.  
* 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
** a. Baudrate – 115200
Line 53: Line 53:
** e. Flow Control – None
** e. Flow Control – None
* 7. Press the Reset button.   
* 7. Press the Reset button.   
-
* 8. The Eagle 50E will transmit the boards IP address to the terminal.
+
* 8. The Eagle SBC will transmit the boards IP address to the terminal.
* 9. Open a web browser.
* 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.
* 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)”.
* 11. Click on “I/O Control Demo 1 (HTTP Requests)”.
* 12. Click on the “Toggle LED” button to turn the User LED on.
* 12. Click on the “Toggle LED” button to turn the User LED on.

Revision as of 12:52, 27 March 2012

Eagle SBC enet_io Application

The Eagle Single Board Computer's (SBC) with Ethernet are 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 SBC 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 if using an Eagle SBC where COM1 is a 2x5 pin header
  • 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 SBC without the optional USB Debug Port:

  • 1. If the Eagle SBC's COM1 port to the computer using the null modem cable. NOTE: Use the 2x5 adapter cable if COM1 is a 2x5 pin header.
  • 2. Connect the Eagle SBC's 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 SBC 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 SBC 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 SBC with USB Debug Port)
  • 5. One Ethernet cable

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

  • 1. Make sure two jumpers are set correctly to enable power to come from the Debug port and enable the virtual COM port. The Eagle 50 jumpers are JP1 for power and and JP6 for the virtual COM port.
  • 2. Connect the Eagle SBC's Ethernet port to an Ethernet Network.
  • 3. Connect the Eagle SBC 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 SBC's virtual COM port is by looking in Windows Device Manager’s PORTS (COM & LPT). The Eagle SBC's 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 SBC 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.