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.

Build fails when trying to build legacy ccs 3.3 project in ccs 4.1

Other Parts Discussed in Thread: TMS320F2808, TMS320F2811

Hi All , 

I am working on a TMS320F2808 Firmware in CCS 4.1

I have been building this project in CCS 3.3 for the past 2 years without any issues. I have another project for a TMS320F2811 that I was able to succesfully import into CCS 4.1 and build. But the 2808 project fails to build after being imported to CCS 4.1

I have followed all the import instructions to the letter , and still no luck . This is the Error I am getting during build.


"./xxxxxxxxBoardcfg.cmd", line 423: error: run placement fails for object

   ".trace$buf", size 0x40 (page 1).  Available ranges:

   LSARAM       size: 0x2000       unused: 0xa9         max hole: 0x37      


 undefined  first referenced

  symbol        in file     

 ---------  ----------------

 _codestart                 


error: unresolved symbols remain

warning: entry-point symbol "_codestart" undefined

error: errors encountered during linking; "xxxxxxBoard.out" not built

 

I am able to get rid of the .trace$buf error by reassigning the Trace object to use MSARAM instead of LSARAM. but the undefined symbol error persists.

The Assembly file that has this label is included in the source and is being compiled. "DSP280x_CodeStartBranch.asm"

I am running out of options , and places to look for. I tried building it in Debug and Release config. I still get the same error.

The code Gen tool CCS 4.1 uses is "TI v 5.2.9"

Device variant : Generic 28xx Device

DSP/BIOS version : 5.41.02.14

Please let me know If I need to provide any more info on the project configurations .

This is a Time critical project and I would greatly appreciate any help.

Victor Selvaraj

Austin,Tx

 

 

 

  • Victor,

    It seems like you have set the code entry point to "_codestart" in your Project linker options. Could you double-check that the symbol name is correct? In all the F28xx Header Files and Peripheral examples provided by TI, this symbol is called "code_start" and is specified as such in the linker option for code entry point. Please check the name of the symbol in the file DSP280x_CodeStartBranch.asm and make sure it matches wtih what is specified for your CCSv4 project under Project Properties->C/C++ Build->Linker->Symbol Management->--entry_point

     

  • thank you,these errors were caused by the absence of DSP2833x_GlobalVariableDefs.c in my project.

  • Hi, 

    I upgrade code composer from v3.3 to v5 and imported the project using "import from legacy ccsv3.3. The project compiled successfully with older version but v5 gives me memory problem. 

    #10099-D program will not fit into available memory. run placement with alignment/blocking fails for section "CpuTimer1RegsFile"
    Snapshot looks like this

    Can you tell me solution to this?

    Thanks