<?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>nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78537/nrf5-sdk-dfu-question</link><description>hi support team, 
 
 i have one question about DFU function question,: 
 in our ncs sdk , nrf5 desktop can dfu from hid feature(from configuration channel setting ), if it can be accomplished in our nrf5 sdk? 
 
 
 Regards, 
 William.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Sep 2021 06:37:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78537/nrf5-sdk-dfu-question" /><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/327702?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 06:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c193b46-2a8a-41d9-bf63-f5e2a1c771bb</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Thanks a lot!&amp;nbsp; i will feed it back to customer.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;William.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/327154?ContentTypeID=1</link><pubDate>Mon, 30 Aug 2021 09:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66fa7738-c6f0-468c-aacc-c51b0f546373</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi William!&lt;br /&gt;&lt;br /&gt;Thank you for your patience. I&amp;#39;ve finally got some input on this from the developers. Basically the speed of the HID DFU is determined by the poll interval defined in&amp;nbsp;&lt;strong&gt;scripts/hid_configurator/NrfHidDevice.py&lt;/strong&gt;. You can change the POLL_INTERVAL_DEFAULT value (for example to 0.002 to communicate with the device every 2ms). This may require that you increase the POLL_RETRY_COUNT (for example to 200) as well so that device communications isn&amp;#39;t interrupted.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;They have some further comments to:&lt;/p&gt;
&lt;blockquote&gt;
&lt;div&gt;The implementation was meant to be used as a background DFU. We wanted to reduce negative impact of DFU image transfer on user experience, so we communicated with longer poll interval to avoid making FLASH writes or providing HID configurator responses too often (when we operate on FLASH or provide response for HID configurator we actually delay providing HID input report)&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div&gt;The DFU could be delayed in case device provides HID input reports to host. If device provides the HID reports, we assume that user actively uses it and we delay writing data to FLASH to avoid delaying delivery of HID input report.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/326007?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 14:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a196e7a5-fa03-4413-9522-ef3b13e5f174</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again, William!&lt;br /&gt;&lt;br /&gt;Yes, the HID configurator is also provided by our R&amp;amp;D.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For the DFU speed question I will need to reach out internally. I will get back to you soon!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/325551?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 14:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3005e8da-64b5-4891-8eda-2503dc7309a0</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;thanks, Carl,&lt;/p&gt;
&lt;p&gt;one more question, &amp;quot;configurator_cli.py&amp;quot; under folder &amp;quot;ncs1.6.0\nrf\scripts\hid_configurator&amp;quot; is also provided by our R&amp;amp;D, right?&lt;/p&gt;
&lt;p&gt;i tested usb hid feature DFU, it still costs about 5 minutes( ble hid feature dfu costs about 15 minutes),is it possible we can make this timer shorter? like&amp;nbsp; 2 minutes for usb.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;William.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/325263?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 10:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd12a2c3-743e-438b-bbda-fb45a1fe917c</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again, William!&lt;br /&gt;&lt;br /&gt;Apologies for a somewhat late answer.&lt;br /&gt;&lt;br /&gt;1. You are correct that it&amp;#39;s developed by our R&amp;amp;D, but it is actually open source. You can find the code under &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/master/applications/nrf_desktop/src/util"&gt;nrf_desktop/src/util&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;2. This is most likely correct. I don&amp;#39;t believe we will do a big addition like this to the nRF5 SDK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/324886?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 14:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6c72305-cb6e-4dc0-ab1c-6fa4113d7735</guid><dc:creator>William.wei</dc:creator><description>&lt;p&gt;Thanks Carl,&lt;/p&gt;
&lt;p&gt;So i have two questions:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span&gt;configuration channel is developed by our RD,right? i thought it is open source, so i guess i was wrong.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. this is new feature, will not add to nrf5 SDK according to our rules. right?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;William.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5 SDK DFU question</title><link>https://devzone.nordicsemi.com/thread/324876?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 13:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c72fe3a-15c1-4a5d-b309-4a52bc7c63bc</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve reached out internally about this and will get back to you as soon as get an answer. From what I could find myself we don&amp;#39;t have anything similar in the nRF5 SDK, but using &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader_dfu_banks.html"&gt;Dual-bank updates &lt;/a&gt;background DFU should be possible using the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_background_dfu.html"&gt;experimental background DFU library&lt;/a&gt;. As for the HID configuration channel&amp;nbsp;this seems to be a proprietary implementation for the nRF Desktop application, but it should be possible to implement something similar using the USB HID API of the nRF5 SDK.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>