<?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>Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47100/debugging-dfu-in-iar---sdk12-3-0</link><description>Hello All, 
 I am working on nRF51822 use IAR nRF5 SDK 12.3.0. 
 I am trying to debug the DFU in IAR. At that time i got an error show below 
 
 
 
 I use IAR version show below, 
 
 
 So pleas give me solution as sson as possible. 
 Thanks &amp;amp; regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 May 2019 12:12:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47100/debugging-dfu-in-iar---sdk12-3-0" /><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/187895?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 12:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8274c6c3-a32b-4d04-9edd-7f43dc974ff0</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please post a new question since this is unrelated to the original issue you had. The problem may be that you have not increased&amp;nbsp;the&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT in your sdk_config.h file and adjusted the APP RAM base address.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/187892?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 12:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e197c5c0-31c2-49e2-b219-73a1dd5b4d4f</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I add initialization of DFU in my program and then upload program in device. Program runs successfully and starts advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I add custom service in my program and then upload program in device at that time program is getting stuck somewhere. so please give suggestion.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186656?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 11:04:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47bca4b-643f-40cd-965f-baba16f20d63</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update. Note that the&amp;nbsp;&lt;span&gt;mdBT40 comes two memory variants so I think you may have the 16K RAM one since you had to change the linker settings to make it work.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186639?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 10:18:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7fe560f-f2b6-45fa-a9a1-c64984da5a05</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Thanks for the input by following them my problem got resolved.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186613?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 09:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a021fbb-cab2-40b9-80d3-c57fad4a1e4c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The APP RAM base must be 0x200025e0. Can you try this and see if you get the same result?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186366?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eefc2848-2761-4ac2-a3ec-d0f34d43892c</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;I also change of RAM address as you told but not run show like below,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="205" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557484135879v1.png" width="366" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186361?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d87051-6d26-4b15-9c4a-01a43f973baa</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Actually I am using mdbt40 custom board in which nRF51822 use.And in this module 32K RAM is available showing in specification of mdBT40 and link is given below,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.seeedstudio.com/MDBT40-256RV3-nRF51822-based-BLE-module.html"&gt;https://www.seeedstudio.com/MDBT40-256RV3-nRF51822-based-BLE-module.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186359?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:12:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b250e685-6b06-4dc1-8aab-11706e77416f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The memory settings are for the 32K RAM variant, while your chip has 16K. Try to change the RAM end address to 0x20004000 and start address to 0x20002500.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit:&amp;nbsp;&lt;/strong&gt;RAM base must be at least 0x200025e0 for the bootloader in SDK 12.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186357?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 10:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8790d155-3680-45e0-ab19-5819e7257c50</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Memory setting is as like below,&lt;/p&gt;
&lt;p&gt;&lt;img height="212" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557482730623v1.png" width="379" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And use nRF51822 QFAA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186354?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed06c773-1872-44a4-8680-9d07f68d641a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Which memory variant of the 51 are you using? And does the bootloader work if you just program it nrfjprog, etc.?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186351?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 09:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:639c402a-ebbc-4e9d-8875-f870c5f06536</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t got this error but still advertisement is not start and debug window show like below,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="254" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557481171280v1.png" width="454" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="252" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1557482153892v1.png" width="451" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I have also try to scan my device in nRF connect application but not show in my device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186323?ContentTypeID=1</link><pubDate>Fri, 10 May 2019 08:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02f64420-9ee1-4ea1-835d-9d2faecbc348</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You need to change the compile flag in the Makefile as well: &amp;quot;CFLAGS +=&amp;nbsp; -Wall -Werror -Os -g3&amp;quot; --&amp;gt; &amp;quot;CFLAGS +=&amp;nbsp; -Wall -Werror -Os &lt;strong&gt;-gdwarf-3&lt;/strong&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186216?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 13:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c11ab75-8f1b-4e3d-a8e9-2a37c0f97164</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have run this script and output is shown below,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7573.run.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But still having the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186203?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 13:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6c659df-59c6-4740-a6c4-bcd4e62b9523</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Try to run the script below in&amp;nbsp;\nRF5_SDK_12.3.0_d7731ad\external\micro-ecc. You need to have Make, Git, and the GCC toolchain installed (4.9 2015q3 release)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/build_5F00_all.bat"&gt;devzone.nordicsemi.com/.../build_5F00_all.bat&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186199?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 12:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b7c0415-236b-4971-8a44-e1060cb9e998</guid><dc:creator>Urvisha Andani</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Thanks for reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please share step to compile uECC? I have downloaded uECC library from github but haven&amp;#39;t compile it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging DFU in IAR - SDK12.3.0!!!</title><link>https://devzone.nordicsemi.com/thread/186164?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 11:58:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1655297d-4a3c-4877-8c8c-e4ea903f52e9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It because of the uECC library. The debug information generated by GCC is not compatible with IAR. Try to compile the library without &amp;#39;-g&amp;#39; or compile with &amp;#39;-gdwarf-3&amp;#39; to&amp;nbsp;override the default DWARF version.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>