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.

System hangs when restart using Ethernet

Hello,

I'm developing an application using the Ethernet to Modbus software suite (TIDU348), but I face a FaultISR when I try to restart (not reset) the board. That is caused by the Ethernet Interrupt lwIPEthernetIntHandler, which is called before enabling the Ethernet, such that the g_sNetIF is not properly initialised, and in the Interrupt it has data not valid that cause the FaultISR.

So, what I'd thought to do was to keep all interrupts disabled at the beginning of the reset, and the to re-enable them only after the complete initialization. Unfortunately, I can't find where the global interrupt disable is, nor where I could put such an instruction.

Can you help me?

Thanks,

Mattia Berton