hsize and dsize in HCS12 map file

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

hsize and dsize in HCS12 map file

1,426件の閲覧回数
KKumar
Contributor II

Hi NXP,

 

What is the meaning of hsize ,dsize and ref in map file of S12 Application Project.

Plz refer the attached image.

image.png

 

0 件の賞賛
返信
2 返答(返信)

1,406件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hsize/dsize is a size of variable in hex or decimal.


 

lama_4-1644994182577.png

 

Variable arr_ub is array of size 10 bytes (0x0A bytes) and placed at global address 0x400000 in the MY_EXSRAM0_CSO memory space defined in the prm file.

 

“Ref” is the number that the procedure or variable referenced ( called or used ) in application code. For example:

Create a new xep100 project, in map file, I see Ref for PORTE is 0. this means, PORTE is not used in the application

lama_5-1644994182584.jpeg

 

Add following code to the application source code below. PORTE is used twice

lama_6-1644994182589.jpeg

 

Build the project, in map file, we will see PORTE is increased to "2"

lama_7-1644994182596.jpeg

Best regards,

Ladislav

 

 

0 件の賞賛
返信

1,413件の閲覧回数
kef2
Senior Contributor V

dSize - decimal amount of bytes, hSize - the same in hex.

0 件の賞賛
返信