<?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>dfu\bootloader_secure  problem error at sd_mbr_command(&amp;amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39231/dfu-bootloader_secure-problem-error-at-sd_mbr_command-command-nrf_dfu_mbr_init_sd</link><description>Hi 
 Im using the DFU secure example (examples\dfu\bootloader_secure\pca10028) 
 Im working on a NRF51822-QFAA ,S130 SDK12.3 , Im not sure about my IROM/IRAM definitions, my settings below 
 I have an error at (nrf_dfu_mbr_init_sd()) sd_mbr_command(&amp;amp;command</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Oct 2018 10:40:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39231/dfu-bootloader_secure-problem-error-at-sd_mbr_command-command-nrf_dfu_mbr_init_sd" /><item><title>RE: dfu\bootloader_secure  problem error at sd_mbr_command(&amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/thread/153028?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 10:40:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb6cfbe7-b800-4358-8bb3-ba8f58e22325</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s for the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The application need to modified to match the smaller size (16kB) as well.&amp;nbsp;Basically the IRAM1 Start + IRAM1 Size =&amp;nbsp; 0x4000. THe IRAM1 Start address is varied, depends on the configuration of your application. You will have the suggested RAM requirement when you enable the softdevice, please check the log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The bond information I mentioned was about sharing the bonding key between application and bootloader, if you don&amp;#39;t need that (it&amp;#39;s not implemented in SDK v12) you can ignore it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu\bootloader_secure  problem error at sd_mbr_command(&amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/thread/152935?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 19:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a307c2d8-41c6-4353-968f-4b9dbcdcdccd</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;This is for the bootloader ?&lt;/p&gt;
&lt;p&gt;any input regarding the application ?&lt;/p&gt;
&lt;p&gt;what is the &amp;quot;bond information&amp;quot; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu\bootloader_secure  problem error at sd_mbr_command(&amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/thread/152055?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 12:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2902e365-7e90-4e39-aa4a-b3b1d4e3a78b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Eran,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume you want to modify the RAM setting to match with your 16MB RAM chip ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s the case, please set the RAM setting as:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;IRAM1 Start: 0x20002C00&lt;/p&gt;
&lt;p&gt;IRAM1 Size: 0x1380&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t need to set IRAM 2 if you don&amp;#39;t plan to pass bond information to the bootloader (which doesn&amp;#39;t support in SDK v12.3)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu\bootloader_secure  problem error at sd_mbr_command(&amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/thread/151903?ContentTypeID=1</link><pubDate>Sat, 06 Oct 2018 14:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1145750-1e7c-471a-972c-ce9c24cbd7f8</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;after fully erasing and than reprogramming softdevice, we do as &lt;strong&gt;sd_mbr_command&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;however fail at&amp;nbsp;&lt;strong&gt;softdevice_enable(&amp;amp;ble_enable_params);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;in the next run it fails at &lt;strong&gt;sd_mbr_command&amp;nbsp;&lt;/strong&gt;again ...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1538835491659v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dfu\bootloader_secure  problem error at sd_mbr_command(&amp;command); (nrf_dfu_mbr_init_sd())</title><link>https://devzone.nordicsemi.com/thread/151897?ContentTypeID=1</link><pubDate>Sat, 06 Oct 2018 11:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a96b0c-515a-42de-9d42-a148d67c5f06</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;Update :&lt;/p&gt;
&lt;p&gt;I have tried to change the IRAM1 size moving for NRF51422-QFAC (on NRF51 DK) to &lt;span&gt;NRF51822-&lt;/span&gt;QFAA (my HW) following your guiding here :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16388/project-code-move-nrf51422-to-nrf51822?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/16388/project-code-move-nrf51422-to-nrf51822?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;subtracting 4000 from 0x5380 to&amp;nbsp;0x1380&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img height="297" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1538826058164v1.png" width="411" alt=" " /&gt;&lt;img height="305" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1538826225525v2.png" width="412" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;but the problem persist, rev_val for sd_mbr_command is still 0x200033c0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;also tried setting&amp;nbsp; IRAM2 NoInit, with and without it (as I&amp;#39;ve seen in several threads), did help&lt;/p&gt;
&lt;p&gt;to be clear , Im using the same softdevice,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>