Hi,
I'm able to debug over Visual Micro with the given serial connection and STM32mini board(STM32F103C8T6) which details given at that link
http://grauonline.de/wordpress/?page_id=1004
Both STLink(v2) and STMduino bootloader options works.
On the other hand,I tried to debug with GDB option but not success.
After several trials, I note that the "GDB Enable" option (
http://www.visualmicro.com/page/User-Guide.aspx?doc=Tools-Options-Reference.html) is not working and stuck in "False" somehow.
So, gdb related configuration is not triggered.
Just another note that I can debug with STM's Eclipse distribution(System Workbench for STM32) via OpenOCD interface with StlinkV2 via SWD type connection.
About cmd line debug I tried and got success as below. This might help.
I'm able to connect via cmd line from openocd to stlinkv2 like below that's given inside documentation of openocd:
openocd -f ..\scripts\interface\stlink-v2.cfg -c "transport select hla_swd" -f ..\scripts\board\stm32f103c8t6mini.cfg -c "tpiu config external uart off 24000000 12000000"
my stm32f103c8t6mini.cfg is below: you should create a instance inside scripts/boards folder of openocd.
# This is an STM32F103C8T6mini board with a single STM32F103C8Tx chip.
source [find interface/stlink-v2.cfg]
set WORKAREASIZE 0x5000
transport select "hla_swd"
source [find target/stm32f1x.cfg]
reset_config none
It's important to give "reset_config none" lines. otherwise the chip could not get the "reset halt" command over telnet.
after a successful connection of openocd I can connect via telnet and gdb and then successful command line debug with given link below.
https://fun-tech.se/stm32/OpenOCD/gdb.php So, I'm waiting for support of Visual Micro gdb debug to this stm32 board,too
-------------------------------------------------
Here's my configuration of tools:
-------------------------------------------------
I'm using the Arduino 1.6.9 and lib.s which is the latest compatible version with STMduino git repo.
-------------------------------------------------
VS related installations and versions are below:
(MI debugger tools installed)
-------------------------------------------------
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Enterprise
Architecture and Modeling Tools
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
Visual Basic 2015
Microsoft Visual Basic 2015
Visual C# 2015
Microsoft Visual C# 2015
Visual C++ 2015
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.0.20622.1
Application Insights Tools for Visual Studio
Arduino for Visual Studio 1.0
Arduino extension for Visual Studio. For more information please see docs, faq and forum at http://www.visualmicro.com
Common Azure Tools 1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
KofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
NuGet Package Manager 3.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
TypeScript 1.8.36.0
TypeScript tools for Visual Studio
Visual C++ for Cross Platform Mobile Development (Android) 14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)
Thanks