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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
706 次查看
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 解答
524 次查看
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 回复数
525 次查看
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 项奖励
回复
524 次查看
zxhy
Contributor I

Thank you very much!

0 项奖励
回复