2022-05-05 11:25 PM
The method is as follows:
1. First, set the flash option byte to force boot from the main flash.
2. Set the read protection level to level 1.
After this setting, the st-link tool will no longer be able to connect to the chip, which is equivalent to losing the swd pin, which is the same as setting the protection level to level 2. Because the program needs to be downloaded to the chip again, it cannot be connected to the chip, which means This chip is about to be scrapped. May I ask you guys, is there any way to restore the read protection level to level 0? thank you for your help
2022-05-05 11:28 PM
The tool used is st-link + stm32cubeprogrammer 2.10