Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32-S2/S3 Upload Failure: Needs --after no_reset Option #2478

Closed
3 tasks done
DocKenny opened this issue Jul 24, 2024 · 1 comment
Closed
3 tasks done

ESP32-S2/S3 Upload Failure: Needs --after no_reset Option #2478

DocKenny opened this issue Jul 24, 2024 · 1 comment
Assignees
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project

Comments

@DocKenny
Copy link

Describe the problem

When uploading code to the ESP32-S2 or ESP32-S3 boards using the Arduino IDE, the process fails with a warning that the board cannot exit download mode over USB. This issue persists due to the lack of the --after no_reset option in the esptool command used by the IDE.

To reproduce

  1. Connect an ESP32-S2 or ESP32-S3 board to your computer via USB.
  2. Open the Arduino IDE and select the appropriate board under Tools > Board.
  3. Load any sample sketch and attempt to upload it to the board.
  4. Observe the error in the console output indicating that the board cannot exit download mode.

Expected behavior

The sketch should upload successfully without errors.

Arduino IDE version

2.3.3

Operating system

Windows

Operating system version

Windows 10

Additional context

This issue seems to be specific to boards like the ESP32-S2/S3 that use GPIO0 for download mode. A manual workaround is to add --after no_reset to the esptool command, but this requires user intervention and is not conducive to a smooth workflow. For more context and related discussions, please refer to this pull request on the esptool repository: esptool PR #997.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@DocKenny DocKenny added the type: imperfection Perceived defect in any part of project label Jul 24, 2024
@per1234 per1234 self-assigned this Jul 24, 2024
@per1234
Copy link
Contributor

per1234 commented Jul 24, 2024

Hi @DocKenny. This issue is specific to the ESP32 and other boards platforms that use esptool. The esptool command is configured in the platform.

So there is nothing that can or should be changed in the Arduino IDE codebase hosted in this repository. Instead, it should be done in the boards platform.

You should report it to the "esp32" boards platform developers here:

https://github.com/espressif/arduino-esp32/issues/

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
@per1234 per1234 added the conclusion: off topic Off topic for this repository label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants