Unable to upload from Arduino 1.18.9 to Xiao ESP32C3

I am unable to download code to TWO ESP32C3 boards.
First off… Arduino thinks they are S3 processors, even tho ESPTool says it’s a C3 (see attached screen shots).
Secondly, it just FAILS to download (see error output below).

I’ve had NO issues with programming either an XIAO RP2040 or SAM21D.
Anyone have any idea what this means and how to fix it?

TIA

=============================

=============================
Arduino: 1.8.19 (Windows 10), Board: “XIAO_ESP32C3, Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 160MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled”

Sketch uses 921776 bytes (70%) of program storage space. Maximum is 1310720 bytes.

Global variables use 43172 bytes (13%) of dynamic memory, leaving 284508 bytes for local variables. Maximum is 327680 bytes.

java.io.IOException: Cannot run program “REMOVE/esptool.exe”: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)

at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)

at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)

at processing.app.SketchController.upload(SketchController.java:732)

at processing.app.SketchController.exportApplet(SketchController.java:703)

at processing.app.Editor$UploadHandler.run(Editor.java:2061)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)

at java.lang.ProcessImpl.start(ProcessImpl.java:137)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)

... 9 more

An error occurred while uploading the sketch

Never mind.
Figured out the issue is with Arduino IDE.
Specifically the ESP32 board install.
I uninstalled and reinstalled the 2.0.7 version and all is now right with the world.

Same problem I am facing while uploading the code in XIAO ESP32 C3
Here is the error I received —>

esptool.py v4.6
Serial port COM23
Connecting…
Chip is ESP32-C3 (revision v0.4)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 54:32:04:89:3e:84
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600

A fatal error occurred: No serial data received.
A fatal error occurred: No serial data received.

I was able to upload the code two to three times but after that, I was unable to upload the code.
I took a new XIAO ESP32 C3 board and tried but the same thing happened in the second board also.
If anyone has a solution regarding this, please share.

Hi there,
What code? :face_with_peeking_eye:
Try holding the boot button and plugging it in at the same time.
HTH
GL :slight_smile: PJ

Try a different code, like a blink sketch… :wink: :+1: