Find total flash memory occupied by Application code in s12

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

Find total flash memory occupied by Application code in s12

1,327件の閲覧回数
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,304件の閲覧回数
KKumar
Contributor II

Thanks Ladislav

0 件の賞賛
返信

1,322件の閲覧回数
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 件の賞賛
返信