<?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>DFU .dat file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61072/dfu-dat-file</link><description>Hello 
 
 I want to know .dat file structure. 
 I read the .dat file as below. 
 Please tell me what the data in the dat file mean respectively. 
 
 
 
 
 
 12 
 
 
 8A 
 
 
 01 
 
 
 0A 
 
 
 44 
 
 
 08 
 
 
 01 
 
 
 12 
 
 
 40 
 
 
 08 
 
 
 01 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 May 2020 09:58:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61072/dfu-dat-file" /><item><title>RE: DFU .dat file</title><link>https://devzone.nordicsemi.com/thread/248884?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 09:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18a3970e-4676-41a9-af53-fe5fc0344a6b</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know how mfw files work.&lt;/p&gt;
&lt;p&gt;Why do you have to upload using the mfw format? Do you have an nRF bootloader that supports this file format? If so, I would check with the ones that developed that bootloader on how they usually generate the mfw files.&lt;/p&gt;
&lt;p&gt;But my guess is that you do not have this bootloader, but that you have this requirement from some other hold? Will your next question be how to make the bootloader support mfw files? If so, why not just use the zip files that comes with the SDK?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU .dat file</title><link>https://devzone.nordicsemi.com/thread/248834?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 00:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d02f5eb-4ce8-4f5e-baf7-af386d235b0a</guid><dc:creator>kevin seo</dc:creator><description>&lt;p&gt;I need to download it using mfw file.&lt;br /&gt;By the way, hex file is used to make zip file.&lt;br /&gt;Is there any way to dfu using mfw file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU .dat file</title><link>https://devzone.nordicsemi.com/thread/248728?ContentTypeID=1</link><pubDate>Thu, 07 May 2020 13:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e3871ab-0b7b-445e-8498-30ca1ad9408d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt; says, there aren&amp;#39;t a lot of detailed information on the nrfutil packets (init packet). So the Source code is the most accurate documentation you can get.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader_dfu_validation.html?cp=7_1_3_5_1_1_0#lib_bootloader_dfu_init" rel="noopener noreferrer" target="_blank"&gt;This page&lt;/a&gt; describes some of the fields in the packet, but it doesn&amp;#39;t say how many bytes for each field and so on, but it is probably possible to map out to some degree by generating different packages with different application-versions, hw-versions and so on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you want to change the init packet? If so, why? I guess it is designet to be quite generic, so that you wouldn&amp;#39;t need to do any changes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU .dat file</title><link>https://devzone.nordicsemi.com/thread/248565?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 23:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5be53206-9675-4cb4-aefb-90d99029c52c</guid><dc:creator>kevin seo</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;But I can&amp;#39;t&amp;nbsp;find documents.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t need source code.&lt;/p&gt;
&lt;p&gt;I want documents.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU .dat file</title><link>https://devzone.nordicsemi.com/thread/248361?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 08:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8752f7b7-72f4-4990-b71e-de4a6cabc764</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;This file is only documented in source code AFAIK.&lt;/p&gt;
&lt;p&gt;It contains the Google protobuf encoded dfu_packet_t structure that is used in the bootloader for validation.&lt;/p&gt;
&lt;p&gt;You can look in &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;pc-nrfutil source&lt;/a&gt; code how it is generated, and in the bootloader (dfu) sources how it is decoded using nano-pb.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>