<?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>Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91472/programming-nrf52840-with-nrfutil-dfu</link><description>Hi, 
 I&amp;#39;ve a firmware built using SoftDevice S140 and I can program it fine on nRF52840 dongle using nRF Connect programmer application. 
 Now I&amp;#39;m trying to achieve the same using nrfutil but have so far failed. For some odd reason nrfutil does not seem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 17:20:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91472/programming-nrf52840-with-nrfutil-dfu" /><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/415807?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 17:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e071d0a-3178-43ce-8279-5ae854b6a2a7</guid><dc:creator>RVM</dc:creator><description>&lt;p&gt;Thanks for the response. I need more time to identify the issues (if any) and I am just trying to rule out any tool quirks before I dive deep into my issues. &lt;/p&gt;
&lt;p&gt;I suspect it is more my misunderstanding of the changes required to migrate from nRF52832 to nRF52840 specifically the BLE DFU sequence. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/415601?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 07:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178a41bf-bf05-43ff-8a93-fe8aeb17ef4e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, this specific bug was resolved in&amp;nbsp;6.1.7 (which is the same version that is part of the new&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-util"&gt;nrfutil&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Which issues/symptoms are you seeing? Perhaps you can elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/415580?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 23:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d92f99c-2460-48c5-a522-f97d80510a5e</guid><dc:creator>RVM</dc:creator><description>&lt;p&gt;Has this issue been resolved in nrfutil 6.1.7 (which is what I have been working with, and am seeing similarly strange symptoms).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/383951?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 13:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f954ad3-a2b2-457b-9a6e-c14f182f8cdb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;It turns out there is a bug in nrfutil&amp;nbsp;that was introduces in version 6.1.5 that causes an issue with the generated zip image. If you use nrfutil 1.6.4 or older to generate the zip you should be good (even if you use the latest nrfutil to do the actual DFU operation).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/383917?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 12:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3564954d-5c4b-4bd4-9974-10338785e2e4</guid><dc:creator>tikonen</dc:creator><description>&lt;p&gt;Thank you for looking into this. I can confirm that the split DFU workaround works! I can continue with this approach, thanks again!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 with nrfutil DFU</title><link>https://devzone.nordicsemi.com/thread/383900?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 12:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41dd3534-6baf-4da5-a272-dfcd19d0dfb7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the same on my end. Programming applications seem to work, but SoftDevice programming does not. I am not able to explain this at the moment, so I need to look further into it.&lt;/p&gt;
&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;I am not entirely sure what the issue is, but you can split the operation in two for now:&lt;/p&gt;
&lt;p&gt;1. Generate a zip with only SoftDevice:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfutil pkg generate --hw-version 52 --sd-id 0x100 --softdevice s140_nrf52_7.2.0_softdevice.hex sd.zip&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2. Generate a&amp;nbsp;zip with only&amp;nbsp;application (note that the --sd-req is 0x100 here and not 0x00):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfutil pkg generate --hw-version 52 --sd-req 0x100 --application ble_app_hid_composite_bridge_pca10059_s140.hex --application-version 1 app.zip&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;3. Program SoftDevice via nrfutil:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu usb-serial -pkg sd.zip -p COM13 -b 115200&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;4. Program application via nrfutil:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu usb-serial -pkg app.zip -p COM13 -b 115200&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>