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.

[参考译文] MSP432E401Y:MSP432E401Y 自定义启动功能在复位时未执行

Guru**** 2587365 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1362056/msp432e401y-msp432e401y-custom-startup-function-does-not-appear-to-be-executed-on-reset

器件型号:MSP432E401Y

你好

我正在尝试在 C 初始化之前执行一个启动函数。

我已将 release.cfg 的更新如下所示

VAR 启动= xdc.useModule('xdc.runtime.Startup');
startup.resetFxn ="&appResetFxn";
startup.firstFxns.length++= Fxn_First ";
startup.lastFxns.length++="&appStartupFxnLast";

我的 startup 文件包含以下条目

void appResetFxn (void)
{

但是、该函数似乎在启动时从不执行。

也许我还需要配置其他内容吗?

请告知。

提前感谢。

佩里