<?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>Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3906/issues-with-dfu-for-sd-v7</link><description>Hey! 
 I&amp;#39;m testing out the new SoftDevice and am trying to update firmware OTA but thus far have not been able to do so. I&amp;#39;ve tried from the Master Control Panel android app (v 2.0.2). I can discover and connect to DfuTarg no problem but when I try to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Oct 2014 13:59:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3906/issues-with-dfu-for-sd-v7" /><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14063?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2014 13:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a505f471-48c8-46fc-99c1-3ffa80977d0b</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;@Anne, the first thread he recommends using the 32 kHz RC, that&amp;#39;s not the same as the SYNTH.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14073?ContentTypeID=1</link><pubDate>Mon, 29 Sep 2014 15:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fa1b1bc-7429-4f0a-90a0-4b8513b4ee5a</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;I have started a new post about this issue. Follow this link:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/17133/problems-with-ota-dfu-in-a-128kb-chip/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14072?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 21:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77c346e2-c9c0-4a7f-9de8-92b9e225a4fb</guid><dc:creator>Anne</dc:creator><description>&lt;p&gt;No worries ^^ You&amp;#39;re well into territory I&amp;#39;ve never explored (I never changed the bootloader) but those size numbers in the second screengrab look really, really broken. Maybe start a new thread asking about issues with the 128kB chip version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14062?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 13:23:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de16e1f0-0517-4f47-b785-38af5711fa16</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I also use NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM on my boards.  Works fine in both C0 and G0 revisions.  I don&amp;#39;t install the 32KHz on my custom boards.  It increase BOM costs for no reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14071?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 12:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eacee08a-99e3-45f9-86f6-4f1f1bc19e9b</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Hi anne,&lt;/p&gt;
