<?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 using BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29035/dfu-using-ble</link><description>Hello all, 
 I am trying to update my firmware using BLE peripheral.
I followed the instructions in this [tutorial] ( devzone.nordicsemi.com/.../) 
 I downloaded the SoftDevice then downloaded the DFU example &amp;quot;dfu_dual_bank_ble_s110_pca10028&amp;quot; 
 Then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 20 Jan 2018 14:25:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29035/dfu-using-ble" /><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114961?ContentTypeID=1</link><pubDate>Sat, 20 Jan 2018 14:25:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6da2c7f-58ab-4168-9002-3e6fbfe5e9fb</guid><dc:creator>IOT-D</dc:creator><description>&lt;p&gt;Thanks kristin !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114960?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 17:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a82a739-b1a0-4c70-b74a-07b9cdd4f6d5</guid><dc:creator>Khazragy</dc:creator><description>&lt;p&gt;Updating...
FINALLY It works (Y)
I forgot to delete some dummy code that I put when I was trying to debug.
Thank you very much Kristin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114957?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 16:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0889119-eeb4-4d68-9b40-d759dfe29964</guid><dc:creator>Khazragy</dc:creator><description>&lt;p&gt;Hello Kristin.. I&amp;#39;m very grateful to you for all your help
You are right, Ram should end at 0x20003f80 , I erased the chip changed the ram size , compiled and put the softdevice then the bootloader.
But it still doesn&amp;#39;t work!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114959?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 13:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d0fb66-3900-400b-8b05-32224a239462</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I have update my answer, please have a look at it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114958?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 12:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53611138-70cd-42e5-aced-4be918ac0133</guid><dc:creator>Khazragy</dc:creator><description>&lt;p&gt;No even before starting to upload the new firmware, I can&amp;#39;t connect to the device, the BLE is not advertising.&lt;/p&gt;
&lt;p&gt;My board is &amp;quot;Wireless-Tag WT51822-S2&amp;quot;, it is a module that uses nRF51822-QFAA as (SoC) so it isn&amp;#39;t a devkit.&lt;/p&gt;
&lt;p&gt;I used the DEBUG option and tried to go through the software step by step, and found that the last called function before the HardFault is crc16_compute.&lt;/p&gt;
&lt;p&gt;The function contains a for loop so if I put a break point after the loop, the software goes dead inside the HardFault trap, But if I step inside the for loop until it finishs, the software jumps to the function &amp;quot;app_error_handler&amp;quot; and stuck into the while(loop);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114956?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 11:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce4679b-691b-406b-97da-fd182ac70887</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;When going from QFAC to QFAA (32 kB RAM to 16 kB RAM), the linker settings have to be changed to the following:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2867.dfu_5F00_linker_5F00_settings.PNG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;The hardfault occurs when the bootloader tries to read data from 0x20007f80. It therefore have to be changed to 20003f80.&lt;/p&gt;
&lt;p&gt;Let me know if it still doesn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114954?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 09:40:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c31bea7a-3064-4a4c-b604-21bf51d3e98a</guid><dc:creator>Khazragy</dc:creator><description>&lt;p&gt;yes, I am using softdevice S110 v.8.0.0, do the versions of SDK &amp;amp; Softdevice should be compatible ?&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t test using nRF Master Control Panel, I think this is the next step I shall do if the App phone wouldn&amp;#39;t work!
But anyway I need to know the issue using my smart phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114955?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 09:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad547cd-38ea-433a-9462-773164720262</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Which softdevice did you program to the chip, S110 v.8.0.0?&lt;/p&gt;
&lt;p&gt;Do you see the same problem if you test DFU with nRF Master Control Panel?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114953?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2016 14:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61bb79b9-9df4-4029-b891-a646b519f1e7</guid><dc:creator>Khazragy</dc:creator><description>&lt;p&gt;I mounted the chip onto my own PCB, I am not using a devkit, and related to the SDK version I am using v10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU using BLE</title><link>https://devzone.nordicsemi.com/thread/114952?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 14:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a47d4d-f2ad-41d7-9286-311f2634270c</guid><dc:creator>kowalski5233</dc:creator><description>&lt;p&gt;Good day Khazragy&lt;/p&gt;
&lt;p&gt;Which devkit and SDK version do you have?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>