<?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>Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17329/unable-to-update-bootloader-using-dfu</link><description>Hello, 
 I am trying to update my bootloader using DFU and I am running into a few issues. I have successfully flashed and tested my current bootloader on my board and everything is working great. In an attempt to prove that I have bootloader updates</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Oct 2016 05:45:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17329/unable-to-update-bootloader-using-dfu" /><item><title>RE: Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/thread/66597?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2016 05:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62162433-545a-486b-ad2e-f64281a4d550</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :) I would appreciate if you could mark the answer as correct/accepted by clicking the checkmark in the circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/thread/66596?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 14:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94165271-904a-452a-a346-a53ebd2b68b0</guid><dc:creator>Cory Mast</dc:creator><description>&lt;p&gt;After removing the BANK_VALID_APP flag from the image I was attempting to DFU, I was able to successfully DFU the new image as a Distribution Packet. Thank you for your help Bjørn.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/thread/66595?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 12:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba49e350-03c3-45c5-bd9b-279ff78657cd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You should only set the &lt;code&gt;BANK_VALID_APP&lt;/code&gt; flag when you flash the bootloader with a programmer. You need to remove it when you create firmware images, otherwise you add the entire bootloader settings flash page to the image. The maximum bootloader image size is &lt;code&gt;BOOTLOADER_REGION_START&lt;/code&gt; - &lt;code&gt;BOOTLOADER_SETTINGS_ADDRESS&lt;/code&gt;, i.e. 0x3FC00 - 0x3C000 = 0x3C00.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/thread/66594?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 11:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13587b4d-d91a-4f39-b584-718470ad63d4</guid><dc:creator>Cory Mast</dc:creator><description>&lt;p&gt;Yes I have set the BANK_VALID_APP flag.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Update Bootloader Using DFU</title><link>https://devzone.nordicsemi.com/thread/66593?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2016 11:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fd4eb35-4c90-41cc-88a5-c0ed6af6bdfa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Have you set the &lt;code&gt;BANK_VALID_APP&lt;/code&gt; flag on the bootloader settings page in the bootloader project, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t  m_boot_settings[CODE_PAGE_SIZE]    __attribute__((at(BOOTLOADER_SETTINGS_ADDRESS))) __attribute__((used)) = {BANK_APP_VALID};
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>