<?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>SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader</link><description>I built the secure bootloader UART project without changing anything and I cannot program it using nRFgo Studio. It says: 
 This hex file has data in SoftDevice region. Try programming using &amp;quot;Program SoftDevice&amp;quot;, or erase all before programming. 
 The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 08:30:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44768/sdk-15-3-cannot-program-default-bootloader" /><item><title>RE: SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/thread/181484?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 08:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3af60e2-fb6f-4fb8-bb38-55ee648cb23e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tom,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s started from S132 v6.1.1 same with&amp;nbsp; S140 v6.1.1 . The change happens between MBR v2.2 and v2.4.x. You can check the release note of the softdevice to find the version of the MBR.&lt;/p&gt;
&lt;p&gt;However, the MBR v2.4.x is backward compatible with earlier version, meaning if it couldn&amp;#39;t find the bootloader address in flash, it will check the bootloader address in UICR.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/thread/181430?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 00:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d1cf808-80a1-469a-8d88-1106de0b0ca2</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Which SD versions have this new MBR which uses&amp;nbsp;&lt;span&gt;MBR_BOOTLOADER_ADDR&amp;nbsp; instead of&amp;nbsp;NRF_UICR_BOOTLOADER_START_ADDRESS?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/thread/177444?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 17:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:736515e5-663a-4293-98e1-20a349b72637</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just want to give some more context about this issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In&amp;nbsp;SDK v15.3 we changed the bootloader start address register (NRF_UICR_BOOTLOADER_START_ADDRESS) from&amp;nbsp;NRF_UICR_BASE + 0x14 in the UICR to&amp;nbsp;MBR_BOOTLOADER_ADDR (at&amp;nbsp;0xFF8) in the MBR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So to write the start address of the bootloader, you need to write into the MBR (This is to help improving security for the bootloader)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This causes the issue that you experienced. nrfjprog will have trouble writing to the MBR/Softdevice area. And if you use --sectorerase with nrjfprog it will erase the MBR make the chip firmware stops working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The workaround is to do an erase all, write the MBR/Softdevice and then flash the bootloader without sector erase.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to do an erase all every time you write the bootloader, you can comment out what inside nrf_bootloader_info.c on the second time you write the bootloader so that the programmer would not write to the MBR.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Or you can merge the MBR/softdevice to your application and then flash with sectorerase.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/thread/176049?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 20:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b6027d7-a215-4a8b-8cc6-d39a8cc8b231</guid><dc:creator>Jefferson</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp; I can program using nRFConnect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 15.3 cannot program default bootloader</title><link>https://devzone.nordicsemi.com/thread/175987?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 14:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c6b906-a8bd-419f-a585-7cabc54c4037</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nRFgo studio is deprecated. Please use &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Connect-for-Desktop#Downloads"&gt;nRFConnect for desktop&lt;/a&gt; instead. See also &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38775/a-new-firmware-version-is-available-for-the-connected-emulator-in-nrfgo-studio/149798#149798"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>