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.

[参考译文] CCS/MSP430F479:将矢量重置为自己的代码

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/603862/ccs-msp430f479-reset-vector-to-own-code

部件号:MSP430F479

工具/软件:Code Composer Studio

您好,

我需要将“重置向量”设置为我自己的代码,而不使用rts430xxx库函数。

我将在固定内存范围内编写我自己的引导加载程序,其中也包括中断向量。 (0xf000 - 0xFFFF)

因此,我使用JTAG刷新一次引导加载程序,然后必须删除并重新刷新引导加载程序和中断向量。

我的问题是编译器/链接器总是将重置向量设置为"_c_int00_noargs_notexit",并在启动我自己的代码之前执行一些RTS430函数。但rts430代码可以位于不同的范围。

(对不起我的英语)