Open SinanAkkoyun opened 2 years ago
If you are connecting the USB cable to tinyS3 board's USB port, this means that you are most likely using the built-in USB port, not the UART (schematic). You can use the serial console if you attach an external USB-Serial converter to the TX/RX/GND pins of the board, though.
If that doesn't help, could you please explain the "actual behavior" in a bit more detail? What does "dies" mean in this context?
Hi igrr, thanks for replying! Yes, exactly, I am then using the internal USB controller. But given that I can use the internal USB just fine for flashing and normal serial IO, why shouldn't it work with the console example?
The example you are trying to compile (console/advanced) is written to work specifically with the UART driver. It's not impossible to modify the example to work with USB, however supporting both in the same example will probably make the code too complex. Perhaps we should rename it to advanced_uart
to make the purpose of the example clear.
There is another example, console/basic, which does support 3 interfaces: UART, USB_OTG and USB_SERIAL_JTAG. You could try that one, see its README for details. You probably need to use USB_SERIAL_JTAG peripheral since USB_CDC console isn't supported on ESP32-S3 yet.
I have been trying to get the system/console/advanced_usb_cdc to work and I can't. Flashing on the internal port and monitor. The output does not appear and the input gives: Writing to serial is timing out.
This is the unchanged example on the S3, USB only. Any idea what's wrong?
----------------------------- Delete below -----------------------------
Reminder: If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at https://esp32.com instead.
INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.
If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.
IMPORTANT: If you do not follow these instructions and provide the necessary details, your issue may not be resolved.
----------------------------- Delete above -----------------------------
Environment
xtensa-esp32-elf-gcc --version
to find it): // 1.22.0-80-g6c4433aProblem Description
The advanced serial console example doesn't work with an ESP32-S3. It totally works with an ESP32-PICO-D4 in the exact same environment
Expected Behavior
S3 advanced console example should work
Actual Behavior
Serial Connection dies right when the command prompt should appear.
Steps to reproduce
Code to reproduce this issue
The stock advanced console example code.
Thank you very much for all the awesome examples. I hope this will soon work on S3!