Skip to main content
newbie_stm32
Associate III
May 5, 2023
Question

Changing the user firmware address on NUCLEO-G491RE with Open Bootloader did not work

  • May 5, 2023
  • 1 reply
  • 956 views

Hi, I am working with Open Bootloader and referring to a video tutorial for the same. While I am referring to this video I am not able to set the user firmware address from 0x08000000 to 0x08008000 as mentioned in this video following the same steps for NUCLEO-G491RE.

If I view the ELF file for a simple blink program on STM32CubeProgrammer looks like this


_legacyfs_online_stmicro_images_0693W00000bjT0wQAE.pngIt starts something at 0x08000000 If I scroll down to address 0x08008000 it is like this


_legacyfs_online_stmicro_images_0693W00000bjT1aQAE.png 

For Erase & Programming, it starts writing firmware from address 0x08000000 and not from 0x08008000.

What may go wrong?

1 reply

BViet.1
Associate III
May 21, 2024

If you need to change the start address you need to compile your firmware as a .bin file. It's not working with an .elf file. You can change this in the project properties. Please check "Convert to binary file".

BViet1_0-1716287144320.png