cancel
Showing results for 
Search instead for 
Did you mean: 

STM32_Programmer_CLI "Error: Failed to Power ON the board !" with STM32N6

cgnd_chris
Associate II

When I attempt to power cycle a STM32N6570-DK or NUCLEO-N657X0-Q board via the STM32_Programmer_CLI, I get the following error message:

Error: Failed to Power ON the board ! 

Here is the full log:

❯ STM32_Programmer_CLI --power off index=0 --power on index=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.21.0
-------------------------------------------------------------------

Power OFF...
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 OFF the board finished with success !

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]
Error: Failed to Power ON the board ! 

 

However, when I attempt the same command on other Nucleo boards, I don't get this error. Here's the same command run on the NUCLEO-H533RE:

❯ STM32_Programmer_CLI --power off index=0 --power on index=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.21.0
-------------------------------------------------------------------

Power OFF...
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 OFF the board finished with success !

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 !
2 REPLIES 2
cgnd_chris
Associate II

FYI, ST-LINK FW is V3J16M8 for all boards.

cgnd_chris
Associate II

The original post above is what I was seeing on macOS.

When I switch to Windows, I get a different set of errors...

I get the following on the STM32N6570-DK or NUCLEO-N657X0-Q boards:

❯ STM32_Programmer_CLI.exe --power off index=0 --power on index=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.21.0
-------------------------------------------------------------------

Power OFF...
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]
Error: Failed to Power OFF the board. Cannot getting device information !
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]
Error: Failed to Power ON the board !

 

On Windows with the NUCLEO-H533RE board:

❯ STM32_Programmer_CLI.exe --power off index=0 --power on index=0
-------------------------------------------------------------------
STM32CubeProgrammer v2.21.0
-------------------------------------------------------------------

Power OFF...
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]
Error: Failed to Power OFF the board. Cannot getting device information !
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 !