W5500MacRaw

W5500MacRaw
ORIGINAL POST
By Nicholas Humfrey
components
Hardware Components
W5500
X 1
details

20211230_133332.png

W5100MacRaw

This Arduino sketch demonstrates reading and writing raw Ethernet frames using the Wiznet W5100 ethernet controller.

  • When a packet is received it prints the Ethernet headers to Serial.
  • If the packet is of the special EtherType 0x88B5, then it sends a reply back to the sender, while incrementing an 8-bit counter

It is based on the ioLibrary Driver code from Wiznet. All code that does not relate to Socket 0 and sending and receiving Ethernet frames has been stripped out for size.

Also included in the sendeth directory, is some Linux code for sending and receiving Ethernet frames to the Arduino.

The code is licenses under the 3-clause BSD license, the same as the ioLibrary driver.

20211230_133332.png

W5100MacRaw

This Arduino sketch demonstrates reading and writing raw Ethernet frames using the Wiznet W5100 ethernet controller.

  • When a packet is received it prints the Ethernet headers to Serial.
  • If the packet is of the special EtherType 0x88B5, then it sends a reply back to the sender, while incrementing an 8-bit counter

It is based on the ioLibrary Driver code from Wiznet. All code that does not relate to Socket 0 and sending and receiving Ethernet frames has been stripped out for size.

Also included in the sendeth directory, is some Linux code for sending and receiving Ethernet frames to the Arduino.

The code is licenses under the 3-clause BSD license, the same as the ioLibrary driver.

COMMENTS

Please Login to comment
  Subscribe  
Notify of
POSTED BY