Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: RobLatour on September 02, 2025, 02:04:16 AM

Title: can not flash olimex esp32 poe iso board
Post by: RobLatour on September 02, 2025, 02:04:16 AM
I have a couple olimex esp32 poe iso boards. 

One of the boards was running this project: https://hackaday.io/project/189309-esp32-ntp-time-server-stratum-1

The other board was spare.

However, after two years the board that was running my time server suddenly stopped working.  I opened up the case and notice the capacitor on the board had blow up.

No problem I though, I will just flash the same (Arduino) project to the spare board and use it.

Been working on that for a day now.

I keep getting an error that says:

E (386) esp_littlefs: ./managed_components/joltwallet__littlefs/src/littlefs/lfs.c:1378:error: Corrupted dir pair at {0x0, 0x1}

E (386) esp_littlefs: mount failed,  (-84)
E (390) esp_littlefs: Failed to initialize LittleFS

assert failed: xTaskGetIdleTaskHandleForCore freertos_tasks_c_additions.h:453 (( xIdleTaskHandle[ xCoreID ] != ((void *)0) ))


Backtrace: 0x40082078:0x3ffe39a0 0x4008e805:0x3ffe39c0 0x40094a29:0x3ffe39e0 0x40091eee:0x3ffe3b20 0x400e40b9:0x3ffe3b40 0x400d975b:0x3ffe3b60 0x400d97c6:0x3ffe3b80 0x400d30f1:0x3ffe3bb0 0x400d315a:0x3ffe3bd0 0x400d4472:0x3ffe3bf0 0x400eabc6:0x3ffe3c10 0x40082455:0x3ffe3c40 0x4007977e:0x3ffe3c90 |<-CORRUPTED

ELF file SHA256: 00053b6ca

E (437) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
E (445) esp_core_dump_elf: Elf write init failed!
E (449) esp_core_dum

I've tried:
- erasing the flash with the pytool,

- updating the board version Ardunio is using to the current version (this needed code changes too),

- changing partition selections, etc.

I also tried to flash the old broken board, it generates the same error.

I am using the Arduino IDE 2.3.6.

Any ideas how to flash this board and get it to work.






Title: Re: can not flash olimex esp32 poe iso board
Post by: LubOlimex on September 02, 2025, 08:35:43 AM
This can be related to Arduino IDE 2.3.6. Some libraries might not work properly with Arduino IDE 2.x.x. Try using 1.8.x.

In the board selector what did you select? Make sure it is "OLIMEX ESP32-POE-ISO". Try different Flash Mode - QIO - DIO. Try different partition scheme.

Search online for solutions for the first error:

"esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0"
Title: Re: can not flash olimex esp32 poe iso board
Post by: RobLatour on September 02, 2025, 02:54:58 PM
Thank you I will give 1.8.19 a try and post back here with the results.

Also, yes, I tried both DIO and QIO, and a different partition scheme. 

Additionally, I tried googling for "esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0" but recommended solutions from others - like trying DIO and erasing the flash didn't help.
Title: Re: can not flash olimex esp32 poe iso board
Post by: RobLatour on September 02, 2025, 03:34:20 PM
so I tried 1.8.19 but got the same results as in my original post.
Title: Re: can not flash olimex esp32 poe iso board
Post by: RobLatour on September 02, 2025, 05:07:27 PM
Thanks for your help.

I got it to work on one board.  Will post back here later with explanation if I can get it to work on the other as well. 
Title: Re: can not flash olimex esp32 poe iso board
Post by: RobLatour on September 02, 2025, 06:37:33 PM
So I got the other board to work too

What I did:

1. Erased the exiting flash

python -m esptool --chip esp32 --port COM5 erase-flash

2. Used with Ardunio 1.8.19 ( thanks LubOlimex )

3. Used board manager: esp32 by Espressif Systems board library v3.3.0

4. Used:

Board: "OLIMEX ESP32-POE-ISO"
Upload Speed: "921600"
Flash Frequency: "80MHz"
Flash Mode: "QI0"
Flash Size: "4MB (32Mb)"
Partition Scheme: "Default 4MB with ffat (1.2MB APP/1.5MB FATFS)"
Core Debug Level: "None"
PSRAM: "Disabled (WROOM)"
Erase All Flash Before Sketch Upload: "Disabled"

Hope this will be of help to others, and again with thanks to LubOlimex



Title: Re: can not flash olimex esp32 poe iso board
Post by: LubOlimex on September 03, 2025, 08:00:46 AM
Thank you for the update.

About the board with the blown capacitor you might be able to repair it if you have a soldering iron. If the board is broken and you have the will I guess nothing to lose if you try. Refer to the schematic and identify the blown capacitor and get similar one unsolder old on from under the board and then place the new one, make sure it is properly oriented capacitors have long leg and short leg. Let me know if you need further directions in that regard. Maybe provide a picture of the blown capacitor.

Consider that if it is capacitor responsible for the PoE powering, the board might still work fine on USB or Li-Po powering (just the PoE powering would be affected).