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.

[参考译文] RTOS/TM4C1294NCPDT:在存储器中重新定位 TI-RTOS 应用

Guru**** 2457760 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/645743/rtos-tm4c1294ncpdt-relocating-ti-rtos-application-in-memory

器件型号:TM4C1294NCPDT

工具/软件:TI-RTOS

您好!

我有一个基于 TI-RTOS 的应用程序、我希望添加 OTA 更新功能。 应用程序运行完全没问题、矢量位于0x00000000。  

m3Hwi.vectorTableAddress = 0x00000000;
m3Hwi.resetVectorAddress = 0x00000000;

但是、当我将矢量地址更改为0x4000时:-

 m3Hwi.vectorTableAddress = 0x00004000;
m3Hwi.resetVectorAddress = 0x00004000;

应用程序在   BIOS_start()时崩溃;

我已检查 VTOR 并将其设置为0x4000。 是否还有其他设置我丢失了?

谢谢、

Richard。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您使用的是 TI-RTOS 的哪个版本? 此外、您是否使用 driverlib 中断模块自行插入中断?