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 ESP32 Custom Board with Hardware Debug Breakout (Read 856 times)
Nikolai
Newbies
*
Offline


Posts: 5
Joined: Jan 31st, 2023
ESP32 Custom Board with Hardware Debug Breakout
Feb 11th, 2023 at 7:20am
Print Post  
On a similar "debugging" note, although not related to "Serial".

I just bought this item on Amazon: https://www.amazon.com/dp/B0BQHG7F7J

It seems to be a version of "ESP-Prog".

If I make the next version of my device to expose JTAG pins, I should be able to just connect this?

Also, currently I am using the old versions of ESP32-WROOM.  But I was thinking to redesign my board to use ESP32-S3 (chip itself).  Would it be better to expose JTAG pins for connecting "ESP-Prog" or expose the native USB port instead?  Is one faster than the other?  I can't easily expose things because my board is very small.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2370
Joined: Feb 13th, 2019
Re: ESP32 Custom Board with Hardware Debug Breakout
Reply #1 - Feb 11th, 2023 at 12:16pm
Print Post  
The ESP-PROG can be used easily with Visual Micro, and yes you would need to expose the JTAG pins, and ensure they are not connected to any other circuits when debugging (jumpers can be used to switch functionality if they are connected to e.g. sensors when not debugging).

The ESP-WROOM chips only have the JTAG interface for an external probe:
https://www.visualmicro.com/page/ESP32-Debugging.aspx
The EP32-S3 I believe does support a USB debug interface by default, which means less pins to expose and no external probe is required:
https://www.visualmicro.com/page/ESP32S3-USB-Debugging.aspx

It does also allow an External probe to be used via the normal 4 JTAG pins, however this often requires burning a fuse (one way process) to enable this:
https://www.visualmicro.com/page/ESP32S3-JTAG-Debugging.aspx

Hopefully that helps to use your ESP-PROG probe, as well as design your future board to consider the hardware debugging aspects.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint