2024-09-17 06:30 AM
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.
2024-09-17 06:34 AM
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.
2024-09-17 06:37 AM
Yes it is a custom board with the STM32G491CCUx. I'm using the ST-Link v2 to connect.
2024-09-17 06:44 AM
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]
2024-09-17 06:49 AM
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
2024-09-17 07:14 AM
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.
2024-09-24 06:13 AM
Hello @jmull,
This is a known issue and tracked internally in Ticket 189999. It will be fixed in a future release.
Aziz
2024-09-24 06:27 AM
Cheers Aziz