AnsweredAssumed Answered

Set FLASH level protection from Level 1 to Level 0

Question asked by catala.estanislao on Nov 6, 2013
Latest reply on Nov 6, 2013 by catala.estanislao
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

Outcomes