I have a Teensy 4.1 sketch which uses the NativeEternet library. I am using the latest versions of TeensyDuino and NativeEthernet.
My program runs without ANY problems for days. The program uses the watchdog to restart every 48 hours. And it normally restarts and everything works well.
Every once in a while, the program loses network connection. When it restarts, it picks a "0.0.0.0" IP and I have no idea why!
Normally, when the board is not connected to the network, the code blocks and it never gets an IP. I do not know how it returns with IP = 0.0.0.0 ?
Disconnecting power and reconnecting often does NOT solve the problem! Leaving the board disconnected for a few minutes somehow fixes the issue and everything goes back to working normally.
Is this a hardware or a software problem?
I would appreciate the community's input on this serious issue.
My program runs without ANY problems for days. The program uses the watchdog to restart every 48 hours. And it normally restarts and everything works well.
Every once in a while, the program loses network connection. When it restarts, it picks a "0.0.0.0" IP and I have no idea why!
Normally, when the board is not connected to the network, the code blocks and it never gets an IP. I do not know how it returns with IP = 0.0.0.0 ?
Disconnecting power and reconnecting often does NOT solve the problem! Leaving the board disconnected for a few minutes somehow fixes the issue and everything goes back to working normally.
Is this a hardware or a software problem?
I would appreciate the community's input on this serious issue.