<?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>DFU softdevice and app update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89125/dfu-softdevice-and-app-update</link><description>Hi. 
 I am trying to update my Softdevice using DFU. 
 If I update from S112 to S140, do I have to upload the application as an image built with S140 as well? 
 And do I need to update the bootloader as well depending on the Softdevice version?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jun 2022 13:01:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89125/dfu-softdevice-and-app-update" /><item><title>RE: DFU softdevice and app update</title><link>https://devzone.nordicsemi.com/thread/373251?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 13:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b795aa5d-c569-4722-8eea-c58758772b2c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The bootloader prevents updates to a SoftDevice of a different type. Moreover we do not test this. That said, it is possible to do a slight change in the bootloader to allow updates to different SoftDevice versions. For that you need to update the bootloader to allow it first, by modifying&amp;nbsp;softdevice_info_ok() in&amp;nbsp;components\libraries\bootloader\dfu\nrf_dfu_validation.c.&lt;/p&gt;
&lt;p&gt;You always need to update the BLE bootloader when you&amp;nbsp;update&amp;nbsp;the SoftDevice to a different type or different major version. Note that as the bootloader must be modified first you need to do the update in sequence:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Update to the modified bootloader version that support updating to a new SoftDevice type. This should be built for the old/existing SoftDevice.&lt;/li&gt;
&lt;li&gt;Update bootloader and SoftDevice (S140)&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>