<?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 with OTA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55255/dfu-with-ota</link><description>Hi, 
 anyone help me. 
 I am facing the issue during DFU with OTA. the steps are listed which had I done, 
 here trying to update softdevice. 
 1. Erase all. 
 2.flashed softdevice. 
 3.complied and programmed the bootloader which has included with SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Dec 2019 05:35:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55255/dfu-with-ota" /><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/225279?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 05:35:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d07423b-3f4e-476c-9d27-22ddfe53e156</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;hey man, thank you so much. it is working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#ifndef MEM_POOL_INTERNAL_H__&lt;br /&gt;#define MEM_POOL_INTERNAL_H__&lt;/p&gt;
&lt;p&gt;#define TX_BUF_SIZE 4u //600u /**&amp;lt; TX buffer size in bytes. */&lt;br /&gt;#define RX_BUF_SIZE 32u //TX_BUF_SIZE /**&amp;lt; RX buffer size in bytes. */&lt;/p&gt;
&lt;p&gt;#define RX_BUF_QUEUE_SIZE 8u//4u /**&amp;lt; RX buffer element size. */&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I changed as you mentioned in the latest post. so It had been a buffer size issue. now I can able update the application and softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/225183?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 14:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:280006db-c443-4597-b98d-1708769bf621</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="yuvasatheesh"]in that forum, they suggested reducing the stack size from 2048 to 255 in amr_startup_nrf51.s file.[/quote]
&lt;p&gt;&amp;nbsp;You should set this back to 2048.&lt;/p&gt;
&lt;p&gt;Since you are using S110, you can instead adjust the&amp;nbsp;IRAM1 value. Instead of start 0x20002C00, try start 0x20002000 and Size&amp;nbsp;0x1f80:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;IRAM1 Start: 0x20002000
IRAM1 Size: 0x1f80&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also check that you have this buffer configuration (hci_mem_pool_internal.h):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifndef MEM_POOL_INTERNAL_H__
#define MEM_POOL_INTERNAL_H__

#define TX_BUF_SIZE       4u    /**&amp;lt; TX buffer size in bytes. */
#define RX_BUF_SIZE       32u   /**&amp;lt; RX buffer size in bytes. */

#define RX_BUF_QUEUE_SIZE 8u    /**&amp;lt; RX buffer element size. */

#endif // MEM_POOL_INTERNAL_H__
 
