cancel
Showing results for 
Search instead for 
Did you mean: 

In standby mode, content in RAM is lost ?

daweiy
Associate II
Posted on December 01, 2005 at 10:01

In standby mode, content in RAM is lost ?

1 REPLY 1
daweiy
Associate II
Posted on November 28, 2005 at 21:01

Hello everyone,

I use ST-STR710-EVAL board and realview ICE.

When system into standby mode, V18 is switched off, so the content in RAM is lost(you can find the words from reference manual v6). But when I use JTAG load image into RAM and run it, system enters standby mode, LD20 and LD21 are changed to orange. After I put switchs 15, 14, 13 into ''boot from RAM'' mode, and press reset or wakeup button, system boots from RAM successful because I use LEDs to flash to indicate code running from RAM, even I power off ICE after code loaded into RAM.

If board can boot from RAM wakeuped from standby mode, it means V18 is not switch off in ST-STR710-EVAL board or something else? Thanks for advise.

Code is simple:

for(j = 0; j < 20; j++)

{

GPIO_WordWrite(GPIO0, ~GPIO_WordRead(GPIO0));

for(i = 0; i < 0xfffff; i++);

}

GPIO_WordWrite (GPIO0, 0xffff);

for(j = 0; j < 200; j++)

for(i = 0; i < 0xffff; i++);

GPIO_WordWrite (GPIO0, 0x0);

PCU_EnterLPM(PCU_STANDBY);