18
ML40x Getting Started Tutorial
UG083 (v5.0) June 30, 2006
ML40x Demonstrations in System ACE CF
R
Web Server (Using Hard Embedded Tri-Mode Ethernet MAC -
ML403/ML405)
Note:
For the ML401 and ML402 boards, see
“Web Server (Using Soft Ethernet MAC -
Location
System ACE configuration address 2.
From the Bootloader menu, select option
2
to start the Web Server demonstration.
Description
This demonstration uses the embedded Virtex-4 Tri-Mode Ethernet MAC (TEMAC) to
implement a Web server running Treck protocol on the PowerPC™ 405 processor. A
remote host, such as a PC running a Web browser, can communicate with the ML40
x
board
over Ethernet. The IP settings of the board can be obtained via DHCP or manually set by
the user.
Setup
1.
Connect an Ethernet straight or crossover cable from the ML40
x
board to a network
jack or directly to your PC.
Note:
The Ethernet PHY chip on the ML40
x
board has an auto-crossover feature. This web
server demonstration only supports full-duplex Ethernet connections.
2.
When the Web server is started, it provides the option of a static IP address or a DHCP-
obtained IP address. If your network supports DHCP, select DHCP (GPIO_SW_E
button), and continue to Step 3. If you are using a static IP address for the board, select
Static IP (GPIO_SW_W button), and follow the instructions below.
The default static IP address is set to 192.168.0.101. To use this address, select
accept
(GPIO_SW_E button), otherwise select
change
(GPIO_SW_W button), and follow the
instructions on the serial port to enter the new network settings.
Note:
If connecting the ML40
x
board directly to a stand-alone PC, it is recommend that the
default static IP address be used.
3.
After the IP address is determined, the web server STARTS UP. The IP address of the
board is displayed on the LCD.
4.
If necessary, configure your PC's network settings to be able to access the board over
Ethernet. For example, if you connect the ML40
x
board directly to a stand-alone PC
and have the board set to the default static IP address of 192.168.0.101, you should
configure the PC to have the IP address 192.168.0.1 so it is on the same subnet.
Note:
You might want to record your previous network settings so they can be easily restored
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
♦
Select
Internet Protocol (TCP/IP)
, and click
Properties
(
)