Hi all, I have an application where I am relocating the interrupt addresses from 0xFFFE. I have changed the linker config file to reduce the flash memory size for my application and have also changed all the ISR addresses as below:
FLASH : origin = 0xC000, length = 0x1400
INT00 : origin = 0xD400, length = 0x0002
INT01 : origin = 0xD402, length = 0x0002
INT02 : origin = 0xD404, length = 0x0002
INT03 : origin = 0xD406, length = 0x0002
INT04 : origin = 0xD408, length = 0x0002
INT05 : origin = 0xD40A, length = 0x0002
INT06 : origin = 0xD40C, length = 0x0002
INT07 : origin = 0xD40E, length = 0x0002
INT08 : origin = 0xD410, length = 0x0002
INT09 : origin = 0xD412, length = 0x0002
INT10 : origin = 0xD414, length = 0x0002
INT11 : origin = 0xD416, length = 0x0002
INT12 : origin = 0xD418, length = 0x0002
INT13 : origin = 0xD41A, length = 0x0002
INT14 : origin = 0xD41C, length = 0x0002
RESET : origin = 0xD41E, length = 0x0002
The code builds fine but when I try to debug, I get the error saying "No source available for "0xffff" " and in the console window I see the message "MSP430: Can't Run Target CPU: Could not run device (to breakpoint)".
I think the device is branching to reset vector at the usual address. How can I change this and what am I missing here? I need to do this relocation of interrupts because I will have a second application running at a higher address in flash and I intend to store that application's vectors at the usual addresses(i.e reset vector @ 0xFFFE etc..)
Is it possible to maintain two vector tables for both the programs that I will store? If yes, then what will fix the problem here?