Skip to main content
Graduate
January 4, 2024
Question

how to unlock flash?

  • January 4, 2024
  • 2 replies
  • 1712 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

    Graduate II
    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

    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.