rtel wrote on Wednesday, July 06, 2016:
Very broadly speaking, and oversimplifying, there are two phases to
creating a driver:
- Set up the hardware so that packets can be sent onto the network and
received from the network.
In this step, you could read the user manual, and then create lots of
very low level code to enable, clock and initialise the MAC…or as per
my previous email you could take a working driver provided for you by
Intel (or whoever). I think their driver is open source.
- Once you have the hardware inputting and outputting, stitch it into
the FreeRTOS+TCP stack.
If the hardware is happily reading and writing, then this step should be
straight forward as there are only a couple of functions that are needed.
There are examples in the FreeRTOS+TCP download already, in the
directory. There is also some information on the web site: