Skip to main content
Associate
Dec 27, 2025 1:26 AM UTC
Question

No device found on target

Hi, I mistakenly used the pin for swd on my F446RE for other purposes and now it does not connect through st link.

Can anyone guide me through a solution for it? The only thing I can do now is update the board. The two leds are always red.

7 replies

TDK
Dec 27, 2025 1:48 AM UTC

What board?

If NRST is connected, Select Mode: Under reset and Reset mode: Hardware reset in STM32CubeProgrammer. Then connect and erase the flash to recover the chip. These options are also in STM32CubeIDE in the run/debug configuration.

TDK_0-1766800053677.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
Dec 27, 2025 1:59 AM UTC

The problem is it does not connect, so i cant erase it

Associate
Dec 27, 2025 2:00 AM UTC

also, how do i check if nrst is connected? Thanks for helping

 

TDK
Dec 27, 2025 2:01 AM UTC

Did you do what I suggested? What happened? If it did not work, show relevant logs and error messages.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
Dec 27, 2025 2:02 AM UTC

here is the message that appears

TDK
Dec 27, 2025 2:38 AM UTC

Hmm, If I recreate this issue (reassign SWD pins), I can connect to a Nucleo-64 board with these settings. If that is the only issue, I don't know why would be seeing different behavior. I assume you haven't modified the jumpers or solder bridges on the board at all?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
Dec 27, 2025 2:43 AM UTC

No modifications at all. I searched and some websites told to reset using the boot pin but I don't know how to do it properly. It said to connect boot to 3.3v pin and then hold reset and then try to connect.