Parent Previous Next


Contents        1

1        Introduction        1

1.1        Supported IDEs and Licensing        1

1.2        Supported Debugger        2

1.3        Supported CPUs        2

1.4        Features        2

2        Using ST-Link within winIDEA/winIDEAOpen        3

2.1        Installing ST-Link drivers        3

2.2        Selecting the ST-Link Plug-In        3

2.3        Connecting to the ST-Link hardware        3

2.4        ST-Link Menu        3

2.4.1        Options        4

2.4.2        Mass Erase        4

3        Special Function Registers (SFR) View        4


This document describes the use of  the ST-Link plugin within the iSystem winIDEA and winIDEAOpen software development and test platform. The ST-Link plug-in enables  the use of the STMicroelectronic ST-Link debuggers directly within winIDEA/winIDEAOpen in order to allow direct programming and debug control of  a wide range STM32 devices.

In order to use the ST-Link debugger in conjunction with winIDEA the ST-Link USB drivers have to be installed.(visit ).

1.1Supported IDEs and Licensing

winIDEA Open*

No license required

GCC compiler only (GCC installation included)

No direct technical support by iSystem, Please visit to get help through the user community

Updates are provided on a non-regular base

* build 9.12.114 or newer required

1.2Supported Debugger

ST-Link, ST-Link/V2 Development Tools debuggers.

The ST-Link/ST-Link/V2 debugger is either available as a separate unit or as part of the STM32 Discovery kits.

For more information regarding the ST-Link hardware please visit the  STMicroelectronic webpage : .

1.3Supported CPUs

STM32 F0

STM32 F1

STM32 F2

STM32 F3

STM32 F4

STM32 L1


JTAG and SWD interface

Basic debug control (Reset, Stop, Break Points, Run,…)

Flash download

Automatic device recognition

SWO (printf debugging)

winIDEA Terminal Window

2Using ST-Link within winIDEA/winIDEAOpen

2.1Installing ST-Link drivers

In order to use ST-Link debugger with winIDEA, ST-Link drivers must be installed. Install the appropriate drivers from the ST website (visit ). To check, if drivers were successfully installed, connect the ST-Link debugger to the PC via an USB cable. Check the list of devices connected to the PC and make sure there are no driver issues.

2.2Selecting the ST-Link Plug-In

The ST-Link plugin is part of the winIDEA/winIDEAOpen installation. In order to use the ST-Link debugger the plugin has to be selected under the Tools tab/ Plug-In of the winIDEA toolbar.

Selecting ST-Link Plug-In

2.3Connecting to the ST-Link hardware

The ST-Link is connected via USB to the host PC running the winIDEA or winIDEA Open development environment.

Connection between winIDEA and ST-Link is established automatically when Debug/Download or Debug/Run command is issued.

2.4ST-Link Menu

After selecting the ST Microelectronics Development Tools plug-in, the ST-Link menu will appear in the winIDEA menu bar.


The ST-Link/Options dialog  allows the selection of the debug interface type i.e. SWD or JTAG. CPU clock, SWO prescaler and Stimulus register mask are needed only if you use trace, in terminal window. In addition some information concerning the connected target device is displayed.

Note: CPUInfo is displayed only when winIDEA is connected to the ST-Link hardware and the target CPU.

2.4.2 Mass Erase

The ST-Link/Mass Erase will erase the target connected to st-link.

Note: Mass Erase is available only when winIDEA is connected to the ST-Link hardware and the target CPU.

3Special Function Registers (SFR) View

Special Function Registers (SFRs) can be displayed via View/Special Function Registers.

If the menu is disabled, or registers for a different device are displayed, configure the CPU manually in Debug/Options/SFRs.