Hello all, could I please ask for help?
I am trying to flash an ESP32 device but having the “Invalid Header” error.
These are the messages when I flash:
esptool --port COM5 --baud 115200 --after no_reset write_flash --flash_size detect --flash_mode dio 0x00000 C:\Users\Administrator\Downloads\WLED_0.14.1_ESP32.bin
Detecting chip type… ESP32
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 08:d1:f9:26:50:68
Uploading stub…
Running stub…
Stub running…
Configuring flash size…
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x00138fff…
Compressed 1280112 bytes to 849646…
Wrote 1280112 bytes (849646 compressed) at 0x00000000 in 81.2 seconds (effective 126.0 kbit/s)…
Hash of data verified.
When I boot I get this on the serial monitor:
08:54:45.607 → ets Jul 29 2019 12:21:46
08:54:45.607 →
08:54:45.607 → rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
08:54:45.653 → invalid header: 0x6f442c2c
08:54:45.700 → invalid header: 0x6f442c2c
08:54:45.747 → invalid header: 0x6f442c2c
08:54:45.794 → invalid header: 0x6f442c2c
08:54:45.841 → invalid header: 0x6f442c2c
08:54:45.889 → invalid header: 0x6f442c2c
08:54:45.937 → invalid header: 0x6f442c2c
08:54:45.937 → invalid header: 0x6f442c2c
I have a few different ESP32 types but I always get this error.
Interestingly when I flash an esp01 device (using the esp01 image) everything works ok.
I really don’t know what to do next.
Many thanks, Nic.