Invalid Header: Infinite messages.

jpragazzo
Posts: 2
Joined: Tue May 19, 2026 12:54 pm

Invalid Header: Infinite messages.

Postby jpragazzo » Tue May 19, 2026 1:50 pm

Hey guys. First post on the forum

I've been working with the ESP32-C3-WROOM-2, and currently been trying to simply run the program after flashing it. The issue is: It won't work, as i receive multiple messages of "Invalid header" while monitoring the COM3 port.

Output:

Code: Select all

[...]
invalid header: 0x96e6bad1
invalid header: 0x96e6bad1
invalid header: 0x96e6bad1
invalid heade▒ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x4004d1f8
invalid header: 0x96e6bad1
[...]
Useful information:
Using the ESP32-C3-WROOM-2, correctly connected to a USB bridge plugged in COM3 port.
Monitoring using MobaXterm.
Method:
- Externally encrypting bootloader, partition table and app using a .bat.
- Utilizing a python script for flashing.
- Flash encryption enabled and Secure Boot V2 enabled. 3v3. Tested usign 80mhz and 40mhz, 4mb flash memory. Partition table offset of 0xD000.
- See bat, script and sdkconfig json on the link:

Full details here: https://github.com/jpragazzo/InfoOnBug ... 19-05-2026

This project has been discontinued five years ago and now is back on track. It surely has some deprecated commands and functions. I've looked into it in detail in the past month, and it should not be critical. If it IS indeed critical, please let us know.
Let me know of any additional info that might be required too!

Thanks!
JP

jpragazzo
Posts: 2
Joined: Tue May 19, 2026 12:54 pm

Re: Invalid Header: Infinite messages.

Postby jpragazzo » Wed May 20, 2026 11:46 am

Hey guys. Solved from reddit after asking there.
Forgot to burn the efuses. Everything correct, but the efuses. Double checked all adresses too, that is a good practice.

Thanks

tori@labjack
Posts: 4
Joined: Tue Jul 08, 2025 5:13 pm

Re: Invalid Header: Infinite messages.

Postby tori@labjack » Mon Jun 22, 2026 9:01 pm

Yo, im glad you got this working!

That link you posted is no longer valid it seems? I would love to look as I've been struggling with this stuff.

Who is online

Users browsing this forum: Bing [Bot], ChatGPT-User, Qwantbot, Semrush [Bot] and 5 guests