Search found 5 matches
- Sat Apr 06, 2024 4:26 pm
- Forum: ESP-IDF
- Topic: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
- Replies: 6
- Views: 1961
Re: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
If we change the configuration to run on a single core, the problem disappears. It seems to be an issue with cross-core synchronisation.
- Thu Apr 04, 2024 1:59 pm
- Forum: ESP-IDF
- Topic: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
- Replies: 6
- Views: 1961
Re: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
Its also worth noting that all the tasks on CORE_0 appear to be running OK. It is only one core that locks up.
- Thu Apr 04, 2024 8:58 am
- Forum: ESP-IDF
- Topic: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
- Replies: 6
- Views: 1961
Re: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
Unfortunately it's not easy to create a minimal working example, because it seems to only occur when there processor has lots of work to do. After some further debugging, we have found a little more information, which I have described below: ----------------------------------------------------------...
- Tue Apr 02, 2024 10:02 am
- Forum: ESP-IDF
- Topic: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
- Replies: 6
- Views: 1961
Re: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
This is on an ESP32S3. The watchdog is set to 5 seconds, but it gets stuck in a loop once it kicks in, and then the other core is always in the IDLE loop (since the task scheduler is disabled during flash operations). This is all using the internal flash.
- Mon Apr 01, 2024 10:41 am
- Forum: ESP-IDF
- Topic: IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
- Replies: 6
- Views: 1961
IPC Task Lock-Up and Watchdog Triggering with SPI Flash Operations
Hi all, I'm facing a challenging issue with an ESP32 project (using ESP_IDF) that involves Inter-Processor Call (IPC) tasks sometimes locking up, subsequently triggering the watchdog. The problem seems to occur within the spi_flash_op_block_func , specifically in a while loop that waits for flash op...