Example 13 (timer) panic

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Example 13 (timer) panic

Postby jumjum123 » Sun Dec 18, 2016 10:47 am

Running the example 13_timer_group, I get this error: Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Drilled this down, to use timer1 in group 1 only and still get this error.
I'm prettx sure, disabling IDT watchdog in menu config is not the correct answer, or am I wrong ?

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: Example 13 (timer) panic

Postby ESP_Sprite » Mon Dec 19, 2016 10:16 am

Looks like the timer task has been allocated a somewhat small amount of stack, and some of the recent changed increased stack usage slightly. In 13_timer_group/main/timer_group.c, change the xTaskCreate parameter that is now 1024 into 2048 and the example should start working. I've also fixed this in esp-idf; the fixed version should end up on github in a few days. Thanks for spotting this and notifying us!

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

Re: Example 13 (timer) panic

Postby jumjum123 » Mon Dec 19, 2016 11:06 am

Thanks a lot. It works :-) :P
Now I can take it and use it in my application.
Proud that I could help 8-)

Who is online

Users browsing this forum: No registered users and 29 guests