hsize and dsize in HCS12 map file

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

hsize and dsize in HCS12 map file

831 次查看
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 回复数

811 次查看
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 项奖励

818 次查看
kef2
Senior Contributor IV

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

0 项奖励