Find total flash memory occupied by Application code in s12

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

Find total flash memory occupied by Application code in s12

1,330 Views
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 Kudos
Reply
2 Replies

1,307 Views
KKumar
Contributor II

Thanks Ladislav

0 Kudos
Reply

1,325 Views
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 Kudos
Reply