Hi!
When building my SW for MPC5602B with CW 10.6 it's not possible to view the RAM/ROM usage from the .MAP file in an easy way. I have scanned the community for solution of this problem and tried thread/358911 without success since I can not use "size" and "readelf" since I'm not running LINUX. I have also tried to use the "run readelf only" option in the P&E PowerPC Nexus development kit but without success. Are there any other ways to see the RAM/ROM usage?
Hi Bengt,
I tried to use arm-non-eabi-size.exe utility and I got correct results about ROM/RAM usage. Look at the following figure. You can check the results against map file. I use windows7 enterprise.
Values in columns text and data determines amount of data in flash, value in column bss determines amount of data in RAM.
Regards,
Martin
Hi Martin!
Seems like a useful tool. The problem is that is not installed on my PC (Windows 7 Professional). Where can I get it?
Regards Bengt.
Hi Bengt,
It should be a part of CodeWarrior installation. Find your CW installation folder, click Cross_Tools\arm-non-eabi-gcc-4_7_3\bin and there should be many tools including this size.exe.
Just to make sure, I am sending you this example in the attachment.
Regards,
Martin
Hi!
Works fine!!
The Cross_Tools folder was not included in my installation. Do you have any idea why??
Regards Bengt
Hi Bengt,
the Cross_Tools are installed with al MCU10.x installer. But they are only installed if you install the ColdFire tools as these GNU tools are packaged with the ColdFire Build tools.
The GNU size tools is really very useful, here are a few articles about it:
I hope this helps,
Erich
Hi Erich,
thanks for clarification. I usually install CW with Qorivva parts only, but it is possible I try some different options during installation different CW versions and this is the reason why I have installed only CW 10.6.4 with Cross_Tools.
Regards,
Martin