Other Parts Discussed in Thread: MSP430F249
Someone posted this question in May and the answer included a zip file with an example. I used this example as a starting point and modified the code to run an an MSP430F249.
I modified "interrupt proxy.asm" I changed all the labels to correspond to the MSP430F249.h header file. This includes:
.sect ".brintvec"
TIMER0_A0_ISR BR &TIMER0_A0_PROXY ; Indirect jump using proxy
.sect ".mainintvec"
.word TIMER0_A0_ISR ; 0xFFF2 Timer0_A5 CC0
The interrupt handler is as follows:
#pragma vector=TIMERA0_VECTOR
__interrupt void TIMERA0_Handler( void )
{
TimerIntHandler();
}
Looking at the disassembled code:
location 0xfff2 contains 0xfe64 (this is correct)
location 0xfe64 contains "BR &0xbff2" (this is also correct)
TIMERA0_Handler appears in the memory map. The problem is I can't get the address of TIMERA0_Handler into location &0xbff2.
Thanks for the help.