If power glitches could cause unintended flash writes, what precautions would you recommend to prevent this — both from a hardware and firmware perspective?
Currently, I have about 100 µF capacitance on the 3.3 V rail for stabilization. Would increasing bulk capacitance or adding other protections ...
Search found 4 matches
- Mon Apr 27, 2026 12:24 pm
- Forum: General Discussion
- Topic: 0x99000 Bytes of Flash Erased During Runtime
- Replies: 7
- Views: 135
- Fri Apr 24, 2026 11:51 am
- Forum: General Discussion
- Topic: 0x99000 Bytes of Flash Erased During Runtime
- Replies: 7
- Views: 135
Re: 0x99000 Bytes of Flash Erased During Runtime
CONFIG_SPI_FLASH_DANGEROUS_WRITE is set to "Aborts" in my menuconfig, and I am only using standard ESP-IDF APIs for flash read/write — no low-level function calls. Given this, would it be reasonable to assume that unintended writes outside defined partitions are unlikely, or are there still ...
- Thu Apr 23, 2026 8:57 am
- Forum: General Discussion
- Topic: 0x99000 Bytes of Flash Erased During Runtime
- Replies: 7
- Views: 135
Re: 0x99000 Bytes of Flash Erased During Runtime
I reflashed the firmware on the affected device, and it is now working normally again, so it appears that the flash hardware itself is still functional.
However, I am trying to understand what could have caused the contents to be overwritten with 0x00.
The firmware partition starts at 0x10000, and ...
However, I am trying to understand what could have caused the contents to be overwritten with 0x00.
The firmware partition starts at 0x10000, and ...
- Wed Apr 22, 2026 12:09 pm
- Forum: General Discussion
- Topic: 0x99000 Bytes of Flash Erased During Runtime
- Replies: 7
- Views: 135
0x99000 Bytes of Flash Erased During Runtime
I am working on a product based on ESP32-U4WDH using ESP-IDF v4.4.4. We have more than 2000 devices deployed with same firmware, and recently one device failed in the field.
After retrieving the device, I found that a large region of flash had been overwritten with 0x00.
Observed Flash Corruption ...
After retrieving the device, I found that a large region of flash had been overwritten with 0x00.
Observed Flash Corruption ...