<?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>nrfutil generate dfu zip pkg error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31277/nrfutil-generate-dfu-zip-pkg-error</link><description>Hello, 
 I use nrfutil to generate the dfu .zip file, the error log is listed below. what is the reason? the softdevice is s140. thanks. 
 &amp;gt;&amp;gt;nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52840_xxaa.hex --sd-req 0x96 --key</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Mar 2018 10:36:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31277/nrfutil-generate-dfu-zip-pkg-error" /><item><title>RE: nrfutil generate dfu zip pkg error</title><link>https://devzone.nordicsemi.com/thread/123875?ContentTypeID=1</link><pubDate>Mon, 12 Mar 2018 10:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c56d690-05a8-4cdf-bf62-41ffe97cf1e2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The application FW starts at address 0&amp;nbsp;but&amp;nbsp;should start at 0x22000 if you use s140 v.5.0.0-2 Alpha (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_bootloader.html?cp=4_0_0_3_5_0_1#lib_bootloader_memory"&gt;memory layout&lt;/a&gt;). The first flash page is actaully reserved for the Master boot record (MBR), and is probably the reason for the error you see in nrfutil. Recommend that you use one of the BLE SDK as starting point, these will have the correct linker settings for use with the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For reference, here is the memory layout for the .hex file you provided:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-cc1b2e0a7bdc42028cc03e032093a6ab/app.txt"&gt;devzone.nordicsemi.com/.../app.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil generate dfu zip pkg error</title><link>https://devzone.nordicsemi.com/thread/123800?ContentTypeID=1</link><pubDate>Sun, 11 Mar 2018 13:58:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b74bd5f-86ed-4b22-bbfb-b0ea456a0c72</guid><dc:creator>Kelper</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840_5F00_xxaa.zip"&gt;devzone.nordicsemi.com/.../nrf52840_5F00_xxaa.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hello Vidar Berg,&lt;/p&gt;
&lt;p&gt;The hex file attached. thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil generate dfu zip pkg error</title><link>https://devzone.nordicsemi.com/thread/123585?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 09:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2153b8d3-bb85-4248-9571-a2f09d2701a5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does the&amp;nbsp;nrf52840_xxaa.hex contain any data outside of the application region? I haven&amp;#39;t seen this error before,&amp;nbsp;but seems to be related to hex to bin conversion. Could you share the .hex file so I can test it here?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>