Skip to main content
Associate
September 17, 2024
Solved

Write protection WRP section disappeared from OB between 2.15 and 2.17

  • September 17, 2024
  • 5 replies
  • 1473 views

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.

Best answer by Aziz BRIGUI

Hello @jmull,

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

Aziz

5 replies

STTwo-32
Technical Moderator
September 17, 2024

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

jmullAuthor
Associate
September 17, 2024

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

Visitor II
September 17, 2024

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
September 17, 2024

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
Technical Moderator
September 17, 2024

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

Aziz BRIGUI
Technical Moderator
September 24, 2024

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
September 24, 2024

Cheers Aziz

Aziz BRIGUI
Aziz BRIGUIBest answer
Technical Moderator
January 6, 2025

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.