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.

CCS: CCS Version 6.2 generates different output file size (i.e. .out, .map, .obj) compare to CCS Version 3.3 generated output files.

Tool/software: Code Composer Studio

Hello,

We have observed that CCS Version 6.2 generated output file  (i.e. .OUT, .MAP, .OBJ) sizes are different than CCS Version 3.3 generated output files. For your reference please find sample "Hello World" program project and output files in the attachment. 

Why CCS 6.2 generated output file sizes are different than CCS 3.3?. Please advise.Hello_world_v33.zipHello_world_v6.2.zipComparison CCS 3.3_6.2.xlsx

Thanks,

Ramesh G.

  • The CCS 6.2 build uses large memory model, while the CCS 3.3 build uses small memory model.  One way to see the difference is with ofd55 ...

    C:\dir>ofd55 Hello_world_v6.2\Release\helloworld_v6.2.out | findstr Tag_
             Tag_File:
                 Tag_Producer_Name       Linker
                 Tag_Producer_VMajor     5       (Producer Major Version + 1)
                 Tag_Producer_VMinor     4       (Producer Minor Version + 1)
                 Tag_Producer_VPatch     2       (Producer Patch Version + 1)
                 Tag_ISA                 4       (C55x)
                 Tag_Calling_Convention  2       (c55_std)
                 Tag_Memory_Model        2       (large memory model)
    
    C:\dir>ofd55 helloworld_v33\Release\helloworld_v33.out | findstr Tag_
             Tag_File:
                 Tag_Producer_Name       Linker
                 Tag_Producer_VMajor     5       (Producer Major Version + 1)
                 Tag_Producer_VMinor     4       (Producer Minor Version + 1)
                 Tag_Producer_VPatch     2       (Producer Patch Version + 1)
                 Tag_ISA                 4       (C55x)
                 Tag_Calling_Convention  2       (c55_std)
                 Tag_Memory_Model        1       (small memory model)

    I don't know how that happened.  Here is one guess.  When the project was created under CCS 6.2, upon selecting some C55x device, CCS automatically set several build options, including the one for large model.  This setting was overlooked.

    Thanks and regards,

    -George