&lt;p&gt;Thanks a lot for you help. I managed to get it working with the dev board nRF6310+PCA10006. This is a configuration with a 256kb. Yes you are right, the 128kb only supports application update and this is exactly what i wanna do. I&amp;#39;ve modified the bootloader project to start at the address 0x1C000 and reduce the size  of the ble_app_hrs_dfu project to  0x6000 (24kb). The device doesnt advertise. I am trying to debug it now.&lt;/p&gt;
&lt;p&gt;Also I have observe that once the bootloader is flahsed the nRFgo Studio recognize the device as 256kb. I am going to attach some screen captures in the top comment.&lt;/p&gt;
&lt;p&gt;It would be great if anyone could write a detailed step guide about how to get the bootloader working in the 128kb version. Remember that I want to be able to update only the application code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14070?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 22:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9fe928b-0b96-4a3e-a946-4c28cb94b6d9</guid><dc:creator>Anne</dc:creator><description>&lt;p&gt;@Ignacio. Ahhh, right. I was being unclear: the bootloader uses the scheduler but the heart rate app doesn&amp;#39;t. I messed this up, I told the bootloader not to use the scheduler, and that&amp;#39;s why my code didn&amp;#39;t run.&lt;/p&gt;
&lt;p&gt;Also, have you made sure that the Bootloader/DFU start address is set properly? Scroll down to the bottom of &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00077.html"&gt;the Keil project page in the SDK&lt;/a&gt;, there&amp;#39;s a screenshot of what the Keil configuration window for location should look like.&lt;/p&gt;
&lt;p&gt;BTW, &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00074.html"&gt;the SDK says the 128 kB version doesn&amp;#39;t support DFU of the SoftDevice or Bootloader&lt;/a&gt;. You should still be able to update your application, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14069?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 13:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fba656c-b56b-4000-807e-fb5521d67919</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Hi Asbjørn&lt;/p&gt;
&lt;p&gt;Thank you for your quick reply. I have the following error trying to flash the bootloader hex&lt;/p&gt;
&lt;p&gt;Program Size: Code=14180 RO-data=328 RW-data=256 ZI-data=5988&lt;br /&gt;
FromELF: creating hex file...
&amp;quot;._build\bootloader.axf&amp;quot; - 0 Error(s), 0 Warning(s).
*** Completed Cross-Module-Optimization after 3 iteration(s).
&amp;quot;nrfjprog.exe&amp;quot; --reset --program &amp;quot;C:\Keil_v5\ARM\Device\Nordic\nrf51822\Board\nrf6310\device_firmware_updates\bootloader\arm_build\bootloader.HEX&amp;quot;
Parsing hex file(s).
ERROR: Hex file(s) contain addresses outside the code, RAM and UICR areas.&lt;/p&gt;
&lt;p&gt;I am using a 128kb version of the chip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14068?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 13:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb876aa9-2c9f-4050-9de5-8bc2ca6fcd38</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why you don&amp;#39;t see it as advertising as a DFUTarg after you followed the steps and push back as stated in step 6. I would do a quick test with the bootloader example in the SDK just to make sure you are doing the app/MCP correct. Compile and flash the example from the SDK here(placed in my tree structure): C:\Nordic Semiconductor\nRF51 SDK\nrf51_sdk_v6_1_0_b2ec2e6\nrf51822\Board\nrf6310\device_firmware_updates\bootloader&lt;/p&gt;
&lt;p&gt;Erase the chip, program softdevice and this example and you should by default see the DFUTarg advertising. Make sure you can upload a new FW from this first of all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14067?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 11:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a0d7fa4-1755-4ce1-b15b-02866943813b</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Hi Anne,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I am using the ble_app_hrs_dfu project and I haven&amp;#39;t modified any line after installing the SDK. The &amp;#39;USE_SCHEDULER&amp;#39; is set to false as follows:&lt;/p&gt;
&lt;p&gt;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);&lt;/p&gt;
&lt;p&gt;I think this is correct because the project is not using the scheduler to organise the events. I cannot see the scheduler initialise in any part of the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14066?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072c1cfb-e113-43e3-9b9c-31baa4acbe5e</guid><dc:creator>Anne</dc:creator><description>&lt;p&gt;Make sure that when you change the clock source SOFTDEVICE_HANDLER_INIT() that &amp;#39;use scheduler&amp;#39; is still &amp;#39;true&amp;#39;. I think part of my problem was that I copypasted a line over from the heart rate sensor which changed that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14061?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f8d924-32bc-4a67-9678-f7c7b33ffff9</guid><dc:creator>Anne</dc:creator><description>&lt;p&gt;Also, a quick heads up for you Nordic folks: &lt;a href="https://devzone.nordicsemi.com/question/821/what-could-make-ble-sample-applications-not-work-but-radio-works-ok/#reply-822"&gt;this&lt;/a&gt; thread, and &lt;a href="https://devzone.nordicsemi.com/question/5292/problem-programming-custom-pcbs-on-nrf51822/"&gt;this&lt;/a&gt; one &lt;em&gt;both&lt;/em&gt; recommend setting the clock source to NRF_CLOCK_LFCLKSRC_SYNTH_250_PPM as a fix for the custom board issue (that&amp;#39;s where I got the idea to do so in the first place). If that&amp;#39;s changed with v7, you might want to make sure that the forums acknowledge this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14060?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 00:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2b26035-eee3-4d03-8041-f2d4f170b286</guid><dc:creator>Anne</dc:creator><description>&lt;p&gt;Success! I tested it with both the MCP app (v2.0.2 on a Nexus 5) and the PC program. Here are all the changes that I made in case they&amp;#39;re useful to anyone else ^^&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In ble_stack_init() of the heart rate sensor app, change &amp;quot;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false)&amp;quot; to &amp;quot;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION , false)&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In ble_stack_init() of the bootloader, change &amp;quot;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, true)&amp;quot; to &amp;quot;SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION, true)&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I also changed the LED pins used by the applications to those appropriate to my board but somehow I don&amp;#39;t think that&amp;#39;s what solved my problem.&lt;/p&gt;
&lt;p&gt;Thanks for your help, guys ^^&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14065?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 17:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8863ccb5-1c2d-4586-8672-253dcccec3d9</guid><dc:creator>Ignacio Lopez</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found the same error. My configuration is as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SDK 6.1.0.0 using ble_app_hrs_dfu project without any change.&lt;/li&gt;
&lt;li&gt;s110_nrf51822_7.0.0_softdevice.hex&lt;/li&gt;
&lt;li&gt;nRFgoStudio 1.17.0&lt;/li&gt;
&lt;li&gt;MCP 3.6.0&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I have used the following documentation:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00076.html#application_dfu_support_testing_sec"&gt;devzone.nordicsemi.com/.../a00076.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the step 6, I click back but I can only see the device advertising again as &amp;#39;Nordic_HRM&amp;#39;. I couldn&amp;#39;t find the string &amp;quot;DfuTarg&amp;quot; searching files on the current project.&lt;/p&gt;
&lt;p&gt;Debugging I could see that the code is calling the bootloader_start function.&lt;/p&gt;
&lt;p&gt;Any other suggestion to test on my side?&lt;/p&gt;
&lt;p&gt;I have also tried the dfu with the nRF Toolbox from a nexus 4 and iphone 5 without any luck.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Screen Captures&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/before_5F00_flashing_5F00_bootloader.png" alt="Before flashing the bootloader" /&gt;
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/after_5F00_flashing_5F00_bootloader.png" alt="After flashing the bootloader" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14064?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 12:15:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1ac9c95-f78c-44ec-aa5c-58c29279dec3</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is working fine on my side with the standard ble_app_hrs.hex example from nRF51 SDK v6.1.0, S110 v7.0.0 and the default bootloader provided in nrf51 SDK v6.1.0. I upload the new application with the nRF Master Control Panel for Android v2.0.2 on Samsung Galaxy S4.&lt;/p&gt;
&lt;p&gt;So I suggest you try what Asbjørn has suggested already to see if that fixes the problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with DFU for SD v7</title><link>https://devzone.nordicsemi.com/thread/14059?ContentTypeID=1</link><pubDate>Wed, 24 Sep 2014 12:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4296230c-0451-431e-b6cb-faf2af59326e</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;The 32 kHz synthesized source is not tester or recommended with the S110 stack. Use NRF_CLOCK_LFCLKSRC_RC_250_PPM_250MS_CALIBRATION instead and that should enable you to use the bootloader and DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>