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
288 stars 108 forks source link

Chip type not detected #39

Closed ithinkido closed 2 years ago

ithinkido commented 2 years ago

Testing on EDGE Version 102.0.1245.44, with both an ESP8266 and ESP32 board with both local and the hosted version - The chip type is not detected and returns a value of null. image

balloob commented 2 years ago

You must be using a cached version. connectButton.onClick is defined on line 78, not line 90.

ithinkido commented 2 years ago

The error is pointing to line 98 and not line 90. image This is in a new private window with no cache The chip is correctly detected over USB by esptool.py image

ithinkido commented 2 years ago

This issue remind me of a similar one I faced once due to Flatpak installed apps being sand boxed. Turns out it was the same. I have reinstalled EDGE using the .deb package and it is now working. This is quite deceptive as the "connect to port" window does still seem to work, and correctly lists all ports and shows the /dev/ttyUSB0 port but fails later. Sorry for the false alert.