ESP-WROOM-32 Dev Board 38 Pin invalid header: 0xffffffff

After flashing the my app to Dev board (ESP-WROOM-32 Dev Board 38 pin) it works all fine for some time . But suddenly Boot load fails with following error on the monitor after some time and board stops working with fast blinking LED on the board. Will have to re flash the firmware to start again.

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff
ets Jul 29 2019 12:21:46

You don't tell much about your setup...
Disconnect everything from Esp pins, select ESP32 Dev Module and upload "blink" sketch to see how it behaves.

1 Like

Thank you for your time !!
I have a custom designed PCB where ESP-WROOM-32 Dev Board fits in along with other other ICs like analog mux , I2C GPIO extender and LORA module on SPI bus. Fact is , all works fine for few days and then I run in to this problem suddenly. Once this happens I will not be able to boot ESP32 even after taking it out of the PCB. I will have to re flash it to make it work. Wondering how flash is getting erased.

I have tried with Blink sketch. It work just fine.