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 [2]  Send TopicPrint
Hot Topic (More than 8 Replies) Debug Arduino Nano AVR with GDB Stub (Read 3863 times)
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2441
Joined: Feb 13th, 2019
Re: Debug Arduino Nano AVR with GDB Stub
Reply #20 - May 12th, 2023 at 4:11pm
Print Post  
Thanks for the detail.

We are unable to reproduce the issues you are seeing with both Old and updated bootloaders on an Arduino Nano with the CH340 COM port, along with the latest v1.5 of the avr-debug library and the 1.8.3 AVR Board Package.

Can you retry this with the latest version of Visual Micro from our Downloads page below?
https://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx

Before beginning the debugging session ensure that:
1) No other programs are using the COM port in any way (if in doubt close all other instances of VS and Arduino IDE, RealTerm/TeraTerm etc)
2) There are no instances of "avr-gdb.exe" running in Task Manager

Then if you perform the upload using the vMicro > Build & Upload button (this should succeed), then finally attach the debugging session from Debug > Attach to Process.
« Last Edit: May 12th, 2023 at 4:12pm by Simon@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint