Find total flash memory occupied by Application code in s12

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

Find total flash memory occupied by Application code in s12

1,332 次查看
KKumar
Contributor II

Hi NXP,

I have flashed with my Application code to S12.

How can I find the size of my application code.(means total flash memory occupied). ???

 

Thanks 

Kishore

0 项奖励
回复
2 回复数

1,309 次查看
KKumar
Contributor II

Thanks Ladislav

0 项奖励
回复

1,327 次查看
lama
NXP TechSupport
NXP TechSupport

 

Hi,

search for a *.map file in you project folder .

In this file you will find all info related to occupation of memory and at the bottom of the file you can find something like this:

 

STATISTIC SECTION

---------------------------------------------------------------------------------------------

ExeFile:

--------

Number of blocks to be downloaded: 5

Total size of all blocks to be downloaded: 366

 

In this case, the number 366 is total size of bytes to be loaded into the flash.

 

If you want to get proof you can look into S19 file and count data to be loaded (of course structure of S19 record is required)
For example S19 record in the picture - in the first column....(I have excluded S0 and S9 part because they are redundant for data counting)

lama_0-1641199555538.png

Best regards,

Ladislav

 

0 项奖励
回复