2025-05-20 7:35 PM
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.
Solved! Go to Solution.
2025-05-21 6:57 AM
So try with unprotect enabled, here ->
2025-05-20 11:09 PM
Can you connected in bootloader do a : full erase chip, or mass erase ?
2025-05-21 1:47 AM
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.
2025-05-21 5:09 AM
STM32CubeProgramer detect the MCU is Read out protected, then disconnect, so I can do nothing.
2025-05-21 5:14 AM
I can use STVP with ST-LINK through SWD to modify option byte.
Is it possible to use ST utility to modify option byte through UART?
2025-05-21 6:57 AM
So try with unprotect enabled, here ->
2025-05-21 6:49 PM
It works, thanks.