2025-03-06 1:31 AM
When I tried to enable read protection level 1 through STM32Cube Programmer(using ST link and J link), I was able to do so successfully. However, after enabling read protection, none of the peripherals worked properly—specifically, the push button and USART. I also tried this on STM32WL and STM32U0 boards. Could you please help me understand the reason for this issue and provide a proper solution?
2025-03-06 2:37 AM
I've not worked with those devices, however just thought I'd make a suggestion...
Are you accidentally trying to re-read the flash with the debug tool again? I believe in Level 1 doing this will cause a mass erase of the flash as per the documentation.
2025-03-06 3:47 AM
Hi, I even tried activating read protection level 1 with the firmware(using HAL ApI's). After activating read protection, I removed the debugger connection, but I'm still facing the same issue.
2025-03-06 4:57 AM - edited 2025-03-06 4:59 AM