[IDF-6907] 7. Firmware burning fails on ESP32-S2
The test found that the ESP32-S2 can only burn at a baud rate lower than 921600, otherwise it will fail (the default baud rate of esp-launchpad is 921600, that is, it will fail to burn by default).

Not 100% sure, but this might be fixed by https://github.com/espressif/esptool-js/pull/83. @ustccw could you please go to https://espressif.github.io/esptool-js/ and try to flash the same binary to the same board? If that works, it mean that we will have a fix in esp-launchpad once the new esptool-js version is released.
@igrr it works every time! Just a little bit weird, it always blocks about 6 - 9 seconds when arrived the 7% progress, and then flash all the firmware smoothly. At first, I thought that the flash sector had reached its end of life, but I tried another two boards, all like this.
Not 100% sure, but this might be fixed by espressif/esptool-js#83. @ustccw could you please go to https://espressif.github.io/esptool-js/ and try to flash the same binary to the same board? If that works, it mean that we will have a fix in esp-launchpad once the new esptool-js version is released.
Hi @igrr , Can we trigger the deployment of the new version? since esptool-js v0.2.1 released 😃
@RushikeshPatange Has the issue been fixed? From my test, the issue still exists. You can reproduce it using the link . Would you help to figure out the problem
Hi @leeebo I have tested on my side using your link.
- Used Devkit : ESP32-S3-WROOM-1 (as you mentioned ESP32-S3 Chip-typeset in your toml )
- It has been successfully flashed your binary for application type :
usb_otg_fac_1_0_2on the same and I am not getting error of Timeout. - If you still face issue regarding it, please raise issue on esptool.js (ESPLaunchpad is using esptool.js as library for flashing)
Hi @RushikeshPatange , Which OS are you using? we found it can work on Ubuntu and MacOS, but not work for Windows. (I am using Windows 11 Education 22H2).
Link #20
Hi @leeebo, I had tried it on macOS. Regarding the Windows OS, I found an issue on esptool-js here. Is it relevant to this situation? Please check it out once 😄
@RushikeshPatange Seems Yes! on Windows for esp32s3 through usb-serial-jtag it works OK, but will block until timeout when through CP210x !
@leeebo Let's wait for an update regarding this issue on the esptool-js side in their future release 😄
@RushikeshPatange
When I flash the ESP32-S3-BOX with USB, it blocked too, here is the log.
I manually enter boot mode before flashing.
OS: window 10 Education
WEB: chrome latest 114.0.5735.199(64 bit)
OS: window 10 Education WEB: chrome latest 114.0.5735.199(64 bit) edge: latest 114.0.1823.79 (64 bit)
I found that I was unsuccessful every time, on the old version of the box, I changed the edeg explorer and google explorer, neither of them could burn, this is the error message
I've pushed an update of esptool.js from 0.2.1 to 0.2.2 to https://igrr.github.io/esp-launchpad/, could you please check if it helps anyhow? If yes, I'll open a PR.
@igrr I have a same issue with ESP32S3 (devkitC) on public launchpad and it is working on yours updated clone.
Nice to hear that @espzav, thanks for trying! @lijunru-hub @espressif2022 could you please give it a try, as well?
LGTM! All done
Have created a PR: https://github.com/espressif/esp-launchpad/pull/28
Excuse me, does it support s3 / h2. launchpad?
@solomondong Yes, any chips that support esptool burning, should support launchpad burning also