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

Moderator: igrr

User avatar
By igrr
#13168 If the user code really hangs, as in
Code: Select allwhile(true) { }

WDT will still fire.
Do you have some other case in mind? Can you post an example in that case?

Regarding the watchdog, I think the way to disable automatic WDT reset is to disassemble the SDK libraries (likely libmain.a), find a place where they call system_os_post(WDT_TASK, ..., ...);, and replace this call with NOPs.
Can you try doing that?
User avatar
By andrew melvin
#14030 Hi all,

I've been using system_restart(); and well abort();...

Most of the time I get a restart with the following...

Code: Select allets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 30984, room 16
tail 8
chksum 0xd6
load 0x3ffe8000, len 2556, room 0
tail 12
chksum 0xe8
ho 0 tail 12 room 4
load 0x3ffe8a00, len 5804, room 12
tail 0
chksum 0x85
csum 0x85
r�



But about 1/5 times I get this.... which just hangs and does not restart... any ideas....

Code: Select all ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset