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.

TMS320F28335: Loading output file larger than SARAM

Part Number: TMS320F28335

Hi, this is a question to satisfy my curiosity. If I have a .out file which is 197 kB in size, then how does the processor run it when I load the file? I mean the RAM is only 68kB, so how is a file bigger than the RAM executed? Thanks.

  • Rohit,

    The actual code and data loaded into memory will be shown in the .map file.  It's always interesting to look through that and see how much memory space is occupied, and by what.

    The difference between the total memory loaded and the size of the .out file is the symbolic information in the latter needed to debug the code.  This information isn't loaded to the target, but it is used by CCS when you debug the code.

    An interesting experiment is to re-compile your program with the "--symdebug:none" flag.  You can change this setting in CCS by right-clicking on the project name, selecting "Properties", then going to "Build -> C2000 Compiler -> Advanced options".  Then re-build the project and you should find the .out file size goes down a lot.

    Regards,

    Richard