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  
 
Pages: 1 2 
Send Topic Print
ESP32 Dev Board debugging (Read 2946 times)
Sid Price
Junior Member
**
Offline



Posts: 54
Tijeras
Re: ESP32 Dev Board debugging
Reply #20 - Jan 15th, 2022 at 6:09pm
 
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
Tijeras
Re: ESP32 Dev Board debugging
Reply #21 - Jan 15th, 2022 at 6:21pm
 
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: 11542
United Kingdom
Re: ESP32 Dev Board debugging
Reply #22 - Jan 18th, 2022 at 3:54am
 
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
 

Tim Leek
home
WWW  
IP Logged
 
Sid Price
Junior Member
**
Offline



Posts: 54
Tijeras
Re: ESP32 Dev Board debugging
Reply #23 - Jan 18th, 2022 at 1:55pm
 
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: 11542
United Kingdom
Re: ESP32 Dev Board debugging
Reply #24 - Jan 18th, 2022 at 10:33pm
 
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
 

Tim Leek
home
WWW  
IP Logged
 
espprog
Junior Member
**
Offline



Posts: 34
ESP-Prog USB settings
Reply #25 - Jan 25th, 2022 at 12:33pm
 
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: 1578
Re: ESP32 Dev Board debugging
Reply #26 - Jan 25th, 2022 at 1:01pm
 
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
Back to top
« Last Edit: Jan 25th, 2022 at 1:02pm by Simon@Visual Micro »  
 
IP Logged
 
Pages: 1 2 
Send Topic Print