<?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>OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8469/ota-app-to-app-dfu-sdk9-0-0</link><description>HI People, 
 I face a problem when I do an OTA DFU from APP to APP. I compiled ble_app_hrs S110_with_dfu example fro sdk 9.0.0 and did OTA dfu. Now the device advertises in normal application mode as Nordic_HRM. What I was not able to do is an OTA DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Aug 2015 09:29:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8469/ota-app-to-app-dfu-sdk9-0-0" /><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30898?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2015 09:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4022d8e-d46e-4803-a0c7-93cca8b2b6e0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@martial: sorry the link was missing. I updated it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30899?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2015 06:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae94c08f-e564-4052-8f17-6192a161c499</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui: FAQ?? Link for it??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30897?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 11:32:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad1e873-c3b0-4ee6-a396-099e82b94dc3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Martial: No I didn&amp;#39;t change any code. Only added the init data packet. I used the same SDK SD set up as yours. The compiler was KEIL. I flash bootloader and softdevice with nRFGo Studio, then use the app on the phone to do DFU to upload the test.zip. After that when HRM was advertising I do DFU again (buttonless).&lt;/p&gt;
&lt;p&gt;I forgot that your chip was 16kB variant, so it may not work with the test.zip I sent because it&amp;#39;s made for the PCA10028 kit which has 32kB RAM. RAM modification needed.&lt;/p&gt;
&lt;p&gt;I think what you can do for now is try to run the code in debug mode. You would need to modify the bootloader a little bit to make it work in debug mode. Please have a look at question F in &lt;a href="https://devzone.nordicsemi.com/blogs/685/common-faq-on-dfu/"&gt;this FAQ&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The problem lies on the part where we jump from application to bootloader. You can also have a look at question C in the same guide.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30896?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 05:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2903965f-d8f6-49cf-a975-5a444eee055c</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui: It still didn&amp;#39;t work. I suppose you didn&amp;#39;t make any changes to the code that I gave you. If you have modified anything let me know. Next part would be to analyse the variables here. Please provide me the details of the build environment, such as the board used, chip used, SD, SDK, what software you used to download the app and other relevant details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30895?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 12:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:965f7772-92af-4b85-a59d-834d16d45127</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Martial,&lt;/p&gt;
&lt;p&gt;I tried your bootloader and your hrm hex file here, I managed to update the firmware from the app without problem.
I attached my .zip package file for DFU, please try to use my .zip when testing with nRF Master Control Panel app or nRFToolbox app.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0841.test.zip"&gt;test.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30894?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 08:45:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4afb0467-50d5-45e0-82a2-9cb66b7e5c50</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui: Have attached the bootloader source. Yes, no problem in OTA DFU when the device is in bootloader mode after SD and bootloader alone were loaded. The problem occurs when the device is in APP mode. I see the jump from APP to bootloader mode not happening.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30893?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 13:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58da03d5-2440-48df-b776-9717a1b072d4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Martial: I couldn&amp;#39;t find anything suspicious in the log. Could you also upload the bootloader you were testing with ?&lt;/p&gt;
&lt;p&gt;I assume that you can do DFU update without problem at the first time when you update the hrs with dfu firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30892?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 12:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6594d27-96a3-414f-b5c8-458fe1c28951</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui: have attached the MCP log file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30891?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 11:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9575a34c-abaf-4529-bd7f-f377197b5076</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Martial: please send us the log file with nRF Master Control Panel app. Also please try to record a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;sniffer trace&lt;/a&gt;. It would be much easier to debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30890?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 05:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b0632c-bf30-43e2-9181-0833ea99a793</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui: Ya I saw the post. I tried changing IRAM1 length from 0x6000 to 0x2000 and it did not work. Sorry i was trying out several combinations of RAM addresses and finally i reverted it to original value and sent you that package. But i tried with the mentioned RAM value and it did not work. It hangs displaying &amp;quot;Connecting...&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30889?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 12:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c4c6b05-2baf-4b31-99a4-b6e0dbf4f34e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Martial: You haven&amp;#39;t modified the project setting RAM size to match with your chip (16kB RAM). You need to update both the setting in the bootloader and the application. Please have a look &lt;a href="https://devzone.nordicsemi.com/question/46842/how-to-modify-ld-to-support-16kb-ram-from-32kb/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30888?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 12:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b90c6c2-52a9-48eb-ac5e-6613dc257241</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bui Have attached the code above in question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30887?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 12:07:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33acd0a7-6065-4583-9fd1-512b99f18f3d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Martial: Have you update the project setting to match with your RAM size (IRAM1, IRAM2) ?
Could you attache your project so I can have a look here ?&lt;/p&gt;
&lt;p&gt;You can also try using nRF Master Control panel app and do DFU, then you can swipe right to have the log and find more information on what going on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30886?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 04:17:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b904c3-4f78-4f10-ba9f-a09c6d8abbe7</guid><dc:creator>martial</dc:creator><description>&lt;p&gt;@Hung Bei: Yes, I flashed the SD8.0, followed by the Bootloader in \examples\dfu\bootloader. By this moment, the device would advertise as DFUTarg and I am able to do OTA DFU of application hex.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA APP to APP DFU sdk9.0.0</title><link>https://devzone.nordicsemi.com/thread/30885?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2015 12:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be768e6b-0f2a-4b3d-a2f4-9ae48a33b2f1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@martial: Have you flashed the bootloader in \examples\dfu\bootloader first ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>