cancel
Showing results for 
Search instead for 
Did you mean: 

erase_init.Page = 11; bricks STM32G030

PGood.1
Associate II

I have been attempting to write to flash on an stm32G030 and manually changed the erase_init.Page = address & ~(FLASH_PAGE_SIZE - 1); to erase_init.Page = 11; and this bricked the device and is no longer able to be connected to an STlink is there any way of restoring the boot loader to page 11 after doing this or is it properly bricked

1 REPLY 1
Amel NASRI
ST Employee

Hi @PGood.1​ ,

Did you tried to connect to your device using STM32CubeProgrammer?

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.