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.

CODE COMPOSER STUDIO MEMORY USAGE

Other Parts Discussed in Thread: MSP430FR5739, MSP430F5438A

HI TO ALL!.

 

I'M NEW OF CCS...HOW CAN I  SEE THE MEMORY OCCUPED BY MY CODE WITH CCS? (FLASH AND RAM)

HELP ME PLEASE!

THANK'YOU!!...

  • Hi Michael,

    Which CCS version are you using?

    One way could be to check the disassembly window of your code. It shows the program memory locations wherein the code is stored in  assembly format. The number of memory locations is the size of your program code if thats what you are searching for.

    Regards,

    Sid

  • Another option could be to use DSP/BIOS to monitor heap allocation dynamically. This can help monitor the memory allocated for various variables.

    Regards,

    Sid

  • Hello Michael,

     

    When you build yours project *.map file is created - it is memory map when you chan chcek what memory sections are you using. Small part of my map file is shown below:

     

    MEMORY CONFIGURATION


             name            origin    length      used     unused   attr    fill

    ----------------------  --------  ---------  --------  --------  ----  --------

    PAGE 0:

      BEGIN                 00000000   00000002  00000002  00000000  RWIX

      RAMM0                 00000050   000003b0  00000000  000003b0  RWIX

      RAML0                 00008000   00001000  00000044  00000fbc  RWIX

    (...)

     

    Best regards,

    Pawel Blaszczyk

     

  • I am trying to load my code into MSP430FR5739. The code was originally written for the MSP430F5438A and when I compiled, built and debugged the code I got to know that the Code Size - Text: 8066 bytes  Data: 784 bytes

    So I changed the respective registers and tried to dump it on the FR5739 but when I build the code I get an error saying 'program doesn't fit into' and bss : {} >RAM.

    Well I did view the .map file and it shows that FRAM and RAM have unused portions.

**Attention** This is a public forum