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.

[参考译文] TM4C129XNCZAD:从应用程序跳转至闪存引导加载程序

Guru**** 2391415 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1110341/tm4c129xnczad-jump-to-flash-bootloader-from-application

器件型号:TM4C129XNCZAD

大家好、

我能够使用 DFU 闪存引导加载程序刷新应用、

此方法是在每次上电之前按按钮、当引导加载程序检测到按钮被按下时、它将执行更新操作。

问题是、是否有任何方法可以从应用程序模式跳转到引导加载程序模式、而不是使用上述方法。

在"boot_demo"示例代码中有一个 JumpToBootLoader 函数、

通过使用此方法,系统将挂起。

谢谢你。

RAY YANG

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

    您好 Ray、

    您没有根据需要禁用所有中断:

        //
        // Disable all processor interrupts.  Instead of disabling them
        // one at a time, a direct write to NVIC is done to disable all
        // peripheral interrupts.
        //
        HWREG(NVIC_DIS0) = 0xffffffff;
        HWREG(NVIC_DIS1) = 0xffffffff;
        HWREG(NVIC_DIS2) = 0xffffffff;
        HWREG(NVIC_DIS3) = 0xffffffff;

    [引用 userid="521643" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1110341/tm4c129xnczad-jump to flash-bootloader-from-application"]问题是、是否有任何方法可以从应用程序跳转到上述方法[引用/引导加载程序]。

    正确完成后、跳转过程应起作用。

    如果在进行上述更新后、闪存引导加载程序仍无法正常工作、则闪存引导加载程序可能会执行编程的检查未通过。

    此致、

    Ralph Jacobi

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

    您好、Ralph、

    感谢您的建议、它工作正常。

    此致、

    RAY YANG