cancel
Showing results for 
Search instead for 
Did you mean: 

stm32 option bytes

alaidi
Associate
Posted on July 06, 2015 at 11:05

Why if i erase the option bytes , the write protect bytes and their complement are equal (0xFF) 

3 REPLIES 3
nesrine
Senior
Posted on July 06, 2015 at 12:09

Hello,

The option bytes complement are never equal to the option bytes, ever.

You must be looking at an image of the option bytes.

Can you give me the product part number, so I can be more specific? 

I hope this answered your questions.

Syrine

alaidi
Associate
Posted on July 06, 2015 at 12:28

Thank you for your reply

I'm working with an stm32f1 and i want that all of the pages are unprotected.

My question is there any way to update the option bytes WRP0,WRP1,WRP2,WRP3 after an option bytes erase call knowing that all of the pages are unprotected and i want to keep them unprotected?

nesrine
Senior
Posted on July 06, 2015 at 14:26

If they are unprotected, they will remain unprotected

You can configure the protection using the ST-LINK Utility, with its Command line interface (CLI) or the interface.

What do you mean by option bytes erase? And what are you using to do so?!