Help debugging "Unable to verify flash chip connection" error

dlveach
Posts: 2
Joined: Sat Sep 30, 2023 4:56 am

Help debugging "Unable to verify flash chip connection" error

Postby dlveach » 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

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 % 
Attachments
esptool_trace.txt
(34.94 KiB) Downloaded 280 times

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Help debugging "Unable to verify flash chip connection" error

Postby ESP_Sprite » Mon Oct 02, 2023 1:13 am

Changing baud rate to 921600
Have you tried a lower baud rate?

dlveach
Posts: 2
Joined: Sat Sep 30, 2023 4:56 am

Re: Help debugging "Unable to verify flash chip connection" error

Postby dlveach » Mon Oct 02, 2023 1:38 pm

@ESP_Sprite Yes that worked. Thank you. 921600 is what the vendor's tutorial documentation showed but setting the baud rate down lower worked. Issue resolved.

Who is online

Users browsing this forum: No registered users and 76 guests