Locate the second USB connector on your board and ensure it is plugged in: Once you connect it, the board will be recognized as a USB-based COM port. The first one is connected to the on-board ST-Link, while the second one is connected to the target device.
#Atollic studio stm32duino sketches how to#
As the exact board type is not chosen yet, VisualGDB will not automatically detect the debugged device type. Connect your board to the USB port and let VisualGDB detect the ST-Link you are using.In this tutorial we are targeting the STM32F4Discovery board, so select Discovery and press “Next”: Once the STM32 Arduino targets are installed, the target list will look differently: instead of listing all boards, the STM32 Arduino package lists board types and lets you specify an exact board via project properties.If the board is not shown, ensure you have STM32 Boards checkbox enabled: If you don’t have the STM32 Arduino cores installed, select your board on the next page and click “Install”.On the first page of the wizard select Create a new “Blinking LED” project:.Start Visual Studio and open the VisualGDB Arduino Project Wizard:.
#Atollic studio stm32duino sketches install#
We will import the STM32 Arduino cores into VisualGDB and will show how to create and debug a basic project for the STM32F4Discovery board, and also how to programmatically print text into a virtual USB-based COM port provided by the STM32 Arduino framework.īefore you begin, install VisualGDB 5.4R7 or later.
This tutorial shows how to develop Arduino-based projects for the STM32 boards using the STM32Duino project, Visual Studio and VisualGDB.