This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

lwIP fails to initialise after EMAC boot

Other Parts Discussed in Thread: AM3354

I have a StarterWare application that uses lwIP to download a file using http.

This works find if I boot the AM3354 from UART or NAND, but if I boot over the network (EMAC boot), it hangs during the CPSW initialisation in lwIP doing:

/* Enable the interrupts for channel 0 and for control core 0 */
CPSWCPDMATxIntEnable(cpswinst->cpdma_base, 0);

(third_party/lwip-1.4.0/ports/cpsw/netif/cpswif.c)

The CPSW and interrupt sub-sysctems seem to be reset as part of the initialisation, so I'm a bit puzzled as to why there's any difference between UART/NAND and EMAC boot.

Anyone got any ideas? 

Thanks,

Jonathan