NetXDuo issues after power loss
Hello,
I have encountered a peculiar problem and I am running out of ideas on what to do next.
I'm working on a project with an stm32H563 mcu and lan8742 phy, using threadX and netXduo.
When the code is first downloaded it runs fine, but after a power cycle it doesn't. Connecting a debugger shows that everything is running as expected except there are no ip_events generated. The condition
if (ip_events & NX_IP_RECEIVE_EVENT)in "nx_ip_thread_entry.c" stops triggering (ip_events never changes.)
The thing is, a few weeks ago everything was working fine, the application started up and ran as expected, it responded to pings and processed incoming UDP - it is still running on two of the boards I prepared back then (and I dare not touch those at the moment).
Now that I do the same thing with any of the other boards, all of which were working previously, the application boots and runs after programming, but if I cut the power and restart, it doesn't. It's the same code checked out from the same repo, compiled on the same computer. I've also tried other computers, both Windows and Mac OS, so it's probably not that. The only thing I know has changed are updates to CubeMX and CubeIDE, but I haven't seen any reports on recent breaking changes.
Any help or suggestions on where to dig would be greatly appreciated.
Cheers,
// Ola
