<?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 Proto file not found</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59747/dfu-proto-file-not-found</link><description>Hello, 
 
 I am trying to encrypt the bootloader using the steps in this DFU_ENC. 
 
 But I am not able to find the dfu-cc.proto file in the directory nordicsemi/dfu. 
 
 Can you please tell me where it is located? 
 
 Best regards, 
 Navin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Apr 2020 11:37:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59747/dfu-proto-file-not-found" /><item><title>RE: DFU Proto file not found</title><link>https://devzone.nordicsemi.com/thread/243164?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 11:37:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2f4a712-7f5b-4a22-9aea-6f59b8e52853</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Glad to hear that Navin!&lt;/p&gt;
&lt;p&gt;Best of luck and regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Proto file not found</title><link>https://devzone.nordicsemi.com/thread/243163?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 11:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adbd7a25-a83e-4261-a966-37e5b1d13b96</guid><dc:creator>Navin</dc:creator><description>&lt;p&gt;Hello Simonr,&lt;/p&gt;
&lt;p&gt;I had made a mistake while editing the init_pcaket.py file. Sorry for that! I am now able to generate pb.h and pb.c files on both the PC, as well as for the microcontroller using nanopb.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your time!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Navin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Proto file not found</title><link>https://devzone.nordicsemi.com/thread/243095?ContentTypeID=1</link><pubDate>Thu, 02 Apr 2020 07:33:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bf550d1-c88f-4c1d-ae03-b72476393bb1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Navin&lt;/p&gt;
&lt;p&gt;Did you remember to edit the dfu-cc.proto file and regenerated the dfu_cc_pb2.py file with the protocol buffer compiler as that is recommended in the comments of&amp;nbsp;the blog post you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Proto file not found</title><link>https://devzone.nordicsemi.com/thread/242945?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 12:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c019023-09c2-4633-9fa2-3e7104e80da8</guid><dc:creator>Navin</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found the file in the SDK folder. I am trying to generate nonce as in the example mentioned. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37260/adding-encryption-to-secure-dfu-sdk-v15"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37260/adding-encryption-to-secure-dfu-sdk-v15&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Before I added nonce the data-packet size was 141 bytes, and even after making changes the size of the dat file has not changed.&lt;/p&gt;
&lt;p&gt;Can you tell me if the example mentioned in the link is how it has to be done?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="pkg generate display" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1616.nrfutil.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please see the picture above for reference. The nonce is &amp;quot;3031323334...&amp;quot;, which is not visible in the write bytes packet or command packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Proto file not found</title><link>https://devzone.nordicsemi.com/thread/242944?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 11:59:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:201bec44-7800-415f-b2bf-2827d32d1137</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Navin&lt;/p&gt;
&lt;p&gt;This file can be found in the nrfutil folder under nordicsemi/dfu/dfu-cc.proto&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>