Skip to main content
YKim.30
Associate
May 24, 2022
Question

[NUCLEO-L552ZE-Q BD] How to change RDP from 1 to 0

Board: NUCLEO-L552ZE-Q with default setup

SW: STM32CubeProgrammer

After changing RDP from 0 to 1, which was my mistake, I can't connect the board with the program, STM32CubeProgrammer. Whenever I tried to connect, it gave me the error, "Error: ST-LINK error (DEV_TARGET_NOT_HALTED)".

I've just found a limitation about RDP for this board in Session 6.3 of the document, STM32L5 Nucleo-144 board (MB1361).

"""

Known limitation:

• Activating the readout protection on the STM32 target prevents the target application from running afterward. The target readout protection must be kept disabled on ST-LINK/V2-1 boards.

"""

Should I buy a new one?

Any ideas would be highly appreciated!

This topic has been closed for replies.

7 replies

Bubbles
ST Employee
May 26, 2022

Hi @YKim.30​ ,

you can try attaching an ST-link 3.0, which could work, but I haven't tried myself.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
YKim.30
YKim.30Author
Associate
May 27, 2022

Hi @JHOUD​ ,

Thanks for your reply. I am somewhat confused about ST link 3.0. What did you mean by 'ST-link 3.0'? Is it this one?

https://www.st.com/en/development-tools/stlink-v3set.html

Bubbles
ST Employee
May 30, 2022

Hi, yes. Or alternatively, as it was with ST-Link 2, now some newer Nucleo boards are equipped with ST-Link 3 which can also be used to debug externally connected devices.

For example Nucleo G491 has such capability.

Rgds,

Jarda

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Sara BEN HADJ YAHYA
ST Technical Moderator
June 22, 2022

Hello @YKim.30​ ,

Please check section 7 in this AN5347, it might help.

If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
YKim.30
YKim.30Author
Associate
June 29, 2022

I've already seen the document, but I couldn't do anything with this board if I understood correctly. I might need to buy either other boards or ST-Link 3 to make it work. In any case, I don't understand why this happens even though I followed the instruction in the official blog. It should be clearly described that we MUST NOT try to disable Trustzone after enabling it.