<?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>Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21909/dat-file-problem-in-dfu-zip-pack</link><description>Hi 
 Im trying to generate dfu zip package. 
 Im working on ready hex and zip files in nRF5_SDK_13.0.0_04a0bfd 
 In examples\dfu\ble_dfu_send_hex\test_images_update_nrf52832, i can load zip file (dfu_test_app_hrm_s132) by nrf toolbox (mobile app)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 May 2017 12:12:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21909/dat-file-problem-in-dfu-zip-pack" /><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86029?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 12:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1df8ca8d-8234-42df-9048-c98c0f3d0127</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;This &lt;a href="https://devzone.nordicsemi.com/tutorials/7/"&gt;&lt;strong&gt;tutorial&lt;/strong&gt;&lt;/a&gt; explains how to install the toolchain and build tools, see &lt;em&gt;GNU toolchain for ARM Cortex-M&lt;/em&gt; and &lt;em&gt;GNU make&lt;/em&gt; in the &amp;#39;before we begin section. You may use GNU make from MinGW or Cygwin instead as long as you add the path to GNU make to your env. path.&lt;/p&gt;
&lt;p&gt;You can run the build_all.bat script in the micro-ecc directory once you have installed everything (note that Git is required).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86027?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 12:06:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8900693a-07a5-41c7-9004-dcff9cb962b9</guid><dc:creator>Ferhat</dc:creator><description>&lt;p&gt;I also did things &lt;a href="https://devzone.nordicsemi.com/question/130909/installing-micro-ecc-issue/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
Wtih command prompt make command unrecognized&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86026?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 11:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea501fbf-6ee8-422a-bea9-34ac6f96fbcb</guid><dc:creator>Ferhat</dc:creator><description>&lt;p&gt;Ok,
Can you help me how to run make file in &amp;quot;external\micro-ecc\nrf52_iar\armgcc&amp;quot;
I downloaded MinGW and Cygwin64 but i didnt understand how to run Makefile&lt;/p&gt;
&lt;p&gt;I didnt understand what to do GCC compiler tootcchain for ARM&lt;/p&gt;
&lt;p&gt;Faulty: micro_ecc_lib_nrf52.a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86024?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 10:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a385f9-1b4a-4a1a-9dc7-f3b67c3ce106</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I assume it is failing at the pre-validation step (i.e., where validation of version numbers and signature takes place). You can place breakpoints in dfu_req_handling.c-&amp;gt;dfu_handle_prevalidate to confirm. Alternatively, use the pca10040_debug project that has logging enabled by default, and check the log for error messages.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86025?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 09:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b7ed9d2-205a-46cb-aae5-3aa4bc44ae24</guid><dc:creator>Ferhat</dc:creator><description>&lt;p&gt;Thanks for reply,&lt;/p&gt;
&lt;p&gt;I did
nrfutil.exe keys generate private.key&lt;/p&gt;
&lt;p&gt;nrfutil keys display --key pk --format code private.key --out_file public_key.c&lt;/p&gt;
&lt;p&gt;And copy
__ALIGN(4) const uint8_t pk[64] =
{
0x46, ............... 0x31, 0xd6, 0x2c, 0x22, 0x79, 0x5e, 0x78, 0x6c
};
to Project secure_dfu_ble_s132_pca10040-nrf52382_xxaa_s132&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dat file problem in dfu zip pack</title><link>https://devzone.nordicsemi.com/thread/86028?ContentTypeID=1</link><pubDate>Tue, 09 May 2017 08:45:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29a133a6-b511-4802-90e0-e460ca498baf</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, did you update the public key in your bootloader to one that corresponds to your private key? Note that we don&amp;#39;t provide the private key used to sign  dfu_test_app_hrm_s132.zip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>