Suddenly unable to flash

Arduino.cc Cloud IDE
Esp32-Wroom-DA module

I've been using the Arduino Cloud IDE for quite some time, and last night I tried flashing my ESP 32 with the default ESP-DASH sketch. It mentioned that it needs some specific dependencies / libraries which I downloaded by the links they provided.

On the cloud IDE Library tab under custom, I uploaded the necessary zip files and clicked "include". Afterwards the ESP-DASH sketch finally compiled without errors, but as soon as it tries to upload / flash it spits out a ton of errors...

Sketch uses 909417 bytes (69%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44116 bytes (13%) of dynamic memory, leaving 283564 bytes for local variables. Maximum is 327680 bytes.

Flashing with command:C:/Users/Administrator/.arduino-create/esp32/esptool_py/4.5.1/esptool.exe --chip esp32 --port COM14 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.bootloader.bin 0x8000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.partitions.bin 0xe000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/tools/partitions/boot_app0.bin 0x10000 C:/Users/ADMINI~1/AppData/Local/Temp/arduino-create-agent517029287/new_sketch_1733826927382.bin
usage: esptool write_flash [-h] [--erase-all]
                           [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size {detect,keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                           [--verify] [--encrypt]
                           [--encrypt-files <address> <filename> [<address> <filename> ...]]
                           [--ignore-flash-encryption-efuse-setting] [--force]
                           [--compress | --no-compress]
                           <address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.bootloader.bin'
Executing command: exit status 2

So after trying for a while I gave up and removed the custom libraries I had uploaded.

I then tried to compile and upload a sketch that was working fine just last week, and again it compiled just fine but as soon as it tries to upload it spit out a ton of errors.

Sketch uses 909417 bytes (69%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44116 bytes (13%) of dynamic memory, leaving 283564 bytes for local variables. Maximum is 327680 bytes.

Flashing with command:C:/Users/Administrator/.arduino-create/esp32/esptool_py/4.5.1/esptool.exe --chip esp32 --port COM14 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.bootloader.bin 0x8000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.partitions.bin 0xe000 C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/tools/partitions/boot_app0.bin 0x10000 C:/Users/ADMINI~1/AppData/Local/Temp/arduino-create-agent517029287/new_sketch_1733826927382.bin
usage: esptool write_flash [-h] [--erase-all]
                           [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size {detect,keep,256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                           [--verify] [--encrypt]
                           [--encrypt-files <address> <filename> [<address> <filename> ...]]
                           [--ignore-flash-encryption-efuse-setting] [--force]
                           [--compress | --no-compress]
                           <address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:/Users/ADMINI~1/AppData/Local/Temp/extrafiles1264457166/new_sketch_1733826927382.bootloader.bin'
Executing command: exit status 2

I've tried to uninstall the Arduino Cloud agent software from my PC and reinstalled hoping that might help, but still no change.

I'd appreciate any help!

have you tried

  1. a simple program such as blink?
  2. changing the USB cable?
  3. changing the USB port?
  4. removing attached sensors, etc?

does the COIM post appear/disappear as you plug/unplug the USB cable?

what Tools>Board do you select - I tend to use "ESP32 Dev Module"
what GPIO pins are you using?

  1. I hadn't tried a sample sketch but I just tried with same results. Errors about bootloader.bin
  2. Yes I've tried different cables. (first thing I tried)
  3. Yes regardless of usb port doesn't help
  4. The board has no sensors attached and never has. I literally flashed it last week with some code and it's just been sitting ever since.
  5. Yes the com port appears to disappears when connecting the esp32 both in device manager and on the cloud IDE
  6. Selecting same board as always ESP32-WROOM-DA MODULE
  7. Nothing connecting to board

I'm not sure if it's related but what seems to start this issue was me uploading custom libraries in the custom Library tab. But as I mentioned even after removing those libraries the issue still persists. I also tried closing the Brower windows and relaunched and uninstalling arduino cloud agent.

It gets done compiling it shows the white text in the output and immediately afterwards when trying to upload it throws the errors.

Just for the hell of it I will try a different board in a few minutes see if that helps

Try it on a PC with the real Arduino IDE.

Looks like the same problem as here:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.