cancel
Showing results for 
Search instead for 
Did you mean: 

After the stm32g0xx chip is set to read protection level 1, the protection level can no longer be set to 0.

victor.wu
Associate II

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

1 REPLY 1
victor.wu
Associate II

The tool used is st-link + stm32cubeprogrammer 2.10