I have stumbled upon an issue in which I am logging to a filesystem and randomly during some flash writes the ESP32 will freeze all tasks and trip the watchdog for the task which is writing to the ESP32-Wrover's flash chip. I am just curious as to if this is a known issue or not?
I've implemented littlefs as the filesystem and utilize the
Code: Select all
esp_partition_write
I have tried using the vfs with SPIFFS as well and have run into this issue as well.
The current implementation is, I have a circular buffer that holds a certain amount of data and a task serving log writes, the log writes 512 byte chunks at a time to flash. Randomly, the
Code: Select all
esp_partition_write
Is this logging scheme not possible due to running this on the same flash chip that we are executing in place from?
Please let me know!
Task watchdog is currently set at 15 seconds.