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).
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00