Search found 3 matches

by Nerez83
Thu Jun 25, 2026 8:43 am
Forum: General Discussion
Topic: ESP32-S3 esp_flash_read() times out watchdog when running in multicore
Replies: 6
Views: 183

Re: ESP32-S3 esp_flash_read() times out watchdog when running in multicore

I am so sorry for wasting your time. Just switching from clang to gcc as the compiler fixed the issue. But like its a really weird bug with a very weird solution. I know that clang is experimental but I like code completion, go-to definitions etc. and open source software and the Microsoft C/C ...
by Nerez83
Wed Jun 24, 2026 9:31 pm
Forum: General Discussion
Topic: ESP32-S3 esp_flash_read() times out watchdog when running in multicore
Replies: 6
Views: 183

Re: ESP32-S3 esp_flash_read() times out watchdog when running in multicore

I've tried increasing the stack size on a bunch of tasks but its not it.
Here are some things that I found out.
Even just this fails:

void app_main(void) {
esp_err_t ret = nvs_flash_init();
while (true) {
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}


The errors that the watchdog prints look ...
by Nerez83
Tue Jun 23, 2026 3:07 pm
Forum: General Discussion
Topic: ESP32-S3 esp_flash_read() times out watchdog when running in multicore
Replies: 6
Views: 183

ESP32-S3 esp_flash_read() times out watchdog when running in multicore

Hi,
for some reason calling the function esp_flash_read() , while CONFIG_FREERTOS_UNICORE is not set, times out the watchdog. This function gets called for example while calling esp_vfs_littlefs_register() or nvs_flash_init() . Before printing the backtrace it prints this log:

E (330090) task_wdt ...

Go to advanced search