cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting target using reset pin only (without SWD logical connection)

ptundo70
Associate

Hello.

Regarding STM32CubeProgrammer CLI, I'm wondering if it is possible to reset an STM32 target only driving (high->low->high) its physical reset pin (NRST of ST-Link V2 connector) and without establishing a logical SWD/JTAG connection with it. Of course NRST of STM32 on my board is routed to NRST of connector and I could issue a reset grounding the latter with a piece of wire.

I tried various combination of "-hardRst" but any command without the "-c" switch is refused.

Any suggestion?

Thank you in advance.

Best regards,

PT

1 REPLY 1
Aziz BRIGUI
ST Employee

Hello @ptundo70,

Could you explain the need behind not wanting to connect before controlling the ST-Link reset ? It's safe to say that the expected behavior in STM32CubeProgrammer is to connect first in order to know the interface (If the interface used is other than ST-Link or J-Link, a hardware reset won't be possible).

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.