<?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>bootloader ram usage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54368/bootloader-ram-usage</link><description>Hello, 
 in the current project we use a large array (16kB) in RAM to store data. After a reset we would like to check if the array is not corrupted to continue processing new data. 
 The problem is that we use a bootloader to make dfu updates, but we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Nov 2019 12:54:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54368/bootloader-ram-usage" /><item><title>RE: bootloader ram usage</title><link>https://devzone.nordicsemi.com/thread/220312?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 12:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49a59879-c2e0-42a9-82cb-78319218c176</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RAM buffer will get overwritten by the bootloader on startup if&amp;nbsp;the buffer overlaps with bootloader data, which is not unlikely if you&amp;#39;re letting the linker place automatically. The easiest solution to avoid is maybe to place the buffer at the end of RAM above your call stack. This must be done for both your bootloader and application project.&lt;/p&gt;
&lt;p&gt;Have you verified that the buffer is retained when you don&amp;#39;t have the bootloader present?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>