Hi,
I am new to CW10.1. Where can I get the info about the code size of my program and/or sub programs?
Best regards,
Florijan
Solved! Go to Solution.
Hello
I would recommend you to take a look at the map file generated after linking.
If you are building code for Coldfire V1, look at the file with extension .xMAP generated in your build directory.
You can see a section "# Memory map" in there which shows start address and size of each section inside of your application.
If you are building code for HCS08, look at the file with extension .map in your build directory
There is a section "SECTION-ALLOCATION SECTION", where you can see the size of each section defined inside of the application.
At the end of this section you can see a summary of the amount of memory used for code and constants (READ_ONLY), or data and stack (READ_WRITE).
The .map file generated by HCS08 linker also provide information of total amount of code, constant and data in a section called "MODULE STATISTIC".
CrasyCat
i am using Coldfire V1 and i will be using also s08 mcus.
best regards,
florijan
Hello
I would recommend you to take a look at the map file generated after linking.
If you are building code for Coldfire V1, look at the file with extension .xMAP generated in your build directory.
You can see a section "# Memory map" in there which shows start address and size of each section inside of your application.
If you are building code for HCS08, look at the file with extension .map in your build directory
There is a section "SECTION-ALLOCATION SECTION", where you can see the size of each section defined inside of the application.
At the end of this section you can see a summary of the amount of memory used for code and constants (READ_ONLY), or data and stack (READ_WRITE).
The .map file generated by HCS08 linker also provide information of total amount of code, constant and data in a section called "MODULE STATISTIC".
CrasyCat
Hi,
Thank you CrasyCat. Now i can see all the info about the code size.
Best regards,
Florijan
Hello
Which MCU are you targeting (HC08, Coldfire, ...)?
CrasyCat