espressif / esptool-js

Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.
https://espressif.github.io/esptool-js/
Apache License 2.0
276 stars 108 forks source link

fix: timeout error on connecting #62

Closed domagojk closed 1 year ago

domagojk commented 1 year ago

Fixes an issue reported in #55 #58

In a version used in gh-pages, there was a typo: readRaw instead of rawRead but since it was try/catched, the error didn't show up.

In typescript update, typo was fixed, but that caused a timeout issue.

Not sure, if it should just be deleted or it should be used differently.

igrr commented 1 year ago

@domagojk Thank you for finding the issue and submitting the fix!

NikitaUT commented 1 year ago

As a result of this change, we are now seeing this error for the first time on our C3. Flushed cache and all.

igrr commented 1 year ago

@NikitaUT Oops, sorry about that! Could you please open a new issue, attaching the terminal output you get? If you manually put the chip into download mode, do you get the same behavior?