3

Bare metal programming: I need to write my own Ethernet driver for the raspberry pi, but I can't find the programmer's hardware manual or other documentation on how to code to the Pi's Ethernet hardware interface. Can some point me in the right direction on this?

2
  • 1
    The interface is actually a usb to ethernet chip. I guess you have to implement enough of a usb stack first.
    – M Noit
    Commented Jan 27, 2014 at 11:07
  • And then get the data sheet / programming manual for the USB Ethernet chip. Commented Jan 28, 2014 at 17:48

1 Answer 1

3

USPi is a bare metal USB driver for the Raspberry Pi written in C. The author has accessed the ethernet controller via internal USB hub

https://github.com/rsta2/uspi/tree/master/sample/ethernet

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.