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
251 stars 101 forks source link

Monitor for ESP32-C6 #140

Open WeeJeWel opened 2 months ago

WeeJeWel commented 2 months ago

If I'm not mistaken, the ESP32-C6 (and the ESP32-C3) can enable a Serial Monitor by sending a command to the bootloader. Afterwards, serial output (e.g. Serial.println("Hello!")) could then be received inside a browser.

Can esptool-js also support this?

brianignacio5 commented 1 month ago

You can try https://espressif.github.io/esptool-js/ and Click the Start button under console section for monitoring.

WeeJeWel commented 1 month ago

That didn’t work, hence this issue.

brianignacio5 commented 1 month ago

Screenshot 2024-05-29 at 08 16 15

This is using the ESP32-C6-WROOM-1.

WeeJeWel commented 1 month ago

Do you use the USB-C port with the USB-Serial converter, or the USB-C port directly wired to the ESP32?

brianignacio5 commented 1 month ago

I'm using the ESP32-C6-DevKit-C1 so I'm using the type C USB UART bridge as shown here:

https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c6/esp32-c6-devkitc-1/user_guide.html#hardware-reference

WeeJeWel commented 1 month ago

Thank you. This issue applies to the ESP32-C6 built-in USB controller, not a devkit's UART bridge.

brianignacio5 commented 1 month ago

Also works with the USB port.

Could you provide the tracing information from the Developer Tools or the connect button ?