Skip to main content
Associate
February 13, 2025
Question

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

  • February 13, 2025
  • 1 reply
  • 605 views

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

Aziz BRIGUI
Technical Moderator
February 24, 2025

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.
ptundo70Author
Associate
April 28, 2025

Because I'm using reversible RDP2 and connecting halts the core until next power-on reset, but sometimes I only need to reset it; please note that physical power-on isn't feasible on the final product since battery is soldered.

Best regards,

PT