/** @} */ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/225133?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 11:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91d71b58-7af0-4216-8025-078e0e500d5b</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;here I have attached the full example source which I am using currently.&lt;/p&gt;
&lt;p&gt;1. bootloader source file.&lt;/p&gt;
&lt;p&gt;2. actual softdevice file(s110_nrf51822_7.1.0_softdevice.hex).&lt;/p&gt;
&lt;p&gt;3. test softdevice firmware(dfu_test_softdevice_b.hex) that need to update via ble.&lt;/p&gt;
&lt;p&gt;4. this is the nrfutil command &lt;strong&gt;(nrfutil dfu genpkg --softdevice softdevice.hex --dev-type 0xffff --dev-revision 0xffff --sd-req 0x5a softdevice.zip).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I used a custom board with nrf51822 QFAA(16kb ram, 256 kb).&lt;/p&gt;
&lt;p&gt;here&amp;#39;s my attachment.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8244.dfu.zip"&gt;devzone.nordicsemi.com/.../8244.dfu.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;please give me the solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/225007?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 17:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:228a7d7c-0714-4f25-908f-19efbaf2508a</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;I have already posted the nrfutil command. Please check in the&lt;span style="font-family:inherit;"&gt;&amp;nbsp;image of the previous post.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;The target device has flashed with s110_7.1.0_softdevice.hex and bootloader firmware.&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align:left;"&gt;&lt;span style="font-family:inherit;"&gt;Updating firmware got from test_ble_dual_bank folder in dfu example folder. I think the updating firmware file version is 0xFFFE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Bootloader firmware atarted to advertise that named as &amp;quot;&amp;quot;DfuTarg&amp;quot;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224993?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 16:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8008ce8d-c1c8-4a1e-94b8-9f6a60c81ecf</guid><dc:creator>Sigurd</dc:creator><description>[quote user="yuvasatheesh"]Here I have tried updating softdevice[/quote]
&lt;p&gt;What SoftDevice version are you updating from and to ?&lt;/p&gt;
&lt;p&gt;Can you post the nrfutil command you used to generate the zipfile package ?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is application DFU working ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224844?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 06:44:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99e57bd-11a3-4f8a-ace7-1fe21970f758</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;please find the logs file. Here I have tried updating softdevice and got the error.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRFconnect_5F00_DFU_5F00_logs.txt"&gt;devzone.nordicsemi.com/.../nRFconnect_5F00_DFU_5F00_logs.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224806?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 18:11:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064dd74d-18f6-4c1f-af03-6d7b482bc639</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;Is there any incompatible with the target device hardware specification?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224803?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 18:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea4aa011-8bbb-4263-8136-5fdc4c105827</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;That is a boot loader project. Please correct me if I made any mistake in the configuration settings&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224795?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 17:04:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc3944e0-bcd9-466c-99a0-08ed78119303</guid><dc:creator>Sigurd</dc:creator><description>[quote user="yuvasatheesh"]I used the above settings and tried to build but I got an error like,[/quote]
&lt;p&gt;&amp;nbsp;Was this the application or the bootloader project?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="yuvasatheesh"]then the app started to upload the file to the target device. but failed.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Did you get any error code in the app ? Anything in the log that might identify the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224594?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 06:32:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:552a2b60-04e5-45ff-8cef-18c0f84be22d</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;Tried with NRF51822QFAA 16KB 256KB specification:&lt;/p&gt;
&lt;p&gt;&lt;img height="316" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QFAA_5F00_tools_5F00_option.PNG" width="464" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I used the above settings and tried to build but I got an error like,&lt;/p&gt;
&lt;p&gt;Error: L6406E: No space in execution regions with.ANY selector matching arm_startup_nrf51.o(STACK).&lt;br /&gt;Error: L6407E: Sections of aggregate size 0x800 bytes could not fit into.ANY selector(s).&lt;/p&gt;
&lt;p&gt;and I searched in the forum and found one solution for this,&lt;/p&gt;
&lt;p&gt;in that forum, they suggested reducing the stack size from 2048 to 255 in amr_startup_nrf51.s file.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/QFAA_5F00_STACK_5F00_size.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Now the build was done successfully. I can flash into the target device. started advertising and connected with nRconnect chosen DFU option loaded zip file into the app.&amp;nbsp;then the app started to upload the file to the target device. but failed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;please guide me if had done any mistake.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224593?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2019 06:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dfe2480-0e93-4f6c-b17d-7c338fd09c87</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;Thank u very much for your quick response. I tried with that nrfutil_0_5_2 still I am getting the same error. I need one clarification, this DFU process can support with 16 KB RAM, 256KB flash?&lt;/p&gt;
&lt;p&gt;I can perform the same DFU with NRF51822QFAC 32KB 256KB specification. is there any possibility to do with NRF51822QFAA 16KB 256KB specification. Kindly help me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224437?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 12:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d439ab7-4d1d-40e2-bca0-2e1cb52af134</guid><dc:creator>Sigurd</dc:creator><description>[quote user="yuvasatheesh"]5.2.0[/quote]
&lt;p&gt;&amp;nbsp;Try using 0.5.2 instead:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-63e7b6cd806b4f43ad9d599b501e7ecf/nrfutil_5F00_0_5F00_5_5F00_2.zip"&gt;devzone.nordicsemi.com/.../nrfutil_5F00_0_5F00_5_5F00_2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu genpkg --application APPLICATION.hex app.zip&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224366?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 10:17:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41d6694-4cdd-4850-8f1d-235ee37d0d04</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;&lt;img alt=" " height="221" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/generate-package.PNG" width="822" /&gt;I can generate the zip file using nrfutil.exe 5.2.0. I that image I have mentioned the exact command which was I used to generate the package.&lt;/p&gt;
&lt;p&gt;I was tried to update the firmware of softdevice got from the example of bootloader testing (dfu_test_softdevice_w_bootloader_b.hex).&lt;/p&gt;
&lt;p&gt;opened the nRF tools App and choose the DFU option.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;select the device and select the zip file(chose as system component only) which is going to update. then click the upload button.&lt;/p&gt;
&lt;p&gt;the target device has connected and App shows uploading and starting DFU then disconnected.&lt;/p&gt;
&lt;p&gt;returns upload failed: OPERATION FAILED. (GATT ERROR)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224308?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 05:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75dcc490-a3bf-403c-913d-cb43baa982f2</guid><dc:creator>Satheeshkumar</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nrfutil-ver.PNG" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU with OTA</title><link>https://devzone.nordicsemi.com/thread/224162?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2019 12:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e54a77a-3d32-4e68-bd62-8404cc36215e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="19762" url="~/f/nordic-q-a/55255/dfu-with-ota"]using nrfutil.exe[/quote]
&lt;p&gt;What version of nrfutil did you use ? 0.5.x ?&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/compatibility-between-dfu-bootloader-and-dfu-maste"&gt;this&lt;/a&gt; and &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect/blob/master/init%20packet%20handling/How%20to%20generate%20the%20INIT%20file%20for%20DFU.pdf"&gt;this link&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>