Arduino mega 2560 with Wizz5500 ethernet shield v2
Modbus TCP/IP protocol
I am trying to open 8 sockets and read data from the meters using Etherent2 library. But every time the arduino is getting restarted and communication is not happening.
Previously I used Wizz Ethernet library which worked perfectly. But there we could only open 4 sockets at a time.
is it on the first attempt to open 8 sockets it fails or after several loops?
sounds like a memory allocation problem - perhaps the C++ destructors are not deallocating buffers correctly
what happens if u increase the heap size?