Skip to main content
Bhushan
Associate
September 10, 2019
Question

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

  • September 10, 2019
  • 1 reply
  • 626 views

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.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 10, 2019

>>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 (See Profile) Up vote any posts that you find helpful, it shows what's working..