I am getting below error on arduino ide serial
00:29:52.757 → ERROR A stack overflow in task loopTask has been detected.
00:29:52.757 → Core 0 register dump:
00:29:52.757 → MEPC : 0x40381bae RA : 0x403857f0 SP : 0x3fc8eb00 GP : 0x3fc8d200
00:29:52.757 → TP : 0x3fc8a9cc T0 : 0x4005890e T1 : 0x0000000f T2 : 0x00000001
00:29:52.757 → S0/FP : 0x3fc8eb20 S1 : 0x3fc8eb20 A0 : 0x3fc8eb20 A1 : 0x3c03681c
00:29:52.757 → A2 : 0x0000000b A3 : 0x3fc8eb4e A4 : 0x00000001 A5 : 0x3fc8f000
00:29:52.757 → A6 : 0x00010000 A7 : 0x00001100 S2 : 0x00001881 S3 : 0x00000001
00:29:52.757 → S4 : 0x00000001 S5 : 0x3fc96808 S6 : 0x00000003 S7 : 0x00000000
00:29:52.757 → S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
00:29:52.757 → T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000001 T6 : 0x00000000
Hi there,
So what code are you using, Sounds like it’s writing something where it shouldn’t?
Do you have Arduino BLE installed on the system? Remove it and Compile again.
HTH
YMMV
GL PJ
Yes i have but i am not using that the code was related to fastled it works correctly when leds are under 78 but for above it gives this error
I run same code on wokwi and it gives same error there too then with chat gpt code it created xtask freertos with large memory then it works
1 Like
Hi there,
Try removing the Arduino BLE from the IDE.
I know it’s crazy but just having it installed causes some weird issue with the ESP wifi & BLE stuff.
I beat my head against the wall for a 3-4 hours one night and I was trying different BSP’s and rolling things way back , Code that worked would’nt anymore. Turned out I unistalled everything but what I was using for the ESP32c6 or s3 but once I removed Arduino BLE everything worked again. Even though the code would compile , just made the thing Boot loop until in boot mode and a reload was done with out Arduino BLE installed at all.
YMMV.
HTH
GL PJ
I think it was a WIFI & BLE code compile, nothing fancy just scanners both Wifi and BLE and print Availables in both Networks.
1 Like