<?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 upload failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18631/dfu-upload-failed</link><description>Hi, 
 I have seen similar questions to this, but I could not make it work.
I am trying to upload a new code using DFU by means of a smartphone (using nRF Connect) or PC (using Master Control Panel), without success.
The code uploads correctly till</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Dec 2016 09:11:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18631/dfu-upload-failed" /><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71948?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 09:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc7c1fe-b4d5-49ba-abe7-72e594307e2f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi dblasco,&lt;/p&gt;
&lt;p&gt;Actually I was wrong, the .bin file is OK. I can see it&amp;#39;s advertising as RelayNordic after it&amp;#39;s updated. So everything is fine on my side. Your .zip file is OK I can update the firmware with both Master Control Panel on PC and nRFConnect on Android. You may want to try again on your side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71947?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2016 08:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0289aa7c-54fd-4fdd-8af5-1ca82a615a20</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I am using the example (with small modifications) dual_bank_ble_s130 that is activated with a magic byte in te application. Could this info help?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71946?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 16:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e598a52b-4e15-4f2b-9d6f-4c1c98765020</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I generated the .zip file from the .hex (that is the .zip I sent you).
You told me the binary image is not good. What happens then? Does the nRF5 goes back to the previous application? (that is what is happening to me, it is like if I had uploaded the same firmware)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71945?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 16:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:195c66e3-ee05-40f9-8d8c-3440e5d82153</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you try to generate the .zip file from the .hex file ?  How did you generate .bin file.&lt;/p&gt;
&lt;p&gt;I tested your .zip here the DFU process finished normally (no CRC issue) but the binary image is not good, the application didn&amp;#39;t run.&lt;/p&gt;
&lt;p&gt;I also use nrfutil v0.3.0 it&amp;#39;s for the legacy DFU. The newer version is for the secure DFU from SDK v12&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71944?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 16:00:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bd6c88-c38b-4312-9035-01aafca5b00b</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;Could you provide me with nrfutil.exe last version? The version I am using is 0.3.0 (.exe that comes with Master Control Panel). I tried to install newer versions but it is not working well, maybe using the .exe is easier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71943?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 15:25:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8029c461-fa2f-4e5f-add9-ce4e75e441ba</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I edited the question including the .zip file. I hope it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71942?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 15:16:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13d16ce2-5b14-4896-b98c-cb12b7036c1a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s a CRC error. Could you post how you generate the .zip file? Or maybe post the .zip file here. If you don&amp;#39;t want to post your application hex, you can test with one of our example project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71941?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 14:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c76fe13-c53f-4703-a2d1-ccf5f825ef5d</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I checked the log in the smartphone, and the error is REMOTE DFU INVALID CRC ERROR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71951?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 14:07:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da0b267f-c67a-4dc1-909d-ef8dac0ea80e</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I have also followed your advice and put --sd-req 0xFFFE and generate directly from .hex with no success&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71949?ContentTypeID=1</link><pubDate>Thu, 29 Dec 2016 13:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afcb8084-96f9-4570-8b29-ffd89792a15b</guid><dc:creator>dblasco</dc:creator><description>&lt;p&gt;I edited my question with the log you asked. I only copied the last part of the log, because it is extremely long (I think I include the error). If you need more parts of the log, please ask me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU upload failed</title><link>https://devzone.nordicsemi.com/thread/71950?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2016 11:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df480ced-576b-4266-99c1-ddd698fd9fbf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please provide the log when you do DFU with Master Control Panel (File -&amp;gt; Log File)&lt;/p&gt;
&lt;p&gt;You can use --sd-req 0xfffe to avoid softdevice check.  You don&amp;#39;t have to convert hex to bin, please simply use the .hex file you got after compiling when you call nrfjprog.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>