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 ESP-Prog USB driver selection (Read 2159 times)
espprog
Junior Member
**
Offline


Posts: 34
Joined: Jan 25th, 2022
ESP-Prog USB driver selection
Jan 25th, 2022 at 12:41pm
Print Post  
Dear Forum !

(Unfortunately, I asked my question in the wrong place before, so now I am asking in a new topic.)

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: ESP-Prog USB driver selection
Reply #1 - Jan 25th, 2022 at 1:02pm
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
  
Back to top
 
IP Logged
 
espprog
Junior Member
**
Offline


Posts: 34
Joined: Jan 25th, 2022
Re: ESP-Prog USB driver selection
Reply #2 - Jan 25th, 2022 at 1:11pm
Print Post  
Thanks for the quick response.
I'm trying ...
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: ESP-Prog USB driver selection
Reply #3 - Jan 25th, 2022 at 2:44pm
Print Post  
We have added the below documentation page, linked from the debugger support listing page to show how to install the drivers required:
https://www.visualmicro.com/page/Zadig-Driver-Installation-Guide.aspx
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint