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.
自己制作了二次的bootloader和app程序分开,就是有两个工程。
boot中使用
void JumpToApp(void)
{
// Flash_SetFlag();
DINT;
Interrupt_disable(INT_SCIA_RX);
Interrupt_disable(INT_SCIA_TX);
__asm(" LB 0x086000"); // start of app
}
这个函数跳转app
但是并不成功,仿真时时执行了跳转
boot段的CMD
BEGIN : origin = 0x080000, length = 0x000002
FLASH_BOOT : origin = 0x080002, length = 0x005FFA
FLASH_BOOT_VER : origin = 0x085FFC, length = 0x000004
FLASH_START : origin = 0x086000, length = 0x0000FE /* rsv codeStartBranch */
FLASH_APP : origin = 0x086100, length = 0x009F00
app段的CMD
BEGIN : origin = 0x00080000, length = 0x00000002
/* Flash sectors */
FLASH_BOOT : origin = 0x080002, length = 0x005FFE
FLASH_START : origin = 0x086000, length = 0x0000FE /* rsv codeStartBranch */
MODEL_CODE : origin = 0x086100, length = 0x000010
FLASH_APP : origin = 0x086110, length = 0x028EF0
请问我要从什么方面入手排查问题