This document describes the use of the ST-Link iSystem.open plugin within the iSystem winIDEA and winIDEAOpen software development and test platform. The ST-Link iSystem.open 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 http://www.st.com ).
•winIDEA Open* http://www.isystem.com/downloads/winidea/winideaopen
•No license required
•GCC compiler only (GCC installation included)
•No direct technical support by iSystem, Please visit http://isystem.freeforums.org/ to get help through the user community
•Updates are provided on a non-regular base
* build 9.12.114 or newer required
•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 : http://www.st.com .
•JTAG and SWD interface
•Basic debug control (Reset, Stop, Break Points, Run,…)
•Automatic device recognition
•SWO (printf debugging)
winIDEA Terminal Window
In order to use ST-Link debugger with winIDEA, ST-Link drivers must be installed. Install the appropriate drivers from the ST website (visit http://www.st.com ). 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.
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/ isystem.open Plug-In of the winIDEA toolbar.
Selecting ST-Link Plug-In
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.
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.
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.
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.