Question
STM32F439xx Dual Bank jump
Posted on November 12, 2015 at 13:54
Hello,
I have 2 custom application codes, one for bootloading and the other for the functional app. Bootloader resides in the first flash mem sector 0x8000000.If the app resides inside the first mem bank (same as btl) everything works well (eg. 0x8020000).As i try to jump from the first sector to sector 12 (2 mem bank) remapping accordingly the vect table, the application starts then after an non periodic time span the MCU triggers a hard fault on the memory. SCB->CFSR goes all over the place, sometimes giving a fault onMMFSR other times on
BFSR or
UFSR.
Is anyone aware of what may be the problem, pointing to a solution.Or a runtime mem jump between banks is not possible.Regards,Andre Duarte #dual-bank #jump #stm32f439xx