Other Parts Discussed in Thread: TMS320F28377D, C2000WARE
I am debuging the cla in the cpu2 of TMS320F28377d,I add the lib as the docment "CLA_MATH_LIB_UG".
It occurs a strange phenomenon that when I call the function of CLAcos_inline,the return result is always 0,but the function of CLAsqrt_inline works well.
When I call the function of CLAasin the functions in cla goes nowhere.
When debug in ccs the function of CLAcos_inline can work well too.
the map file shows tables is in the ram
00009280 24a (00009280) _CLAsinTable
00009280 24a (00009280) _CLAsincosTable
00009280 24a (00009280) _CLAsincosTable_Sin0
the cmd config is as below:
CLA1mathTables : LOAD = FLASHN,
RUN = RAMLS1_S2,
RUN_START(_CLA1mathTablesRunStart),
LOAD_START(_CLA1mathTablesLoadStart),
LOAD_SIZE(_CLA1mathTablesLoadSize),
PAGE = 0
Cla1Prog : LOAD = FLASHCTOM,
RUN = RAMLS3_S5,
RUN_START(_Cla1funcsRunStart),
LOAD_START(_Cla1funcsLoadStart),
//LOAD_SIZE(_Cla1funcsLoadSize),
//LOAD_END(_Cla1funcsLoadEnd),
//RUN_SIZE(_Cla1funcsRunSize),
//RUN_END(_Cla1funcsRunEnd),
LOAD_SIZE(_Cla1funcsLoadSize),
PAGE = 0//, ALIGN(8)
I just have no idea what is the problem,Thanks very much for reply!