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":
void 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:
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)
....
ESP8266 Arduino add-on
Arduino IDE 1.6.5