Ethernet

Bifferboard 'bare-metal' ethernet programming example

This example allows one to run a simple program on the Bifferboard which listens for ethernet packets. When the packet is received it prints the payload on the console and replies with a response packet.

A Python script is provided to send the packet from a PC. You will need to be familiar with MAC addresses to get this example working, since the addresses in the script apply only to my laptop and the Bifferboard used for testing.

You may make use of the example programs for any purpose, commercial or otherwise.

Note that since communication sends only raw ethernet frames there is no error recovery. For more reliable communication it is necessary to layer a tcp/ip stack on top of the r6040 routines. This could be achieved by using lwIP.