<?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>Flash Data Storage &amp;amp; Bootloader Settings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60134/flash-data-storage-bootloader-settings</link><description>Hi, 
 I have a custom application running on a custom PCBA using the nRF52840 MCU. The Softdevice (S140, v7.0.1) is also utilised because the main application supports BLE functionality. 
 The main application together with the Softdevice is running correctly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Apr 2020 10:39:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60134/flash-data-storage-bootloader-settings" /><item><title>RE: Flash Data Storage &amp; Bootloader Settings</title><link>https://devzone.nordicsemi.com/thread/244937?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 10:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:934f720e-15b3-4fed-8359-3f33d050c574</guid><dc:creator>Chibi</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Apologies for the late reply but I got distracted with other work. When I get a bit of spare time, I&amp;#39;ll try your suggestion to check the end_addr location when the application startup fails and get back to you with my findings.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash Data Storage &amp; Bootloader Settings</title><link>https://devzone.nordicsemi.com/thread/244481?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 14:02:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da01dbd3-d208-4a24-bec6-619c96904e51</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you erase the flash before you flashed the bootloader and application?&lt;/p&gt;
&lt;p&gt;Ideally, if you start with a blank flash, and flash the BL, APP and the SD, then the fds module should check whether or not there is a bootloader present:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;fds_init() -&amp;gt; flash_subsystem_init() -&amp;gt; flash_bounds_set() -&amp;gt; flash_end_addr():&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t end_addr = (bootloader_addr != 0xFFFFFFFF) ? bootloader_addr : (code_sz * page_sz);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When it fails, what is end_addr? Is it moved down according to the bootloader address?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>