Unexpected behavior with satatic IP adress (Ethernet Gateway)
-
I copied the sample code from here and changed only ip adresses.
But in serial console I see that arduino does not use static IP just to draw others. Somethimes they hit the correct ip for a moment.
The screenshot will describe it better.
When I use example from arduino.cc site everything work fine
I use:
arduino ide v 1.8.3
MySensors 2.1.1
-
@Solmorth the printed IP addresses are all over the place, including invalid addresses. I would suspect memory corruption. How much ram does the sketch use? (This is shown in the Arduino IDE when the sketch is compiled)
-
Sketch uses 23860 bytes (77%). Global variables uses 1097 bajtów (53%)
-
@Solmorth 47% free ram should be plenty, so that should not be the problem. I don't have any other ideas unfortunately.
-
Anyway, Thank you for your help
-
I experienced something similiar lately with a few my W5100 modules. It went away when I moved from my breadboard setup to soldered cabels.
-
But, when I use example from arduino.cc site everything work fine. (Links at first post).
Tested on Nano, uno r3 and breadboard (328p with optiboot 6.2).