AnsweredAssumed Answered

NO_INIT does not work

Question asked by KO on Mar 2, 2010
Latest reply on Mar 3, 2010 by CrasyCat

I using HCS12 microcontroler. I declared a variable in RAM with NO_INIT qualifiers. But it seems like on some units, the variable is initialized have POR. Does someone have an idea why?

 

//.prm

  RAM_NO_INIT =  NO_INIT              0x0000400F TO 0x0000400F;

_RAM_NO_INIT                     INTO RAM_NO_INIT;

 

//main

 

#pragma DATA_SEG _RAM_NO_INIT

static byte FirmwareUsbRequestFlag;

#pragma DATA_SEG DEFAULT

Outcomes