<?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 controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76980/dfu-controller-in-central-nrf52-device</link><description>Hi Nordic team, 
 
 Is there any sample project which implements DFU controller in nRF52832 central device? I need to update peripheral device firmware from central device by using DFU. In my another project, I was able to implement DFU target in peri</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Aug 2022 10:49:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76980/dfu-controller-in-central-nrf52-device" /><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/379497?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 10:49:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80e7ea94-b5f9-408a-a431-efb6a9974ce8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There are ways to do this, though there is no example in the SDK. The closest is probably to look at the SDK for ZigBee and Thread as suggested in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81724/background-dfu-for-sdk-17-0-2/339039"&gt;this post&lt;/a&gt;, as it does basically that (unlike for the BLE bootloader, in the ZigBee case the transport happens in the application, and the bootloader only activates the image that is already downloaded).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/377282?ContentTypeID=1</link><pubDate>Sat, 16 Jul 2022 21:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a654804-441b-4d88-b7da-943214feefe2</guid><dc:creator>Jchristf</dc:creator><description>&lt;p&gt;Robin: I have the exact same need: DFU update of nrf52 targets from and nrf52 controller over BLE (long range).&amp;nbsp; Did you ever make it work??&lt;/p&gt;
&lt;p&gt;Nordic: In reading about the complexity of doing this over BLE, I was wondering if a workaround would be to download the DFU zip file to target using a simple file transfer protocol, like XMODEM style, but with BLE packets.&amp;nbsp; &amp;nbsp;Then after files is on target, start the DFU process locally.&amp;nbsp; &amp;nbsp;What that make thing simpler? Is there an example of how to start DFU process on NRF52 target with local file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/321739?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 09:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2919e99a-32d4-47d4-8b3f-de5b2e7f3734</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;I solved this problem. For&amp;nbsp;SELECT RSP message, the parameter ordering was wrong. the right order is max_len, crc, and then offset. so, I can parse it as max_len=0x200, crc=0, offset=0. For CREATE RSP, the CREATE CMD message was wrong. obj_type should be 1 byte not 4 bytes. Thus, when I sent &amp;quot;01018d000000&amp;quot; I got write response &amp;quot;600101&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/321462?ContentTypeID=1</link><pubDate>Fri, 23 Jul 2021 05:57:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c05ab9a-704d-4c25-8112-41db32b695fc</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I could make the device move to DFU mode by using Buttonless service.&amp;nbsp;Now, I&amp;nbsp;could make a connection to DfuTarg device, and established dfu service.&amp;nbsp;I am working on implementing the DFU protocol. Following is logs I got so far.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; tx: 0601 // SELECT CMD&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; rx:&amp;nbsp;&lt;span&gt;600601000200000000000000000000 // SELECT RSP&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; tx: 01010000008d000000 // CREATE CMD&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; rx:&amp;nbsp;&lt;span&gt;600104 // CREATE RSP&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I sent SELECT message, I am getting SELECT Response message with offset=0x200, crc=0, max_len=0. But I have no idea whether these parameters are valid or not. Can you please explain what the offset, crc and max_len means and&amp;nbsp;how I should handle these parameters?&lt;/p&gt;
&lt;p&gt;When I sent CREATE message with obj_type=1 and obj_size=141 (which is app.dat file size), I got&amp;nbsp;the result code 04 (insufficient resources). Can you please advise how to solve this error?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/319364?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 12:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b59c262-bebd-48cf-81cf-cd916675bb00</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="NaviEff"](1) how to parse the indication value &amp;quot;0x200101&amp;quot; and what&amp;#39;s next step?[/quote]
&lt;p&gt;You can check the buttonless DFU service implementation for details. Searching for&amp;nbsp;ble_dfu_buttonless_resp_send will show you everything that is indicated from the nRF to the DFU master at this stage.&lt;/p&gt;
&lt;p&gt;If you use DFU without bonding there is not that much that is communicated here. There is always&amp;nbsp;DFU_OP_ENTER_BOOTLOADER (0x01), and the response is either&amp;nbsp;DFU_RSP_BUSY (0x06) or&amp;nbsp;DFU_RSP_SUCCESS (0x01). The last possibility is&amp;nbsp;DFU_RSP_OPERATION_FAILED (0x04) and then the response code could be one of many, but that is typically only relevant for debugging. The key information is that it failed.&lt;/p&gt;
[quote user="NaviEff"](2) where to find buttonless protocol document.[/quote]
&lt;p&gt;You can refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/service_dfu.html"&gt;Buttonless Secure DFU Service documentation in the SDK&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/319307?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 08:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea2a0b13-198b-45d6-8b0d-561a54b959c0</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to make DFU controller for myself, which to be run on nRF52832. currently I am working on making Buttonless work.&lt;/p&gt;
&lt;p&gt;I managed to get Service Discovery work and grab DFU service(service uuid = 0xFE59 and characteristic uuid = 8ec90003-f315-4f60-9fb8-838830daea50). When I wrote a value &amp;quot;0x01&amp;quot; on the characteristic, I&amp;nbsp;could get indication with a value &amp;quot;0x200101&amp;quot; from the characteristic.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My question is,&lt;/p&gt;
&lt;p&gt;(1) how to parse the indication value &amp;quot;0x200101&amp;quot; and what&amp;#39;s next step?&lt;/p&gt;
&lt;p&gt;(2) where to find buttonless protocol document.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/318673?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 14:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:906c7d31-ebea-4674-9e9e-9308d0da9286</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the delay. We do not have any official DFU master implementation for the nRF5 SDK DFU protocol, so the closest you get is probably the code &lt;a href="https://devzone.nordicsemi.com/members/yu1998"&gt;yu1998&lt;/a&gt; linked to. Other than that we have DFU master implementations in python, JS, and for iOS and Android you can use as reference. Bu unfortunately nothing for the nRF. So you would have to implement that yourself, potentially using some of the existing implementations as reference, as well as referring to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_dfu_transport.html"&gt;DFU protocol documentation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/318525?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 01:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a04c8e47-fb3f-4758-87c7-2d3f43ff19b1</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hello Nordic team,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any update on this? It&amp;#39;s been 4 days still I am waiting for help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/318094?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 06:30:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3665267e-f1e9-4be1-8204-534c69dadb38</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hi Yul998,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the advice. This is also what I need for complete project. I needed both DFU with BLE and UART transport. I will enjoy the codes. Thank you very much!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU controller in central nRF52 device</title><link>https://devzone.nordicsemi.com/thread/318070?ContentTypeID=1</link><pubDate>Thu, 01 Jul 2021 03:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9772ecc8-5a8f-4a7f-b0ac-bee188522557</guid><dc:creator>yu1998</dc:creator><description>&lt;p&gt;not recommended but&amp;nbsp;&lt;a href="https://github.com/jimmywong2003/nrf-slim-serial-uart-dfu-host-c-code"&gt;https://github.com/jimmywong2003/nrf-slim-serial-uart-dfu-host-c-code&lt;/a&gt;&amp;nbsp;might be what you need&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>