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

[IDF-6907] 7. Firmware burning fails on ESP32-S2 #18

Closed
ustccw opened this issue Feb 16, 2023 · 18 comments · Fixed by #28
Closed

[IDF-6907] 7. Firmware burning fails on ESP32-S2 #18

ustccw opened this issue Feb 16, 2023 · 18 comments · Fixed by #28
Labels
bug Something isn't working

Comments

@ustccw
Copy link

ustccw commented Feb 16, 2023

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).

p7

@igrr
Copy link
Member

igrr commented Feb 16, 2023

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.

@igrr igrr added the bug Something isn't working label Feb 16, 2023
@ustccw
Copy link
Author

ustccw commented Feb 16, 2023

@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.

@leeebo
Copy link

leeebo commented Mar 2, 2023

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 😃

@leeebo
Copy link

leeebo commented May 29, 2023

@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

@RushikeshPatange
Copy link
Contributor

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_2 on 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)

@leeebo
Copy link

leeebo commented Jun 28, 2023

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

@RushikeshPatange
Copy link
Contributor

RushikeshPatange commented Jun 28, 2023

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 😄

@leeebo
Copy link

leeebo commented Jun 29, 2023

@RushikeshPatange Seems Yes! on Windows for esp32s3 through usb-serial-jtag it works OK, but will block until timeout when through CP210x !

@RushikeshPatange
Copy link
Contributor

RushikeshPatange commented Jun 30, 2023

@leeebo Let's wait for an update regarding this issue on the esptool-js side in their future release 😄

@espressif2022
Copy link

image
@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)

@lijunru-hub
Copy link
Contributor

lijunru-hub commented Jul 12, 2023

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
image

@igrr
Copy link
Member

igrr commented Jul 13, 2023

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.

@espzav
Copy link

espzav commented Jul 13, 2023

@igrr I have a same issue with ESP32S3 (devkitC) on public launchpad and it is working on yours updated clone.

@igrr
Copy link
Member

igrr commented Jul 13, 2023

Nice to hear that @espzav, thanks for trying! @lijunru-hub @espressif2022 could you please give it a try, as well?

@lijunru-hub
Copy link
Contributor

LGTM! All done

@igrr
Copy link
Member

igrr commented Jul 16, 2023

Have created a PR: #28

@solomondong
Copy link

Excuse me, does it support s3 / h2. launchpad?

@leeebo
Copy link

leeebo commented Jan 13, 2024

@solomondong Yes, any chips that support esptool burning, should support launchpad burning also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants