STM32G473 BFB2 Not Working
BFB2 Set, but never enter Bank2 program.
Boot0 = 0
Boot1 = 1
I can run the 2 programs from cubeide in there respective locations and ISR work when BFB2 is set for the BANK I am debugging in. However I never enter BANK2 program on resetting/powercycling when BFB2 is set.
Bootloader Version is 0xD5
Does setting this bit somehow need to be utilized at some point or is it just an indicator of what bank we are in
uint32_t mapped = READ_BIT(SYSCFG->MEMRMP, SYSCFG_MEMRMP_FB_MODE);
I never see this high, which may be because I never enter bank2
Stack pointer is set to
_estack = ORIGIN(RAM) + LENGTH(RAM) ; /* end of "SRAM" type memory */
BFB2 Dual Bank Boot does not work as expected. My understanding is this is a valid stack pointer, I have also tried additional stackpointer locations with no luck
