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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
681件の閲覧回数
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!

ラベル(1)
0 件の賞賛
返信
1 解決策
499件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
500件の閲覧回数
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 件の賞賛
返信
499件の閲覧回数
zxhy
Contributor I

Thank you very much!

0 件の賞賛
返信