Hi NXP,
What is the meaning of hsize ,dsize and ref in map file of S12 Application Project.
Plz refer the attached image.
Hsize/dsize is a size of variable in hex or decimal.
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
Add following code to the application source code below. PORTE is used twice
Build the project, in map file, we will see PORTE is increased to "2"
Best regards,
Ladislav
dSize - decimal amount of bytes, hSize - the same in hex.