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.

TMS320F280039C: error #10008-D: cannot find file "FAPI_F28003x_EABI_v1.58.10.lib"

Part Number: TMS320F280039C


Tool/software:

Hi, TI DSP Experts,

I'm trying to create my customized .cmd file with Flash API lib included according the example "flashapi_ex1_programming". But it reports a error during building, as shown below:

"../28003x_cla_flash_lnk.cmd", line 140: error #10008-D: cannot find file "FAPI_F28003x_EABI_v1.58.10.lib"
"../28003x_cla_flash_lnk.cmd", line 140: warning #10068-D: no matching section
error #10010: errors encountered during linking; "CLA_CPU_offloading.out" not built

The corresponding section in .cmd file is shown below:

......

134   GROUP
135   {
136          FPUmathTables
137          isrcodefuncs
138          dclfuncs
139          .TI.ramfunc
140         { -l FAPI_F28003x_EABI_v1.58.10.lib}
141   }
142   LOAD = FLASH_BANK0_SEC9,
143   RUN = RAMLS3 | RAMLS4
144   LOAD_START(RamfuncsLoadStart),
145   LOAD_SIZE(RamfuncsLoadSize),
146   LOAD_END(RamfuncsLoadEnd),
147   RUN_START(RamfuncsRunStart),
148   RUN_SIZE(RamfuncsRunSize),
149   RUN_END(RamfuncsRunEnd),
150   ALIGN(8)

......

Other project configurations include:

1) Put the file "FAPI_F28003x_EABI_v1.58.10.lib" in the current project's folder.

2) Add two Path Variables in the Linked Resources as "FlashAPI_INCLUDE_ROOT", and "FlashAPI_LIB_ROOT".

3) Add ${FlashAPI_INCLUDE_ROOT} to the Include Options tab under "C2000 Compiler".

For this error, I have two questions:

1) What does it mean by { -l FAPI_F28003x_EABI_v1.58.10.lib}?

2) How to solve this kind of error?

Thanks & B.R.

Yuye