Hi,
I want to calculate flash memory consumed by the project. I am not getting which option to consider among: code usage given file wise in .map file or memory allocation given by CCS, because it turns out to be different
Thank you.
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.
Hi,
I want to calculate flash memory consumed by the project. I am not getting which option to consider among: code usage given file wise in .map file or memory allocation given by CCS, because it turns out to be different
Thank you.
The .map file is the most reliable source. However, I'm fairly certain the Memory Allocation window in CCS gets its information from the .map file so they shouldn't be different. Can you describe how they're different? Is it all sections or just some of them?
Whitney
I don't know why those numbers don't match. As a specific example, the .text section for the file cobl_canopen.obj shows 531 words in the map file, but 889 words in the Memory Allocation view. Are you sure these are from the very same build? Just to be sure, clean the project and build it again from scratch.
If the problem persists, then I need to reproduce the problem to explain it. In this case, I need the CCS project. Please package into a zip file using the directions in the article Project Sharing, then attach the zip to your next post.
Thanks and regards,
-George
Please let us know whether you still have this problem. If so, please submit the requested CCS project.
Thanks and regards
-George
Since it has been a while, I presume you have resolved your problem. I'd appreciate if you would let us know how you resolved it.
Thanks and regards,
-George