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.

[参考译文] MSP430FR2355:重定向中断矢量表并在链接器文件中重新定位输出段

Guru**** 2387080 points
Other Parts Discussed in Thread: MSP430FR5989, MSP-FET
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1264853/msp430fr2355-redirecting-interrupt-vector-table-and-relocate-output-sections-in-the-linker-file

器件型号:MSP430FR2355
主题中讨论的其他器件:MSP-FET、MSP430FR5989
当我创建 CCS 工程时、我会重定向中断矢量表、并在链接器文件中重定位输出段。 之后、我使用 MSP-FET 进行调试、但工程没有运行。 为什么
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Son Goku:

    在用户指南中、您可以找到以下说明:

    因此、对于 MSP430器件、您只能选择存储在 FRAM 或 RAM 中的中断矢量。 它不能 重拨到其他地址。

    您也可以参考主题: https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/365955/redirection-vector-table-on-msp430f6779。

    B.R.

    萨尔

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

    谢谢!  感谢您提供信息! 我了解。 它不能!

    我正在开发基于"slaa721 MSP430FRBoot -主存储器引导加载程序" 和相关项目示例的引导加载程序。  

    1) 1)我看到在 "TI_MSPBoot_MI_WriteByteDirect"函数中、我们 直接将 App1项目(0xF790 - 0xF7FE) 的中断表复制到引导项目(0XFF90-0XFFFC)的中断表。 这种方法是否正确? 当我使用命令"TI_MSPBoot_APPMGR_JUMPTOAPP ()"时、我能从引导加载程序跳转到 App1程序区域吗。  (如果我尚未复制矢量表、 当我跳转到 Reset_Vector 时、我的 PC 寄存器会卡在地址_App1_App1处)。

    2) 2) 现在、我在将 MSP430FR5989的数据(副本)从0xFF80更改为0xFFFE 时遇到问题。 如何 更改此范围内的数据、应该使用哪个寄存器来控制? 请指导我解决此问题、并提供一些有用的 文档!!  

    再次感谢您发送编修。