esptool-js
esptool-js copied to clipboard
Flash error with ESP32-C3 via CDC: Timeout
esptool.js v0.1-dev
Serial port WebSerial VendorID 0x303a ProductID 0x1001
Connecting....
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: 84:f7:03:a0:ee:ec
Uploading stub...
Running stub...
Error: Timeout
Compressed 2209028 bytes to 1330626...
Screenshot from Chrome Console
@balloob fyi
When using Tasmota WebInstaller which uses esp-web-flasher
under the hood flashing does work.
Maybe the C3 stub is incorrect and so gets stuck once written to RAM https://github.com/espressif/esptool-js/blob/main/targets/esp32c3.js
Having the same issue with ESP32-C3. Bumping for visibility.
same issue
Related? https://github.com/espressif/esptool-js/pull/54
@brianignacio5 Can you implement in your PR?
This should be now fixed by #54, thanks @liux-pro!
This should be now fixed by #54, thanks @liux-pro!
@igrr
still not fixed, exactly the same issue as @Jason2866
esp32c3 via build-in usb jtag
I thought I tested the final merge commit on both C3 with USB_SERIAL_JTAG and CP2102, but looks like I didn't.
Updating the stub binary seems to solve the issue. I'll do more checks with different boards and open a PR.
@liux-pro may I ask you to try https://github.com/espressif/esptool-js/pull/65 and see if that fixes the issue on your end? I've only updated the stub binary for ESP32-C3 there.
@liux-pro may I ask you to try #65 and see if that fixes the issue on your end? I've only updated the stub binary for ESP32-C3 there.
Fully functional !
Confirmed working with PR #65 Good for release when debugging Infos #63 are removed.
#65 has been merged, hopefully this is fixed for good!