Hi, I am here again.
Windows 10 Pro and System Info:
(I put it here because I can only attach two files)
Quote:Microsoft Visual Studio Community 2019
Version 16.8.4
VisualStudio.16.Release/16.8.4+30907.101
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Community
Visual C++ 2019 00435-60000-00000-AA020
Microsoft Visual C++ 2019
Arduino IDE for Visual Studio by Visual Micro 19.0
Visual Micro is an Arduino Compatible IDE for Visual Studio 2017-2019. For more information and forum please visit
www.visualmicro.com.
ASP.NET and Web Tools 2019 16.8.557.25636
ASP.NET and Web Tools 2019
C# Tools 3.8.0-5.20604.10+9ed4b774d20940880de8df1ca8b07508aa01c8cd
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 5.8.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit
https://docs.nuget.org/ ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
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.
Visual Basic Tools 3.8.0-5.20604.10+9ed4b774d20940880de8df1ca8b07508aa01c8cd
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake
Now that I can compile and upload with the USB port, I want to connect and use the Atmel-ICE.
The board, MKRWiFi1010, is connected at the PC with USB cable only for power, checked hardware, only tho wires inside the cable, and software: Windows - Device Manager - No COM ports available.
I studied the page carefully:
https://www.visualmicro.com/page/SAM-Debugging.aspx
My setting is:
vMicro – General – Global Option – GDB and On Chip Debugging – Gdb Enable = true
(Otherwise no errors, but don’t stop at breakpoint).
vMicro – Debugger – Debug - Debug: Hardware
Hardware programmer = Atmel-ICE
Build – Configuration Manager – Configuration = Debug; Platform = Win32; Build = unchecked; Deploy = unchecked;
vMicro - Debugger - Compiler Optimization = Default Optimization (If I change I can't compile without errors).
Build - Clean Solution
Debug - Start Debugging
The code is uploaded and run, you can see in the picture attached the flashing led inside the waiting for serial, and the led FLASH as programmed.
You can see also a breakpoint at line 58, obviously ignored if I see led flashing.
Attached you can find the Output captured jus before the error, after the error the Output is:
Quote:Starting: duino7\bin/openocd.exe" -d2 -s duino7/share/openocd/scripts/" -c "adapter driver cmsis-dap" -c "cmsis_dap_vid_pid 0x03eb 0x2141" -c "transport select swd" -f riants/mkrwifi1010/openocd_scripts/arduino_zero.cfg" -c "init; reset halt"
Starting: \7-2017q4/bin\arm-none-eabi-gdb.exe" --interpreter=mi
duino7\bin/openocd.exe" exited with code 1 (0x1).