AnsweredAssumed Answered

stm32L496ZG dual boot

Question asked by jacoby.ron.001 on Mar 24, 2018
Latest reply on Mar 26, 2018 by jacoby.ron.001


im trying to implement dual boot using BFB2 bank switching on this chip, and after the code is burned in the second bank (ox80800000), it doesnt boot.

i single stepped through the bootloader code, and it seems that the bootloader checks the first bank address to be between 0x20000000 and 0x20040000, which fails because the initial SP is located near the end of SRAM which is at 0x20050000.for this chip.

could it be a bug in the bootloader code, or something im missing ? 

alternatively, how can i locate __init_sp in some lower address ?