2025-10-21 11:01 PM
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
Solved! Go to Solution.
2025-10-21 11:06 PM
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
2025-10-21 11:06 PM
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
2025-10-22 12:01 AM
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
2025-10-22 12:19 AM
Yes, when the chip is completely erased, your custom bootloader, which you previously programmed into the user flash yourself, will also be erased.
2025-10-22 1:51 AM
If I select FULL CHIP ERASE, will it erase the original bootloader from the Nucleo - G071 board?
2025-10-22 2:12 AM
As mentioned, the original bootloader cannot be deleted.
So the short answer is: no.
2025-10-22 2:20 AM
Thank you, sir, for your support.
2025-10-22 2:21 AM
@Aiswarya1 wrote:will it erase the original bootloader from the Nucleo - G071 board?
The original ST bootloader is permanently built into the chip at manufacture - it is nothing to do with the board.
As @Peter BENSCH said, it can never be erased.
Note that this is different from Arduino - where the Arduino bootloader is a "user" bootloader, loaded during board manufacture.