Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitor for ESP32-C6 #140

Open
WeeJeWel opened this issue Apr 30, 2024 · 9 comments
Open

Monitor for ESP32-C6 #140

WeeJeWel opened this issue Apr 30, 2024 · 9 comments

Comments

@WeeJeWel
Copy link

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
Copy link
Collaborator

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

@WeeJeWel
Copy link
Author

That didn’t work, hence this issue.

@brianignacio5
Copy link
Collaborator

Screenshot 2024-05-29 at 08 16 15

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

@WeeJeWel
Copy link
Author

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

@brianignacio5
Copy link
Collaborator

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
Copy link
Author

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

@brianignacio5
Copy link
Collaborator

Also works with the USB port.

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

@brianignacio5
Copy link
Collaborator

Could you try my fork in https://brianignacio5.github.io/esptool-js/ which implement #160 changes ?

@EmileSpecialProducts
Copy link

It work by me, ESP32-C6 dev board can use the reset on CH343 and USB.
Set USB CDC On Boot 'Enabled'

I have used this to test it

#include <Arduino.h> //  https://github.com/espressif/arduino-esp32/tree/master/cores/esp32
void setup() {
// set ARDUINO_USB_CDC_ON_BOOT
Serial.begin(115200);
Serial.setDebugOutput(true);
Serial0.begin(115200);
Serial0.setDebugOutput(true);

}
int counter=0;
void loop() {
Serial.println("Serial "+String(counter));
Serial0.println("Serial0 "+String(counter));
counter++;
sleep(1);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants