Vector Table Relocation
Created by: masahisak
Hi, We are encountering an issue that exception handlers are never called.
Our product has a RAM region only attached to the data bus, so we use this region as "write memory region" stated at SCP-firmware/arch/arm/armv7-m/include/arch_scatter.h. In our check, SCP-firmware/arch/arm/armv7-m/src/arch_nvic.c::arch_nvic_init() relocates the vector table to the malloced memory, so the vector table is relocated at the data bus only RAM region and it causes exception handlers are never called in our system.
I checked memory layout that SCP-firmware supports, both "Layout 2 - Dual region with relocation" and "Layout 3 - Dual region without relocation" will do the vector table relocation, it ends up that we cannot use the said RAM region in SCP-firmware.
Do you have any idea to address this situation?