2023-06-19 04:04 AM - edited 2023-06-19 06:04 AM
Hello everyone,
I have board and I used STM32G071 MCU on this board. I want to activate RDP Level 1. There is my code:
Solved! Go to Solution.
2023-07-06 12:37 AM
Internal ticket number:156398 (This is an internal tracking number and is not accessible or usable by customers).
2023-09-11 04:55 AM - edited 2023-09-11 04:56 AM
Hi,
I encounter the similar problem at STM32L422CB. When I set OB_RDP_LEVEL_1 and then call HAL_FLASH_OB_Launch the MCU does not boot anymore. When setting OB_RDP_LEVEL_0 there is no problem. I have not tried OB_RDP_LEVEL_2.
Surprisingly, when I set the OB_RDP_LEVEL_1 without calling HAL_FLASH_OB_Launch but doing a manual power off-on, there is no problem at all and everything works as it should.
I guess the problem is the HAL_FLASH_OB_Launch procedure.
I hope it may be helpful.
Regards.