hi,Jive!Thankyou very much for your replay.
I use the mcu "mc9s12xep100" in my project.And recently I have a problem.
I think the problem is caused by lack of kowledge about memory control map in the
chip. So l need help very much.
I found the value of variable table was abnormal when I use a porter to access it
this variable is stored in paged ram.
"_conv_global_to near" is a routing is datapage.c file which is generate by code warrior 5.1.But i can not understand :.when and why it would be used.
the follow is code:
//demo.c file
#pragmapush#pragmaDATA_SEG__GPAGE_SEGPAGED_RAM
DCC_COM_CTRL_Tg_dcc_com_t[20] = ;
#pragmapop
//routine
voidapp_dcc_com_send(void)
{
DCC_COM_CTRL_T* __farp_com_ctrl_t;
p_com_ctrl_t = g_dcc_com_t; // prolem is the pointer p_com_ctrl_t can not get the right value.
}
And look the two picture please
why is RAM FC 748 why not PAGED_RAM?
Thank you very much!
Best wishes