Daniel Rogers

RAM initalization

Discussion created by Daniel Rogers on Mar 18, 2008
Latest reply on Mar 19, 2008 by CompilerGuru
I have external RAM on my system. It is being automaticaly intialized when the system starts up. It is battery backed.

I whish it not to be altered. I are assuming there is a setting to stop this from happening. But where is it.

The memory is decleared as such

c file
#pragma DATA_SEG __GPAGE_SEG BATTERY_RAM
  volatile Prog_Layout   Program[MAX_PROGRAMS + 2];

prm file
      BATTERY_RAM       INTO  NO_INIT     0x200000'G TO 0x3FFFFF'G;   // CS1 BatteryRAM;

yet when the system is rebooted it has 64 in every byte.


anyone got any surgestions.


Outcomes