I integrated the FreeRTOS UDP/IP stack I got from FreeRTOS.org and got it running correctly on an RM46x HDK.
I ported that code to an RM57x HDK, but ran into an issue. The code is hanging in the HL_emac.c file on line 1474:
while (EMAC_BUF_DESC_EOQ != (EMACSwizzleData(curr_bd->flags_pktlen) & EMAC_BUF_DESC_EOQ))
Apparently, the end of queue (EOQ) flag is not being set in any of the emac's buffer descriptors. I have not modified how the emac is being initialized between the RM46x and the RM57x - I call EMACHWInit from xNetworkInterfaceInitialise.
The EMAC device driver code looks pretty much the same between the two platforms - the biggest difference is the "twizzle" macro. Any idea why this might be happening?
Ray