Hi Rahul,
I don't understand what is the .hex, local memory and .s19 files.
The map file generated should contains all info including Xgate code and data.
Is there a way to generate the info for S12 or Xgate only ?
The map file is generated by the linker according to the project.
It contains all project information for S12 and Xgate cores.
By default there is a specific section for Shared Date (SHARED_DATA) which can be used by S12 and Xgate.
I've created an example containing 4 variables:
SECTION: "SHARED_DATA"
val_1 val_2 val_3 displayValue
| MODULE: | -- XGglobals.cxgate.o -- |
- PROCEDURES:
- VARIABLES:
| val_1 | 2000 | 2 | 2 | 1 SHARED_DATA |
| val_2 | 2002 | 2 | 2 | 3 SHARED_DATA |
| MODULE: | -- CPU12Globals.c.o -- |
- PROCEDURES:
- VARIABLES:
| val_3 | 2004 | 2 | 2 | 2 SHARED_DATA |
| displayValue | 2006 | 1 | 1 | 3 SHARED_DATA |
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------