<?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>Custom DFU init packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27310/custom-dfu-init-packet</link><description>This is a kind of continuation to: devzone.nordicsemi.com/.../ 
 I&amp;#39;m modifying the bootloader_secure sample to implement encryption. 
 I&amp;#39;m now at the step where I need to change the init packet, so I followed advice and in particular this:
 infocenter</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Nov 2017 06:58:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27310/custom-dfu-init-packet" /><item><title>RE: Custom DFU init packet</title><link>https://devzone.nordicsemi.com/thread/107894?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 06:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d8eb01b-4c8f-49bc-8740-40666222c212</guid><dc:creator>Jonathan</dc:creator><description>&lt;p&gt;Thank you Hung. It did it all from scratch with SDK 12.3 and it worked, then again on SDK 12.2... and it worked. I must have missed something somewhere. Sorry for wasting your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU init packet</title><link>https://devzone.nordicsemi.com/thread/107893?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 16:35:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7477192e-2faf-4036-b831-9a1c86ab41a4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I used protoc-3.5.0-win32.zip from &lt;a href="https://github.com/google/protobuf/releases"&gt;here&lt;/a&gt;. And yes, I need to add syntax=&amp;quot;proto2&amp;quot;; into the file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU init packet</title><link>https://devzone.nordicsemi.com/thread/107892?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 10:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce1f138d-8307-478d-9780-99b96cb05f58</guid><dc:creator>Jonathan</dc:creator><description>&lt;p&gt;Hi Hung,
Thanks for your answer! I created another fresh copy of the SDK I&amp;#39;m using (12.2), and did the generation again, same issue. Now, the proto compiler is not coming from the SDK and it&amp;#39;s v3.5 (and requires me to add &amp;quot;syntax&amp;quot; to the proto file). Could you tell me which version of the proto compiler you&amp;#39;re using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU init packet</title><link>https://devzone.nordicsemi.com/thread/107891?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 13:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b995a620-34ff-41e0-a4d9-143e3d18774b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;I tested here and if I don&amp;#39;t do any modification to the dfu-cc.proto, the dfu-cc.pb.c and dfu-cc.pb.h files generated from nanopb are identical to the one came default with the SDK.&lt;/p&gt;
&lt;p&gt;My suggestion is to test again with a fresh copy of the SDK. If it still doesn&amp;#39;t work, please provide us your .proto , .pb and .options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>