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.

[参考译文] TMS570LC4357:应用程序的引导加载程序跳转会导致错误。

Guru**** 2430620 points
Other Parts Discussed in Thread: TMS570LC4357

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1345683/tms570lc4357-bootloader-to-application-jump-leads-to-error

器件型号:TMS570LC4357

我尝试创建 TMS570LC4357引导加载程序。 我按如下方式执行操作、但当我跳转到 APP_START_ADDRESS (0x00200100)时、会发生 prefetchEntry 错误。

1. 基于 TI 示例的引导加载程序代码  

2.我使用 sciReg3 通信。 使用 YMODEM 测试写入单元。

3.下载后、我跳转至 APP_START_ADDRESS (0x00200100)。 使用相同的工程和起始地址移位来创建哪个工程。  

4.当我跳转至 addr0x00200100时:发生 prefetchEntry 错误。

  

跳转地址代码如下所示、

JumpAddress =(uint32_t)(APP_START_ADDRESS);
((void (*.)(void)))JumpAddress)();

 发现仅 RTOS 代码出现了错误。 如果它是一个裸机代码工作正常. 当 OS Start Scheduler 调用此时间时、只有我的代码未运行。 如果需要、我可以分享我的应用程序代码和引导加载程序代码供参考。 我添加了操作系统启动调度程序部分注释的相同应用程序代码运行正常。 我认为此问题是由矢量表映射导致的。

我查看了论坛并找到了以下帖子;我对引导加载程序进行了相同的尝试、但收到了相同的错误。

e2e.ti.com/.../tms570lc4357-bootloader---appication---application-with-freertos-fails-on-task-creation

请随时与我联系。

此致、

先生 K