Other Parts Discussed in Thread: SYSCONFIG, C2000WARE
Dear TI experts,
I have been working on CLA math recently and followed the procedure in the C2000ware user guide ("CLA_MATH_LIB_UG"). However, I am having trouble configuring CLA with the SysConfig tool as it generates an error:
Upon examining the compile results, it seems that there might be an issue with the cmd file.
The cmd file "CLA_MATH_LIB_UG" in C2000ware contains the following code:
void CLA_init()
{
#ifdef _FLASH
#ifndef CMDTOOL // Linker command tool is not used
extern uint32_t Cla1funcsRunStart, Cla1funcsLoadStart, Cla1funcsLoadSize;
extern uint32_t Cla1ConstRunStart, Cla1ConstLoadStart, Cla1ConstLoadSize;
//
// Copy the program and constants from FLASH to RAM before configuring
// the CLA
//
memcpy((uint32_t *)&Cla1funcsRunStart, (uint32_t *)&Cla1funcsLoadStart,
(uint32_t)&Cla1funcsLoadSize);
memcpy((uint32_t *)&Cla1ConstRunStart, (uint32_t *)&Cla1ConstLoadStart,
(uint32_t)&Cla1ConstLoadSize );
#endif //CMDTOOL
#endif //_FLASH
myCLA0_init();
}
However,there is a conflicting code in the board.c that was autogenerated by the Syscfg tool. It appears that the symbol Cla1ConstLoadSize, among others, has not been defined in the cmd file.
Would you be able to help me resolve this issue? Because I have no idea how to revise the cmd file, which looks like very complicated.
Thanks,
Eric