Skip to main content
Associate
Sep 17, 2024 1:30 PM UTC
Solved

Write protection WRP section disappeared from OB between 2.15 and 2.17

It seems the write protection section has disappeared from the CubeMX programmer some time between versions 2.15 and 2.17?  It is not visible in the UI or the CLI.  We are having trouble programming our boards without access to this section.

This topic has been closed for replies.
Aziz BRIGUI
Aziz BRIGUIBest answer
ST Technical Moderator
Jan 6, 2025 8:50 AM UTC

Hello @jmull,

Issue is fixed in the newest STM32CubeProgrammer release available under this link.

Aziz

In order 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.

8 replies

STTwo-32
ST Technical Moderator
Sep 17, 2024 1:34 PM UTC

Hello @jmull and welcome to the ST Community 

Could you please add more details (what board/MCU are you using?). 

PS: It is Cube Programmer and not CubeMX Programmer.

Best Regards.

STTwo-32

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.
jmullAuthor
Associate
Sep 17, 2024 1:37 PM UTC

Yes it is a custom board with the STM32G491CCUx.  I'm using the ST-Link v2 to connect.

Visitor II
Sep 17, 2024 1:44 PM UTC

If the GUI doesn’t display the option, the CLI may still support write protection commands.

Try this command:

STM32_Programmer_CLI -c port=SWD -wprotect enable [address] [sector]
jmullAuthor
Associate
Sep 17, 2024 1:49 PM UTC

Thanks liaifat85.  I've rolled back to 2.15 so I can't try that at the moment but I can say it didn't appear when I did

STM32_Programmer_CLI.exe -c port=swd -ob displ
STTwo-32
ST Technical Moderator
Sep 17, 2024 2:14 PM UTC

Hello @jmull 

Can you send some screenshots showing the issue. I'm not able to reproduce this issue using the Nucleo-G491RE.

Best Regards.

STTwo-32

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.
Aziz BRIGUI
ST Technical Moderator
Sep 24, 2024 1:13 PM UTC

Hello @jmull,

This is a known issue and tracked internally in Ticket 189999. It will be fixed in a future release.

Aziz 

In order 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.
jmullAuthor
Associate
Sep 24, 2024 1:27 PM UTC

Cheers Aziz

Aziz BRIGUI
Aziz BRIGUIBest answer
ST Technical Moderator
Jan 6, 2025 8:50 AM UTC

Hello @jmull,

Issue is fixed in the newest STM32CubeProgrammer release available under this link.

Aziz

In order 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.