Error ST-Link Error (Dev_Target_Held_Under_Reset)

------Question for NUCLEO-F401RE Please Put your question below------

Not sure how to get this reset we have been switching the programmers to make it go away. Is this the programmer or the board we are programming? We are powering the controller and connecting with four pins from this programmer and and want to make sure also all the jumpers are correct for this application. We are only using this for Programming the STM on our controller and not the bottom half of this board.

Assuming you are programming the NUCLEO-F401RE, are you using an external programmer? Any reason you’re not using the built in ST-LINK/V2-1 programmer/debugger on it?

Hi Kristof,

We are using this to program our controller not this device.

From what I’m seeing it could be an issue with wiring.

You may want to check on this with the STMicroelectronics Community Forum, found here.

HI @jkes make sure you follow the steps shown in ST’s user-manual, as you will have to move jumpers to program an external board:

UM1724 STM32 Nucleo-64 boards (MB1136): https://www.st.com/resource/en/user_manual/um1724-stm32-nucleo64-boards-mb1136-stmicroelectronics.pdf

Starting with Page 17:

Regards,

Hi Robert,

I have the jumpers set on CN2 and four wires going to the CN4 SWD connector. We are using the pins 2-5 currently.

Where is pin1 connected?

We are not using that pin. The controller is externally powered from our power supply. Do we need to connect this to our board but we are only powering the programmer from the USB port?

That pin is used as a reference voltage to set the logic level of the buffers on the ST-LInk.. Without it, no communication will happen..

Regards,

It has been programming for us.