Hi,
In the MSP430F5438 User's Guide, it reads that by one setting the SYSRIVECT bit in SYCTL, one can redirect the interrupt vector to RAM.
Is there sample code on this topic ?, I assume that at some point there needs to be data being copied from flash to RAM, then setting this bit.
Background:
I am doing a BSL code; the BSL boots first then gives control to the main application. This all would work just fine, except that the BSL uses the SPI bus and an interrupt, which is also used by the application code.
The objective of the BSL is to boot the uC, then if there is no request by the main processor to update the flash (via SPI commands) then jump to main application main() function, at this point all interrupts should be routed to the main application and not to the BSL.
So, one solution is to have the interrupt vector of the main application in RAM, which is doable, but I am not very sure how to accomplish
Thanks for the help.
Erick