<?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>Buttonless OTA DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55216/buttonless-ota-dfu</link><description>Hi, 
 
 I am developing a PC app to Buttonless OTA DFU a device(nrf52840) using BLE USB dongle(nrf52840). 
 
 1 . The device need a secure bootloader and the ble_app_buttonless_dfu example . 
 2 . What code or example have to be flashed to my dongle in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2021 14:32:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55216/buttonless-ota-dfu" /><item><title>RE: Buttonless OTA DFU</title><link>https://devzone.nordicsemi.com/thread/289800?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 14:32:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad15fce0-27b6-4e2d-b875-cf499470c4b3</guid><dc:creator>anguyenpt</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I followed your directions for #3, however when I try to use nrfutil with the specified com port, I&amp;#39;m get the follow error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nrfutil dfu ble -ic NRF52 -pkg dfu-implant-86accfc2-2021-01-11-14-13-42.zip -port=COM14 -a &amp;quot;F49668C262FB&amp;quot; -f&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Traceback (most recent call last):&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;C:\Python\Python2716\Scripts\nrfutil-script.py&amp;quot;, line 11, in &amp;lt;module&amp;gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; load_entry_point(&amp;#39;nrfutil==5.2.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)()&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 764, in __call__&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; return self.main(*args, **kwargs)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 717, in main&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; rv = self.invoke(ctx)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 1137, in invoke&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 1137, in invoke&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 956, in invoke&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; return ctx.invoke(self.callback, **ctx.params)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\click\core.py&amp;quot;, line 555, in invoke&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; return callback(*args, **kwargs)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 1129, in ble&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; flasher = Flasher(serial_port=port, snr = jlink_snr)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; File &amp;quot;c:\python\python2716\lib\site-packages\pc_ble_driver_py\ble_driver.py&amp;quot;, line 1072, in __init__&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt; raise NordicSemiException(&amp;#39;board not found&amp;#39;)&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;pc_ble_driver_py.exceptions.NordicSemiException: board not found&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The dongle shows up in my Window Device Manager as &amp;quot;USB Serial Device (COM14)&amp;quot;&lt;/p&gt;
&lt;p&gt;Could you help me figure out how to get nrfutil to detect my dongle?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless OTA DFU</title><link>https://devzone.nordicsemi.com/thread/223839?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 10:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a410ad-e489-4eb1-92d2-83485eb1b2c6</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;This hex file isn&amp;#39;t available as far as I know. It is a modified version of the example from the SDK:&lt;/p&gt;
&lt;p&gt;SDK\examples\connectivity\ble_connectivity&lt;/p&gt;
&lt;p&gt;But again, you can read it back using nRF Connect for Desktop -&amp;gt; Programmer.&lt;/p&gt;
&lt;p&gt;The source code for the modified example is not open source, so I couldn&amp;#39;t provide it even if I had access to it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As long as the questions are related to the title of this ticket, you can use the same ticket, but if the question is about something else, please open another ticket. This is to keep it tidy on DevZone, so that other users with similar questions easily can find answers by using the search field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless OTA DFU</title><link>https://devzone.nordicsemi.com/thread/223763?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 06:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8f2f4f-a829-4ef1-b017-722fc1ed0521</guid><dc:creator>jawadk</dc:creator><description>&lt;p&gt;Thank you for your clear answer.&lt;/p&gt;
&lt;p&gt;Another question if I am not using the nrf connect app where can I find a hex file for the &lt;span&gt;connectivity FW for the dongle ? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there an example for it ? or you can just provide it ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Besides the connectivity FW uses the USB BLE example also ( the application still perform as a bridge in regular use?)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;please help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am gonna develop all of that for my client and I am gonna use your NRF52840 for the devices and the dongles,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;do you&amp;nbsp;mind to keep this ticket open and I will use it to ask you for help or just to open another one every time ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&amp;nbsp;&lt;/span&gt;a lot&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jawad&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless OTA DFU</title><link>https://devzone.nordicsemi.com/thread/223644?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 14:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73d4b389-f09b-4ddf-bb9a-1e617295ae98</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;3. You can use the command: &amp;quot;nrfutil dfu ble ...&amp;quot; to transfer an image via the nRF52840 dongle. The command you need to use is:&lt;/p&gt;
&lt;p&gt;nrfutil dfu ble -pkg dfu_image.zip -ic NRF52 -p COMXX -n &amp;quot;DfuTarg&amp;quot;&lt;/p&gt;
&lt;p&gt;where COMXX is the com port that the dongle is connected to, and &amp;quot;DfuTarg&amp;quot; must be changed to the advertising name that the target nRF is using.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You also need to program the connectivity FW on the dongle. You can do this using nRF Connect. Usually, if you use a DK, you can add the --flash_connectivity flag, but this doesn&amp;#39;t work on the dongle, as it is running a separate bootloader, and doesn&amp;#39;t have the programming chip. You can flash the connectivity firmware by connecting the dongle, putting it in bootloader mode, and then selecting it from the nRF Connect for Desktop app -&amp;gt; BLE. It will ask if you want to program the dongle, click &amp;quot;Yes&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you need this connectivity FW, you can always read it back from the dongle, to store it in a hex file, using the nRF Connect for Desktop -&amp;gt; programmer app.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So to answer your other questions:&lt;/p&gt;
&lt;p&gt;1. Yes, the bootloader project can be found in SDK\examples\dfu\secure_bootloader\&lt;/p&gt;
&lt;p&gt;2. see answer to 3.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did that answer your questions? Or did I misunderstand your question?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>