This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: CC1310 OAD BOOT 跳转到 APP应用

Expert 2290 points
Part Number: CC1310

CC1310 做OAD升级,  从OAD BOOT无法跳转APP, icf文件如下:

//OAD BOOT 配置文件
define symbol __ICFEDIT_intvec_start__ = 0;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
define symbol __ICFEDIT_region_ROM_end__   = 0x0001FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__   = 0x20004FFF;

//APP 配置文件
define symbol __ICFEDIT_intvec_start__ = 0x0000F000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x0000F000;
define symbol __ICFEDIT_region_ROM_end__   = 0x0001FFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__   = 0x20004FFF;

//跳转 APP
void jumptoapp(void)
{
    Hwi_disable();
    // Load address of the resetISR from the fixed location in Flash.
    asm(" MOV R0, #0xF000 ");
    asm(" LDR R1, [R0, #0x4] ");

    // Reset the stack pointer,
    asm(" LDR SP, [R0, #0x0] ");

    // And jump.
    asm(" BX R1 ");
}

调用了jumptoapp(); 后无法跳转, 请问怎么从BOOT跳转到APP?