<?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>nrf52840 bootloader test</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56603/nrf52840-bootloader-test</link><description>Hi, 
 I am trying to use bootloader and following https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader 
 In Step D1, For bootloader binary, I built examples\dfu\secure_bootloader\pca10056_ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2020 15:50:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56603/nrf52840-bootloader-test" /><item><title>RE: nrf52840 bootloader test</title><link>https://devzone.nordicsemi.com/thread/229459?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 15:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e450ab5-8dbd-4bfd-899e-4fbce10fefc1</guid><dc:creator>eleven-x_devteam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using SDK15.3, I verified&amp;nbsp;&lt;span&gt;DfuTarg&amp;nbsp;can be connected after flashing without sector erase option.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 bootloader test</title><link>https://devzone.nordicsemi.com/thread/229395?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 12:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735aee0f-6403-4b5a-9f63-fce3df60222f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? I ask because SDK 15.3 puts the bootloader start address in the end of the MBR page. And if you first program the SoftDevice (which includes the MBR), and then program the bootloader with the &amp;quot;--sectorerase&amp;quot; option, this will then effectively delete the MBR. And without the MBR, the device will not execute any code. To avoid this problem you should make sure to &lt;em&gt;not&lt;/em&gt; program the bootloader with sectorerase after programming the SoftDevice, and vise versa (which would delete the bootloader start address instead). The workaround is to first do a full chip erase (nrfjprog -e), and then program both the SoftDevice and bootloader without the&amp;nbsp;&amp;quot;--sectorerase&amp;quot; option.&lt;/p&gt;
&lt;p&gt;If you use another SDK version, we need to look in a different direction.&lt;/p&gt;
[quote user=""]What can I do for debugging this? And Can I see debug logs of boot loader&amp;nbsp;through uart?[/quote]
&lt;p&gt;The best way to debug bootloader issues is to use a debug bootloader with RTT logging enabled. All bootloader examples come in two variants, with and without logging. The one with logging is suffixed with &amp;quot;_debug&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>