This project uses the Ethernet MAC (EMAC) and the on-board Ethernet transceiver available on Atmel evaluation kits. It enables the device to respond to a ping command sent by a host computer.
This application will work on the following evaluation kits:
The system reset signal NRST is connected to both the Ethernet PHY and the JTAG/ICE interface. This prevents the project from working properly when a JTAG probe is connected. To disconnect NRST from the ICE interface, the following modifications must be performed:
Upon startup, the program will configure the EMAC with a default IP and MAC addresses and then ask the transceiver to auto-negotiate the best mode of operation. Once this is done, it will start monitoring incoming packets and processing them whenever appropriate.
The basic will only answer to two kinds of packets:
To test that the board responds correctly to ping requests, type the following command-line on a computer connected to the same network as the board:
ping 10.159.245.156
-- Basic EMAC Project 1.4 --
MAC 23:45:56:78:9a:bc
IP 10.159.245.156
ping 10.159.245.156