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.

[参考译文] TM4C123GH6PM:引导加载程序、跳转、引导、加载程序、引导加载程序

Guru**** 2460850 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/652860/tm4c123gh6pm-bootloader-jump-boot-loader-boot-loader

器件型号:TM4C123GH6PM

我需要帮助、引导加载程序不会跳转到应用程序的位置、编译器是 IAR。

应用程序的启动为0x0000

应用程序的地址为0x1000

函数调用应用程序

空应用(uint32_t ui32StartAddr)

IntDisable();
SysTickIntDisable();
SysTickDisable();
//IntMasterEnable();
//SysTickDisable();

HWREG (NVIC_vtable)=0x1000;//app_vector;

_asm (" LDR R1、[r0]\n"
" mov sp、r1\n");

_asm (" LDR r0、[r0、#0x4]\n"
" bx r0\n");

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 Emmanuel、

    我不确定您尝试使用汇编调用实现什么、但您应该参考 TivaWare 中的引导加载程序示例、如果配置正确、该示例会为您处理所有这些操作。

    如果您想了解要使用的引导加载程序、我可以向您指出一个具体示例。