Skip to main content
Shinya
Associate
September 16, 2022
Solved

How to code to implement WRP (write protection)?

Hello, Is there any tip or reference code to implement WRP? I need to prevent changing original codes and adding any other codes from malicious third parties.

I use stm32f303k8 and CubeIDE.

I appreciate any help you can provide.

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
September 19, 2022

Hello @伸弥 北郷​ ,

You should be able to change the settings in STM32CubeProgrammer.

Please check RM0316, "4.3.2 Write protection" section for more details.

0693W00000SvgpCQAR.jpgFAQ: What are option bytes in STM32 and how do I use them? 

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

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. Thanks

2 replies

Imen.DBest answer
ST Technical Moderator
September 19, 2022

Hello @伸弥 北郷​ ,

You should be able to change the settings in STM32CubeProgrammer.

Please check RM0316, "4.3.2 Write protection" section for more details.

0693W00000SvgpCQAR.jpgFAQ: What are option bytes in STM32 and how do I use them? 

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

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. Thanks
Shinya
ShinyaAuthor
Associate
September 20, 2022

Thanks, Imen.

I will try to use STM32CubeProgrammer.