2023-04-05 07:31 PM
except the statement from RM0432-stm32l4: "OPTVERR will be set by hardware when the options read may not be the one configured by the user. If option haven’t been properly loaded, OPTVERR is set again after each system reset."
There is another statement from errata sheet ES0393: "During option byte loading, the options are read by double word with ECC. If the word and its complement are not matching, the OPTVERR flag is set. However, the OPTVERR flag is always set after a system reset despite all option bytes being loaded and read correctly."
Regard of the errata, if we find OPTVERR flag after reset, will below situation happen?
Mismatch values are forced into the option registers:
– For USR OPT option, the value of mismatch is all options at ‘1’, except for BOR_LEV which is “000�? (lowest threshold)
– For WRP option, the value of mismatch is the default value “No protection�? – For RDP option, the value of mismatch is the default value “Level 1�?
– For PCROP, the value of mismatch is “all memory protected�?