cancel
Showing results for 
Search instead for 
Did you mean: 

CLI Write Protection Command

gokhannsahin
Associate II

Hello,

The application code is downloaded via CubeProgrammer CLI commands in my project.

Now, need to protect specified pages of flash from writing.

Is there a command for write protection in the current CLI of programmer? 

I have tried "-ob wrp=1" (for first page) but it gives a warning "Warning: Option Byte: wrp, does not exist" 

1 REPLY 1

Hello @gokhannsahin​ 

Thanks for the feedback,

Please try with this command:

>STM32_Programmer_CLI.exe -c port=swd -ob nWRP5=0

Best regards,

Nesrine