Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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  
 
Page Index Toggle Pages: 1
Send Topic Print
ESP32 debugging does not work (Read 117 times)
spiessa
Newbies
*
Offline



Posts: 3
ESP32 debugging does not work
Jan 1st, 2021 at 3:42pm
 
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
Back to top
 

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



Posts: 604
Re: ESP32 debugging does not work
Reply #1 - Jan 2nd, 2021 at 1:55pm
 
Thanks for the report.

Would it also be possible to attach the below log from the build folder, for OpenOCD:
Code:
C:\Users\andre\AppData\Local\Temp\VMBuilds\MTR_TEST\esp32_esp32\Debug/MTR_TEST.ino_DebugOpenOCD.log 



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



Posts: 3
Re: ESP32 debugging does not work
Reply #2 - Jan 2nd, 2021 at 7:04pm
 
I hope this file is from the same test:
Back to top
 

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



Posts: 604
Re: ESP32 debugging does not work
Reply #3 - Jan 4th, 2021 at 11:39am
 
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
Re: ESP32 debugging does not work
Reply #4 - Jan 6th, 2021 at 1:36pm
 
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: 604
Re: ESP32 debugging does not work
Reply #5 - Jan 6th, 2021 at 4:10pm
 
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 Topic Print