<?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>S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12565/s132-nrfutil-dfu-package-generation</link><description>Hello everyone, 
 I&amp;#39;m having trouble with nrfutil (python version from github.com/.../pc-nrfutil) . Here is the command line I use: 
 $ nrfutil dfu genpkg --application app_debug.hex --application-version 9 --bootloader bootloader_debug.hex --sd-req</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Apr 2016 12:52:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12565/s132-nrfutil-dfu-package-generation" /><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47701?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2016 12:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d95ada2b-0ba2-4f32-a732-4d01f79ed28c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Cyril,&lt;/p&gt;
&lt;p&gt;We found that if you replace &amp;quot;L&amp;quot; with &amp;quot;I&amp;quot; (capital i) at line 82 in nrfhex.py, it should fix the problem. It was due to the difference on python 64-bit and 32-bit. Let us know if it doesn&amp;#39;t fix the issue. We have updated the github.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47700?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2016 09:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02d18921-4b69-4264-8557-d917f198b4fe</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;I tried with nrfutil.exe, sd_bl.bin is not filled with 0xFF from 0x00 to 0x2000.
I upgraded SD+BL OTA. I&amp;#39;ll try to look into the python files to fix the issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47698?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 16:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c44187db-df94-460f-a77d-2ccda894c882</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;with nRF52 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47699?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 16:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1492231-80f0-42de-9639-4cecfe0bf4e7</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;This is strange Cyril, I tried with nrfutil.exe on PC and don&amp;#39;t have that 0xffff at the first part of the .bin file. I will try to investigate more, maybe it&amp;#39;s a bug with the nrfutil on Linux.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47697?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 13:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15c9deb9-0c3f-4544-b9d2-77b19f826a9d</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;zip file, without the application
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu.zip"&gt;dfu.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47695?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 13:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5416d992-318c-4954-a249-4c3b66d26fde</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;I used the &lt;code&gt;hexdump&lt;/code&gt; utility on Linux on the sd_bl.bin file generated via nrfutil to see the offset (as you can see in the sample in my post above).
I read the memory when I tried to debug the bootloader as it stayed stuck when it verifies if the size of the softdevice is correct, by reading at address 0x5008. I noticed my SD is not actually loaded at the right location in flash.
I can upload the zip file without the application binary if you want&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: S132 nrfutil DFU package generation</title><link>https://devzone.nordicsemi.com/thread/47696?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2016 11:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c23bbced-b597-4bf9-a917-c797ff2e3985</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Cyril,
How did you do the hexdump to convert the binary file to hex ? Have you tried to do a hex dump after you do DFU on the chip ? I don&amp;#39;t think we have that 0x2000 offset with all 0xffff. Could you upload your .zip file that you used ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>