请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
主题中讨论的其他器件:C2000WARE我从 MotorControlSDK (不再使用)继承的 hadware_init.c 文件中引用了这些变量、如下所示
memcpy (&RamfuncsRunStart、&RamfuncsLoadStart、(size_t)&RamfuncsLoadSize);
如果我注释掉该行、代码会编译并链接、但在没有调试符号的情况下、我会进行整理、然后
机器代码 Estop。
我怀疑这可能与我的.cmd 文件中的这个部分有关:
.TI.ramfunc :
{
-l driverlib/f28004x/driverlib/ccs/Release/driverlib.lib<spi.obj>,
-l driverlib/f28004x/driverlib/ccs/Release/driverlib.lib<interrupt.obj>
}
LOAD = FLASHB0_SA,
RUN = RAMLS4_7,
LOAD_START(_RamfuncsLoadStart),
LOAD_SIZE(_RamfuncsLoadSize),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
RUN_SIZE(_RamfuncsRunSize),
RUN_END(_RamfuncsRunEnd),
PAGE = 0, ALIGN(4)
但我不确定如何继续。