cancel
Showing results for 
Search instead for 
Did you mean: 

How to code to implement WRP (write protection)?

Shinya
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Thanks, Imen.

I will try to use STM32CubeProgrammer.