Closed liux-pro closed 1 year ago
@liux-pro Thank you very much for this useful PR! We have just merged #53 which was a big refactoring that moved all the code to Typescript. Would you mind rebasing or reapplying your changes? Sorry for the hassle!
Hi @igrr I apply changes to typescript. Besides,I think this PR is not related to #41. This PR focus on reboot device and enter flash mode, however, #41 is already in download mode, and uploaded stub successfully.
@igrr / @ameyinamdar Is this clear to merge now?
Thanks for the PR @liux-pro, and sorry to keep you waiting.
I have rebased and force-pushed to the branch of this PR, getting rid of the merge commit and adding a small fix related to the previous PR. Have tested this on ESP32-C3 and ESP32-S3 and both work fine!
esp32c3 esp32s3 have a built-in USB serial. When connect them direct by usb, without external usb-serial-bridge(ch340 etc.), send correct sequence of handshake signals can put the chip into download mode. The specific sequence can be found from esp32s3 datasheet
33.4.2 Runtime operation
.