-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Arduino ESP32 v2.0.7 can not upload sketches on Adafruit Feather ESP32-S3 #7882
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
Comments
Tried a lower baud rate? Try 115200 |
@Jason2866 the board uses native USB to flash and debug, so baudrate does not matter really. @ladyada have you noticed such an issue? We have updated esptool, which was supposed to improve flashing over the native USB port. |
@me-no-dev Ahh yes, maybe the latest update to lower flash clock from 240Mhz to 160Mhz which is done AFTER the v4.5 release does solve this issue. |
Lillygo TdisplayS3 Same issue. Settings that have always worked. |
What operating system are you guys on? I am able to upload fine to S3 over the integrated USB (not UART) with the same settings as @svdrummer |
@me-no-dev The posts with this issue i have seen where always Win10/11. |
@me-no-dev |
I wonder what to do to fix this... since a new version of esptool is not released, maybe just roll back to 4.2.1 and ask you guys to reinstall 2.0.7? |
Or ask @radimkarnis to release 4.5.1? |
Alright, we will soon. |
@svdrummer @idea--list could I ask you guys to verify if the latest esptool works? We have implemented a potential fix. You can download the patched binary with the latest fix here (or in the link provided by @Jason2866). |
@radimkarnis It began to upload the sketch but aborted at 70% with status code 1 this time. I also noticed Arduino IDE had a hard time determining the COM port of the USB connection. While windows 10 recognized the board easily, though with the label FTHRS3BOOT. After holding down Boot button then Reset button and releasing those in reverse order uploads did not even start and i got error status 2. This made me wonder as this combination worked always ever since i have this board. Finally i cut all power then hold Boot button down while applying power to the board. After doing so the updated esptool successfully uploaded the sketch. Since that both Arduino IDE recognizes the COM port easily and also the combination of Boot and Reset buttons work again just like i was used to it. So the latest esptool solves the issue even though the board seems to behave a bit strange on the first upload cycle with the new esptool. |
@idea--list Imho it is more Windows behaves strange. Every other OS does not have this. |
@Jason2866 |
Which esptool version is used in IDF where do you have no issues with Windows?
|
@Jason2866 However until Arduino IDE, esp32 arduino core and esp-idf can be used on the windows OS it is not the fault of windows if any tool has not been tested well enough on all supported OSes thoroughly enough. In software one can handle almost any shortcomings of any platforms. There are only few things that really can not be mitigated in a specific OS. Uploading a binary file over USB is definitely not something impossible to implement. It has been working before and also the latest version of esptool seems to get the job done as i reported. Just wrote some feedback for those folks who maintain esptool what i experienced as a user having a specific board and trying to program it with arduino-esp32 core on a windows based computer. I did not have any intention to start a debate about which OS behaves different from other Oses ;-) |
Just mentioned that the behaviour you see is probably not caused from esptool. |
@idea--list ok so let me explain what happened:
You need to keep holding the BOOT button, while you press the RST button (meaning you have to release the BOOT button the last). Anyway, you managed to do the manual reset by power-cycling the board while holding the BOOT btn -
Yes, at this point you successfully entered the download mode, meaning the CircuitPython binary stopped running and the pins got remapped back to normal. Now esptool can finally start flashing. You say it did without any issue, that is a confirmation the patched esptool version I provided works. Thanks!
You've overwritten the CircuitPython binary, so the pins do not get remapped anymore. Great, now all works as intended. So to sum up - issue is fixed. But there was some confusion caused by the pre-loaded app, which switched USB to a mass-storage device And to confirm - Windows 11s port enumeration and DTR/RTS handling really is a mess, but we are trying to patch it. |
@radimkarnis |
not sure how to upgrade esptool. I have just reverted back until the fix is available in the boards upgrade |
Hi guys! Could you please uninstall and re-install 2.0.7? It should hopefully pull esptool 4.5.1 |
I was trying to deal with my esp32-s3 lolin s3 pro and just saw this successfully solved same problems for me. Thanks for the solution. @idea--list |
@me-no-dev
After that now all sketches upload again as expected and i see now 4.5.1 version of the esptool has been pulled |
Thanks for confirming @idea--list |
happened the same to me in Mac with Platform.io and had to do this button press combination. |
Board
Adafruit Feather ESP32-S3 No PSRAM
Device Description
Adafruit Feather ESP32-S3 No PSRAM
Hardware Configuration
Default config of the board
Version
v2.0.7
IDE Name
Arduino IDE 2.0.3
Operating System
Windows 10 x64 Pro
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
Just upgraded to Arduino ESP32 v2.0.7 and noticed that none of the sketches can be uploaded to my Adafruit Feather ESP32-S3 board. Code compiles just like before the upgrade, but the upload process fails with error status 2. Tried to burn the bootloader via the menu option but that did not make any difference.
Downgrading to Arduino ESP32 v2.0.6 solves the issue.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: