Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
ESP32S3 JTAG debug of INO with ESP-PROG (Read 89 times)
Craig Stephan
Newbies
*
Offline



Posts: 6
ESP32S3 JTAG debug of INO with ESP-PROG
Aug 1st, 2022 at 11:20pm
 
I am trying to debug an INO sketch on a ESP32-S3-DevKitC-1 using an ESP-PROG board.

When using the ESP-PROG with the JTAG connections that you show in your guide, I am unable to scan the JTAG device ID of the ESP32S3 device. Are there any tricks to allow the ESP-PROG to communicate with the ESP32S3 via the GPIO39 through GPIO42 IO pins? Your diagram shows a 20-pin header, but my ESP-PROG has a 10-pin 0.100" header. Does the RST pin have to be asserted hi or low, or possibly controlled in a specific way?
Back to top
 

Please Register or Login to the Forum to see File Attachments
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1401
Re: ESP32S3 JTAG debug of INO with ESP-PROG
Reply #1 - Aug 4th, 2022 at 1:01pm
 
Thanks for the report.

If you change the programmer back to "No Programmer", so the upload is via the onboard USB connector on the ESP32S3, does this allow the debugging to work correctly?
Back to top
 
 
IP Logged
 
Craig Stephan
Newbies
*
Offline



Posts: 6
Re: ESP32S3 JTAG debug of INO with ESP-PROG
Reply #2 - Today at 12:37am
 
I can set the programmer to "no programmer" and program and debug the code with Serial Debug using the USB connector.

I am interested in using in using the JTAG pins of the ESP32S3 on my Espressif dev kit to do hardware debugging with the ESP-PROG.

Do you have any idea why your software is having trouble reading the ESP32S3 JTAG port? Are there any more lines that I need to add to my board.txt file?
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1401
Re: ESP32S3 JTAG debug of INO with ESP-PROG
Reply #3 - Today at 10:59am
 
You should be able to use the below combination:
Upload > Programmer: No Programmer
Debugger > Debug: Hardware
Debugger > Hardware Debugger: ESP-PROG

We have amended the link on the ESP-32S2/S3 Page for the ESP-PROG to be the correct image (linked below):
https://www.visualmicro.com/pics/Debug-Help-ESP32S3-ESPPROG-Connections.png

There should be no more lines needed in the board.txt than are shown on the documentation page, and the driver installation by Zadig also has to be completed.

The upload issue is a seperate issue, and hopefully the above will allow your debugging setup to begin working?
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print