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.

EMAC/NDK startup problem with udpHello example on EVMC6472

Hello,

I experience a network stack startup problem with the MCSDK udpHello example on EVMC6472. Sometimes the network stack gets stuck during startup after printing the MAC address line; when it's in this state, it does not receive any incoming packets.

I figured out that this problem can easily reproduced by loading the program (with auto-run to main), sending a packet (e.g. using ping) to the DSP and then hitting the Run button to continue. When doing this, the network stack will never come up - it always stops after outputting the MAC address, and no link message will be output. Further investigation has shown that this might be an interrupt setup problem within the EMAC driver; probably, there is a vulnerable time span in the setup during which any incoming packet causes this startup problem.

Is this a known problem of the EMAC driver? Do you have a solution? - I cannot prevent that packets are sent to the DSP even before it has finished setup.

These software versions were used:
 MCSDK 1.0.0.8
 NDK 2.20.2.22
 SYS/BIOS 6.31.3.4.27
 C64 PDK 1.0.0.06
 CCS 4.2.4.00033
 XDCtools 3.20.8.88

Regards,
Heiko