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 Uno R4 Minima GDB Issue (Read 50 times)
groz
Junior Member
**
Offline


Posts: 26
Joined: Feb 21st, 2018
Uno R4 Minima GDB Issue
Sep 14th, 2025 at 4:50am
Print Post  
I'm getting errors trying to use the GDB for the Uno R4 Minima. It appears this variant  in the 1.5.1 board package does not contain an openocd.cfg. The Nano R4 is the same.

Here is my Visual Studio Info:
Microsoft Visual Studio Community 2022
Version 17.14.14
VisualStudio.17.Release/17.14.14+36429.23
Microsoft .NET Framework
Version 4.8.09032

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA302
Microsoft Visual C++ 2022

Arduino IDE for Visual Studio by Visual Micro   22.0
Visual Micro is an Arduino Compatible IDE for Visual Studio 2022. For more information and forum please visit www.visualmicro.com.

ASP.NET and Web Tools   17.14.122.59099
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.14.122.59099
Azure App Service Tools v3.0.0

C# Tools   4.14.0-3.25412.6+c167adef821b9ba2f1c44c227a5e79ca11876461
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub Copilot   17.14.1147.5054
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Linux Core Dump Debugging   1.0.9.36414
Enables debugging of Linux core dumps.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.14.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools   17.0.40502.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.14.0-3.25412.6+c167adef821b9ba2f1c44c227a5e79ca11876461
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux and Mac Development   1.0.9.36414
Visual C++ for Linux and Mac Development

Visual F# Tools   17.14.0-beta.25230.7+c1a9d78ad4a474a716ccffb4367ed5151e3f7c9f
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.
========================================
OS Name      Microsoft Windows 11 Pro
Version      10.0.26100 Build 26100
========================================
I've included the VMBuilds information along with pics of the error boxes I'm getting in VS for this simple blink sketch.

Are there any options to get this to work like your video for the wifi version of this board?

Thanks
Mike
  

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


Posts: 2767
Joined: Feb 13th, 2019
Re: Uno R4 Minima GDB Issue
Reply #1 - Sep 14th, 2025 at 3:59pm
Print Post  
Thanks for the report and the information.

To our knowledge only the Uno R4 WiFi has the builtin CMSIS-DAP Debug Probe (via the ESP32), which is not present on the Minima or Nano Variants.

It looks as thought it should be possible to use an external debug probe with all boards, and the <boardPackage>\debugger\R7FA4M1AB.cfg file.

Do you currently have an external Debug probe with SWD or JTAG transports available?

We will look further into this, and if you already have an external probe we can begin with that route...
  
Back to top
IP Logged
 
groz
Junior Member
**
Offline


Posts: 26
Joined: Feb 21st, 2018
Re: Uno R4 Minima GDB Issue
Reply #2 - Sep 14th, 2025 at 4:44pm
Print Post  
Thanks for your quick response.

I completely missed this and thought all boards in this series were capable of using CMSIS-DAP. Looks like I get either a wifi version or an external debug probe. Note: you may want to remove listing this feature, "CMSIS-DAP (builtin)", under Hardware Debugger list for the Minima and Nano boards.

Do have any recommendations for external probes that integrate well with Visual Studio, Visual Micro and the Minima?

Thanks
Mike
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2767
Joined: Feb 13th, 2019
Re: Uno R4 Minima GDB Issue
Reply #3 - yesterday at 1:42pm
Print Post  
We will amend the listing so only the Uno R4 WiFi shows this Debug Probe.

We will test and amend the configurations for the Minima/Nano in the coming days, after which we will eb able to confirm which probe/s are suitable.

We will update in the coming days...
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint