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?

  • 1
    The interface is actually a usb to ethernet chip. I guess you have to implement enough of a usb stack first. – M Noit Jan 27 '14 at 11:07
  • And then get the data sheet / programming manual for the USB Ethernet chip. – Chris Stratton Jan 28 '14 at 17:48
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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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