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.

MSP432E401Y: Ethernet startup fails after watchdog reset

Part Number: MSP432E401Y

Hello,

I am programming TI-RTOS based msp432e401y on a custom board. I've implemented TCP server with static IP and watchdog timer. When ethernet link is down watchdog timers restarts the device but after random number of restarts the code crashes and stops at SysCtlPeripheralReady() function while trying to set power dependency for EMAC0 or EPHY0. The function call histord is as follows:

What might be the cause of this? Thank you in advance.

Best

  • Hi,

      I'm not sure what the problem is. I don't know how you handle a watchdog reset. If you get a watchdog reset and in your watchdog handling routine, force a manual reset for the EPHY0 again by calling SysCtlPeripheralReset(SYSCTL_PERIPH_EPHY). Does it make a difference?

  • Thanks for the reply Charles,

    I tried your method as well as trying to reset with SysCtlReset(). However, I ended up in the same situation. Eventhough I write a new code controller crashes in the same spot I have to assert reset either grounding the reset pin or power cycling. 

  • Hi,

      Can you try on a LaunchPad? Can you repeat the same problem? I just wanted to isolate if the problem is board level or software related. I have yet to understand the difference between the first or the second restart which are ok vs the last restart that crashes.