freeRTOS Panic on Flash read

spider
Posts: 2
Joined: Sat Dec 19, 2020 4:12 am

freeRTOS Panic on Flash read

Postby spider » Sat Dec 19, 2020 10:03 am

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?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: freeRTOS Panic on Flash read

Postby ESP_Sprite » Mon Dec 21, 2020 3:49 am

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.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 322 guests