cancel
Showing results for 
Search instead for 
Did you mean: 

How to jump to the system memory bootloader of STM32L4R5 controller?

Bhushan
Associate II

Hello,

we are using Custom board of STM32L4R5 micro-controller.

As per the boot configuration at section 2.6, we have set the nBOOT1 bit to 1, nBOOT0 set to zero, BOOT0 pin set to zero, nSWBOOT0 bit set to zero to enable and jump to the system memory bootloader.

As below,

  SET_BIT(FLASH->OPTR, FLASH_OPTR_nBOOT1);

  CLEAR_BIT(FLASH->OPTR, FLASH_OPTR_nBOOT0);

  CLEAR_BIT(FLASH->OPTR, FLASH_OPTR_nSWBOOT0);

And tried to jump to the address 0x1FFF0000, but not able to jump.

Please provide the sequence if any required or missing any thing from my side.

Thank you.

1 REPLY 1

>>And tried to jump to the address 0x1FFF0000, but not able to jump.

It should be a vector table, not executable code.

If you map the System Memory to Zero, then the vector table should be accessible from 0x00000000 also.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..