Board logo

标题: [求助]codewarrior错误提示 [打印本页]

作者: rock_lee    时间: 2009-2-18 22:49     标题: [求助]codewarrior错误提示

codewarrior错误提示:

Error :require nop(s) between write to control register and an instruction which is not one of the following: any move, adda, adda.l, suba, nop [D_004b]
dspfunc.c line 29
Project: servo.mcp, Target: sdm pROM-xRAM, Source File: dspfunc.c

Error : Require NOP(s) between write to control register and an instruction which is not one of the following: any move, adda, adda.l, suba, nop [D_004b]
dspfunc.c line 30
Project: servo.mcp, Target: sdm pROM-xRAM, Source File: dspfunc.c

Error : Pipeline conflict detected in this function.
dspfunc.c line 32 }
Project: servo.mcp, Target: sdm pROM-xRAM, Source File: dspfunc.c

------------------------------------------------------------------------------------------

void dspfuncInitialize(void)
{

/* Set saturation mode, set 2's complement rounding, and reset limit bit */

archSetSat32();
archSet2CompRound();
archResetLimitBit();
}

请问各位,什么原因?codewarrior错误提示,哪里可以找到?


作者: strongchen    时间: 2009-2-19 09:46

那你就按错误提示指出的,在相应的地方加上NOP指令试试。
作者: rock_lee    时间: 2009-2-19 09:50

试过了,一样






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0