Error "invalid header: 0x5b98cbc8" on upload #19320
Replies: 5 comments
-
|
Try uploading programs with mprmote, the MP supported tool. |
Beta Was this translation helpful? Give feedback.
-
I don't see this error in the screenshot, but this looks like the message that ESP32s print on early boot when they're not flashed correctly (specifically, the bootloader is not flashed correctly). If MicroPython isn't flashed correctly then Thonny (and mpremote) won't work at all. Suggest carefully checking the flashing commands you used to load MicroPython against the instructions on the download page, and also check if the specific ESP32P4 hardware you're using is compatible - it might need a custom board definition, not the generic one. |
Beta Was this translation helpful? Give feedback.
-
|
If you have uv installed, you can try |
Beta Was this translation helpful? Give feedback.
-
|
You might want to try this firmware: https://micropython.org/resources/firmware/ESP32_GENERIC_P4-C6_WIFI-20260406-v1.28.0.bin However, to access all the features, such as LVGL and audio, you need to build your own custom firmware. |
Beta Was this translation helpful? Give feedback.
-
|
Looks more like an Issue with Thonny. I have never seen this bug. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good evening, after uploading the MicroPython firmware to an ESP32P4 board on an Elecrow panel, when I try to upload individual Python programs I get the error "invalid header: 0x5b98cbc8". Could you please help me. Thank you in advance.

Beta Was this translation helpful? Give feedback.
All reactions