How could I know how many Flash space my project take up?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How could I know how many Flash space my project take up?

Jump to solution
539 Views
zxhy
Contributor I

Hi all,

 

Now I'm useing the CodeWarrior 10.1 for microcontroller to write code for Kinetis K60 chip. I want to know after I build the project and downloded it to the target board how could I know how many Falsh or RAM space my project take up? From the ***.xMAP file of the project?  Or there are other better ways?

 

Thanks!

Labels (1)
0 Kudos
1 Solution
357 Views
CrasyCat
Specialist III

Hello

 

My guess is that

   - the size indicated for .app_text  is the total code size.

  - the size indicated  for .app_data + .bss+ .romp  is total data size.

 

.app_data section collects all initialized variables.

.bss section collects all un-initialized variables

 

CrasyCat

View solution in original post

0 Kudos
2 Replies
358 Views
CrasyCat
Specialist III

Hello

 

My guess is that

   - the size indicated for .app_text  is the total code size.

  - the size indicated  for .app_data + .bss+ .romp  is total data size.

 

.app_data section collects all initialized variables.

.bss section collects all un-initialized variables

 

CrasyCat

0 Kudos
357 Views
zxhy
Contributor I

Thank you very much!

0 Kudos