2015-11-12 04:54 AM
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 #stm32f439xx2015-11-23 05:13 AM
If youre using a dual bank device, an runtime mem jump between banks is possible, and the behavior will be the same as a one bank device.
The problem above as due to a hardware problem with the MCU / custom board, and it does not manifests in an good board.Its safe to use both banks to run multiple apps.