Hi all,
Using Code Composer V5 to develop for MSP430F22724. There must be a simple solution to this. We are doing an energy harvesting application where the #bootup cycles are critical. I would like to write my own bootloader. I've tried using:
Tried In C
#pragma vector = RESET_VECTOR
void mySuperBoot (void) {
// do stuff
}
Or In ASM
.sect '.reset'
.word 0x8000 ;if 0x8000 is addr of mySuperBoot()
Not Working
- The C version won't deploy into debug mode, it says:
'load program error, data verification failed at addr 0x0000000. Please verify.'
- The ASM version won't compile, it says
../lnk_msp430f2274.cmd", line 89: error: placement fails for object ".reset", size 0x4 (page 0). Available ranges:
RESET size: 0x2 unused: 0x2 max hole: 0x2
Question
How/Can I set my own .reset vector? This must be an easy problem to solve...
Thanks,
Justin Reina
*I have done an appropriate (hopefully) amount of reading through slau132d, slau131c and TI E2E but have not found a working solution.