<?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>nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6791/nfr51822-dfu-ota-bootloader-do-not-work</link><description>I use SD 7.1.0. My own app works perfectly. I use my own PCB, debugger J-Link Segger.
I try to upload any app via bootloader from SDK&amp;#39;s example (modified in LED_pins dfu_dual_bank_ble_s110_pca10028). Dfu adv-nt doesn&amp;#39;t start. 
 dfu_init() == NRF_SUCCESS;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jun 2015 11:25:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6791/nfr51822-dfu-ota-bootloader-do-not-work" /><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23883?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 11:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:340ad5bc-bfc8-41b2-bb8a-73605b766c96</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@wins&amp;amp;kooklaus: crc16_compute() should not cause an infinite loop. I guess you are seeing that because it&amp;#39;s a long loop that take forever if you just stepping by pressing F11. You can try to add a breakpoint after the call.&lt;/p&gt;
&lt;p&gt;What exactly happens when you program the stock example in the SDK v7.2 ? Do you see the device advertise as &amp;quot;DFUTarg&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23882?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 16:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31da155b-8060-4b4b-b0db-2e197e0717bd</guid><dc:creator>wins</dc:creator><description>&lt;p&gt;@hungbui last revision, fresh from the stock&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23881?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 16:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e7719a1-b8e1-4110-8d04-1edc4f49f6ba</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@kooklaus: Please create another question with more information on your setup and how the issue occurred.&lt;/p&gt;
&lt;p&gt;@wins: Which chip version do you have ? The new S110 v8.0 by default uses features that are not available on the older chip. Please have a look at the release note of the S110.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23880?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 07:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8057372-8981-4dd9-9d19-4b16fb326b8b</guid><dc:creator>wins</dc:creator><description>&lt;p&gt;@hungbui can you provide adresses and limitations??? for DFU with nrf51. Coz if I use hex files from &lt;a href="https://devzone.nordicsemi.com/question/22056/combining-sd-dfu-and-application-hex-and-programming/?answer=22246#post-id-22246"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; and upload it with nrfjprog - the device start to adv. DFU option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23879?ContentTypeID=1</link><pubDate>Thu, 28 May 2015 22:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c927923-977f-4ece-a84d-262870568890</guid><dc:creator>Kevin Choi</dc:creator><description>&lt;p&gt;I have exactly same issue. I have nRF51822 QFAAG2 (IC revision 2) and using SDK8 running on S110 v8.0.0. When the program executes &lt;code&gt;crc ^= p_data[i];&lt;/code&gt; in for loop of crc16_compute(), it goes off.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23878?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2015 11:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2f015f0-df4f-4a76-a63e-c7a9c5cc88ac</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@wins: It&amp;#39;s fine to have dfu_ble_get_peer_data() return NRF_ERROR_INVALID_DATA. This means you have no bonding information passed from application. If you start DFU bootloader straight from power up you should have this NRF_ERROR_INVALID_DATA returned.
I suspect there must be smth else went wrong. Have you tried the DFU example without any modification ?&lt;/p&gt;
&lt;p&gt;To be able to properly debug DFU you would need to change the Optimization level to 0 . Please follow &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/?answer=18051#post-id-18051"&gt;this link&lt;/a&gt; on how to debug with the bootloader.&lt;/p&gt;
&lt;p&gt;Note that you would need chip version at least 2 to be able to run S110 v7.1.0. Please take a look at &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/ATTN-51/41917"&gt;this matrix table&lt;/a&gt; to know which version your chip is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23877?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2015 07:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:649c726d-8bc6-431a-b4f8-85387e1b5347</guid><dc:creator>wins</dc:creator><description>&lt;p&gt;@hungbui I use sdk version 7 (SD 7.1.0)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nFR51822 DFU-OTA bootloader do NOT work</title><link>https://devzone.nordicsemi.com/thread/23876?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2015 07:22:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb524e6-7a6a-4c9d-aa0d-5a51ed5aaa4d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@wins: Please add information on which SDK you used&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>