Skip to main content
gokhannsahin
Associate III
September 21, 2019
Question

CLI Write Protection Command

  • September 21, 2019
  • 1 reply
  • 697 views

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" 

This topic has been closed for replies.

1 reply

Nesrine.JLASSI
Visitor II
November 21, 2019

Hello @gokhannsahin​ 

Thanks for the feedback,

Please try with this command:

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

Best regards,

Nesrine