I was tring to upload a file to an ESP-32-WROOM-32 module. Initially I got the error:
esptool.py v4.6
Serial port /dev/cu.usbserial-110
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
WARNING: Detected crystal freq 41.01MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: fc:b4:67:77:7f:9c
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.).
ERROR: Upload failed, error code: 2
I resolved it by manually re running the Uploading LittleFS filesystem command with --baud 115200 instead of --baud 921600
I'm putting this out there in case anyone needs a similar workaround. I would also suggest including this in the glitches section of the README or maybe adding the possibility to select a different baud rate from the UI.
I was tring to upload a file to an ESP-32-WROOM-32 module. Initially I got the error:
I resolved it by manually re running the
Uploading LittleFS filesystem
command with--baud 115200
instead of--baud 921600
I'm putting this out there in case anyone needs a similar workaround. I would also suggest including this in the glitches section of the README or maybe adding the possibility to select a different baud rate from the UI.
BTW, thank you for this library @earlephilhower