AnsweredAssumed Answered

How to do on MC9S08AW60 constant union in Flash

Question asked by Jorge Miguel Dhios on May 20, 2009
Latest reply on Jun 15, 2009 by Jorge Miguel Dhios

Hello all, I am currently working with MC9SO8AW60...My question is, how to do a union constant in flash. I try this


#define PAGE_MCU 512

union params{
   unsigned char buffer_flash[PAGE_MCU];
   char SetC1;
   char SetC2;

union params RomData @0x0900 = {

  SetC1 = 20;   // This value get error


How to inicializa the params in the fix union



Jorge Miguel Dhios