Questions tagged [st-link]
The ST-LINK is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families.
84
questions
0
votes
0answers
22 views
STM32F401 failed the search for probes ensure that the usb drivers are installed
I have a stm32f401vc discovery card, I can't download and debug the code
you can find the error in this picture
when I connected the card to my pc here is what I found in Device manager
I worked on ...
0
votes
0answers
41 views
Wiring JTAG correctly
I'm a bit confused how to correctly wire JTAG input and output.
I have my ST-Link and my STM32 microcontroller.
Which of the configurations is correct?
Pinout St Link || STM32
TDI-----------------&...
0
votes
0answers
104 views
Could a china ST-Link have bricked my STM32F4?
I have built several boards with STM32F405 on them and I have been flashing them with a cheap china ST-Link knock-off from eBay which worked perfectly for many months now.
However, I now noticed, that ...
4
votes
1answer
92 views
How to make SMT32 chip programmable while it stuck in Standby mode?
From my mislead I put HAL_PWR_EnterSTANDBYMode() in the code whithout any wakeup behaviour, which made my chip unable to debug via SWD interface. So I can not ...
1
vote
1answer
30 views
STM8 ST-Link high power consuption & unable to connect
I have a ST-Link V2 and I am trying to connect with SWIM. So, i simply connect the pins, but the power consuption is very high (80 mA!), so high that che voltage regulator gets warn. In ...
0
votes
1answer
25 views
STLINK V3 and Signal Integrity Considerations for a Debug Connector Which is Not Near the Processor
We have a target designed to use SWDIO SWCLK SWO (and NRST). We have to move this connector to a location 6 inches away from the STM32F uC. I cannot find any documentation about signal rise and fall ...
0
votes
1answer
283 views
FTDI and ST LINK devices together to STM32
I have an STM32 board (blue pill) that I am programming with the Arduino IDE.
I couldn't program it using an FTDI adapter because I couldn't make the Arduino IDE communicate trough the USART for ...
0
votes
1answer
85 views
Can I use the embedded ST-LINK/V2-1 USB of an STM32 Nucleo board to create a USB mass storage application?
I want to create an application that can act as a USB mass storage device in order to provide its output to other devices. Mostly results from A/D conversion of signals.
I have an STM32L412 Nucleo-32 ...
0
votes
0answers
21 views
Connect Nucleo ST-LINK to another Nulceo Board Target
I am having issues displaying serial data, when I connect a Nucleo ST-link to another Target.
My Pins Connections are as follows:
ST-Link -> Nucleo Board
VCC -> From JP1 of ST-link to 3.3V ...
0
votes
0answers
108 views
How to verify ST Link V2 original or fake?
I need your help to identify the product is original or not?
I ordered the ST-Link V2 from one of the local and reputed online website. The product I received has an outer box that looks like original ...
0
votes
0answers
41 views
STLINK-V3 Windows setup
I am trying to set up an STLINK-V3 in Windows 10.
I downloaded and installed the USB drivers from STSW-LINK009, as suggested in TN1235. However, ST-LinkUpgrade (STSW-LINK007) and the ST-LINK Utility (...
1
vote
0answers
766 views
OpenOCD: enabling SWD on STLINK-V3
I am starting with a simple STM32 board that has only SWD (i.e., SWDIO, SWCLK, SWO, and NRST) and 3V power supply. (Yes, I have double-checked the connections of all of the above pins, both on the ...
0
votes
2answers
202 views
STLink cannot connect, unless VDD is connected
I have made my own board with an stm32g474 on it. Unfortunately I have some problem with connecting to it with ST-link. The board has it's own power supply.
If I connect the SWDIO, SWCLK, NRST and GND ...
0
votes
0answers
45 views
Can I use ST-LINK (or clone) for programming non-ST ARM{7,9} and Cortex A chips?
Can I program non-ST ARM926 or ARM7TDMI and Cortex-A chips using ST-LINK and ST-LINK clone? I've searched ST's website and I haven't found anything about this. If no, what is the cheapest way to do ...
0
votes
1answer
613 views
How to fix: ST-LINK device status: RUN_MODE Failed to initialize external memory!
Problem: I cannot upload/debug my STM32 application.
I'm using
STM32F103C8T6 (BluePill development board)
ST-Link V2.1
STM32CubeIDE.
I tried another elf which ...
0
votes
0answers
17 views
Are any target bootloaders/chips incompatible with ST-LINK V1/the STM32VLDISCOVERY external SWD?
With limited prior ST experience I bought an STM32VLDISCOVERY board recently to try it out, and program some other boards for a project, without realizing this board was STLINK V1, nor how deprecated ...
3
votes
2answers
3k views
What is the use of NRST pin in STM32F401RCT6?
What is the use of the NRST pin in STM32F401RTC microcontroller. I am using the SWD interface to program and debug flash memory of the controller. I am finding NRST pins in both microcontroller as ...
1
vote
1answer
131 views
St link v2 and stm32f401rbt
Hi i am designing my stm32f401rbt6 board i have stlink v2 which is common and cheap :
I used blue pill (stm32f103),programming is done with 3.3v,gnd,swclk and swdio.So can i do same process with ...
0
votes
1answer
85 views
STM8 microcontroller burns when i plug in the ST-LINK (v1 or v2) programmer
I am working on a project/PCB that contains the STM8S003F3 microcontroller. Every time I do the following steps, the microcontroller gets burned. The steps are:
I program the STM8S003F3 by using the ...
2
votes
1answer
67 views
STM32 SWO & OpenOCD with Variable SysClock
I have been using SWO with STM32 chips for debugging for a number of years. I have managed to side-step this issue until now. I would like to be able to use SWO for debugging while varying the ...
0
votes
3answers
529 views
ST-LINK/V2 repairing issue
My original ST-LINK/V2 has been broken. There was the Short circuit between VDD and GND pins. I changed the MCU(STM32F103C8T6) and the voltage regulator(LD3985M33R) with new ones. Short Circuit ...
1
vote
0answers
150 views
Why would an STM32 not execute its program after upload?
I am attempting to breadboard an STM32F401 using a 64-pin breakout board. I am able to both connect and upload my program successfully (via ST-LINK V2 SWD pins), but once uploaded, the program seizes ...
0
votes
2answers
470 views
Generic ST-Link V2 Not Resetting Target?
I bought a generic ST Link online, hooked it up to my target correctly (using SWDIO, SWCLK, GND, and RST), and tried to Target => Connect in the STM32 ST-LINK ...
0
votes
1answer
86 views
stm32f429 hardware development
I have built a custom stm32f429 board. It uses SPI, I2C, UART and CAN for communication with various sensors. This is my first stm32f429 board, i've designed boards around stm32f3 and f1 series before....
1
vote
1answer
707 views
Can I use a ST-LINK V2 as a universal JTAG or TTL serial interface?
I have a ST Link V2 as pictured below. I would like to use it as a general purpose JTAG and or Serial TTL USB interface for communicating with a wide variety of devices. The documentation claims it ...
0
votes
1answer
117 views
Accessing the STM32L412KB Serial Wire Debugger (SWD) Connections (Novice User) [closed]
I am attempting to program an STM32L412KB device using ST-Link/V2-1, a Raspberry Pi 3B+ and OpenOCD software.
To do this however, I require access to the SWDIO connection and the SWDCLK connection of ...
1
vote
1answer
305 views
How to program STM32_F4VE with ST-LINK/V2/01-0 [closed]
I am using keil uvision 5. I haveSTM32_F4VE development board and ST-LINK/V2/01-0.
How to program this board with ST-Link v2? If you can suggest some website link also it would be helpful.
1
vote
2answers
177 views
How can I run an STM32L with an unpowered ST-Link connected?
I have an STM32L476RG on a custom board that I have to leave connected to an external ST-Link/V2 so that I can reprogram it without accessing the hardware. I'm also forced to do this via a USB hub due ...
0
votes
3answers
962 views
Programming STM32 Black Pill with ST-LINK/V2 dongle
So I recently bought the STM32F103C8T6 "black pill" dev board along with the ST-LINK/V2 dongle (more probably a Chinese clone). After much struggling I figured out that I need to hold down the dev ...
22
votes
10answers
8k views
STM Microcontroller burns every time
I have some experience working with stm32 but I only ever used them on dev boards.
I recently tried to solder stm32 and stm8 on a simple break-out board and program them with my st-linkv2 clone.
On ...
5
votes
0answers
415 views
Is JTAG faster than SWD for debugging on an STM32F with STLINK-V3SET programmer?
There is a new STLINK-V3SET programmer that someone dropped off on my desk today. It supports USB 2.0. My thinking is that if SWD is the bandwidth limiter in the signal chain then a new programmer isn'...
0
votes
2answers
283 views
On-board st-link programmer on F411 Discovery board cannot connect
Backstory:
I have STM32F411E-DISCO board which has on-board st-link which i used before without problems (also programming external stm's). Today i tried to program STM32F103C8T6 with SWD connector (...
1
vote
1answer
2k views
BOOT0 vs BOOT1 circuit design in STM32f103 (ST-LINK)
I have a question about designing st-link v2. According to the schematics provided by st.com Please help me in analyzing this schematic. Why boot0 was pulldown with a 100k resistor but connected boot1 ...
-1
votes
1answer
375 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 ...
1
vote
2answers
201 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
1answer
50 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 ...
3
votes
2answers
4k 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 ...
0
votes
0answers
761 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
1answer
186 views
ST-LINK and PA13,14 Pins on STM32F407
If I use PA13,14 pins for flashing my MCU via ST-LINK programmer then can I also use these pins as GPIO in the same circuit? Will that not disturb the ST-Link if some analog or digital circuit is ...
0
votes
1answer
54 views
Minimal circuit to flash STM32F4 using STLINK
I wonder if I need to put some circuit between STLINK and STM32F4 MCU to flash it or does it simply require to connect the wires 1:1 directly? I cannot find it in the datasheet.
1
vote
1answer
2k views
NRST pin of unpowered STLINK V2
I am using the STLINK from a Nucleo board in order to flash and debug a STM32F7 MCU on a custom board.
Everything works fine except when STLINK is connected to my custom board AND unpowered. Indeed, ...
0
votes
1answer
171 views
On-board ST-Link Firmware
There is an on-board ST-Link on STM32F4Discovery board based on STM32F103 MCU. If I have to use this circuit in my design then where could i get the ST-Link firmware for STM32F103 MCU?
2
votes
1answer
576 views
STM32F429I Discovery board - unable to do printf() redirection using SWV/ITM
I am an STM32 newcomer. I recently got an STM32F429 Discovery dev board which I have been playing around with. Currently I'm trying to figure out how to use the debugging functions of this M4 Cortex, ...
2
votes
2answers
2k views
Minimum connections needed between stm32 MCU and the st-link programmer? [duplicate]
My MCU is stm32L432kc. I've concluded that we need a minimum of 4 connections: SWCLK, SWIO, vcc and gnd. Can someone from here confirm that?
And another question is I'm confused how to connect the ...
1
vote
1answer
2k views
STLink 3.3V target power
In order to program a target MCU with STLink you need to connect 4 wires - SWCLK, SWDIO, GND and VCC (3.3V). STLink v2 programmer has 3.3V pin already present and ready to use. But let's say I would ...
0
votes
1answer
3k views
STM8 SWIM interface connection problem
I am trying to connect STM8L052C6T6 microcontroller using SWIM interface (STM8 port) on ST-Link/V2 programmer and it just doesn't connect.
Power comes from outside power source (target is powered) ...
-1
votes
3answers
5k views
“Can not connect to target!” using STM32F0 discovery board as ST-Link [closed]
(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 ...
1
vote
1answer
409 views
Stm32f103 blue pill and stlink power
When two or more of these modules have their 5v pins hooked up to a common 5v rail (power off) and I connect an 4-pin SWD st-link to the programming pins of one, I'm finding that all modules (and ...
0
votes
1answer
695 views
Programming STM32F407 discovery by the ST-Link V2
I have a STM32F4 Discovery board and a ST-Link/V2 programmer. I want to use my own ST-Link (not the embedded one) for programming and debugging the board.
I faced to a problem that i still haven't ...
0
votes
2answers
369 views
How to connect custom stm32 board to debugger
I have a custom STM32 microcontroller board. I have verified all of the electrical connections, and I am able to program the board with Texane's st-flash utility. However, I would like to debug the ...