<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RAM and OFF mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2131/ram-and-off-mode</link><description>hi,
i have kept RAM block 0 and RAM block 1 on in OFF mode by calling &amp;quot;sd_power_ramon_set(0xf000f)&amp;quot; before entering off mode ,i saw the value of RAMON register is 0x00030003 by simulating.but RAM will be clear after entering OFF mode,who can tell me</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Mar 2015 18:04:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2131/ram-and-off-mode" /><item><title>RE: RAM and OFF mode</title><link>https://devzone.nordicsemi.com/thread/9076?ContentTypeID=1</link><pubDate>Fri, 27 Mar 2015 18:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3de38c9f-895c-433c-89ee-42d9f2baa29f</guid><dc:creator>Anand Ramashetty</dc:creator><description>&lt;p&gt;what is the syntax in  GCC environment&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM and OFF mode</title><link>https://devzone.nordicsemi.com/thread/9075?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2014 09:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639d9371-7504-4425-9ba3-802300177960</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;When using the softdevice, the second ram-block is used for the application. Make sure that both RAM-blocks are being powered under systemoff using sd_power_ramon_set(). Please see the nRF51 reference manual for which bits you should set in the register.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM and OFF mode</title><link>https://devzone.nordicsemi.com/thread/9074?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2014 07:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2cc249a-212e-461f-936b-52e4b8811142</guid><dc:creator>larry</dc:creator><description>&lt;p&gt;thanks for your swift reply,
i used the routine you gived , under the condition of i did not use softdivce ,my varaible can be saved when waking up.but my variable will be clear when i use s110 v6.Why is this so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM and OFF mode</title><link>https://devzone.nordicsemi.com/thread/9073?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2014 10:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97aa0e74-16e2-459f-9081-63e795497f44</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you read using sd_power_ramon_get() to verify that it&amp;#39;s set properly?
Regarding clearing of RAM on wakeup:
The startup script will clear sections of RAM unless stated so in the attributes when declaring the variable. Syntax for keil is:
&lt;code&gt;static uint32_t myvar __attribute__( ( section( &amp;quot;NoInit&amp;quot;), zero_init) );&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/System-OFF_5F00_noinit.zip"&gt;System OFF_noinit.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>