<?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>Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35550/updating-an-nrf52-application-over-the-air-with-ota-dfu</link><description>Hello, 
 I&amp;#39;m using IAR 8.22.1, SDK 15.0.0, S132, nRF Connect V4.19.2. 
 I&amp;#39;ve loaded the &amp;#39;secure_bootloader&amp;#39; example to PCA10040 EVB. 
 The device is recognized as DFUTARG and is connected to the smartphone. 
 I&amp;#39;ve copied image &amp;#39;hrs_application_s132.zip</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jun 2018 07:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35550/updating-an-nrf52-application-over-the-air-with-ota-dfu" /><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/138020?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 07:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33f95a1f-d3a7-4e5e-b2b1-cd31c5e44b1e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;If you are using softdevice v6, most likely the issue is that you are using the wrong --sd-req code.&amp;nbsp;The blog shows you two ways how to check that you are using the correct --sd-req code: either use the command:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --help&lt;/p&gt;
&lt;p&gt;or if the softdevice is not found there, program the softdevice &amp;amp; use the programmer app in nrf connect. You can find the correct softdevice ID there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137723?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 15:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72cdac3-c938-416e-bc31-fde8c68453dd</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Thanks a lot for your reply.&lt;/p&gt;
&lt;p&gt;1. I&amp;#39;ve followed the blog post step by step.&lt;/p&gt;
&lt;p&gt;2.The ble_app_hrs project runs properly.&lt;/p&gt;
&lt;p&gt;3. I haven&amp;#39;t been seeing process of DFU showing percentage.&lt;/p&gt;
&lt;p&gt;4. I&amp;#39;ve used the same&amp;nbsp;--sd-req 0x98 as in the blog post and not 0x00a8!!!&lt;/p&gt;
&lt;p&gt;5. I need to check if I have a&amp;nbsp;logging information.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My DK was burned out, so I&amp;#39;m waiting for new board.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Ran&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#007000;font-family:Helvetica;"&gt;&lt;/span&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137632?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 09:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4f32baa-ece9-4227-94f7-3d35e48ca8a7</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Did you follow the blog post&lt;/a&gt; I linked to step by step? Did you test the ble_app_hrs project by erasing the dev kit, only flashing the softdevice &amp;amp; the application to the dev kit first &amp;amp; see if that works?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From what you are explaining, it seems that the DFU failed to complete since the device is advertising as &amp;quot;DFuTarg&amp;quot; instead of &amp;quot;Nordic_HRM&amp;quot;. This is most likely why the device goes back into bootloader mode instead of advertising &amp;quot;Nordic_HRM&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any logging information that you could upload? Does the DFU complete to 100% in nrf connect?&lt;/p&gt;
&lt;p&gt;Which --sd-req code are you using for the softdevice when you create the zip package using nrfutil in Step C2 of the blog post? If you are using s132 v6 softdevice, it should be 0x00a8. You can also use the command: nrfutil pkg generate --help&lt;/p&gt;
&lt;p&gt;or load the softdevice to your dev kit &amp;amp; check the softdevice code using nrf go studio or nrf programmer app in nrf connect for pc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137318?ContentTypeID=1</link><pubDate>Sun, 24 Jun 2018 07:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c35295d-bc9b-42c0-8e70-eb972104fd41</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello Bjorn,&lt;/p&gt;
&lt;p&gt;I was trying to insert a video with no success (MP4 ~100MB). If you can give me an E-mail address to send the video it will be great.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested with Galaxy S8, Model:SM-G950F, Android version 8.0.0.&lt;/p&gt;
&lt;p&gt;After selecting the ZIP file of ble_app_hrs project, the following messages were populated:&lt;/p&gt;
&lt;p&gt;1. Starting DFU.&lt;/p&gt;
&lt;p&gt;2. Starting bootloading.&lt;/p&gt;
&lt;p&gt;3. Connecting&lt;/p&gt;
&lt;p&gt;When it stopped, I disconnected from device, and pressed SCAN.&lt;/p&gt;
&lt;p&gt;I thought I should recognize the device as HRS service but the device was recognized as DfuTarg.&lt;/p&gt;
&lt;p&gt;Do I have a misunderstanding with the DFU process or something is not working properly here?&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137228?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 10:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86195393-8296-424b-a500-ecba8afc28c2</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;As I mentioned previously, do you have another phone to test the DFU with? That way, we can check to make sure you have done all of the steps correctly. If the DFU works with the other phone, then we know that you have done all of the dfu steps correctly &amp;amp; that there could be an issue with your phone. Then, we can continue looking at the issue then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137122?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 13:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63dfd9fe-cb65-40c1-8dc8-f11f6a5cd991</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;hello Bjorn,&lt;/p&gt;
&lt;p&gt;I had a mistake, my phone is Xiaomi, Redmi Note 4,&amp;nbsp;Android 7.0 NRD90M, MIUI version: MIUI Global 9.2 (9.2.1.0 NCFMIEK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/137093?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 12:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:795f391d-8a90-4a4e-8c4b-3ea4a75000ba</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Is the Huawei a P9 or a P9 lite? We have noticed some issues regarding these phones, so do you by any chance have another phone to test the DFU with? That way, we can check if a small mistake was made when you followed the blog post or whether it is the phone that is causing the issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/136911?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 12:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e0512b0-575b-440a-9841-d12d229ab2f5</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello Bjorn,&lt;/p&gt;
&lt;p&gt;The post is great, I&amp;#39;ve done all steps successfully - up to step D3.&lt;/p&gt;
&lt;p&gt;In step D3 I got the same results as reported above:&lt;/p&gt;
&lt;p&gt;With nRF Connect when selecting the ZIP file - nothing happens.&lt;/p&gt;
&lt;p&gt;With nRF Toolbox when pressing &amp;#39;Select device&amp;#39; and &amp;#39;SCAN&amp;#39; - returns error &amp;quot;Permission denied&amp;quot;.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s wrong?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Snapshots of nRF Toolbox:&lt;/p&gt;
&lt;p&gt;1. The device is recognized correctly:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529498746507v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. The ZIP file selected correctly:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529499185047v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. Can&amp;#39;t select device nor SCAN- &amp;quot;Permission denied&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529499091941v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT: BTW, the nRF Toolbox version is 2.6.0 and in DFU\About I found this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529565692813v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does it not supporting nRF52832 and S132?!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/136884?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 11:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af1c5035-4475-46f3-bb00-4afed5b0d936</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Thank a lot for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll follow the blog post.&lt;/p&gt;
&lt;p&gt;My phone is HUAWEI, Android 7.0 NRD90M.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/136882?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 11:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:479a6957-892e-4f68-b667-f01a194b910d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Have you&amp;nbsp;taken a look at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;this excellent blog post&lt;/a&gt;? If you follow all of the steps carefully, the DFU should work out of the box. What kind of a phone are you testing this with? Which Android version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating an nRF52 application over the air with OTA DFU</title><link>https://devzone.nordicsemi.com/thread/136783?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 14:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f98762-94c5-4aec-9b77-1931eb04f42f</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Well, I&amp;#39;ve installed nRF Toolbox and now I can select the file, but when choosing &amp;#39;Select device&amp;#39; and pressing &amp;#39;SCAN&amp;#39; it returns error &amp;quot;Permission denied&amp;quot;.&lt;/p&gt;
&lt;p&gt;Any help with this will be gratefully accepted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>