Page 1 of 1

freeRTOS Panic on Flash read

Posted: Sat Dec 19, 2020 10:03 am
by spider
Hello!

I'b beginner on ESP32. And I'm need help :(

I has wrote firmware that use files from SPIFFS partition. My firmware has several freeRTOS tasks and some times when one of task trying to read file by fread() and task context is switched by OS - system is crashed with Core Panic.
How to prevent this? What I do wrong?

Re: freeRTOS Panic on Flash read

Posted: Mon Dec 21, 2020 3:49 am
by ESP_Sprite
Without you posting your code, a backtrace or even a log, there's no way we can tell you what's going on. In general, you should be able to use file system APIs without worrying about the underlying RTOS, so there's probably something else going on.