2025-02-13 4:29 AM
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
2025-02-24 1:44 AM
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