Skip to main content
PGood.1
Associate III
April 10, 2023
Question

erase_init.Page = 11; bricks STM32G030

  • April 10, 2023
  • 1 reply
  • 894 views

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

This topic has been closed for replies.

1 reply

Amel NASRI
Technical Moderator
April 18, 2023

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 "Best Answer" on the reply which solved your issue or answered your question.