<?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>Can&amp;#39;t generate DFU package with nrfutil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126972/can-t-generate-dfu-package-with-nrfutil</link><description>I have installed nrfutil from PyPI using the instructions in section 2 of the nRF Util User Guide v 6.1.0. My main purpose for using nrfutil is to generate a DFU package. Whenever I try to use the nrfutil pkg generate command I get the error message:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Feb 2026 21:05:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126972/can-t-generate-dfu-package-with-nrfutil" /><item><title>RE: Can't generate DFU package with nrfutil</title><link>https://devzone.nordicsemi.com/thread/561157?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 21:05:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21a38296-4547-49f9-9f39-306a62f59ef3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;The hard version for nRF52840 is &amp;quot;52&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;See the&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/nrf5-sdk-v17-1-0-secure-dfu-hands-on-tutorial"&gt;nRF5 SDK v17.1.0 Secure DFU  Hands-on Tutorial&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't generate DFU package with nrfutil</title><link>https://devzone.nordicsemi.com/thread/561155?ContentTypeID=1</link><pubDate>Fri, 13 Feb 2026 19:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe1328e-018a-4c8e-8805-5030381903bd</guid><dc:creator>JimPetkosek</dc:creator><description>&lt;p&gt;Thank you. I was able to install nrf5sdk-tools. Now nrfutil pkg generate --help is working. I am using the nRF5_SDK_17.0.2 SDK for my application development. I tried the following but got:&lt;/p&gt;
&lt;p&gt;C:\Firmware\DFU_pkg&amp;gt;nrfutil pkg generate --application app.hex BD_dfu_package.zip&lt;br /&gt;Usage: pc_nrfutil_legacy_v6.1.7.exe pkg generate [OPTIONS] ZIPFILE&lt;br /&gt;Try &amp;#39;pc_nrfutil_legacy_v6.1.7.exe pkg generate --help&amp;#39; for help.&lt;/p&gt;
&lt;p&gt;Error: --hw-version required.&lt;/p&gt;
&lt;p&gt;I am targeting the nRF52840 device. The help doc says &amp;quot;--hw-version INTEGER&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The hardware version.&amp;quot;&lt;/p&gt;
&lt;p&gt;What integer do I use for the nRF52840 micro?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't generate DFU package with nrfutil</title><link>https://devzone.nordicsemi.com/thread/560956?ContentTypeID=1</link><pubDate>Wed, 11 Feb 2026 20:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3360ad8-7b34-48b9-84dc-dd167d57a35c</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you working with nRF5SDK DFU? Please be aware that this command tool only support for nRF5 SDK.&lt;/p&gt;
&lt;p&gt;You can run &amp;quot;nrfutil install nrf5sdk-tools&amp;quot; to install the tool, then you can use&amp;nbsp;nrfutil nrf5sdk-tools dfu function.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt;nrfutil install nrf5sdk-tools
[00:00:07] ###### 100% [Install packages] Install packages

&amp;gt;nrfutil nrf5sdk-tools --help
Usage: pc_nrfutil_legacy_v6.1.7.exe [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose            Increase verbosity of output. Can be specified more
                           than once (up to -v -v -v -v).  [x&amp;gt;=0]
  -o, --output &amp;lt;filename&amp;gt;  Log output to file
  --help                   Show this message and exit.

Commands:
  dfu       Perform a Device Firmware Update over serial, BLE, Thread, Zigbee
            or ANT transport given a DFU package (zip file).
  keys      Generate and display private and public keys.
  pkg       Display or generate a DFU package (zip file).
  settings  Generate and display Bootloader DFU settings.
  version   Display nrfutil version.
  zigbee    Zigbee-related commands and utilities.

&amp;gt;nrfutil nrf5sdk-tools dfu --help
Usage: pc_nrfutil_legacy_v6.1.7.exe dfu [OPTIONS] COMMAND [ARGS]...

  This set of commands supports Device Firmware Upgrade procedures over both
  BLE and serial transports.

Options:
  --help  Show this message and exit.

Commands:
  ant         Update the firmware on a device over an ANT connection.
  ble         Update the firmware on a device over a BLE connection.
  serial      Update the firmware on a device over a UART serial connection.
              The DFU target must be a chip using digital I/O pins as an UART.
  thread      Update the firmware on a device over a Thread connection.
  usb-serial  Update the firmware on a device over a USB serial connection.
              The DFU target must be a chip with USB pins (i.e. nRF52840) and
              provide a USB ACM CDC serial interface.
  zigbee      Update the firmware on a device over a Zigbee connection.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>