Hi,
My SRAM ranges from 20000000 to 2003E7FF (250Kbytes) in OMAP 5912 .I have some data stored in it by my application, so that it can be used by my application when it gets loaded after reset . But, When i reset my OMAP 5912 processor by configuring the ARM_RSTCT1 to 0x08,(Global reset ) i find that SRAM gets cleared.
But, 0x08 actually implies Reseting of DSP, MPU and Peripherals only .(No relation with SRAM contents ) .So, how could by SRAM get cleared ?
I find that in the Boot ROM code , MPU peripherals are enabled by configuring ARM_RSTCT2 to 0x0001.
In the bootloader code i have, ARM_RSTCT2 = 0x0001; //MPU peripherals are enabled here. ARM_RSTCT1 = 0x004; //Priority registers and EMIF can be programmed ARM_RSTCT1 = 0x006; //ReleaseDSPFromReset here.
I do not find anything that could cause the SRAM contents to be cleared either in Boot ROM, Bootloader or Application.
But, how does my SRAM contents get cleared ?
Kindly share your views/ideas regarding this .
Thx in advans, Karthik Balaguru