How to detect a freeze/deadlock on a network interface and reset it? #45643
Unanswered
lucasgcbkhomp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a W5500 Ethernet Module via SPI on a custom board and I've set it up to be my networking interface on a nRF52840.
Currently with the device binding, I've declared it as such:
This works so far, and I use the Kconfig to set up a static IP address, away from the application code. However, after a while depending on use, it seems that the W5500 will freeze up and stop even though Zephyr is still running. The only solution is to reset the board, which should clear anything the Module may be waiting for. According to the manufacturer, this can be an effect of EMI among other things, so the firmware should predict it.
Assuming a more generic stance, what's the best way to detect if a network interface has ceased functioning?
Is there away to reinitialize the network configuration without rebooting the entire board?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions