I'm using the factory flash tool, I'm using a mass programmer, the USB to serial chip is offboard and the unit is programmed via spring loaded pins
Most Boards flash fine, others don't, when I look at the ones that don't over the serial port I get this over and over:
Code: Select all
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xe (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6268,len:0x2a58
ets_loader.c 78
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xe (SPI_FAST_FLASH_BOOT)
Saved PC:0x40049a42
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6268,len:0x2a58
ets_loader.c 78
Code: Select all
Serial port COM42
Connecting.........
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: a0:76:4e:65:5b:80
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00007fff...
Flash will be erased from 0x00010000 to 0x00059fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Erasing flash...
Took 0.32s to erase flash block
Writing at 0x00000000... (3 %)
Writing at 0x00000400... (6 %)
Writing at 0x00000800... (9 %)
A fatal error occurred: Invalid head of packet (0x45): Possible serial noise or corruption.
CMake Error at run_serial_tool.cmake:56 (message):
Interestingly if I set the baud speed higher it gets further before it fails.
What could be causing this?
Thanks....