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 Black Magic Probe V2.1 best option for easy debugging (Read 4333 times)
RogerW
Junior Member
**
Offline


Posts: 19
Location: Egnach
Joined: Jan 4th, 2014
Black Magic Probe V2.1 best option for easy debugging
Jul 7th, 2019 at 11:10am
Print Post  
Hi all

I'm looking for a simple and easy way to debug ESP32 code with the Breakpoints, Stepping and live value change. 

Is there any documentation on how to use the Black Magic Probe V2.1 with VS2019 and Visual Micro? Is it a good solution or would you suggest another setup?


Many thanks for your suggestions

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #1 - Jul 7th, 2019 at 12:22pm
Print Post  
If you select the black magic probe from the debug menu the output window should show connection guide etc.
  
Back to top
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline


Posts: 19
Location: Egnach
Joined: Jan 4th, 2014
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #2 - Jul 7th, 2019 at 2:25pm
Print Post  
Do you mean the Black Magic Probe does appear in the menu as soon as it is installed?   
From your point of view is the Black Magic Probe the best / easiest option for Hardware JTAG debugging on ESP32?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #3 - Jul 7th, 2019 at 2:37pm
Print Post  
I think I confused things. I see the Black Magic is missing from the Esp32 debuggers list. We will add it during next week.

Here is some info for later. We are expanding the docs all the time but here are a few links

Main Documentation Index (see Gdb Debug Section)

Esp32 Debugging Configuration

Using the Gdb Debugger



  
Back to top
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline


Posts: 19
Location: Egnach
Joined: Jan 4th, 2014
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #4 - Jul 7th, 2019 at 2:45pm
Print Post  
Thx, looking forward to the add on for ESP32 debugging with black magic probe. Will read through the doc in the meantime. I'll report back as soon as the new version is available and I've tried it out.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #5 - Jul 7th, 2019 at 3:21pm
Print Post  
I added a test definition for the BMP on COM for esp32 to the 1907.6.2 release here
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The BMP using UART does need your code to be configured correctly.

The debug team will look at this more next week but this one should work okay if that's what you wanted.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #6 - Jul 9th, 2019 at 3:00pm
Print Post  
The black magic probe does not support the ESP32. What led you to believe that it did?
  
Back to top
WWW  
IP Logged
 
RogerW
Junior Member
**
Offline


Posts: 19
Location: Egnach
Joined: Jan 4th, 2014
Re: Black Magic Probe V2.1 best option for easy debugging
Reply #7 - Jul 11th, 2019 at 4:17pm
Print Post  
Oh, sorry about that. I‘m new to Jtag debugging and thought the black magic probe is a universal ARM probe. Hope I didn‘t cause to much trouble.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint