<?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>SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully</link><description>SDK: 7.0.2 
 CHIP: nRF52840 
 
 I&amp;#39;m faced with strange dfu behavior. 
 The dfu SD+BL+APP (softdevice 6.1.1 -&amp;gt; 7.2.0) is working fine which was flashed by j-link. 
 However, Same package dfu which was flashed by I-DAP is always updated only SD+APP without</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jan 2022 14:11:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully" /><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348538?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 14:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8391ac8b-03be-459a-a568-69b4fb23fb37</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="_maibi"]something special for this is that I customized init packet added some parameters (models, etc..).[/quote]
&lt;p&gt;That is very relevant. Which exact changes did you do?&lt;/p&gt;
[quote user="_maibi"]I&amp;#39;ll reply it when I get back to work tomorrow.[/quote]
&lt;p&gt;Please do. And again, include all details of all steps. Without it, I have no way of understanding what could be happening.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348534?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 13:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0be619c8-3f62-4ee8-a2a2-3e0f91d2152e</guid><dc:creator>_maibi</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully/348512#348512"]How you build both bootloader variants[/quote]
&lt;p&gt;The old one build 15.X.X SDK and I updated my library to 17.0.2 SDK and then, build it.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully/348512#348512"]how you generate the DFU images[/quote]
&lt;p&gt;The generation of package is easy to me. I have deployed many times of application only packages. but, sd+bl+app full package is first time.&amp;nbsp;That being said, It isn&amp;#39;t hard to me.&lt;/p&gt;
&lt;p&gt;something special for this is that I customized init packet added some parameters (models, etc..).&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully/348512#348512"]how you flash, and how you do the DFU?[/quote]
&lt;p&gt;In factory for production, Our company have used I-DAP tool and S/W supplied by I-DAP syst.&lt;/p&gt;
&lt;p&gt;In development, I have used nrf-connect programmer. I have wrote and read flash dump using it.&lt;/p&gt;
&lt;p&gt;And, I have used i-phone to dfu.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully/348512#348512"]Include all logs, also from the DFU master.[/quote]
&lt;p&gt;I&amp;#39;ll reply it when I get back to work tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348512?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 13:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a631e601-96ca-4b5d-a3df-818f9cc7aee9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I see. The problem is that I am not able to understand how this happens from only a high level description of what you are doing. Please explain every step in full detail? How you build both bootloader variants, how you generate the DFU images, how you flash, and how you do the DFU? Please copy past all commands you make, and the resulting output. Include all logs, also from the DFU master.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348486?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 12:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2972e644-e3da-4395-89c4-91cdfa87e81a</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Sorry for my poor english skills.&lt;/p&gt;
&lt;p&gt;1. start dfu SD+BL+APP through ble.&lt;/p&gt;
&lt;p&gt;-&amp;gt; result: The dfu progress looks fine. (no error) but, only bootloader wasn&amp;#39;t updated.&lt;/p&gt;
&lt;p&gt;-&amp;gt; prove: I changed advertisement name in new bootloader. and I erase application area in flash. so, the device run in bootloader. but the advertisement name is still old.&amp;nbsp; i double checked by comparing old bootloader and updated bootloader device flash data.&lt;/p&gt;
&lt;p&gt;2. after 1, start dfu BL only through ble.&lt;/p&gt;
&lt;p&gt;-&amp;gt; result: nothing change. no errors. but doesn&amp;#39;t updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348418?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 07:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22cfbcf6-ac2d-4ce2-97b7-31c43e0b6ac0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I am having problems understanding exactly what you have done. Can you explain in detail, step by step? Also indicate what you see as a result for each step (for instance, if the DFU master indicates that the bootloader update was successful or not, as it really should be updated if you did not see an error).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348396?ContentTypeID=1</link><pubDate>Wed, 19 Jan 2022 01:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fd29aea-d828-4d5a-a7aa-fae97212ddaa</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;I have updated a package (bootloader only) with increased bootloader version.&lt;/p&gt;
&lt;p&gt;It looks fine. but still not working. I deleted application sector and forcedly go to bootloader. I check advertisement name. but still old version name.&lt;/p&gt;
&lt;p&gt;I double checked flash dump to read back flash by nrf-connect programmer. and compare old bootloader hex file. It isn&amp;#39;t updated.&lt;/p&gt;
&lt;p&gt;What I start for handling this issue?&lt;/p&gt;
&lt;div style="left:121px;position:absolute;top:-20px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348261?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 11:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa0b2e51-31ce-4da6-a947-d762306a6201</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi, Einar Thorsrud.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/83767/sd-bl-app-dfu-only-update-sd-app-successfully/348222#348222"]If you update to a new SoftDevice version, a bootloader update is also enforced. This is don so in order to avoid bricking devices in the filed. Specifically, if you upgrade to SoftDevice which is not compatible with the old bootloader, this would render the device non-upgradable in the future, and is why this is prevented.[/quote]
&lt;p&gt;Yeah, I know this. so, It is blocked to generate sd+app dfu package.&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m not asking for it, it&amp;#39;s happening right now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is very strange behavior. I came up with an idea that the device which is failed to update sd+bl+app will be updated for only bootloader dfu package.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try it tomorrow and let you know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD+BL+APP dfu only update SD+APP successfully</title><link>https://devzone.nordicsemi.com/thread/348222?ContentTypeID=1</link><pubDate>Tue, 18 Jan 2022 09:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceb659bd-1699-4444-9899-0ee084d13dba</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SoftDevice updates without a simultaneous bootloader update is only supported if the SoftDevice has the same major version. If you update to a new SoftDevice version, a bootloader update is also enforced. This is don so in order to avoid bricking devices in the filed. Specifically, if you upgrade to SoftDevice which is not compatible with the old bootloader, this would render the device non-upgradable in the future, and is why this is prevented. This check is done by the bootloader,&amp;nbsp;so you will not see this when programming with a debugger. I suspect you will see issues if you try to do a update via DFU again afterwards though, as you have an incompatible bootloader and SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>