<?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>SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64311/sdk-12-1-0-dfu-service-fails-to-perform-firmware-upgrade</link><description>I performed below mentioned steps: 
 
 Downloaded SDK 12.1.0 
 Soft Device s130_nrf51_2.0.1_softdevice.hex 
 Built secure boot-loader with new public key 
 Built project ble_app_hrs for pca10028 on Keil compiler with DFU service added. 
 Downloaded Soft</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Aug 2020 06:07:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64311/sdk-12-1-0-dfu-service-fails-to-perform-firmware-upgrade" /><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263335?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 06:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c11d5aec-321c-48d4-a306-0ce9316b1c76</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It was compiled with the original SDK 12.1.0 release with the only change that I added the write property to the control point.&amp;nbsp; You still get the same problem with my hex file, right? Seems like the difference must be with the phones we use then. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263269?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 14:12:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9048745d-5358-432b-bc5d-696fd9bfaeb2</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;In my case, boot-loader DFUTARG tab appears back on attempting to perform DFU operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263260?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 14:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0b9ec58-8c81-479f-9867-2229db07ff50</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;Although I assume that code is same that is available in the SDK folder, is it possible for you to share your code?&lt;/p&gt;
&lt;p&gt;I need to compare to spot any difference in the code we are working on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263236?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 13:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2a7b61a-422c-4088-82a3-d549e7c1e9f5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Here are some screenshots I took. Note that I went back to the NORDIC_TEMPLATE tab in order to see the transfer plot while the update was ongoing. The last one is when the phone has disconnected from the bootloader re-connected to the new updated application. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/Screenshot_5F00_20200805_2D00_150238_5B00_1_5D00_.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/Screenshot_5F00_20200805_2D00_150202_5B00_2_5D00_.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/Screenshot_5F00_20200805_2D00_150220_5B00_2_5D00_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263231?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 12:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85826b59-8530-44ed-a9b1-3234c9f9513c</guid><dc:creator>RahulR</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Erased all flash&lt;/li&gt;
&lt;li&gt;Downloaded &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/sd_5F00_bl_5F00_app_5F00_settings.hex"&gt;sd_bl_app_settings.hex&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Initiated DFU with &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/buttonless_5F00_app.zip"&gt;buttonless_app.zip&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Same issue observed with files you shared&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200805_2D00_181336.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20200805_2D00_181343.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-_2800_5-Aug-2020-17-46-25_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;What is behavior in your case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/263200?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 11:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d52fa32-f8d4-4813-a448-c79ce72c995b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I used the same nRF connect version on a Pixel 2 phone, but I didn&amp;#39;t experience any problems. The phone automatically re-connected with the new app after completing the DFU. Could you try testing this again with the files attached below?&lt;/p&gt;
&lt;p&gt;Merged Softdevice, bootloader, template app from SDK 12.1.0:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/sd_5F00_bl_5F00_app_5F00_settings.hex"&gt;devzone.nordicsemi.com/.../sd_5F00_bl_5F00_app_5F00_settings.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;DFU package for test:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-04870354ddf5413faf76775975b7cd7d/buttonless_5F00_app.zip"&gt;devzone.nordicsemi.com/.../buttonless_5F00_app.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262772?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2020 12:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b97b4910-4a83-46ed-9786-ff0e79db7e33</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;Yes, I am still facing same issue. I have to forcefully close nrfConnect App to initiate firmware upgrade.&lt;/p&gt;
&lt;p&gt;I am using nrfConnect App : Version 4.24.2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262768?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2020 11:45:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d454df6a-e61f-46a1-960a-c6ba6fbe7b8a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, I don&amp;#39;t think so, I only had one response. I have not experienced the issue you described. Are you still seeing the same? Also, which version of nRF connect are you using in case I need to reproduce it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262379?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 11:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe108640-356c-468c-9e19-81e50be1da65</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Did your last response got deleted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262358?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 10:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d3236c-9f66-4ae6-aeb3-a0c22410a093</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;I built &lt;span&gt;&lt;a title="Experimental: Buttonless DFU Template Application" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/ble_sdk_app_buttonless_dfu.html?cp=7_5_11_4_3_2"&gt;Buttonless DFU Template Application&lt;/a&gt;&lt;/span&gt; with the change as you suggested&lt;/p&gt;
&lt;p&gt;&lt;em&gt;char_md.char_props.write = 1;&lt;/em&gt; inside &lt;em&gt;rx_char_add()&lt;/em&gt; API (Please correct me if wrong)&lt;/p&gt;
&lt;p&gt;Below is the behavior observed:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Application is broadcasting &amp;quot;Nordic_Template&amp;quot;&lt;/li&gt;
&lt;li&gt;On initiating DFU, application starts boot-loader.&lt;/li&gt;
&lt;li&gt;Connection is established with boot-loader&lt;/li&gt;
&lt;li&gt;Boot-loader is broadcasting &amp;quot;DFUTARG&amp;quot;&lt;/li&gt;
&lt;li&gt;On initiating DFU, App keeps messaging &amp;quot;Initializing...&amp;quot;&lt;/li&gt;
&lt;li&gt;Firmware upgrade does not happen&lt;/li&gt;
&lt;li&gt;In the background nrfConnect is still connecting with &amp;quot;Nordic_template&amp;quot;&lt;/li&gt;
&lt;li&gt;I restarted nrfConnect App.&lt;/li&gt;
&lt;li&gt;After that I was able to upgrade Application successfully.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;How do I fix this issue?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rahul&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262325?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 08:31:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b63a4083-4716-48f5-9cfe-07e5a7293bfd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Did you try with the &lt;span&gt;&lt;a title="Experimental: Buttonless DFU Template Application" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/ble_sdk_app_buttonless_dfu.html?cp=7_5_11_4_3_2"&gt;Buttonless DFU Template Application&lt;/a&gt;&lt;/span&gt; first before you started with the heart rate example? Note that it&amp;#39;s not sufficient to just add the BLE DFU service, you also need to include nrf_dfu_flash_buttonless.c and nrf_dfu_settings.c as in the template example.&lt;/p&gt;
&lt;p&gt;Also, the DFU control point characteristic lacks the required write permission as noted in the SDK 12.3.0 release notes:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;To switch to DFU mode, you must write to the DFU control point. &lt;br /&gt;However, this characteristic is set as read only. Add the following&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;code line to enable the write property: char_md.char_props.write = 1;&lt;br /&gt;For details, see &lt;a href="https://devzone.nordicsemi.com/question/93414/sdk12-ble_app_buttonless_dfu/#95079"&gt;https://devzone.nordicsemi.com/question/93414/sdk12-ble_app_buttonless_dfu/#95079&lt;/a&gt;&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 12.1.0 DFU service fails to perform firmware upgrade</title><link>https://devzone.nordicsemi.com/thread/262288?ContentTypeID=1</link><pubDate>Thu, 30 Jul 2020 06:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07cf6506-8dfc-4c58-8400-e0c5342db53a</guid><dc:creator>RahulR</dc:creator><description>&lt;p&gt;One think I observed is at the time addition of DFU service, I did not see event handler defined for DFU.&lt;/p&gt;
&lt;p&gt;Is it available or do I have write it on my own?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>