<?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>create DFU package using nfutil issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84481/create-dfu-package-using-nfutil-issue</link><description>I have followed the procedures to create a DFU package 
 - Using existing sample hex file &amp;quot;hrs_application_s132.hex&amp;quot; 
 1. nrfutil keys generate private.pem 
 2. nrfutil pkg generate --debug-mode --hw-version 52 --sd-req 0x101,0xCAFE --application-version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 12 Feb 2022 16:21:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84481/create-dfu-package-using-nfutil-issue" /><item><title>RE: create DFU package using nfutil issue</title><link>https://devzone.nordicsemi.com/thread/352766?ContentTypeID=1</link><pubDate>Sat, 12 Feb 2022 16:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b20c5ce1-12a1-492d-8879-8cbdb82d94ea</guid><dc:creator>dilbert168</dc:creator><description>&lt;p&gt;Thanks for the info in the link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create DFU package using nfutil issue</title><link>https://devzone.nordicsemi.com/thread/352567?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 11:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fab0753-3041-48f3-b6c5-0e47c9f97d8c</guid><dc:creator>Edvin</dc:creator><description>[quote user="dilbert168"]1. Is there a pre-build non-secure bootloader I could try out the whole process for testing ?[/quote]
&lt;p&gt;No.&lt;/p&gt;
[quote user="dilbert168"]2. Is the private key available in SDK which will match the public key ?[/quote]
&lt;p&gt;No. This is to make sure that no customers use the public key from the SDK.&amp;nbsp;&lt;/p&gt;
[quote user="dilbert168"]Or only way to get this working is create my own bootloader ?[/quote]
&lt;p&gt;I would recommend to do so. It doesn&amp;#39;t take that long if you follow the guide from my last reply. You can also use nrfutil for the DFU image transfer instead of nRF Connect for mobile (like the guide does). So basically follow everything up to that point.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Generating your own keypair is quite simple:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil keys generate private.key
nrfutil keys display --key pk private.key --format code --out_file dfu_public_key.c&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Which will generate a key set that you can replace the dfu_public_key.c.&lt;/p&gt;
&lt;p&gt;Then compile your bootloader, flash it (and the softdevice), generate a dfu image. Use &amp;quot;nrfutil pkg generate --help&amp;quot; for more information, and transfer the image like you did in your first post in this thread.&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><item><title>RE: create DFU package using nfutil issue</title><link>https://devzone.nordicsemi.com/thread/352425?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 16:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b9fcf6a-d578-4da9-b26e-e5409530ccd9</guid><dc:creator>dilbert168</dc:creator><description>&lt;p&gt;I think it is the Private key issue.&lt;/p&gt;
&lt;p&gt;Since I am using a Private Key to generate the ZIP package but using the SDK pre-build &amp;quot;bootloader_secure_ble_debug_without_bonds_s132.hex&amp;quot; which has different Public Key.&lt;/p&gt;
&lt;p&gt;Question :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Is there a pre-build non-secure bootloader I could try out the whole process for testing ?&lt;/p&gt;
&lt;p&gt;2. Is the private key available in SDK which will match the public key ?&lt;/p&gt;
&lt;p&gt;Or only way to get this working is create my own bootloader ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: create DFU package using nfutil issue</title><link>https://devzone.nordicsemi.com/thread/351866?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 14:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a5df40b-17b9-417b-8323-d8ff6e15f81f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To be honest, I haven&amp;#39;t tried the pregenerated packs before.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest you check out this guide:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is old, but very informative, and still relevant as long as you are uging the nRF5 SDK (which you are).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From the error log, it says that it can&amp;#39;t find any device called &amp;quot;&lt;span&gt;DfuTest&amp;quot;. Did you check what the bootloader device advertises with? You can use nRF Connect for Desktop/mobile to check it. Perhaps it wasn&amp;#39;t advertising at the time? Or perhaps it is called &amp;quot;DfuTarg&amp;quot; instead of &amp;quot;DfuTest&amp;quot;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>