2025-07-01 5:39 AM - last edited on 2025-07-01 5:41 AM by Amel NASRI
Hi team,
I am using the STM32WLE5CC microcontroller and I am facing an issue with Readout Protection Level 1. I am utilizing the open bootloader from ST and updating hex files using the STM32Cube Programmer software using USART. Up to this point, everything has been working fine.
However, after applying Readout Protection Level 1 to my application code, I entered bootloader mode and attempted to connect to the STM32Cube Programmer software. Unfortunately, it displays an error indicating that Readout Protection is activated. Additionally, when I use open bootloader commands through RealTerm software, it also fails to work.
Could you suggest any other tools, apart from STM32Cube Programmer, or provide some solutions regarding the issue mentioned above? Thank you!
2025-07-01 6:55 AM
Hello @kRaje.1
In RDP level 1, the bootloader is in a protected state and can only execute a limited set of commands, such as the "GetVersion," "GetDeviceID," "GetCmd," and "ReadUnprotect" commands. Any other commands, including read, write, or erase operations, are rejected with a NACK response. So, if you want to connect to the STM32WLE throw USART Bootloader, you have to set the RDP to level 0 using the "ReadUnprotect" command. Or on the STM32CubeProg, you can check the Read Unprotect option, and it will set the RDP to level 0 on the connection throw the programmer.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.