My program (ver.30) runs ok, i'll call it "good state" ~ 1-9, hours and then get stuck and become in "broken state".
In good state, the machine runs the code as expected and (repeatedly) reacts as expected to cycling the power or pressing the reset (or ^M if IDE attached): program starts and runs.
In "broken state" after reset/power cycling, the machine (repeatedly) starts the setup() and get stuck at the function udp.begin.packet as if the code got corrupted(!) and only reloading will get it back to the "good state" for some hours.
In file included from _30.ino:10:0:
C:\Users\Guy\Documents\Arduino\libraries\icmp_ping/ICMPPing.h:37:1: warning: 'typedef' was ignored in this declaration [enabled by default]
};
^
In file included from _30.ino:13:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
Sketch uses 42,796 bytes (16%) of program storage space. Maximum is 253,952 bytes.
Global variables use 5,104 bytes (62%) of dynamic memory, leaving 3,088 bytes for local variables. Maximum is 8,192 bytes.
jimLee:
1 - 9 hours? Are you looking at milis(); somewhere and not properly accounting for rollover?
-jim lee
Thanks,
I am looking at my watch
PaulS:
The avrdude function does that as it uploads the hex file. Any discrepancies are reported.
Thanks, I opened a new tread just for this question and had the same answer you gave. I will look into it closely and report my finding in the two thread. Amazingly previous version, 29 with some extra lines of debug code is now running 4 days(!) Version 30 must be haunted