ML40x Getting Started Tutorial
15
UG083 (v5.0) June 30, 2006
ML40x Demonstrations in System ACE CF
R
Web Server (Using Soft Ethernet MAC - ML401/ML402)
Note:
For ML403 and ML405 boards, see
“Web Server (Using Hard Embedded Tri-Mode Ethernet
.
Location
System ACE configuration address 2.
From the Bootloader menu, select option
2
to start the Web Server demonstration.
Description
In this demonstration, an Ethernet-controlled GPIO interface application uses the ML40x
board as a Web server. A remote host, such as a PC running a Web browser, can
communicate with the ML40
x
board using the Ethernet to read the value of the ML40
x
board’s DIP switches or to set the LEDs on the board. Refreshing or reloading the remote
PC's Web browser causes the background color to change and the current DIP switch
values to be re-read. By default, the IP address of the ML40
x
board is 1.2.3.4, but it can be
changed by recompiling the software.
Setup
1.
Connect an Ethernet cable (straight or crossover) from your host PC to the ML40
x
board.
Note:
The Ethernet PHY chip on the ML40
x
board has an auto-crossover feature.
2.
Configure the remote PC host's IP address to 1.2.3.9 (Subnet mask can be 255.0.0.0).
Note:
Record the previous network settings so they will be easier to restore after the lab. The
screen shots and icon names might be slightly different depending on your PC's operating
system version.
♦
Right click
My Network Places
on your PC, and select
Properties
♦
Right click
Local Area Connection,
and select
Properties