Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic About "ESP32S3-USB-Debugging" (Read 120 times)
Peter D. Pruyne
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2024
About "ESP32S3-USB-Debugging"
Nov 23rd, 2024 at 7:22am
Print Post  
This is about this page:
https://www.visualmicro.com/page/ESP32S3-USB-Debugging.aspx

1st, the sentence "If you are looking to use JTAG to debug this board please see the seperate page here." has no link.

2nd, There is an image there connecting a usb-A cable directly to gpio pins on a ESP32-32 dev board.

The host usb is a 5v device, ESP32's are 3v devices.  This is not supported, as described in the datasheets and also discussed on the Esspresif forum, in a thread titled "5V tolerance".
https://esp32.com/viewtopic.php?t=877


My questions:
1 ) What page does the missing link refer to?

2 ) Whats up with sailing past the 3.6v gpio pin limit found in the Esspresif datasheets?   

3) The pictured S3 dev board has two usb interfaces, one labeled UART.  That 2nd usb connection is expressly provided for JTAG access.

I have looked at your debugging examples, I can not find one that uses the USB-UART for JTAG debug.  Perhaps I missed it?   

That what I would like to do.  How do I do that?



  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2503
Joined: Feb 13th, 2019
Re: About "ESP32S3-USB-Debugging"
Reply #1 - Nov 25th, 2024 at 12:47pm
Print Post  
1) Documentation page updated and the link referred to the below page, where an external probe is used to connect to the JTAG pins:
https://www.visualmicro.com/page/ESP32S3-JTAG-Debugging.aspx

2) This was following the Espressif documentation:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-guides/jtag-de...

Quote:
The quickest and most convenient way to start with JTAG debugging is through a USB cable connected to the D+/D- USB pins of ESP32-S3. No need for an external JTAG adapter and extra wiring/cable to connect JTAG to ESP32-S3.


3) On that board the second USB port provides USB-JTAG which is not always available on every variant of the board.  This is why we show the USB lead connected to the board which would provide the same USB-JTAG access on any board (or even just the module itself).  The on-board USB port is wired to the same IO pins on their schematic (which have the zener diodes for the voltage limiting):
https://dl.espressif.com/dl/schematics/SCH_ESP32-S3-DevKitC-1_V1.1_20221130.pdf

The USB-UART Debugging will work the same just connected via the "USB" port on the board, the driver needs installing for the same interface, and the same Debug selection applies in Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint