<?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>Watchdog RAM Retention</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81146/watchdog-ram-retention</link><description>Hi! I&amp;#39;m trying to save some variables after a watchdog reset for debug why my application hangs up. 
 I add a ram section on flash_placement.xml ( &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.ram_persist&amp;quot; address_symbol=&amp;quot;__start_ram_persist</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Oct 2021 18:07:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81146/watchdog-ram-retention" /><item><title>RE: Watchdog RAM Retention</title><link>https://devzone.nordicsemi.com/thread/336556?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 18:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4650c915-8ada-4059-8f13-4e467e66f815</guid><dc:creator>Franco Fischer</dc:creator><description>&lt;p&gt;Thanks! I found my error, i have .ram_persist on both flash_placement.xml, but the RAM_START of the bootloader &lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;differs, so the .ram_persist section is located in diferent position.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;I change the RAM_START of the bootloader to match the value in the application and works perfectly.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Thanks a lot for the quick response!!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog RAM Retention</title><link>https://devzone.nordicsemi.com/thread/336549?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 15:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af47d7a5-5fb4-4851-86f3-2603f51b9606</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Would that place your .ram_persist section to a different address in the bootloader? Because that would not work either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog RAM Retention</title><link>https://devzone.nordicsemi.com/thread/336279?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 15:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9afa1a6f-8d64-4ed2-aa93-459f7d35d45a</guid><dc:creator>Franco Fischer</dc:creator><description>&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Do you mean i have to add &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.ram_persist&amp;quot; address_symbol=&amp;quot;__start_ram_persist&amp;quot; end_symbol=&amp;quot;__stop_ram_persist&amp;quot; size=&amp;quot;8&amp;quot; /&amp;gt; in the flash_placement.xml of the bootloader also?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog RAM Retention</title><link>https://devzone.nordicsemi.com/thread/336248?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 14:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63644e21-4683-49c7-ae5f-422f6b3c94d1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The bootloader may simply overwrite your RAM locations, IIRC it initalizes RAM.&lt;/p&gt;
&lt;p&gt;You may need to modify the bootloader, at least in the linker script/settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>