ESP32 flash / flash_erase - Invalid head of packet
Posted: Sun Nov 24, 2019 4:39 pm
Hallo,
actually I've some problems to run several commands (flash, flash_erase). The ESP32-WROOM is soldered on a breakoutboard. If I
run flash, program is terminating with Invalid head of packet after some writing on the Chip (baudrate 115200). The output is:
And the output of esptool flash_id is:
Need help.
Kind regards
actually I've some problems to run several commands (flash, flash_erase). The ESP32-WROOM is soldered on a breakoutboard. If I
run flash, program is terminating with Invalid head of packet after some writing on the Chip (baudrate 115200). The output is:
There is more appaering a liittle strange. The output of esptool chip_id is:Serial port COM10
Connecting........_
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 24:6f:28:21:e7:54
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Compressed 24752 bytes to 14767...
Wrote 24752 bytes (14767 compressed) at 0x00001000 in 1.3 seconds (effective 149.2 kbit/s)...
A fatal error occurred: Timed out waiting for packet header
esptool.py failed with exit code 2
But why is here no chip-ID ?Serial port COM10
Connecting........
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:21:e7:54
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: 24:6f:28:21:e7:54
Hard resetting via RTS pin...
And the output of esptool flash_id is:
But why is Detected flash size: Unknown? Doesn't the modul have flash or is it corrupted? Is that the reason for "Invalid head of packet "?Serial port COM10
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 24:6f:28:21:e7:54
Uploading stub...
Running stub...
Stub running...
Manufacturer: 00
Device: 0000
Detected flash size: Unknown
Hard resetting via RTS pin...
Need help.
Kind regards