Skip to main content
alaidi
Associate
July 6, 2015
Question

stm32 option bytes

  • July 6, 2015
  • 3 replies
  • 900 views
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) 

    This topic has been closed for replies.

    3 replies

    nesrine
    Visitor II
    July 6, 2015
    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
    alaidiAuthor
    Associate
    July 6, 2015
    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
    Visitor II
    July 6, 2015
    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?!