<?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>How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20949/how-to-create-zip-file-for-dfu</link><description>Hello,
I am using nrf52 with sdk 12.2.0. I am working with example buttonless dfu template aplication by referring to the link infocenter.nordicsemi.com/index.jsp .
I have uploaded the example code in my pca10040.
Now stuck at creating a dfu zip file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Apr 2017 14:02:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20949/how-to-create-zip-file-for-dfu" /><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81869?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 14:02:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40541817-8b71-4da6-82f1-08081b1792db</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hello,
I am waiting for your reply.
Thanks,
Shailav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81868?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 07:02:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1a748ac-41d7-4237-99d8-4da91e8d030a</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Okay. Suppose I have one hex file and I am creating zip package using command
nrfutil pkg generate --hw-version 52 --application-version 1 --application nrf52832_xxaa.hex --sd-req 0x98 --key-file private.key app_dfu_package.zip
Now what changes should I make in the code so that I can upload this zip package using nrf connect app?
Or lets say I want to combine ble_app_gls and secure_bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81867?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe61e75a-a621-4f61-bc14-1dcf26d85493</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The example I sent you earlier includes the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_1_4_3_2"&gt;Buttonless extention&lt;/a&gt;, which enables the application to jump to the bootloader when receiving a DFU start command over BLE. Everything related to the actual DFU process is handled in the bootloader, not in the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81866?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d247a40e-ab95-4875-bd04-9460072cc329</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;I am not modifying bootloader_secure project. I am referring this project and modifying the code that you sent me.
Earlier I was in discussion with Hung for the link that you mentioned. I had successfully generated the key files as well as the zip file for the project bootloader_secure.
But my concern is how should I add the dfu_public_key.c file in the code that you sent me?
Do I need to add any other files in the code that you sent me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81865?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9ba784f-4245-450b-8ac5-538232e3042d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You don&amp;#39;t need to modify the bootloader_secure project to support buttonless DFU. Please try to follow the steps in Hung&amp;#39;s blog post that I linked to earlier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81864?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 06:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8603b541-76cd-4eb1-91f6-67ee7b5432cf</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;I am referring the bootloader_secure project. Trying to add nrf_dfu.c files but I am getting error as attached above in question.
Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81863?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 04:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d968fb0c-1e82-428c-9524-5151a02da597</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hello VidaR,
Can you help me to make secure ota project? I want to upload application file via app to my nrd pac 10040.
Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81862?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 10:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb6b6fa2-4f05-4aff-8cdc-7c5b7a64638b</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi Vidar,
I am extremely confused in bootloader and secure ota.
How to include boot loader to support secure dfu?
I can see nrf_dfu_settings file in nrf_bootloader. Is this the file that you are talking about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81861?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 07:57:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1742885c-894a-4650-a492-d03bd4020980</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The example I sent you includes the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_1_4_3_2"&gt;Buttonless extention&lt;/a&gt;, which does not handle the DFU process itself. You need to include the bootloader to support our secure DFU feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81860?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 05:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3f43be-a54a-4acc-8fe8-d2e54dc2d605</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi Vidar,
Actually I want to upload my new application file via secure ota through app.So to use commands I need to include key files in my project. So what changes should I make in the code that you sent me?
Thanks,
Shailav&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81859?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 08:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddf6825c-2b48-434d-ac8d-19ee12532481</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Forgot to give you the link to Hung&amp;#39;s blog post, which is a supplement to the existing documentation and explains how you can perform OTA update: &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81858?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 08:49:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9201c22b-3183-4388-91fe-dae9b1875ae1</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hi,
Suppose I want to update my nrf firmware over the air so can I use the code that you send you? As it has device firmware update service.
For example there is one existing firmware on my nrf kit and now I want to update new firmware through nrf app so what should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81857?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 07:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09fa1b01-0431-4620-95ea-2b20159d6288</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Bootloader in SDK 12.2.0 will only accept signed FW images. The code I sent you earlier was for the buttonless part (i.e., jump from application to bootloader), and not related the dfu process itself.&lt;/p&gt;
&lt;p&gt;Recommend to read the following documentation to get an overview of the new DFU feature:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_bootloader_modules.html?cp=4_0_1_3_5"&gt;bootloader modules&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_1_4_3_1"&gt;Bootloader with DFU example&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_1_4_3_2"&gt;Buttonless extention&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81856?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 06:47:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ae10365-000e-47f0-bad2-16ab34121277</guid><dc:creator>Newbie</dc:creator><description>&lt;p&gt;Hello,
But I am not using secure ble so why do I need to create my own key?
If I am creating my own keys how to add files to my code?
I am using the same code that you sent me.
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create zip file for DFU?</title><link>https://devzone.nordicsemi.com/thread/81855?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2017 06:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c30ae61a-8cec-4ce5-805e-89e24e59b5fe</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello, you need to create your own key pair with nrfutil, please refer to the documentation here (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrfutil/nrfutil_keys_generate_display.html?cp=5_5_5"&gt;&lt;strong&gt;link&lt;/strong&gt;&lt;/a&gt;) for more details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>