<?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>Using nrfutil to generate a package from a merged hex</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51366/using-nrfutil-to-generate-a-package-from-a-merged-hex</link><description>When using ` nrfutil settings generate` to generate bootloader settings and merging with soft device and App, how do you then use `nrfutil pkg generate` to generate a package – what option do you use to pass the merged hex? Do you need to pass all the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Aug 2019 13:09:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51366/using-nrfutil-to-generate-a-package-from-a-merged-hex" /><item><title>RE: Using nrfutil to generate a package from a merged hex</title><link>https://devzone.nordicsemi.com/thread/206127?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 13:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f4e6c34-fb6f-45e1-b35c-7bb2900f030e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;nrfutil does not support &amp;quot;package generate&amp;quot; with merged images so you need to provide a separate hex file for the app, Softdevice, and bootloader.&amp;nbsp; Also, as you may know, the settings page is only needed when you program sd+bl+app through the debug interface as a way to manually validate the app for bootloader. The settings page cannot be included in a DFU image.&amp;nbsp;&lt;/p&gt;
[quote user=""]Do you need to pass all the same options again as when using settings generate[/quote]
&lt;p&gt;The options are similar, but not identical. You should also make sure to bump the version number as the bootloader will reject downgrades by default.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a title="Generating DFU packages" href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_pkg.html?cp=6_5_3"&gt;Generating DFU packages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="Generating and displaying bootloader settings" href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_settings_generate_display.html?cp=6_5_6"&gt;Generating and displaying bootloader settings&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>