Jason Shi

About the __MBAR's question in MCF548x platform

Discussion created by Jason Shi on Feb 24, 2009
Latest reply on Nov 5, 2010 by Obimma Okafor

I make a project in codewarrior, there is a error report like below:

 Error : illegal 16-bit relocation for symbol __MBAR init_bsp.c line 64 }

the error code as follow: 

#define MCF_SYSTEM_PLL_CONTROL (*(volatile uint_32*)(void*)(&__MBAR[0x008A0C]))

void _bsp_pll_control_init(void)

{

     MCF_SYSTEM_PLL_CONTROL = 0x80004235;

}

Could you tell me what wrong in the code?

 

Thank you very much.

Outcomes