Hi kef,
sorry for confusing you.
MICROCONTROLLER : MC9S12XEQ512VAGR
1 . if i want to store array say, i.e unsigned int ru_var[200] in to paged ram ( RAM_FA)
i did it in this way,
# pragma DATA_SEG _GPAGE_SEG RAM_ALLOC
static unsigned int ru_var[200]=0 ;
# pragma DATA_SEG DEFAULT
//..................REST OF THE VARIABLES.....
...
/**********************************************LINKER FILE *************************************************/
PLACEMENT
RAM_ALLOC
INTO RAM_FA ( RAM_FA is allocated by default in the linker file)
/*********************************** ************************************************************************/
whereever extern is used, i did like this
#pragma push
# pragma DATA_SEG _GPAGE_SEG RAM_ALLOC
variable.................
#pragma pop
/***************************************************************************************************************/
i didn't get any problem while compiling and linking.
While checking the map file ......Array is not allocated in the corresponding RAM page(RAM_FA).
Is there any problem in the way of implementation!!
please help me out kef!