<?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>Secure bootloader doesn&amp;#39;t start</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45673/secure-bootloader-doesn-t-start</link><description>Hi all. I try to implement ble dfu bootloader project via getting start from SDK/examples/dfu/secure_bootloader/pca10056_ble_debug project. 
 Using: 
 OS: Linux 
 Compiler: armgcc (toolchain gcc-arm-none-eabi-7-2018-q2-update), eclipse 
 Softdevice: s140_nrf52_6</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2019 08:19:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45673/secure-bootloader-doesn-t-start" /><item><title>RE: Secure bootloader doesn't start</title><link>https://devzone.nordicsemi.com/thread/180195?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 08:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbce91bc-c096-41f7-9350-f9ddc88f20c2</guid><dc:creator>Anton K.</dc:creator><description>&lt;p&gt;Thank you for your explanation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader doesn't start</title><link>https://devzone.nordicsemi.com/thread/180182?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 07:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04112aa3-4ccc-46fa-b25b-541e937cd5cd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In SDK 15.3.0, we started to use the MBR section to hold the bootloader start address and MBR param page address. The background for this change was that it&amp;#39;s not possible to enable memory protection (BPROT/ACL) on the UICR section. Please see this answer from Sigurd for more details:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44872/bootloader-does-not-work-if-compiled-using-armgcc/176446#176446"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44872/bootloader-does-not-work-if-compiled-using-armgcc/176446#176446&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader doesn't start</title><link>https://devzone.nordicsemi.com/thread/179816?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 14:54:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ded873b6-caa4-4dbb-a7f2-1750dcf17265</guid><dc:creator>Anton K.</dc:creator><description>&lt;p&gt;Resolved.&amp;nbsp;nRF5_SDK_15.3.0_59ac345/examples/dfu/secure_bootloader/pca10056_ble/armgcc/secure_bootloader_gcc_nrf52.ld has bootloader start address and mbr params page addressed on Softdevice memory????&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uicr_bootloader_start_address (r) : ORIGIN = 0x00000FF8, LENGTH = 0x4

...

&amp;#160; uicr_mbr_params_page (r) : ORIGIN = 0x00000FFC, LENGTH = 0x4&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I change it like it was on oldest SDK (some project with bootloader I had) by this way, and got success:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*  uicr_bootloader_start_address (r) : ORIGIN = 0x00000FF8, LENGTH = 0x4 */
  uicr_bootloader_start_address (r) : ORIGIN = 0x10001014, LENGTH = 0x4
/*  uicr_mbr_params_page (r) : ORIGIN = 0x00000FFC, LENGTH = 0x4 */
  uicr_mbr_params_page (r) : ORIGIN = 0x10001018, LENGTH = 0x4&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure bootloader doesn't start</title><link>https://devzone.nordicsemi.com/thread/179788?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 13:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3e580ac-ef9f-4801-be0b-912444241e4b</guid><dc:creator>Anton K.</dc:creator><description>&lt;p&gt;Also can&amp;#39;t see any log information on RTT logger, he is enable, but where application after flashing I don&amp;#39;t know. Trying to hard debug, but at first time after start pc seems at 0xfffffffe addr. I use Eclipse, so about hard debugging is hard for me say something good.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>