espressif / esp-launchpad

Configurable Browser-based Image Flasher
https://espressif.github.io/esp-launchpad/
42 stars 14 forks source link

Support flash ESP32 through brower in Android phone #26

Closed leeebo closed 1 year ago

leeebo commented 1 year ago

I found Webusb is supported by Chrome in Android, but testing with my phone (Android12 with Chrome 114) no USB device can be detected through Launchpad. Do you know if there is any problem there? Can we support such case?

igrr commented 1 year ago

Which USB/serial adapter are you using? Does your phone's kernel have the module for that adapter? I tried that a while ago and found that mine didn't have a module for CP2102. Maybe with S3 USB_SERIAL_JTAG it could work?

leeebo commented 1 year ago

No, I test with S3 USB_SERIAL_JTAG, also does not work. and also test with https://espressif.github.io/esptool-js/, nothing happens when I click the connect button. 🤔

igrr commented 1 year ago

@leeebo I'm sorry, I have misread your original comment. esptool-js uses WebSerial, not WebUSB. WebSerial is not supported in Chrome for Android.

leeebo commented 1 year ago

@igrr Thanks for your explanation, any solution to achieve it? users want flash binary through Mobilphone USB. Using DFU?