cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting board to STM32CubeProgrammer

mikel-m
Associate III

Hello,

I have NUCLEO-U575ZI-Q board and I have followed the steps to generate an SFI file from the video "STM32Trust Video Series: X-Cube-SFI Part 3-Out-of-the-box". I managed to generate the SFI file correctly but when I tried to install the firmware, I got an error (when running the script FlashSFI_SWD_OEM_Dev.bat script at minute 16:00 in the video).

Now, when I try to connect the board to the STM32CubeProgrammer, I get the following error:

Error: ST_LINK error (DEV_TARGET_NOT_HALTED)

Now I can't connect the board to the STM32CubeProgrammer. What should I do now?

1 ACCEPTED SOLUTION

Accepted Solutions
Jocelyn RICARD
ST Employee

Hello @mikel-m ,

to recover your board you should set BOOT0 to VDD.

If you used a B-U585I-IOT02A you can use SW1 for this.

Then you will be able to connect with programmer in hot-plug mode.

Set first RDP Level 1 (0xDC) and apply

Then set RDP Level 0 (0xAA) and untick TZEN and apply

Best regards

Jocelyn

View solution in original post

1 REPLY 1
Jocelyn RICARD
ST Employee

Hello @mikel-m ,

to recover your board you should set BOOT0 to VDD.

If you used a B-U585I-IOT02A you can use SW1 for this.

Then you will be able to connect with programmer in hot-plug mode.

Set first RDP Level 1 (0xDC) and apply

Then set RDP Level 0 (0xAA) and untick TZEN and apply

Best regards

Jocelyn