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.

TMS320F280039C: Clarify how to read CCS memory allocation view and .map file

Part Number: TMS320F280039C


Dear Champs,

I am asking this for our customer.

Because the user is going to optimize code size, the user wants to clarify how to read from our CCS memory allocation view and .map file.

From below image.

14674 word is code.

3285 word is ro data.

28505 word is rw data.

Questions:

1. ro data means read-only data.  So it should be part of flash image. Is it right?

2. rw data means read-write data, so it should be used in RAM. This is the total RAM size that will be used. Is it right?

3. From .map

Flash size will take up 14674 + 3285 = 17959

RAM size will take up 28505

From memory allocation view:

Flash size total is 712 + 14088 + 2870 = 17670, which is almost same as 17959 above. But why is there a difference  17959-17670?

RAM size total is 296 + 1930 + 2048 + 24568 = 28842, which is almost same as 28505. But why is there a difference 28505 - 28842?

  • Hi Wayne,

    1. ro data means read-only data.  So it should be part of flash image. Is it right?

    Yes, ro data is part of FLASH image

    2. rw data means read-write data, so it should be used in RAM. This is the total RAM size that will be used. Is it right?

    Yes correct, rw data is part of RAM

    There should be additional sections to be considered in the memory allocation tool which caused the difference in the value.

    I shall get back with more details on the difference.

    Thanks

    Aswin

  • Please attach the map file ecdsa_ex15.map to your next post.  So the forum will accept it, please add the file extension .txt.

    Thanks and regards,

    -George