Question
Set FLASH level protection from Level 1 to Level 0
Posted on November 06, 2013 at 12:23
I am programming the STM32F051x6 micro with the IAR Embedded Workbench IDE and the ST-LINK.
I erased the Flash option bytes and now I can not load my application code into the micro with the ST-LINK because the Flash is in Level1 (read protection). The manual said that in order to go back to Level0 (no protection) I have to change the RDP value to 0xAA and that I have to do that executing in user mode. How can I execute in user mode? Or how can I set the RDP value to 0xAA? Thanks in advance