Page 1 of 1

A fatal error occurred: Unable to verify flash chip connection (No serial data received.).

Posted: Sun Oct 27, 2024 3:50 pm
by BLCKPSTV
I've used this ESP32 for two weeks without any uploading issues. Its a Wemos S3 mini and I'm uploading my code with Arduino Cloud Editor. This setup worked for weeks.

Suddenly I get this error, when trying to upload my code:

Code: Select all

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:lolin_s3_mini:UploadSpeed=115200,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,CPUFreq=240,FlashMode=qio,PartitionScheme=default,DebugLevel=none,LoopCore=1,EventsCore=1,EraseFlash=none --build-cache-path /tmp --output-dir /tmp/1921699051/build --build-path /tmp/arduino-build-DDBAE3FED55F88EC04A6455A51419B17  --library /mnt/create-efs/webide/28/26/2826c20f0f8b11afe7cab9115075cf6c:beyondal/libraries_v2/MHZ19 --library /mnt/create-efs/webide/28/26/2826c20f0f8b11afe7cab9115075cf6c:beyondal/libraries_v2/MHZ19_uart --library /mnt/create-efs/webide/28/26/2826c20f0f8b11afe7cab9115075cf6c:beyondal/libraries_v2/OSC --library /mnt/create-efs/webide/28/26/2826c20f0f8b11afe7cab9115075cf6c:beyondal/libraries_v2/Open Sound Control (OSC) for ESP8266 --library /mnt/create-efs/webide/28/26/2826c20f0f8b11afe7cab9115075cf6c:beyondal/libraries_v2/TFT_eSPI /tmp/1921699051/Blinker
[info] Sketch uses 251817 bytes (19%) of program storage space. Maximum is 1310720 bytes.
[info] Global variables use 18732 bytes (5%) of dynamic memory, leaving 308948 bytes for local variables. Maximum is 327680 bytes.

Flashing with command:/Users/quintendewilde/.arduino-create/esp32/esptool_py/4.5.1/esptool --chip esp32s3 --port /dev/cu.usbmodem1101 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 /var/folders/38/74b9536j5gldv2cghmxjf7p40000gq/T/extrafiles2519416650/Blinker.bootloader.bin 0x8000 /var/folders/38/74b9536j5gldv2cghmxjf7p40000gq/T/extrafiles2519416650/Blinker.partitions.bin 0xe000 /var/folders/38/74b9536j5gldv2cghmxjf7p40000gq/T/extrafiles2519416650/tools/partitions/boot_app0.bin 0x10000 /var/folders/38/74b9536j5gldv2cghmxjf7p40000gq/T/arduino-create-agent1614240801/Blinker.bin
esptool.py v4.5.1
Serial port /dev/cu.usbmodem1101
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: dc:54:75:d6:0e:98
Uploading stub...
Running stub...
Stub running...

A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
Executing command: exit status 2

I've tried altering the upload speed
I've changed ports
I've hold the boot button for a long time to set it in download mode (don't know if it worked actually)


My serial monitor gives me these scary messages:

Code: Select all

ELF file SHA256: 5911a214fd2ef41f

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4207513e
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
Starting Sensor Pulse Count and OSC Transmission...

assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox)


Backtrace: 0x40377b02:0x3fceb9c0 0x4037cec1:0x3fceb9e0 0x40382d7d:0x3fceba00 0x42019e55:0x3fcebb30 0x42028aad:0x3fcebb60 0x42028afe:0x3fcebb80 0x420196c9:0x3fcebbd0 0x42004021:0x3fcebbf0 0x420040ad:0x3fcebc30 0x42002b35:0x3fcebc60 0x42005b7e:0x3fcebc90

Not sure what to try more.