Skip to main content

Questions tagged [st-link]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

STLink v3 serial doesn't work

I'm trying without any success to get STLINK-V3MINIE serial to work. It shows up as a serial port on the laptop: ...
brigadir's user avatar
  • 273
1 vote
1 answer
53 views

error in stlink utility

I am having difficulty connecting the ST-LINK/V2 to my microcontroller. An error appears in the ST-LINK utility. I have already verified all the connections, including the decoupling capacitor, all ...
Nidhi Sayanja's user avatar
0 votes
1 answer
51 views

STM32 programmers not always see the target

While practicing STM32 I made an adapter from STDC-14 to a regular 2.54 mm connector with a pin-out like on BluePill development boards. The wiring diagram is as follows (used flat-ribbon cable, there ...
Araneus0390's user avatar
0 votes
0 answers
20 views

Loss of ST-LINK from STM32F4

I am using is STM32F401RET6, before that I have ported uCOS-II and System View to see the task scheduling, but Sysview needs to use J-Link, so I followed the tutorials (https://www.segger.com/products/...
Dadao's user avatar
  • 1
0 votes
0 answers
109 views

STM32 Bootloading issues on custom PCB

I designed a gas sensor board around the STM32F030F4P6, and have been having issues boot loading. I am using the ST-Link V2 bought from Digikey, and 6 pin tag connect, and it seems that regardless of ...
dreece2498's user avatar
0 votes
0 answers
80 views

ST-LINK v2 got burned when I unplugged it whilst debugging

I'm new at using STM32 I used ST-LINK v2 to program a STM32F103C8T6 that was in a breadboard. It was working correctly and, while I was debugging the STM32, I unplugged the ST-LINK by mistake and the ...
jakop's user avatar
  • 1
0 votes
0 answers
12 views

debug error in during launch STCUBEIDE

I am trying to run a demonstration by st but I get a debug error saying the .elf file of the project cant be launched. How to i fix this? I havent changed anything from the example and i just want to ...
Maia Nieves's user avatar
1 vote
2 answers
109 views

STM32 UART only works while ST-Link is connected

I'm using an ST-Link broken off from a NUCLEO board to program a custom board with an STM32G4A1 on it. The issue is that UART transmission only seems to work while the ST-Link is connected (verified ...
SirVer's user avatar
  • 13
0 votes
0 answers
72 views

STM32 NUCLEO programming problem with STLink V2 Clone

Having a trouble with STLink programmer. Error occours in Keil. When I am trying the download code to flash this error appears. If I am using a USB port for debug there is no error. But I need to ...
MSB's user avatar
  • 27
0 votes
3 answers
104 views

Microcontroller not working

I have designed and assembled a custom PCB that features the STM32F401RDT6 microcontroller. But unfortunately, I was unsuccessful in connecting to it via SWD to program it. I have tried the J-link EDU ...
TheButterMineCutter's user avatar
0 votes
2 answers
66 views

STM32 BOOTLOAD and FLASH

I am designing a PCB with stm32f4 controller in it. I was designed arduino boards in my past. I am researching for STM32 flashing a code or bootload in datasheets. If I am not wrong with a only 4 pin (...
MSB's user avatar
  • 27
1 vote
0 answers
30 views

ERF32 programming with SWD

I need some help with programming board with EFR32FG22 (Datasheet). I've always used arduinos or esp32/8266, so I'm new to this type of MCU's. I know that I should use SWD pins (SWDIO and SWCLK) which ...
jasiekk's user avatar
  • 11
0 votes
1 answer
110 views

ST-Link V2 forgets its firmware upgrade

My ST-Link V2 is the low cost memory stick kind from China. It works, but every time I re-power it, it needs to upgrade the firmware and that works too. Is this normal; should it not remember the ...
Peter Laidlaw's user avatar
0 votes
1 answer
105 views

STM32H755ZIT6 STLINK Debug

I've just got new NUCLEO STM32H755ZIT6 board with STLinkV3 on it. I just want to debug simple empty STMCube project and after configuring board According it's Please look in the UM2408 User manual (...
Alatriste's user avatar
  • 160
0 votes
0 answers
122 views

Can I use an ST-LINK of a Nucleo-mini board to program a black pill?

I have a Nucleo-l432kc board that I actually fried by accident touching one of the pins with my power supply probes while they shared the same ground during a risky test of mine. Anyway the problem ...
Mahmoud Salah's user avatar
0 votes
0 answers
257 views

Custom STM32 board can be programmed via USB DFU, but no connection via ST-Link

I have spent a fair bit of time trying to understand why the stlink does not to see the STM chip when conected over serial wire (port is shown under 'Com ports' in the schematic). I have tried the st-...
George kirby's user avatar
1 vote
1 answer
648 views

How can I find which serial port is connected to Nucleo board via ST-LINK?

I have a Nucleo board connected via USB to ST-Link running on Ubuntu Linux. ST-Link works well in that it can program the board. I would like to use the built in virtual serial port, but am not sure ...
SRobertJames's user avatar
  • 1,135
0 votes
0 answers
107 views

Why is this ST-link V2 not pairing with the STM8s MCU?

I had connected this circuit like in this schematic using the ST-LINK V2, however I made some changes, I connected the 2 and 3 pins (OSCIN, OSCOUT) to 12pf capacitors (I have no 20pf or higher) and ...
Hazardous Voltage's user avatar
0 votes
2 answers
2k views

ST-LINK v2 to STM32F401CC connection issue [closed]

I was working in small projects on eclipse IDE with the OCD of the MCU and it was working perfectly, till I made configurations on some pins PIN8 to ...
RiadNageh's user avatar
1 vote
1 answer
907 views

ST-Link clones not working, options? [closed]

Clone ST-Links have flooded the market everywhere. I have 4 of these laying around and 2 are dead. A very common problem is not being able to connect to the target mcu through swd using whatever ...
Rajat Mondal's user avatar
0 votes
0 answers
445 views

ST-LINK v2 can't connect

I am having trouble with my ST-LINK V2 clone (USB stick look alike.) Error is : Can not connect to target! If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode ...
macak's user avatar
  • 1
1 vote
0 answers
321 views

STLINK-V3 Mini with STM 32 Chip, Failing to enter SWD mode and timing out

I currently have a STLINK-V3 Mini connected to a board with an STM32 Chip. When running st-flash for the first time I receive the following errors 2023-04-17T19:58:38 WARN common.c: NRST is not ...
godsessence's user avatar
1 vote
0 answers
291 views

Nucleo F303RE STLink connection problems in STM32CubeIDE

I have tried to flash/debug Nucleo F303RE using STMCubeIDE and I have encountered several problems. First when trying to start debugging I receive following message: "Starting server with the ...
Filip's user avatar
  • 121
2 votes
1 answer
90 views

Added value of debugging probes (ST-LINK, JLink, ...)

I've been working in embedded programming for a few years now, and there is something I still don't quite understand about debugging protocols and probes. So as I understand it, to program and debug ...
sydpy's user avatar
  • 21
0 votes
1 answer
260 views

Programming a Nucleo 32 board using ST-LINK

I'm using this Nucleo board but unfortunately after I programmed it I have attached it to a base PCB in such a way that I can't access its USB port anymore. If I want to make an update and access its ...
GNZ's user avatar
  • 1,791
0 votes
0 answers
53 views

I have a basic LED circuit with an STM32F030R8T6 which is not working and I cannot figure out why

Apologies as this is a somewhat vague question but I cannot figure out what is wrong with my circuit/program and I have been stuck on this for a couple of weeks now. I have this circuit I put together ...
Brinsby's user avatar
1 vote
1 answer
1k views

Understanding the STM32's power connection to the STLINK-V2

If my STM32 is externally powered with 2.5V at its VDD and I'm connecting it to the STLINK-V2 that is powered by USB, should the VAPP pin on the STLINK-V2 be connected to the STM32's VDD? I thought ...
donut's user avatar
  • 325
0 votes
1 answer
923 views

ST-Link V2 not connecting to STM32F411

I got myself an STM32F411RCT6 and my ST-Link V2 is not detecting it using SWD, but I am able to program other STM32s using an even simpler setup, so I think there is something specific about this MCU ...
Stuyvenstein's user avatar
0 votes
1 answer
365 views

My STM32F407VET6 is no connecting to STM32CubeIDE. what could be the problem?

I would like to say that i was taking Udemy Course related to Embedded C - Absolute Beginners. So everything was firsthand base on tutorial's installation. It was explain how to install IDE but ...
Dreac Leoson's user avatar
1 vote
2 answers
265 views

STLinkV3 debugging on custom hardware

When running a program on my STM32L432 Nucleo board it runs just fine. I recently created a custom PCB that embeds the same MCU and I use an external STLinkV3 to program it. I am able to connect to ...
Jeremy Wolfe's user avatar
0 votes
1 answer
618 views

How to program STM32G071RB with UART?

I'm designing a custom board that contains an STM32G071RBT6. For the burning in the development process, there is an SWD interface connected and the burning will be done through it. For mass ...
Knowledge's user avatar
  • 441
0 votes
2 answers
547 views

STM32F030F4Px MCU NRST pin: missing capacitor

I created a board with a STM32F030F4Px and am trying to connect to my micro over SWD using STM32CubeProgrammer. Each time I try to connect, I keep getting a message saying "Error ST-LINK error (...
Jack Frye's user avatar
  • 145
0 votes
1 answer
403 views

Do we have to set the ST-link v2 before using?

I was using the ST-Link V2 which shown below on the left side. When I connect it to the MCU's I/O, I could install the software and I could confirm that the software installed correctly from the ...
wolyure's user avatar
  • 157
0 votes
1 answer
922 views

Salvaged STM32 programming with ST-Link V2 clone

I bought a ST-Link V2 clone to try and program a STM32 MCU that I salvaged from a hoverboard PCB (STM32F031C6T6). I've been having some difficulty getting it to work. I downloaded STM32CubeIDE and set ...
Stuyvenstein's user avatar
-1 votes
2 answers
280 views

STM32F4 Discovery board

I use STMCubeIDE for the STM32 Discovery board. I start STMCubeIDE and run code then it shows a popup window that there is no ST-Link detected, but I did connect my USB from MCU to the laptop. I ...
dervis's user avatar
  • 19
0 votes
0 answers
130 views

Multiple failed ST-LINK/V2

I have been using a ST-LINK/V2 for a project that uses a STM8 microcontroller. The ST-LINK is connected to the microcontroller using the 4 pin SWIM port. The microcontroller is powered from an ...
user2248702's user avatar
3 votes
2 answers
243 views

Can the STM32F1 used for ST-LINK on the ST discovery boards be used as a normal chip?

I have a STM32F0 Discovery board. I am hoping to desolder and use the STM32F103C8T6 chip (seen at the top, used for st-link on-chip debugger) for a separate project. Would this chip be usable as if ...
Mitch Ostler's user avatar
0 votes
0 answers
804 views

Recovering a "dead" STM32F429VGT6

Recently I lost power on my printer with an BTT SKR 2 board (https://github.com/bigtreetech/SKR-2). I connected my ST-Link v3 to the SWD pins and confirmed I can identify the IC. I am connecting to ...
Jeff's user avatar
  • 201
0 votes
0 answers
148 views

Adafruit ST-Link STM8/STM32 v2 can't connect to STM32F091

I've an Adafruit ST-Link STM8/STM32 v2 which I need to connect to an STM32F091. The MCU is powered from an external source and I have correctly connected the SWCLK and SWDIO as well as GND and 3.3V. ...
NicoCaldo's user avatar
  • 315
1 vote
0 answers
116 views

STM32F407 powering via tlink but not USB and ST-LINK not working

Some background first. I have a custom STM32 board using a F407 MCU. The board takes 12 V and regulates to 5V then to 3.3V to feed the processor. That feed is directly connected to a SWD header using ...
dj_nexxus's user avatar
2 votes
3 answers
2k views

How do I program the STM32F401CCU6?

I am transitioning from Arduino to STM32 development. I just purchased an STM32F401CCU6 board and I cannot get it recognized by my computer. I am running Ubuntu 22.04. I have tried searching ...
Harit's user avatar
  • 83
1 vote
1 answer
168 views

Using a Bluetooth module without MCU

I am making an EEG using an ADS1299. To read the data I want to use a Bluetooth module and send data to a PC (I think this one should be OK) and power both with 2 coin cell batteries. Can I do this ...
elder00's user avatar
  • 11
0 votes
1 answer
2k views

ST-Link doesn't show any data on the serial port

I am working on Nucleo board programming circuits. This board programs like an Arduino, you can compile, run and show data on the serial port. Actually, you can do debugging, too. You just need a USB ...
TA2ERR's user avatar
  • 99
2 votes
1 answer
406 views

STM32G030J6M6 Debug issue

I just bought two STM32G030J6M6 and solder it on my custom board . here is schematic in STM32CubeIde I'm just setting SWDIO/SWCLK pins.. nothing else, Also I ...
Alatriste's user avatar
  • 160
2 votes
1 answer
117 views

Programming STM32F303K8T6 chip removed from Nucleo32

ISSUE: Attempting to read/program MCU mem has not been possible and I would like feedback on my setup. NOTE: Blink program flashed before removing still works. Actual Error on STM32 ST LINK Utility: ...
Mauricio's user avatar
1 vote
1 answer
344 views

Can a ST-LINK/V2 be driven from UART?

I'm developing an automatic test system that needs to send a program to a STM32 chip. In the past, I've done this using the internal bootloader using one of the UARTs. However, in this case I only ...
Marcos's user avatar
  • 73
0 votes
0 answers
1k views

Error in Upgrading ST-link V3 to J-Link

I am getting the following error from the STLinkReglasher program while converting the standalone ST-Link V3 debugger into J-Link. ERROR: Cannot find an ST-LINK, multiple ST-LINKs plugged in, or ST-...
No Man's user avatar
  • 357
2 votes
0 answers
139 views

nrf52-based localization tag flash dump and modification

Lately I've bought a localisation tag (apple airtag alike) When I click a button on my cell phone, the device plays a chiptune-like ringtone. The ringtone is configurable using the app and stored on ...
tomaszu's user avatar
  • 21
1 vote
1 answer
400 views

STM32 custom board debug

I am developing my own board for a basic UART communication to start with and I am unable to flash the microcontroller. I am using STM32F405RT6 and the STLink V3 debugger to program it I have tried to ...
dreamcoder's user avatar
0 votes
1 answer
652 views

UART printing gibberish to the terminal when the STLink Debugger is not connected

Custom board, not an ST development board. MCU: STM32G031J6M6 SO8 package. UART RX/TX are Pins 1 and 8 respectively. Pin 8 is also SWDCLK Pin 7 is SWDIO and not used except for SWD NRST is Pin 4 and ...
Usernamed's user avatar
  • 141