<?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>ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15515/ant-dfu-ota-update-fail</link><description>Hello, 
 I am trying the ANT-OTA DFU Update using an ANT Stick and the nr51422 pca 10028 board. The ANT Updater shows that the Image Upload is completed. I am uploading the s210 OTA Tester Application. But the application is not being loaded because</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2016 14:46:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15515/ant-dfu-ota-update-fail" /><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59256?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 14:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d1c9c4a-7db2-471d-b581-9554e27efb3c</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;Hi Hung,
Thank you for your response. I will try it out with the s210. For some reason , the s310 Bootloader works.
For now, I will consider this as the answer and the topic closed.
Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59255?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2016 09:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c07d72c-6fc2-46de-a9d8-fbc1255f6560</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;If I could have had the information that example in the SDK can be updated successfully it would be much easier for me.&lt;/p&gt;
&lt;p&gt;I checked your hex file you sent and the hex files you provided earlier (File_after_OTA.hex and File_after_BootloaderOTA.hex) the image quite doesn&amp;#39;t match. Are you sure the hex are not modified you didn&amp;#39;t recompile it with modification in the source code ?&lt;/p&gt;
&lt;p&gt;I also try to do a OTA with the hex file you provided, I see no problem with it. The hex updated correctly in the correct location and seem to start as I can see LED 3 and LED 4 lit up.&lt;/p&gt;
&lt;p&gt;I attached the hex file after OTA in my answer above for your reference. You can use any compare tool (such as Notepad ++ with Compare plugin) to compare the hex with your provided hex file and can see how the image is updated correctly.
I also attached the hex file of the bootloader , that you can use to test. (SDK v10, S210 v5)&lt;/p&gt;
&lt;p&gt;If the SDK example application image can be updated, there should be no reason your application shouldn&amp;#39;t be updated. You can test by comment out anything in the main loop, and maybe do only a LED blinking in your application, just to test if the image is updated properly and started properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59254?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 14:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ababda0-a6c1-456e-985d-207c29c0712b</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;I have updated the application that I used to update with the OTA Updater. Yes, I have tested the SDK with the application using s310( not s210). This case works perfectly.
With my customised application and board, it displays the information in the OTA Updater, but when the application is updated, the application does not start.
So , the only thing it comes down to is, how is the application that I have attached differs from the application (Ota Tester).
What would be the case when the sample bootloader doesn&amp;#39;t work and I would need to write a new bootloader code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59253?ContentTypeID=1</link><pubDate>Thu, 11 Aug 2016 07:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:733916f7-5e91-4ebb-b954-323af788a4d6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;I want the hex file you used to include into the application text box. The application hex file that you got after you compiled it with Keil/gcc. Not the one you got by dump out the flash by nrfjprog --readcode.
I want to compare the hex you used with what updated in the flash.&lt;/p&gt;
&lt;p&gt;I would strongly suggest you to test first with simple example from the SDK first before you test with your application. Please test with the ant_broadcast tx example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59252?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 15:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a9460d6-6ede-4fab-b6e1-f3bade384493</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;Hi Hung,
I have updated the File_after_BootloaderOTA.hex. I have a program running on a customised board. My goal was to include a OTA feature over ANT to it. I included the files which were used in the dfu_experimental_dualbank s210 to my program. Thus, the bootloader was included. But the application does not run.
Also, I tried to update only the application ota_tester to the board. It does not update, even though &amp;#39;Image is activated, do not power down device&amp;#39; is shown.
Final goal: To be able to get my application to go bootloader mode,using a payload from ANTWAREII and updating OTA via ANT, and then to restart the application.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59251?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 09:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71c0d0cb-6e5b-4f3c-9aa0-c30c7dffb98a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;From the hex file you sent me seems that the File_after_OTA.hex got something written to the application area (0xD000). I can&amp;#39;t tell if it&amp;#39;s the correct image or not. But it doesn&amp;#39;t look the same as the application flashed on the File_after_BootloaderOTA.hex.&lt;/p&gt;
&lt;p&gt;Could you please also update the hex files of the application firmware you used to update and the bootloader you used ? So that I can test here.&lt;/p&gt;
&lt;p&gt;Please test with unmerged application (not combine with bootloader).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59250?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 14:15:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7f5c16-6091-4459-9aed-b1a43ca64254</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;The files are attached to the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59249?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 09:07:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07c1dd29-9362-473f-a42e-f67fac0cb714</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Roshan: It&amp;#39;s a little bit strange. You sure you haven&amp;#39;t modified the bootloader ? And you are using the latest OTA Updater, which is version 1.4 ?&lt;/p&gt;
&lt;p&gt;You can update the hex file in your question, please click edit and add the file. I would suggest to get a hex file before you do DFU (when you only have softdevice and bootloader) and then after you do DFU.
Also maybe send me a hex file after you do DFU with the setting that work for you (using the bootloader textbox)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59248?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 19:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9685addf-aeb4-43bd-9d30-aa5cb81fd253</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;Update: When I include the Hexfile in the bootloader column of the OTA Updater , the DFU works. But , this works only when I include hexfiles which already has the bootloader compiled with it. The Application bar of the OTA Updater does&amp;#39;nt seem to help in updating the firmware on the Board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59247?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 15:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ae6314-5894-4cd9-97d5-595b19770dd4</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;It didn&amp;#39;t work with the broadcast_tx_example. The LED2 doesn&amp;#39;t blink. Im uploading using the Application bar on the OTA Updater using the hex files in the _build folder. Where do I send you the hex file generated by &amp;#39; nrfjprog --readcode filename.hex &amp;#39;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59244?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 14:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaff9e22-c7d8-409b-b608-fdaaacdffc4d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It worked fine for me. You mentioned that the &amp;quot;the size of the application remains the same in nrfgo Studio&amp;quot; , it shouldn&amp;#39;t change because you can&amp;#39;t see the actual size of the application. nRFGo Studio only shows you the size of bootloader and the start address of the bootloader.&lt;/p&gt;
&lt;p&gt;Could you try to call nrfjprog --readcode filename.hex after you update and send me the hex file ?&lt;/p&gt;
&lt;p&gt;Have you tried to uppload the hex file compiled for the broadcast_tx example ? After you uploaded correctly, LED2 should be blinking.&lt;/p&gt;
&lt;p&gt;Do you see the percentage appear on the app increase from 0 to something and then to 100% ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59246?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 14:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02ba0415-482c-4114-903d-64f1ac2f296b</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;Also, after the image updated , when I click connect to device on the OTA Updater GUI, it connects displaying the &amp;quot;ANT OTA Updater&amp;quot;, indicating that the new OTA Tester application hasn&amp;#39;t been updated on the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59245?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 14:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24fbc05b-20e6-4a17-8a0e-f1d8ea5ee08c</guid><dc:creator>Roshan007007</dc:creator><description>&lt;p&gt;No, it still does not get updated, even though it shows that the image has been updated , (don not power down device). No transmission of data, and the size of the application remains the same in nrfgo Studio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ANT DFU-OTA Update Fail</title><link>https://devzone.nordicsemi.com/thread/59243?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2016 13:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98ec594b-522f-4b47-80b4-7598e6d2e005</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Roshan,&lt;/p&gt;
&lt;p&gt;Sorry for the late response.&lt;/p&gt;
&lt;p&gt;We found that it was a bug that if you enable &amp;quot;Enable softdevice protection&amp;quot; when flashing the softdevice in nRFgo Studio , then the DFU bootloader won&amp;#39;t be able to start the application.&lt;/p&gt;
&lt;p&gt;So could you please test flashing the softdevice with the option &amp;quot;Enable softdevice protection&amp;quot; unchecked and let me know the result ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/afterOTA.hex"&gt;afterOTA.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bootloader:
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5417.bootloader.hex"&gt;bootloader.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>