VS Arduino
>> >> ESP32 debugging does not work
https://www.visualmicro.com/forums/YaBB.pl?num=1609515756

Message started by spiessa on Jan 1st, 2021 at 3:42pm

Title: ESP32 debugging does not work
Post by spiessa on 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 :-(
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Build_and_upload.txt ( 225 KB | 15 Downloads )
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=attach.txt ( 1 KB | 5 Downloads )

Title: Re: ESP32 debugging does not work
Post by Simon@Visual Micro on 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[/code]

Can you confirm whether this happens as soon as you attach, or only when navigating to core functions?

Title: Re: ESP32 debugging does not work
Post by spiessa on Jan 2nd, 2021 at 7:04pm
I hope this file is from the same test:
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=MTR_TEST_ino_DebugOpenOCD.txt ( 1948 KB | 30 Downloads )

Title: Re: ESP32 debugging does not work
Post by Simon@Visual Micro on 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?

Title: Re: ESP32 debugging does not work
Post by spiessa on 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

Title: Re: ESP32 debugging does not work
Post by Simon@Visual Micro on 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)

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.