主题中讨论的其他器件:MSPBSL、 MSP430FR2311
您好、TI、
我有一个问题、如何为 "_c_int00_noinit_noargs" ti 函数分配绝对地址?
这将有助于设计我的引导加载程序。
此致
Hossam
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.
您好、TI、
我有一个问题、如何为 "_c_int00_noinit_noargs" ti 函数分配绝对地址?
这将有助于设计我的引导加载程序。
此致
Hossam
您好、 Hossam、
我知道这个。 但我的问题是、您为什么要这么做?
总之、这是解决方案。 我厌倦了 MSP430FR2311。
您需要在自己的项目中移动 boot.c 和 boot_hooks.h。
2.编译器将选择哪个 int00作为 系统启动例程。 它从 "_c_int00_noinit_noargs"更改为"_c_int00"、因此您需要执行如下操作:
pragma CLINK (_c_int00) #pragma LOCATION = 0xf100 CSTART_DECL _c_int00 (void) { _c_int00_template (1、1、0); }
然后它就可以工作了。 如果遇到 MPU 错误、您需要注释:
// if (needs _MPU) // _mpu_init();
伊斯天