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.

Compiler/TMS320F28075: "total memory usage" for C2000 compiler and memory allocation window

Part Number: TMS320F28075

Tool/software: TI C/C++ Compiler

Dear Champs,

We are aware that Memory Allocation Window can show the individual code usage of flash sectors and RAMs by extracting the .map file, but the user has to calculate the sum of the memory sections by themselves to get the total memory usage every time they build the code.

Unlike other compilers (like MSP430 compiler), which shows the total flash and RAM usage directly after building codes, it seems C2000 compiler does not have intuitive display for this.

Would you please add the "total memory usage" to show it in the code building window after building codes as well as in the memory allocation window so that the tools can be more friendly to our customers?

(Customers said most of our competitors also have this function, too, and hope we can enhance our memory allocation window)

Wayne

  • In recent versions of the compiler, the .map file contains this table ...

    MODULE SUMMARY
    
           Module          code   initialized data   uninitialized data
           ------          ----   ----------------   ------------------
        .\
           main.obj        2      0                  0                 
        +--+---------------+------+------------------+--------------------+
           Total:          2      0                  0                 
                                                                       
        C:\ti_ccs73\ccsv7\tools\compiler\ti-cgt-c2000_16.9.4.LTS\lib\rts2800_fpu32.lib
           boot28.obj      86     0                  0                 
           exit.obj        41     14                 6                 
           cpy_tbl.obj     36     0                  0                 
           memcpy.obj      30     0                  0                 
           args_main.obj   25     0                  0                 
           _lock.obj       9      10                 4                 
           pre_init.obj    2      0                  0                 
           startup.obj     1      0                  0                 
        +--+---------------+------+------------------+--------------------+
           Total:          230    24                 10                
                                                                       
           Stack:          0      0                  512               
        +--+---------------+------+------------------+--------------------+
           Grand Total:    232    24                 522

    Does this solve the problem?

    Thanks and regards,

    -George