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 debugging does not work (Read 1720 times)
spiessa
Newbies
*
Offline


Posts: 3
Joined: Apr 7th, 2014
ESP32 debugging does not work
Jan 1st, 2021 at 3:42pm
Print Post  
I use an ESP-PROG for upload and for debugging. It worked once or twice and the same config works with PlatformIO.
Unfortunately, in 99% of the cases, it does not work with Visual Micro.
First I build and upload (see attached log). Then I try to attach to process (second log). I get a message "Frame not in module"
Unfortunately, this is only one error message. I try now for two days because I wanted to create a video about your tool. (https://www.youtube.com/andreasspiess ) So far it is disappointing Sad
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2170
Joined: Feb 13th, 2019
Re: ESP32 debugging does not work
Reply #1 - Jan 2nd, 2021 at 1:55pm
Print Post  
Thanks for the report.

Would it also be possible to attach the below log from the build folder, for OpenOCD:
Code
Select All
no_DebugOpenOCD.log 



Can you confirm whether this happens as soon as you attach, or only when navigating to core functions?
« Last Edit: Jan 2nd, 2021 at 3:24pm by Simon@Visual Micro »  
Back to top
 
IP Logged
 
spiessa
Newbies
*
Offline


Posts: 3
Joined: Apr 7th, 2014
Re: ESP32 debugging does not work
Reply #2 - Jan 2nd, 2021 at 7:04pm
Print Post  
I hope this file is from the same test:
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2170
Joined: Feb 13th, 2019
Re: ESP32 debugging does not work
Reply #3 - Jan 4th, 2021 at 11:39am
Print Post  
Thanks for the detail.

Can you confirm the "WinUSB (v6.1.7600.16385)" driver is installed via Zadig for the ESP32-PROG device?

Do you only see the "Frame Not Found" when navigating into a core function e.g. vTaskDelay(), or is this seen when navigating the Project Source?
  
Back to top
 
IP Logged
 
spiessa
Newbies
*
Offline


Posts: 3
Joined: Apr 7th, 2014
Re: ESP32 debugging does not work
Reply #4 - Jan 6th, 2021 at 1:36pm
Print Post  
I can confirm that Zadig shows the WinUSB driver for both interfaces of the Dual RS232-HS device.
And I only tried to debug the main Arduino sketch
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2170
Joined: Feb 13th, 2019
Re: ESP32 debugging does not work
Reply #5 - Jan 6th, 2021 at 4:10pm
Print Post  
Thanks for the confirmation on the drivers and actions taken.

Would it be possible to ZIP the solution folder and either attach it here, or email it to us? (so we can investigate further, as we don't see these issues navigating an INO sketch)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint