Skip to main content
Visitor II
July 4, 2023
Question

stm32f407 protection level 2

  • July 4, 2023
  • 1 reply
  • 1506 views

Hello. I have set protection level 2 in stm32f407. Now I need to change the project a little bit, but st-link/v2 can't connect to the target. How will I able to reset level 2 and do 'mass erase' that chip?

Thanks.

This topic has been closed for replies.

1 reply

Graduate II
July 4, 2023

Hello. Unfortunately RDP level 2 protecton is permanemt and it disables jtag/swd interace and also booting from ram/system memory is disabled.  Only way to update program would be programming it from user flash program, so you should have your own flash loader included to your software.