Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [st-link]

The ST-LINK is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families.

1
vote
2answers
40 views

STM32F0 Disco on-board “Cannot connect to target”

So I've already went through these topics: "can-not-connect-to-target-using-stm32f0-discovery-board-as-st-link" "STM32 & ST-LINK - SWD connector not working" I cannot access on-board target with ...
0
votes
2answers
708 views

“Can not connect to target!” using STM32F0 discovery board as ST-Link

(first posting here so bear with!) Hi, I'm a very novice embedded programmer and have hit a wall trying to use an STM32 discovery board as an ST-Link programmer to an external STM32F051K8T. I know ...
0
votes
2answers
3k views

STLINK V2 disconnects in the STLink Utility

I have some strange behaviour of my STLINK V2 when I just plug it in the USB port and then open the STLINK Utility tool. When I then go to settings it finds the STLINK V2, but after about 5s the ...
-1
votes
2answers
406 views

STM32F103 memory addressing

I have written my code for STM32F103C8T6 board in Keil using the adequate startup files. I wrote directly to the memory addresses using information from the datasheet but the ST-Link upload seems to ...
1
vote
1answer
2k views

Atollic + STM32F4 + ST-Link v2 connection problem “Unknown MCU found on target”

I currently have a problem with the connection between the debugger ST-Link V2, ARM Atollic 8.0.0 and a custom board with STM32F469. The Atollic and the ST-Link utility believe the Target is halted (...
1
vote
1answer
3k views

STM32 prototype unable to connect to PC using ST-Link/V2 SWD

Circuit Diagram Background & What I have tried. I have wired wrapped this setup myself using a fresh STM32F411RC MCU from digikey (on a proto-advantage LQFP-64 to DIP-64 breakout board). I've ...
0
votes
1answer
22 views

STLink USB communication error when no board is connected

I'm new to using the ST-LINK, and I'm trying to isolate a connection problem, by checking if the ST-Link itself is working well with my computer. I connected the ST-LINK V2 by itself to a Windows 10 ...
0
votes
1answer
29 views

Unable to resolve ADC conversion error in stm8s105s6

I'm trying to learn ADC on stm8s105s6. But not getting proper adc result. I shorted VCC to analog pin 3 and expected conversion value near 1023 as stm8 has a 10 ...
1
vote
0answers
244 views

Add serial interface to ST-link clone

I recently started studying STM32 microcontrollers (BluePill STM32F103 dev board + ST-link V2 clone). I was wondering if it is possible to add serial communication to ST-Link clone? From what I ...
1
vote
0answers
78 views

OpenOCD debugger in Eclipse Neon 4.6.2 Error in final launch sequence

I have been struggling with OpenOCD debugger under Eclipse Neon 4.6.2. Whenever I run the debug configuration I receive below given error message I have been attempting to debug the STM32F417VGT6 MCU....
1
vote
0answers
1k views

Atollic STM32H7 + ST-LINK Error writing data to flash with math library

I am currently working on a STM32H743VIT6 chip (on a self-designed board), with the Atollic TrueStudio toolchain (ver. 9.0.0), using a ST-LINK debugger on a STM32F4-Discovery board (ST-LINK firmware ...
0
votes
0answers
21 views

stm32f103c8t6 program downloading

I got st link v2 mini usb driver and stm32f103c8t6. When I load a program from keil through st link v2 it says 'loading is OK' (programming pin connections are true) but PC13 led of stm32f103c8t6 is ...
0
votes
0answers
84 views

STM32CubeProg vs STLINK Utility

There are 2 software tools provided by ST to flash their STM32 MCUs namely STM32CubeProg and STLINK Utility STM32CubeProg Page says: STM32CubeProgrammer (STM32CubeProg) is an all-in-one multi-OS ...
0
votes
0answers
27 views

Unable to connect to STM32L011d4p6 (14 pin TSSOP) via SWD

I designed a small PCB featuring a STM32L011 and 433.92MHz ASK transmitter; planned as a dual-contact door sensor (those seem to be rare). Schematic: https://drive.google.com/file/d/1KrJF-...
0
votes
0answers
146 views

STM32F723 custom board debugging/programming issue

I am working on custom board design for STM32F723ZET6 MCU. Here is part of schematic. All the VDD/VDDA/VBAT pins are connected to 100nF bypass capacitors and few 4.7uF capacitors between VDD and GND....
0
votes
0answers
145 views

STM32F0 SWD not working VDD >2.9V

I made a board with a STM32F031 and connected it to the ST-Link integrated into a STM32F4-DISCOVERY. To this point I was able to figure out, that the SWD connection works, if I supply a voltage of <...
0
votes
0answers
420 views

Using a nucleo board as ST-link for STM32F722RET6 (Error: ST-LINK error (DEV_TARGET_CMD_ERR))

we have disconnected the ST-link from the nucleoboard and prepared it correctly for its use. we connected it back to the nucleoboard, and everything worked like it should. We want to use this ST-link ...
0
votes
0answers
60 views

Flashing STM32L0 - QSTlink2

When I am trying to flash STM32L073RZ using QStlink2 with .bin file which was built in Eclipse, QStlink throws following errors: ...
0
votes
0answers
4k views

ST-LINK “USB communication error”

I have a custom PCB (based heavily on the Nucleo board) using the STM32F767II. I am using Atollic TrueStudio on Windows 10 and programming it through the ST-LINK on the Nucleo board (header CN6). I ...
0
votes
0answers
494 views

STM32 'Connect under reset' suddenly stopped working

For the last few months I've been working on a project that used an STM32F030 microcontroller. Due to a shortage of GPIO I've had to use the SW debug pins for other functions. Until recently this wasn'...