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.

[参考译文] MSP430F5419A:有关 BSL 和程序起始地址的问题

Guru**** 2511985 points
Other Parts Discussed in Thread: MSP430F5419A

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1062393/msp430f5419a-question-about-bsl-and-program-start-address

器件型号:MSP430F5419A


在 BSL 中、程序起始地址不起作用。


条件:
MCU:msp430F5419A、
我使用了 BSL 脚本编写器。 (3.1.0.0)
它使用 IAR 编译器。
我使用了 Rocket BSL 并下载了 A_app.txt 和 B_app.txt。

情况:
即使使用 BSL 中的程序起始地址执行 SET_PC、
它不会跳至原始程序位置。


在 A_app.txt 文件的 BSL 执行后、如果 SET_PC 设置为复位矢量0xFFFE、A_app.txt 程序会重新启动程序。
执行 B_app.txt 文件的 BSL 后、如果 SET_PC 设置为复位矢量0xFFFE、B_app.txt 程序不会重新启动程序。

即使 SET_PC 设置为程序起始地址、也不会对 B_app.txt 程序执行正常程序启动。

问题1:在引导加载程序操作完成后、在 BSL 中执行 SET_PC 作为复位矢量
您可以进行重置吗? 不考虑断开电源。

问题2:在 BSL 中、通过使用程序地址执行 SET_PC、
您可以将其设为正常程序吗? 不考虑断开电源。


感谢您阅读该问题。

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

    您好、Naru、

    A.txt 和 B.txt 是否有所不同?

    [引用 userid="506309" URL"~/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/MSP-low-power-microcontroller-forum/1062393/msp430f5419a-question-about -BSL-and-program-start-address"在 BSL 程序执行 A_app.txt 后、如果设置为0xFFPC_r 程序、则重新启动 A_app.txt 程序。
    执行 B_app.txt 文件的 BSL 后、如果 SET_PC 设置为复位矢量0xFFFE、B_app.txt 程序不会重新启动程序。

    Set_PC 可以正常复位 MCU、无需重启电源。

    谢谢!

    此致

    Johnson