Skip to main content
Graduate
October 22, 2025
Solved

How to flash a common bootloader on NUCLEO-G071RB

  • October 22, 2025
  • 1 reply
  • 358 views

Hi,

I am using a NUCLEO-G071RB development board. I accidentally erased the original bootloader while flashing a custom one. Is it possible to reflash or restore the built-in bootloader on the NUCLEO-G071RB development board? If so, where can I obtain the original bootloader file?

 

Thanks,

Aiswarya

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    Welcome @Aiswarya1, to the community!

    It is impossible to erase the original bootloader – at least the one that was permanently stored by STMicroelectronics in the bootloader area. You can only erase a bootloader that you programmed yourself, which you may have programmed in the user flash.

    Please describe what led you to believe that the original bootloader had been deleted?

    Regards
    /Peter

    1 reply

    Technical Moderator
    October 22, 2025

    Welcome @Aiswarya1, to the community!

    It is impossible to erase the original bootloader – at least the one that was permanently stored by STMicroelectronics in the bootloader area. You can only erase a bootloader that you programmed yourself, which you may have programmed in the user flash.

    Please describe what led you to believe that the original bootloader had been deleted?

    Regards
    /Peter

    Aiswarya1Author
    Graduate
    October 22, 2025

    Thank you for your response.

    I have uploaded the AM32 bootloader to the NUCLEO-G071RB development board. I believe the original bootloader was erased when I flashed the AM32 bootloader. Could you please let me know how to erase the custom bootloader that I programmed myself? If I select FULL CHIP ERASE, will it erase the entire bootloader as well?

     

    Thanks & Regards,

    Aiswarya

    Technical Moderator
    October 22, 2025

    Yes, when the chip is completely erased, your custom bootloader, which you previously programmed into the user flash yourself, will also be erased.