在用28035调试CLA的时候发现:在线调试时能很好地发现CPU和CLA都在运行,程序下载到板子上FLASH后,把板子掉电重新上电,发现CPU程序在运行,CLA程序没有运行,请问一下这是什么情况
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.
Cla1Prog : LOAD = CLA_FLASH,
RUN = CLA_PRAM,
LOAD_START(_Cla1funcsLoadStart),
LOAD_END(_Cla1funcsLoadEnd),
LOAD_SIZE(_Cla1funcsLoadSize),
RUN_START(_Cla1funcsRunStart),
PAGE = 0
//Copy over the CLA code(if running in standalone mode from FLASH)
memcpy(&Cla1funcsRunStart, &Cla1funcsLoadStart, (Uint32)&Cla1funcsLoadSize);
在程序中写入memcpy(&Cla1funcsRunStart, &Cla1funcsLoadStart, (Uint32)&Cla1funcsLoadSize);
CMD中
Cla1Prog : LOAD = FLASHD,
RUN = RAML3,
LOAD_START(_Cla1funcsLoadStart),
LOAD_END(_Cla1funcsLoadEnd),
RUN_START(_Cla1funcsRunStart),
LOAD_SIZE(_Cla1funcsLoadSize),
PAGE = 0
仍然会出现上述描述的问题
计算CLA task的偏移地址MVECTx的时候要用_Cla1funcsRunStart
另外你的CLA task是用什么触发的,有没有可能在RAML3分配给CLA之前,给CLA task发了触发信号。