<?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>NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103025/nrf52840-ble-dfu-without-using-nordic-connect-app</link><description>I need to update the device firmware of nRF52840 where I am going to use app of my own other than Nordic Connect. How to send the dfu packet (zip file)? Need help on thiis.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Aug 2023 15:27:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103025/nrf52840-ble-dfu-without-using-nordic-connect-app" /><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442622?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 15:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a3a9edc-c454-47e2-b1b9-be404b87c306</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I understand&amp;nbsp;what difference it makes if you provide the bin and dat file instead of the zip file in nRF connect? The app expects the .bin and .dat file to be packaged in a zip.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442563?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 12:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22e88ae2-bd6b-4dd4-bee4-239a843f3898</guid><dc:creator>Selvablaze</dc:creator><description>&lt;p&gt;This I have experimented already but I wanted to experiment without using that zip file instead directly wanted to send the .bin file and .dat file that&amp;#39;s how this question has raised to me.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442494?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 10:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d53f109-8043-4396-b7aa-ab9dc77dafc3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You are supposed to select the DFU zip file when using th&amp;nbsp;nRF connect desktop or mobile app. It&amp;#39;s only when you perform DFU from another microcontroller that you will need to extract the zip yourself.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend you have a look at this guide if you haven&amp;#39;t seen it already:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442487?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 10:33:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d08686-55c8-4ca2-af94-520149c4d26a</guid><dc:creator>Selvablaze</dc:creator><description>&lt;p&gt;Thanks @Vidar Berg for helping me out. I got cleared now. I just tried this without using another MCU. Rather in the nRF Connect Desktop app, tried sending the dat file contents (converted them into hex) and executed sucessfully. But when I try to send the bin file contents (the same like dat file), I&amp;#39;m getting BLE_HCI_CONNECTION_TIMEOUT error!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442437?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 07:13:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e36816-392f-468b-a3bf-5613f226e3fa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The DFU controller is not supposed to decode anything, it should just send the raw content of those files to the DFU target.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442433?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 06:56:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01471289-6199-4137-8c7e-f3f834a912b2</guid><dc:creator>Selvablaze</dc:creator><description>&lt;p&gt;We cannot send the contents of the *.dat &amp;amp; *.bin files directly as the files are encoded. How do I send them as data packets?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442423?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 06:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa4f08dc-083f-4b75-a34c-2d390bda9c2b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please let me know what documentation you are looking for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442412?ContentTypeID=1</link><pubDate>Tue, 22 Aug 2023 05:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf9bc68-c59a-4e9d-a0fc-ad197919d552</guid><dc:creator>Selvablaze</dc:creator><description>&lt;p&gt;Is there any reference documentation? If so, could you provide me the link of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442310?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 13:03:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d2fbea7-69ff-485a-a0c9-0fdb54f54d46</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;To perform from another MCU, you will have to send the raw binary data contained in the&amp;nbsp;*.dat (init packet) and *.bin (FW image) files from the DFU zip file as illustrated by the message sequence charts here:&amp;nbsp;&lt;a title="Message sequence charts" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_dfu_transport_ble.html?cp=9_1_3_5_2_2_3#lib_dfu_transport_msc"&gt;Message sequence charts&lt;/a&gt;. Unfortunately, we do not have any examples that demonstrate this as most use cases allow the FW to be updated from a PC or Phone/tablet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442300?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 12:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae4cea05-6ea2-4327-a90d-878941f74ed0</guid><dc:creator>Selvablaze</dc:creator><description>&lt;p&gt;Thank you @Vidar Berg for this answer. I am adding to it, if I want to do it from another device (for say another mcu) which supports ble, What File format should I have to send, in this case? and How the packet will be received?.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 BLE DFU WITHOUT USING NORDIC CONNECT APP</title><link>https://devzone.nordicsemi.com/thread/442273?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 11:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22edbf93-dd2c-4ea7-bff0-f78e20d613e5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;We offer DFU libraries for both Android and iOS, which can be integrated into third-party apps. Please refer to the following links for more details:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library"&gt;https://github.com/NordicSemiconductor/Android-DFU-Library&lt;/a&gt;&amp;nbsp;&lt;span&gt;(DFU for nRF5 SDK)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;-&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-DFU-Library"&gt;https://github.com/NordicSemiconductor/IOS-DFU-Library&lt;/a&gt;&amp;nbsp;(DFU for nRF5 SDK)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;-&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager"&gt;https://github.com/NordicSemiconductor/Android-nRF-Connect-Device-Manager&lt;/a&gt;&amp;nbsp;(DFU&amp;nbsp;for&amp;nbsp;nRF Connect SDK)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;-&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager"&gt;https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager&lt;/a&gt;&amp;nbsp;&lt;span&gt;(DFU&amp;nbsp;&lt;/span&gt;&lt;span&gt;for&lt;/span&gt;&lt;span&gt;&amp;nbsp;nRF Connect SDK)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>