I have an Infineon Aurix TC299 board with an ethernet interface.
Infineon gave us the MCAL librabry to run the basic ethernet demo application like Ping, RX and TX frames etc etc.
This library demo app intializes the MAC and the PHY at 100MBps.
For our application we need the LWIP 2.0.2 stack integarted to this Libraby and ensure we send and receive the packets with TCP header + IP header + MAC header + payload format with the unit on the other side of our ethernet interface.
This is a Non-OS board, so i intergarted the Lwip 2.0.2 stack with the library and made necessary changes as mentioned in the link provided below : http://lwip.wikia.com/wiki/Porting_For_Bare_Metal
We call the Lwip_init and Netif_add functions in the Ethernet Ini…