Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By brutzler
#22711
martinayotte wrote:EDIT : I've just give this a try, but oooups ! 1 million wasn't enough, 100 million is better. ;)
But beware : I've saw sometimes the watchdog doing reset, but the reset was also hanging sometime.

I tried your "blocking-code":
Code: Select allvoid setup() {
  Serial.begin(115200);
  Serial.println("Programmstart ");
}
void loop() {
  Serial.println("Loop ");
for (int i = 0; i < 100000000; i++) { __asm__ volatile ("nop"); }
}


And there was (now about 1/2 hour) continously a reset:
Code: Select all ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 28780, room 16
tail 12
chksum 0xbf
ho 0 tail 12 room 4
load 0x3ffe8000, len 1332, room 12
tail 8
chksum 0xb1
load 0x3ffe8540, len 1572, room 0
tail 4
chksum 0x12
csum 0x12
rlProgrammstart
Loop

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)
....
User avatar
By martinayotte
#22719
brutzler wrote:And there was (now about 1/2 hour) continously a reset:

You means it took 1/2 to reset ? :(
From my yesterday's tests, it didn't took even half second ... ;)
User avatar
By brutzler
#22727
martinayotte wrote:
brutzler wrote:And there was (now about 1/2 hour) continously a reset:

You means it took 1/2 to reset ? :(
From my yesterday's tests, it didn't took even half second ... ;)


No :-)
I let it run over 1/2 hour. And it was resetting the whole time. Again and again. Every ~ 4 seconds.