Skip to main content
Associate II
January 4, 2024
Question

how to unlock flash?

  • January 4, 2024
  • 2 replies
  • 1731 views

hello everyone , while burning  file in stm32103  with stmcube programmer i checked rdp in option byte ,now when i try to erase previous file and burn new file again it says core is locked up ,is there any solution ?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
January 4, 2024

Segger had a tool for their J-LINK

I always used the System Loader and UART connectivity to walk through doing a Mass Erase on the part.

You could perhaps use STM32 Cube Programmer, with different connectivity methods to get to the point where you can Mass Erase the part or change options

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
mƎALLEm
ST Technical Moderator
January 4, 2024

Hello,

If you set RDP to Level2 unfortunately you can no more revert to any other levels and you lose the debug option.

But when booting from Flash memory, accesses (read, erase and program) to the Flash memory from user code are allowed. 

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.