CCS v5 Error

Dec 11, 2012 1 Replies

Dear Folks,



I am working with Code Composer Studio v5 and TMS320F2812. I am facing with the following errors, even for Hello World sample program.


Thanks, Amir



.................


**** Build of configuration Release for project ssr ****

C:\Program Files (x86)\TI\ccsv5\utils\bin\gmake -k all 'Building target: ssr.out' 'Invoking: C2000 Linker' "C:/Program Files (x86)/TI/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000"



-v28 -ml -mt -O2 --diag_warning=225 --display_error_number --diag_wrap=off



-z -m"ssr.map" --warn_sections -i"C:/Program Files (x86)/TI/ccsv5/tools/compiler/c2000_6.1.0/lib" -i"C:/Program Files (x86)/TI/ccsv5/tools/compiler/c2000_6.1.0/include" --reread_libs



--display_error_number --diag_wrap=off --rom_model -o "ssr.out" "./hello.obj" -l"libc.a" "../2812_RAM_lnk.cmd"



warning #10247-D: creating output section ".cio" without a SECTIONS specification



warning #10247-D: creating output section ".sysmem" without a SECTIONS specification



warning #10210-D: creating ".stack" section with default size of 0x400; use the -stack option to change the default size



warning #10210-D: creating ".sysmem" section with default size of 0x400; use the -heap option to change the default size



"../2812_RAM_lnk.cmd", line 86: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0x17ff page 0. Available memory ranges:



PRAMH0 size: 0xffe unused: 0xf89 max hole: 0xf89



error #10010: errors encountered during linking; "ssr.out" not built


> Compilation failure

gmake: *** [ssr.out] Error 1 gmake: Target `all' not remade because of errors.


**** Build Finished ****

I am taking the liberty to cross-post this to comp.arch.embedded, because it's more of an embedded programming issue than a digital signal processing issue.

It's been a long long time since I've used Code Composter, but it appears that your linker command file is not covering all the bases as far as specifying all of the sections. Either you need to call more than one command file, or your 2812_RAM_lnk.cmd is not correct for the files that you are trying to link.

My suggestion, since I cannot offer something more specific, is to dig around and see if there's a pre-defined project that already works. If you find it, then strip out all of its code files and start from there.

Tim Wescott Control system and signal processing consulting www.wescottdesign.com

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required