4.2 Demonstration
- Open the first terminal window (like Hyperterminal or TeraTerm) and connect to the Stellaris Virtual Serial Port COM port. This port is used as a debug terminal to display the IP address and status messages. From now on, this terminal is referred to as debug terminal.
- Select the Baud rate as 115200, Data Bits as 8, Parity as none, Stop bits as 1 and Flow Control as none.
- Open a second terminal window and connect to the COM port associated with the port that the DB9 cable is connected to on the PC. This terminal will be referred to as Serial Terminal.
- Select the Baud rate as 115200, Data Bits as 8, Parity as none, Stop bits as 1 and Flow Control as none.
- Program and run the enet_s2e application. For detailed instructions to program the enet_s2e application, see Section 3.
- A banner and status messages are printed on the debug terminal. Proceed only after the IP address is acquired and displayed on the debug terminal.
- Open a third terminal window to connect to the TCP/IP port 23 (or Telnet). This terminal will be referred to as Telnet terminal.
- Select TCP/IP. If a particular protocol is required, choose Telnet. Set the Port number to 23. Set the Host IP address to the IP address shown on the debug terminal.
- Information typed on either Serial or Telnet terminals will be displayed on the other terminal and vice versa. The text might not be displayed in the transmitting window based on the terminal windows setting.
This demonstrates that the S2E module routes back the serial data from PC as Telnet data (over Ethernet) and vice versa. In other words, the S2E module transmits Telnet data when it receives serial data and transmits serial data when it receives Telnet data.
The configuration webserver can be accessed by entering the IP address, displayed on the debug terminal, into a web browser. For more details on this webserver, see Section 5.