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.

#10099 Program will not fit

Other Parts Discussed in Thread: TMS320F28377D

Dear Sir,

I am using TMS320F28377D controller with TI v6.2.5 compiler(C2000). I am just trying to use CPU 1 without disturbing second one. When I try to clean and built project I got following error :

#10010 error encountered during linking: “project_name.out” not built

#10056 symbol “_F28x_usDelay” redefined: First define in

#10056 symbol “code_start” redefined: First define in

#10099-D program will

#10099-D program will not fit

By getting above mentioned error I try to change “2837x_FLASH_Ink_cpu1.cmd” as,

/* Allocate program areas: */

.cinit : > FLASHE, PAGE = 0

.pinit : > FLASHE, PAGE = 0

.text : > FLASHE, PAGE = 0

codestart : > BEGIN, PAGE = 0

ramfuncs : LOAD = FLASHE,

RUN = RAMLS0,

LOAD_START(_RamfuncsLoadStart),

LOAD_SIZE(_RamfuncsLoadSize),

LOAD_END(_RamfuncsLoadEnd),

RUN_START(_RamfuncsRunStart),

RUN_SIZE(_RamfuncsRunSize),

RUN_END(_RamfuncsRunEnd),

PAGE = 0

//the size of FLASHE is 0x030000. I got error symbol near BEGIN.

//I have not defined code_start anywhere in program. I searched and found 0 results.

//F28x_usDelay is just an assembly file for ADC_US delay.

What should I do? Please provide solution?

  • Hello,

    "code_start" is defined in the file "F2837xD_CodeStartBranch.asm" and "F28x_usDelay" is located in "F2837xD_usDelay.asm". Check your included headers and files for any duplication of those files or function names since that is what error #10056 indicates. 

    Also, make sure to check that your entry point "code_start" is set under project properties. (Project Properties->Build->C2000 Linker->Advanced Options->Symbol Management)

    Let me know if that helps!

    Best Regards,

    Chris