<?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>Bootloader update bricked device due to different start addresses - How to prevent?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35164/bootloader-update-bricked-device-due-to-different-start-addresses---how-to-prevent</link><description>Hello, 
 Today I had a case where I tried to perform a bootloader-only DFU on a device with a debug version of the bootloader, but instead of trying to replace it with another debug version, I tried to replace it with a release version. I was not aware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jun 2018 13:49:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35164/bootloader-update-bricked-device-due-to-different-start-addresses---how-to-prevent" /><item><title>RE: Bootloader update bricked device due to different start addresses - How to prevent?</title><link>https://devzone.nordicsemi.com/thread/135381?ContentTypeID=1</link><pubDate>Fri, 08 Jun 2018 13:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96beda02-0541-481f-8fcf-9a59c2103a66</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Thanks for your answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader update bricked device due to different start addresses - How to prevent?</title><link>https://devzone.nordicsemi.com/thread/135141?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 11:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbb1cdcb-8d8b-464e-8829-b56fb2081e11</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootloader is always copied so that it starts at the address given in UICR.NRFFW[0]. The problem is if the bootloader (release variant in this case) has linker settings that specifies a different start address. To avoid this, make sure that you set the same start address for both the debug and release version.&lt;/p&gt;
&lt;p&gt;The bootloader does not have any mechanism to prevent this from occurring. It would not be straight forward, and it has not been seen as a practical issue. The reason for this is that the image must be signed in any case, so the only risk of bricking devices in the field is if you ship &lt;em&gt;untested &lt;/em&gt;signed upgrade images. In this case, there are also a number of other ways to brick the device that has nothing to do with the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>