What is ST-Link?

What is ST-Link?

Description. The ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontrollers. The single-wire interface module (SWIM) and JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.

What is STM32 swim?

The single wire interface module (SWIM) and the JTAG/serial wire debugging (SWD) interfaces facilitate the communication with any STM8 or STM32 microcontroller operating on an application board. STM32 devices via Atollic®, IAR™, Keil® and TASKING® integrated development environments.

What was the problem with STM32F103 MCU?

The problem was in pin connections in my custom board: I thought that, in my MCU, Pin 9 (VDDA) is short-circuited with PINs 24-36-48, and Pin 8 (VSSA) with PINs 23-35-47, but it’s not so. I needed to give another 3.3V and GND to VDDA and VSSA and st-link started working.

Can a MCU be connected to a ST-LINK?

Connect your MCU to ST-Link just like they have connected the Nucleo’s MCU to it. As for boot configurations, there are three selectable options, easiest it to stick with the Main Flash and tie Boot0 to GND, but I do not know your requirements so it is up to you to choose. First of all thanks to everyone for their contribution.

How to use external St-link to debug / program STM32?

By ST Microelectronics, SWCLK, SWDIO, NRST and SWO (and GND of course) are connected to the target MCU. The additional SWO pin is used for debug purposes, you can access printed data with the printf function through this pin with ST-Link Utility.

How to remove STM32 ST-LINK utility user interface um0882?

Follow these steps to uninstall the STM32 ST-LINK utility: 1. Select Start | Settings | Control Panel. 2. Double-click on Add or Remove Programs. 3. SelectSTM32 ST-LINK utility. 4. Click on the Removebutton. STM32 ST-LINK utility user interface UM0892