Hi,
I have been using Esp32 for quite a time now. I am facing this watchdog timer issue, and cant resolve it. Any help would be highly appreciated.
Here's the error message
Core 1 register dump:
PC : 0x40090eee PS : 0x00060135 A0 : 0x8008fb8e A1 : 0x3ffbf46c
A2 : 0x3ffbd878 A3 : 0x3ffbd708 A4 : 0x00000004 A5 : 0x00060123
A6 : 0x00060123 A7 : 0x00000001 A8 : 0x3ffbd708 A9 : 0x00000016
A10 : 0x3ffbd708 A11 : 0x00000016 A12 : 0x3ffc57c4 A13 : 0x00060123
A14 : 0x007bf628 A15 : 0x003fffff SAR : 0x0000000f EXCCAUSE: 0x00000006
EXCVADDR: 0x00000000 LBEG : 0x4008aebd LEND : 0x4008aecd LCOUNT : 0xfffffff2
Core 1 was running in ISR context:
EPC1 : 0x400ed053 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x00000000
Backtrace: 0x40090eeb:0x3ffbf46c |<-CORRUPTED
This is the part of the code that is causing the issue.
digitalWrite(17, HIGH);
vTaskDelay(300 / portTICK_PERIOD_MS);
digitalWrite(17, LOW);
I have the following tasks created fyi:
void rechargeTask(void* parameter);
void paymentTask(void* parameter);
void uploadTask(void* parameter);
xTaskCreatePinnedToCore(uploadTask, "Upload", 6000, NULL, 1, NULL, 1);
xTaskCreatePinnedToCore(rechargeTask, "Recharge", 6000, NULL, 3, NULL, 0);
xTaskCreatePinnedToCore(paymentTask, "Payment", 6000, NULL, 3, NULL, 0);
Omitting that 3 lines compiles fine, but i need to blink the led.That led blinking is part of payment task.