ESP32S3 TinyML with tensorflow and wifi crashing
Posted: Thu Jul 25, 2024 9:35 am
Hi! I working on a project using a custom ESP32S3 chip and I am experiencing issues when I have both a tensorflow model and Wifi running at the same time. I can have them running seperately but when running together I get
I am not very experienced so I am primarily using chatGPT to help be debug but it's suggestions are not getting me any further.
I tried increasing stack size but using anything other than the original loop() task gives me
ESP.getFreeHeap(), ESP.getMinFreeHeap(), ESP.getMaxAllocHeap() values looks fine with both individually so I don't understand why everything breaks when I have both running. When I have the wifi initialization first in the setup() it even crashes during the initialization of that before it touches the tensorflow part..
Any suggestions or help is highly appreciated!
Code: Select all
Guru Meditation Error: Core 1 panic'ed (Unhandled debug exception). Debug exception reason: Stack canary watchpoint triggered (loopTask)
I tried increasing stack size but using anything other than the original loop() task gives me
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Any suggestions or help is highly appreciated!