Unable to set unlock in option bytes once is set in STM32WBA55
Dear all,
I am using the cube programmer in order to set WRPA_PEND, WRPA_PSTRT and uncheck the unlock to actually lock the area defined by the WRPA field. It works fine and I can actually see that the memory region is protected.
I am unable to restore the situation and change back the unlock bit to 1 for this same region.
The cube programmer returns the following errors:
Error: Expected value for Option Byte "unlock_a": 0x1, found: 0x0
Error: Expected value for Option Byte "wrpa_pend": 0x0, found: 0x7F
Error: Option Byte Programming failed Or modified by application after OB_LAUNCH
The RDP level is set to 0xAA (not set at all nor changed).
Can anyone help me out with this issue?
