Other Parts Discussed in Thread: MSP430F5529
I need to edit the ISR vector table [ 0xFFD2, 0xFFE ] in run-time by a program I wrote.
I have been able to write in the RAM with no problems but I can't do it in those addresses, (1) can somebody tell me why ? Also, (2) how do I solve it ?
I copied the mem_cpy function to my program and that's the one I am using.
void * memory_copy(void *to, const void *from, unsigned short n) {
register char *rto = (char *) to;
register char *rfrom = (char *) from;
register unsigned short rn;
for (rn = 0; rn < n; rn++)
*rto++ = *rfrom++;
return (to);
}
I checked the address and it doesn't belong to flash memory since it's placed on [ 0x4400, 0xFF80 ].
Thank you.