The usual approach is to put your file system write code in a separate task, and have it receive data / messages using a queue. Then, post the data / messages from the ISR. That also has the benefit that slow file system writes do not slow down the timer handlers.ROSE MARIYA wrote: ↑Tue Jul 16, 2019 1:15 pmHi,
I am SPIFFS library to store the data received from bluetooth into flash.At the same time two timer interrupts are working.
But I am facing an issue , both timer interrupts and SPIFFS crash the ESP32 and
shows an error 'Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)' . If I comment out the
TimerEnable, the code will run.
I need to store my bluetooth data in flash.Because I need to use that data even after a power loss.How can I run SPIFFs and Timer interrupt in the same code.
Thank you all in advance
Who is online
Users browsing this forum: rosenrot and 8 guests