Cannot Start Task in ISR
Posted: Sun Dec 04, 2016 1:16 am
Hi, when I start a task in an ISR, I end up with this:
I guess this is due to the fact that you must not call something like xTaskCreate in an ISR.
But what are my alternatives?
http://www.freertos.org/RTOS-Cortex-M3-M4.html
Code: Select all
Intr GPIO17 ,val: 1
***ERROR*** A stack overflow in task IDLE has been detected.
***ERROR*** A stack overflow in task IDLE has been detected.
***ERROR*** A stack overflow in task IDLE has been detected.
I (20865) nfiot: DNS lookup succeeded. IP=192.168.178.28
***ERROR*** A stack overflow in task IDLE has been detected.
***ERROR*** A stack overflow in task IDLE has been detected.
***ERROR*** A stack overflow in task IDLE has been detected.
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
Register dump:
PC : 40084853 PS : 00060b34 A0 : 80083ba7 A1 : 3ffbfa80
A2 : 3ffc410c A3 : 3ffc36fc A4 : 00060b21 A5 : 3ffbfa60
A6 : 00000003 A7 : 00060b23 A8 : 3ffc36fc A9 : 3ffc36fc
A10 : 00000019 A11 : 00000019 A12 : 00060b23 A13 : b33f0000
A14 : b33fffff A15 : 00060b23 SAR : 00000015 EXCCAUSE: 00000005
EXCVADDR: 00000000 LBEG : 4000c2e0 LEND : 4000c2f6 LCOUNT : ffffffff
Rebooting...
But what are my alternatives?
http://www.freertos.org/RTOS-Cortex-M3-M4.html