Board

ESP32 Boards

Device Description

ESP32-C3-DevKitC, ESP32-S3-DevKitC, Deneyap Mini and Deneyap Kart G

Hardware Configuration

Native USB port plugged into computer, serial convert USB port not plugged in.

Version

v2.0.5

IDE Name

Arduino IDE 2.0.2, Arduino IDE 2.0.1, Arduino IDE 2.0.0, Arduino IDE 1.8.19,

Operating System

Windows 10

Flash frequency

80MHz

PSRAM enabled

yes

Upload speed

921600

Description

I reset my ESP boards(without usb to uart), then I can't upload. I boot manually but then reset it again so I always boot manually.

Sketch

any sketch

Debug Message

1. 
Traceback (most recent call last):
  File "esptool.py", line 34, in <module>
  File "esptool\__init__.py", line 1004, in _main
  File "esptool\__init__.py", line 646, in main
  File "esptool\__init__.py", line 895, in get_default_connected_device
  File "esptool\loader.py", line 631, in connect
  File "esptool\loader.py", line 572, in _connect_attempt
  File "esptool\loader.py", line 435, in sync
  File "esptool\loader.py", line 365, in command
  File "esptool\loader.py", line 317, in write
  File "serial\serialwin32.py", line 325, in write
serial.serialutil.SerialTimeoutException: Write timeout
[7332] Failed to execute script 'esptool'
 due to unhandled exception!
Failed uploading: uploading error: exit status 1

2.
esptool.py v3.3
Serial port COM193
Connecting.....................................An error occurred while uploading the sketch
.
A fatal error occurred: Failed to connect to ESP32-C3: Wrong boot mode detected (0xd)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
the selected serial port For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
 does not exist or your board is not connected

Other Steps to Reproduce

No response

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

  • [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
0

Related to https://github.com/espressif/arduino-esp32/issues/6762 and https://github.com/espressif/arduino-esp32/issues/7190

0

When you manually boot into download mode to upload over the native USB, the chip would not be reset into the firmware after flashing. When letting the USB reboot into Download, it behaves the same as when over UART. This limitation is outside of Arduino and ESP-IDF.

Also make sure that your USB cable is good quality.

0
© 2022 pullanswer.com - All rights reserved.