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.

[参考译文] TMS570LS0914:引导加载程序 CAN't start 应用程序

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1494390/tms570ls0914-bootloader-can-t-start-application

器件型号:TMS570LS0914

工具/软件:

您好、

我开发了一个基于 openbtl 的引导加载程序。 即闪存进程。 sreg 文件的内容位于以下位置:
0x10000 - 0x1001F:矢量表
0x10020 - 0x1004F: 校验和
0x10050 - xxxxxxx:应用程序
成功 验证校验和后、引导加载程序会启动软件复位(systemREG1->SYSECR = 0x00008000UL;)并在 sys_startup.c 中捕获该软件、尝试启动应用程序:
uint32_t startAddr = 0x10000;
((void (*)(void)) startAddr)();
引导加载程序会抛出未定义指令异常。
我不知道我错过了什么…

此致、
Juergen

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

    问题

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

    您能告诉我这个问题是什么吗? 我在尝试从引导加载程序跳转到应用程序代码时遇到类似的问题。