SDK 0.9.5. b1, automatic reset after

FrenkR
Posts: 44
Joined: Thu Dec 04, 2014 9:25 am

SDK 0.9.5. b1, automatic reset after

Postby FrenkR » Sat Dec 27, 2014 1:58 am

after some time (0.5h or even more), I am getting reset(watchdog?). In debug output I am getting following output:

Code: Select all

ets Jan  8 2013,rst cause:4, boot mode:(1,7)

wdt reset

SDK 0.9.5 b1, system acts as a station and is connected to WiFi AP. Also timer is defined with 5000ms interval and prints output. on timer event, os_task is called.
Free Heap is stable at 41056. Also mem_info doesn't change. It looks there is not a problem with memory.

What would be the best path to find why(additional debug info)?

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: SDK 0.9.5. b1, automatic reset after

Postby ESP_Faye » Sat Dec 27, 2014 4:20 pm

In general,watchdog reset when you take a long time while() or something else prevent us to feed the dog..
Can you offer us your test code ?

FrenkR
Posts: 44
Joined: Thu Dec 04, 2014 9:25 am

Re: SDK 0.9.5. b1, automatic reset after

Postby FrenkR » Tue Dec 30, 2014 7:17 am

I restructured code, reduced "os tasks" and move events to timers and system is much more stable. I still have to do some code optimization. After that I will report if reset problem will still be there.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: SDK 0.9.5. b1, automatic reset after

Postby ESP_Faye » Tue Dec 30, 2014 12:59 pm

OK , please feel free to let us know if you have any question. ;)

Who is online

Users browsing this forum: No registered users and 209 guests