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.

CC2640如何 在simplelink私有协议下类式与bootloader方式的在线更新固件

Other Parts Discussed in Thread: CC2640, CC2650

我程序有两处理代码, 一处放正常运行的代码,比如 128K的空间, 我120K分两个区, 60K正常代码区,60K备份代码区,8K类式与bootloader功能专门把备份区的代码写入运行区60K代码, 前两个功能都实现了,现在我不知道怎么从正常运行的程序跳转到 8K烧写代码区, 8K地址是知道放在哪一下区域的, 

我想实现在任何时候都可以互相跳转,更新代码,  我用STM32实现 的方法是这样的

if (((*(__IO uint32_t*)ApplicationAddress) & 0x2FFE0000 ) == 0x20000000)
{
/* Jump to user application */
JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4);
Jump_To_Application = (pFunction) JumpAddress;
/* Initialize user application's Stack Pointer */
__set_MSP(*(__IO uint32_t*) ApplicationAddress);
Jump_To_Application();
}

但我不知道CC2640是如果实现 的