espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.28k stars 7.35k forks source link

xiao esp32s3 does not work Failed uploading: uploading error: exit status 1 #9214

Open novichokffy opened 7 months ago

novichokffy commented 7 months ago

Board

xiao esp 32 s3

Device Description

the usual module

Hardware Configuration

Снимок экрана 2024-02-05 225720

Version

other

IDE Name

arduino ide

Operating System

win 11

Flash frequency

240

PSRAM enabled

no

Upload speed

9600

Description

Nick can't fill in the sketch

Sketch

/*
  Blink

  Turns an LED on for one second, then off for one second, repeatedly.

  Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
  it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
  the correct LED pin independent of which board is used.
  If you want to know what pin the on-board LED is connected to on your Arduino
  model, check the Technical Specs of your board at:
  https://www.arduino.cc/en/Main/Products

  modified 8 May 2014
  by Scott Fitzgerald
  modified 2 Sep 2016
  by Arturo Guadalupi
  modified 8 Sep 2016
  by Colby Newman

  This example code is in the public domain.

  https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

Debug Message

Sketch uses 238701 bytes (7%) of program storage space. Maximum is 3342336 bytes.
Global variables use 18292 bytes (5%) of dynamic memory, leaving 309388 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM10
Connecting...

A serial exception error occurred: Write timeout
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 1

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

Jason2866 commented 7 months ago

Most probably a hardware problem. Check you USB cable. Try a different one. If you have USB hubs try without.

SuGlider commented 7 months ago

@novichokffy - My second suggestion is to put the board into download mode by holding the BOOT button (labeled B) down while pulsing the RESET button (labeled R). After doing it, try to upload the sketch.

Golden-Lime commented 5 months ago

Im having the same thing, any solutions?

robertlipe commented 4 months ago

(Disclaimer: I don't have this hardware. This is just a fly-by of reading open issues that I may have some experience with...)

Try changing the flash mode from qio to oio.

Lots of these S3 devices are really crabby about flashing in one or the other, even when the flash itself is just qio.

lbernstone commented 4 months ago

(Disclaimer: I don't have this hardware. This is just a fly-by of reading open issues that I may have some experience with...)

Try changing the flash mode from qio to oio.

Lots of these S3 devices are really crabby about flashing in one or the other, even when the flash itself is just qio.

This would prevent the device from booting, not from taking a firmware upload.