Page 1 of 1

Example 13 (timer) panic

Posted: Sun Dec 18, 2016 10:47 am
by jumjum123
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 ?

Re: Example 13 (timer) panic

Posted: Mon Dec 19, 2016 10:16 am
by ESP_Sprite
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!

Re: Example 13 (timer) panic

Posted: Mon Dec 19, 2016 11:06 am
by jumjum123
Thanks a lot. It works :-) :P
Now I can take it and use it in my application.
Proud that I could help 8-)