I have a couple of boards using ENC28J60 with SC20260E and N modules.
Initially it works ok, but sometimes after 1 - 4 hours it does not respond to the application running on my PC. If I restart the board it start working again. There are no exceptions.
I tried to reset using the below every 30 minutes but it did not change anything.
I was expecting it would be like unplugging and plugging it back the network cable
There is a networkaddress change event generated but still there is no response to the app on the PC.
The var address = ipProperties.Address.GetAddressBytes(); has the correct static IP address, I also tried DHCP. Is there something I am missing?
What is the solution for the stop working when hot issue, is it the way the ENC28J60 is initialized. Do you have a way to detect this condition and may be I can reset the board using that
I put a hack fix by sending a message from another board every minute and if I do not receive the packet reset the board. It seems to do the job for now.
Not sure why I am not able to send to my own IP, then I do need to depend on another board. Any ideas would be appreciated