Help debugging "Unable to verify flash chip connection" error
Posted: Sat Sep 30, 2023 5:15 am
Hello. Trying to debug a problem flashing an ESP32-WROOM-DA module with esptool. The binary has been compiled in the Arduino 2.2 IDE.
The esptool command options and output is below. I've also attached a txt file with --trace level output captured if that helps.
I'm not sure what to try to remedy this issue. Any advice is greatly appreciated. If I can supply any other needed info please let me know.
Thanks in advance,
-dv
The esptool command options and output is below. I've also attached a txt file with --trace level output captured if that helps.
I'm not sure what to try to remedy this issue. Any advice is greatly appreciated. If I can supply any other needed info please let me know.
Thanks in advance,
-dv
Code: Select all
dveach@M2-mini 4.5.1 % sudo ./esptool --chip esp32 --port "/dev/cu.usbserial-3130" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "/private/var/folders/rw/4_9vxsh56sjfzl1sxr875yz80000gn/T/arduino/sketches/248A0F840B1C087844B1E31ACA36FFA2/TFT-LCD-2.8.ino.bootloader.bin" 0x8000 "/private/var/folders/rw/4_9vxsh56sjfzl1sxr875yz80000gn/T/arduino/sketches/248A0F840B1C087844B1E31ACA36FFA2/TFT-LCD-2.8.ino.partitions.bin" 0xe000 "/Users/dveach/Library/Arduino15/packages/esp32/hardware/esp32/2.0.13/tools/partitions/boot_app0.bin" 0x10000 "/private/var/folders/rw/4_9vxsh56sjfzl1sxr875yz80000gn/T/arduino/sketches/248A0F840B1C087844B1E31ACA36FFA2/TFT-LCD-2.8.ino.bin"
Password:
esptool.py v4.5.1
Serial port /dev/cu.usbserial-3130
Connecting.......
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: b4:8a:0a:ae:3f:28
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
A fatal error occurred: Unable to verify flash chip connection (Invalid head of packet (0xE0): Possible serial noise or corruption.).
dveach@M2-mini 4.5.1 %