Search found 8 matches
- Wed Aug 18, 2021 2:36 pm
- Forum: General Discussion
- Topic: Documentation of memory debug feature?
- Replies: 3
- Views: 6248
- Thu Aug 12, 2021 8:29 am
- Forum: ESP-IDF
- Topic: SPIFFS ftell doesn't return
- Replies: 2
- Views: 2628
Re: SPIFFS ftell doesn't return
This is obviously a difficult one, judging by the echoes in here (hello anyone?) My best guess now is that the reason we get stuck in the loop above is because we have a deadlock caused when the other core is tied up waiting for the core that ftell is called from (in my case by esp_ipc_call_blocking...
- Tue Jul 13, 2021 4:08 pm
- Forum: ESP-IDF
- Topic: SPIFFS ftell doesn't return
- Replies: 2
- Views: 2628
Re: SPIFFS ftell doesn't return
By way of update, I still haven't solved this, but my current best guess is that the culprit may be around cache_utils.c:141 while (!s_flash_op_can_start) { // Busy loop and wait for spi_flash_op_block_func to disable cache // on the other CPU } I get to this by way of the following call stack: 0x40...
- Tue Jun 29, 2021 4:28 pm
- Forum: ESP-IDF
- Topic: SPIFFS ftell doesn't return
- Replies: 2
- Views: 2628
SPIFFS ftell doesn't return
I repeatedly write a bit to an SPIFFS file and then call ftell on it. After doing this a few times (less than 100) in quick succession, ftell fairly consistently just hangs, doesn't return and uses all the CPU, causing a task WDT to report errors. Which source should I look at to start investigating...
- Wed May 26, 2021 5:21 pm
- Forum: ESP-IDF
- Topic: Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)
- Replies: 3
- Views: 3663
Re: Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)
That makes sense. I guess the thing to do is to increase the timeout while debugging memory problems and then bring it back again once everything is stable to catch any interrupt problems.
- Tue May 25, 2021 3:28 pm
- Forum: ESP-IDF
- Topic: Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)
- Replies: 3
- Views: 3663
Interrupt WDT when call heap_caps_dump(MALLOC_CAP_8BIT)
I haven't been able to reproduce this in an empty project yet and probably won't have time to do so for a while but thought I'd post anyway and see if anyone else has seen `heap_caps_dump(MALLOC_CAP_8BIT)` cause the interrupt WDT to panic? I get it every time from my complex project, both from the m...
- Tue May 25, 2021 3:19 pm
- Forum: General Discussion
- Topic: Flashing an ESP32 with another ESP32
- Replies: 6
- Views: 10312
Re: Flashing an ESP32 with another ESP32
This seems a long time ago now, but just stumbled on my old post - for anyone else who needs the same I reimplemented this in the end based on https://github.com/espressif/esp-serial-flasher.
- Thu Jan 23, 2020 3:56 pm
- Forum: General Discussion
- Topic: Flashing an ESP32 with another ESP32
- Replies: 6
- Views: 10312
Re: Flashing an ESP32 with another ESP32
Hi @PeterR, do make sure you post here if you ever get permission for this. Also, could you explain your comment about the clock circuit?
cheers, Nathan
cheers, Nathan