Skip to main content
Associate III
May 21, 2025
Solved

How to unlock the Readout protection by STM32CubeProgramer through USART

  • May 21, 2025
  • 6 replies
  • 861 views

I soldered a new STM32 on the board, it can enter bootloader, but it's under Readout protection(I guess I bought renovated chip), I don't know how to unlock Readout by STM32CubeProgramer, finally, I use STVP and ST-LINK V1 to connect through SWD, and change the option byte, unlock Readout protection.

I don't want to use ST-LINK and STVP, because I need to have SWD interface on the PCB(the PCB space room is very limited). I want to use STM32CubeProgramer through USART to set option byte, but I didn't find out how to set option byte if the chip is Readout protected.

This topic has been closed for replies.
Best answer by AScha.3

So try with unprotect enabled, here ->

AScha3_0-1747835753013.png

 

6 replies

AScha.3
Super User
May 21, 2025

Can you connected in bootloader do a : full erase chip, or mass erase ?

AScha3_0-1747807731369.png

 

If you feel a post has answered your question, please click on " Best Answer ".
STM32L09Author
Associate III
May 21, 2025

I supposed I can, we should able to unlock by erase the whole chip, but seems I can't, it alway display a small window says"the chip is readout protected...", if I close it, and click wherever, it shows up again.

I will try it again when I am home, and paste screen shot here.