Other Parts Discussed in Thread: MSP430F5529
Dears:
Now facing the issue is it can jump from BOOT to APP, however, APP code can not run.
boot Zone Code:0x5c00-0x6bff
XCL configure file about interrupt vector table and reset:
-Z(CODE)INTVEC=FF80-FFFF
-Z(CODE)RESET=FFFE-FFFF
APP Code 1:0x6c00-0xfdff 0x10000-0x15832
XCL configure file about interrupt vector table and reset:
-Z(CODE)INTVEC=FC80-FCFF
-Z(CODE)RESET=FCFE-FCFF
APP Code 2:0x6c00-0x6b87
XCL configure file about interrupt vector table and reset:
-Z(CODE)INTVEC=FC80-FCFF
-Z(CODE)RESET=FCFE-FCFF
If the program jumps from boot zone to APP zone, the instruction is isasm("mov &0xFCFE,PC;");
If the program jumps from boot zone to APP Zone with code 1, and jumps successfully, however, the code can not run.
If the program jumps from boot zone to APP Zone with code 2, and jumps successfully, and the code can run.
Then try to rewrite the XCL file about code 1 as follows, but the code can not run either:
Z(CODE)INTVEC=0x15F80-0x15FFF
-Z(CODE)RESET=0x15FFE-0x15FFF
Pls. give some advice, thanks~