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.

Tool Generated F28335 "Hello World" basic example does not link.



 

 

The automically generated F28335 "Hello World" basic example does not link.  I created created the project using the automatic settings for "Linker Command File" and "Runtime Support Libray".  The build output for the unmodified project is shown below:  Apparently the automatically generated linker command files specifies a memory segment that its not large enough. 

Supporting information:

CCS Version Info (updated three days ago to the lastest components).:  Version: 4.2.4.00033

OS Version: Windows 7 Ultimate, service pack 1.

**** Build of configuration Debug for project PrintfBug ****

 

C:\tibin\ccsv4\utils\gmake\gmake -k all

'Building file: ../hello.c'

'Invoking: Compiler'

"C:/tibin/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.11/bin/cl2000" --silicon_version=28 -g --include_path="C:/tibin/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.11/include" --diag_warning=225 --large_memory_model --unified_memory --float_support=fpu32 --preproc_with_compile --preproc_dependency="hello.pp"  "../hello.c"

'Finished building: ../hello.c'

' '

'Building target: PrintfBug.out'

'Invoking: Linker'

"C:/tibin/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.11/bin/cl2000" --silicon_version=28 -g --diag_warning=225 --large_memory_model --unified_memory --float_support=fpu32 -z -m"PrintfBug.map" --stack_size=0x300 --warn_sections -i"C:/tibin/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.11/lib" -i"C:/tibin/ccsv4/tools/compiler/C2000 Code Generation Tools 5.2.11/include" --reread_libs --rom_model -o "PrintfBug.out"  "./hello.obj" -l"libc.a" "../28335_RAM_lnk.cmd"

<Linking>

warning: creating output section ".cio" without a SECTIONS specification

warning: creating ".sysmem" section with default size of 0x400; use the -heap

 

   option to change the default size

>> Compilation failure

"../28335_RAM_lnk.cmd", line 125: error: placement fails for object ".text",

   size 0x192c (page 0).  Available ranges:

   RAML1        size: 0x1000       unused: 0x1000       max hole: 0x1000   

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

gmake: *** [PrintfBug.out] Error 1

gmake: Target `all' not remade because of errors.

Build complete for project PrintfBug

Screen Shots for Settings Follow:

 

 

 

John