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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) ESP32 Dev Board debugging (Read 7573 times)
Sid Price
Junior Member
**
Offline


Posts: 54
Location: Tijeras
Joined: Jun 28th, 2021
Re: ESP32 Dev Board debugging
Reply #20 - Jan 15th, 2022 at 6:09pm
Print Post  
OK, mystery resolved. The URL for the board support packages was not set to the GitHub path. I must have found an old document online and used the wrong URL.

Currently installing 2.0.2 Smiley

Sid
  
Back to top
 
IP Logged
 
Sid Price
Junior Member
**
Offline


Posts: 54
Location: Tijeras
Joined: Jun 28th, 2021
Re: ESP32 Dev Board debugging
Reply #21 - Jan 15th, 2022 at 6:21pm
Print Post  
And I can confirm that if I uncomment the Serial.begin() the debugger continues to work.

Smiley

Many thanks for your patience.
Sid
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Dev Board debugging
Reply #22 - Jan 18th, 2022 at 3:54am
Print Post  
Good to hear that thanks. 

For information. At the top of the Board Manager tree is a node called "Auto Discovery". That provides a single click to add a new .json url to the list of "IDE locations > board support urls". It can be easier than remembering where to look for json urls.
  
Back to top
WWW  
IP Logged
 
Sid Price
Junior Member
**
Offline


Posts: 54
Location: Tijeras
Joined: Jun 28th, 2021
Re: ESP32 Dev Board debugging
Reply #23 - Jan 18th, 2022 at 1:55pm
Print Post  
Very nice, thank you.

Would be nice if the tooltips didn't go away before one could finish reading them Sad
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Dev Board debugging
Reply #24 - Jan 18th, 2022 at 10:33pm
Print Post  
Yes agreed, the tool windows and dialogs are currently being re-written. They also don't support high res monitors very well.
  
Back to top
WWW  
IP Logged
 
espprog
Junior Member
**
Offline


Posts: 34
Joined: Jan 25th, 2022
ESP-Prog USB settings
Reply #25 - Jan 25th, 2022 at 12:33pm
Print Post  
Dear Forum !

I want to use hardware debug with ESP-Prog.
I didn't even find in the documentation or on the net which driver to use in ESP-Prog.

Running Zadig offers four driver types:
- libusb-win32 (v1.2.6.0)
- USB Serial (CDC)
- WinUSB (v6.1.7600.16385)
- libusbK (v3.1.0.0)
Which one should I use and for which channel?
Or do you need the same driver for both channels?


My other question:
I tried the software debug, but after uploading it stopped at the very first breakpoint (there were more breakpoints) and then never stopped again after breakpoint.

Thanks in advance for all the help.

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


Posts: 2145
Joined: Feb 13th, 2019
Re: ESP32 Dev Board debugging
Reply #26 - Jan 25th, 2022 at 1:01pm
Print Post  
The driver which is needed is WinUSB (v6.1.7600.16385), and this should be installed on Interface 0 of the debug probe via Zadig.  This should ONLY be done on Interface 0 of the device, as the second interface is the Serial passthrough port.

We will amend the documentation on the below pages to detail the driver version.
https://www.visualmicro.com/page/ESP32-Debugging.aspx
https://www.visualmicro.com/page/DebuggerSupportList.aspx

The full setup process can be seen in the below video:
https://www.youtube.com/watch?v=d6toH-qJbOI
« Last Edit: Jan 25th, 2022 at 1:02pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint