cancel
Showing results for 
Search instead for 
Did you mean: 

Power on/off nucleo board using STM32_Programmer_CLI

acapola
Associate II

I am working with NUCLEO-U5A5ZJ-Q and it is running the "GPIO_IOToggle Example" that I got via STM32CubeIDE.

My aim is to control the power state of the nucleo board remotely.

I successfully do it using the following commands:

STM32_Programmer_CLI --power off index=0

after that the LEDs are Off.

STM32_Programmer_CLI --power on index=0

after that the LEDs blink again.

However, after locking the board at RDP2 level, it does not work anymore. More precisely the power off works fine, the power on does not: the LEDs remain Off, even though the tool is reporting "success"

$ STM32_Programmer_CLI --power on index=0
      -------------------------------------------------------------------
                        STM32CubeProgrammer v2.19.0                  
      -------------------------------------------------------------------

Power ON...
Drives the target power pin out of the (onboard) ST-Link.
Info: Power ON/OFF maybe not available on your Board [also not available on standalone probes]
Power ON the board finished with success !

 

0 REPLIES 0