Skip to main content
Associate II
May 16, 2024
Solved

Error connecting board to STM32CubeProgrammer

  • May 16, 2024
  • 1 reply
  • 882 views

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?

Best answer by Jocelyn RICARD

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

1 reply

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
May 17, 2024

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