cancel
Showing results for 
Search instead for 
Did you mean: 

Using Open Bootloader to flash firmware in NUCLEO-G491RE using STM32CubeProgrammer

newbie_stm32
Associate III

I tried flashing firmware using System Bootloader earlier and got it working only one time, you can refer to my previous post. By exploring found that there is a similar kind of bootloader that work in the Main Memory.

I am getting some hands-on with the same. But it is giving me the same error as in the case of the System Bootloader. I am making use of USART (PA9 and PA10) to flash the firmware. Open Bootloader is located by default in the 0x08000000 to 0x080003F0.

I have a few questions

  1. If we flash firmware using Open Bootloader how to change the application start address of the new firmware to be written to point after 0x080003F0?
  2. Once the board is powered up it executes Open Bootloader and it has
/* Infinite loop */
  while (true)
  {
    OpenBootloader_ProtocolDetection();
  }

So, how the new firmware written will be executed if it does not come out of this infinite loop?

3. System Bootloader resides in System Memory which is 28KB wide and said to be ROM-based memory. Do the entire 28KB is utilized by System Bootloader?

0 REPLIES 0