<?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  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12745/dfu-issue-with-customboard-wireshark-log-included</link><description>Hello, 
 DFU issue (FOTA application update fail) 
 I have a problem when performing Application update over the air , after i change my boot loader. 
 so when try FOTA ,After i entered the DFUTarg , and then choose the application , i get the warning</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2016 17:13:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12745/dfu-issue-with-customboard-wireshark-log-included" /><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48405?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 17:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ceff41ca-34b2-492d-b6c9-1d4dfeed65af</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;great this works thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48404?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 09:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c754f75a-4897-4c4e-bb45-6197cdff55f4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I apologize, the examples/bsp folder was missing. I have uploaded a new zip with the folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48403?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 14:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a92a02c-47f8-4c1b-b9b3-ef3083930d05</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;hi ,&lt;/p&gt;
&lt;p&gt;i configured the path.
after  make i got this error.&lt;/p&gt;
&lt;p&gt;nRF51_SDK_7.2.0_gcc/components/libraries/bootloader_dfu/dfu_transport_ble.c:18:20: fatal error: boards.h: No such file or directory
#include &amp;quot;boards.h&amp;quot;
^
compilation terminated.
make: *** [_build/dfu_transport_ble.o] Error 1&lt;/p&gt;
&lt;p&gt;i used the armgcc/dual_bank_ble_s110/makefile&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48402?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 13:58:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5fe72db-62a1-4bf7-85ab-791fdd175bc6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Attached is the backported version of SDK 7.2 where I have removed all examples except dfu. I backported the gcc support from SDK 9 into SDK 7.2 for the S110 Dual Bank Bootloader example, i.e. added and modified some source /header files in the components folder and did some minor changes in dfu_ble_svc.c&lt;/p&gt;
&lt;p&gt;You should be able to just extract the file structure and run make in the armgcc folder, but you might have to alter the Makefile.windows in the components\toolchain folder to specify the path to the GNU Arm toolchain on your system.&lt;/p&gt;
&lt;p&gt;The Makefile is located in the armgcc folder&lt;/p&gt;
&lt;p&gt;nRF51_SDK_7.2.0_gcc\examples\dfu\bootloader\pca10028\dual_bank_ble_s110\armgcc&lt;/p&gt;
&lt;p&gt;Let me know if you run into any problems with the modified SDK.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attachments:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF51_5F00_SDK_5F00_7.2.0_5F00_gcc.zip"&gt;nRF51_SDK_7.2.0_gcc.zip&lt;/a&gt; (fixed)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48399?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:25:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ec38a3b-5077-4890-a026-8ae0fc530142</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;i think you should use debugger to catch the moment of bootloader crash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48398?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 12:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab81988f-2e1f-4b8b-a90e-1a52d8f466c2</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;@wojtek  , if you have seen the nordick sdks 7.1.0  it don&amp;#39;t have a makefile included. there is no armgcc folder. I created a makefile . i had many error  b/c building some of the file had error. finally i managed to build and the hex file. but with this boot loader.hex file i got , i tried  bootloader7.1.0 + soft device 7.1.0.hex + application.hex  ,  but after flashing it don&amp;#39;t even advertise now. it is really difficult to make the boot loader 7.1.0 make work . what do you think ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48400?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 07:40:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d8f1a11-a636-47e2-bf24-833a1fa8d066</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;the chip  is nRF51822CEAA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48397?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2016 07:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee59c990-8fb1-4b3d-8229-5be42ad0746d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@brookyoh1: Could you post the full marking on your chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48391?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c304fdd-46f1-4667-88d6-f9117be2e511</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Ok, so to sum up: you are using oldest version of the chip which is not compatible with S110 v7.1.0.
You are using S110 v7.1.0 which is not compatible with SDK 10...&lt;/p&gt;
&lt;p&gt;I am not saying this is the reason why this is not working, but i think your project is mess. I think you should move to newer chip (at least rev. 2 if you cannot get current rev. 3) and use SDK that is compatible with SoftDevice...&lt;/p&gt;
&lt;p&gt;If you are using 256kb version, I think there is nothing to change in bootloader source.&lt;/p&gt;
&lt;p&gt;Even the cheap chineese nrf51 modules are using rev. 3. (i just ordered few with 32kb ram, which i think is great!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48393?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:156f9510-a16e-4900-b662-d127de437dfe</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;@Wojtek
am using 256kb  , revision 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48392?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46137ebf-9f10-42d8-a7f7-18a7bf704eea</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;are you using 128kb or 256kb rom chip version? which revision of the chip?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48390?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2f528f-ac4c-48c6-900c-22c4f8d86d53</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;Hello Wojtek,&lt;/p&gt;
&lt;p&gt;before i modify the linker file , it was not advertising . since my custom board is 16k , i modified the ram value in the linker  file , after that it advertises. then i faced the issue that i stated above.&lt;/p&gt;
&lt;p&gt;i took the example from nordic sdk 10  , i have attached it above.
nRF51822. here is my linker file &lt;a href="https://www.dropbox.com/s/cdgg6h3nqdizarz/dfu_gcc_nrf51.ld?dl=0"&gt;link text&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;do i have to modify any file in boot loader ?
And what do mean by debug the boot loader ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48401?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 15:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8212bfa0-b00d-4956-bf7a-06cdb28d4ec7</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;why don&amp;#39;t you just debug your bootloader app to see what is going on? It seems that your app is crashing in bootloader. are you using 128kb or 256kb rom chip version? did you modify bootloader to fit in your memory? Too many questions... wireshark log doesn&amp;#39;t help much here. are you using revision 3 chip? From which SDK version did you took bootloader example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48394?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 12:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bf3974-c2cf-4a4f-b7f6-b30233673777</guid><dc:creator>Brook Gebremedhin</dc:creator><description>&lt;p&gt;@Bjørn Spockeli    question updated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48395?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 12:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:255d779a-4482-40ae-a83e-c44d0eb38197</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@brookyoh1: Do not copy/paste code in the comment section! Please &lt;strong&gt;Attach&lt;/strong&gt; the code as files by editing the question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU  issue  with  CustomBoard  (Wireshark log included)</title><link>https://devzone.nordicsemi.com/thread/48396?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 12:00:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cacb79ba-9d32-4bd5-a0c8-23476e4803df</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you share the code of your custom bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>