<?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>IAR and DFU problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63146/iar-and-dfu-problem</link><description>Hi 
 I&amp;#39;d like to debug my code from IAR with nrf52840dk. 
 I&amp;#39;m using nrf5_SDK_thread_zigbee_v4.1.0. 
 
 I got this error after uploading the code inside the nf52840 dk 
 ==&amp;gt;ELF/DWARF Error: Unsupported .debug_info format version: 4 
 I&amp;#39;ve checked the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2020 15:02:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63146/iar-and-dfu-problem" /><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/270654?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 15:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99132434-d2ad-423d-85a7-dfb7d857e22c</guid><dc:creator>Will_008700</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I &amp;#39;ve solved my issue by using Segger embedded studio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/260667?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 21:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd971d02-c272-4bc0-b9ea-e9da9af8ada9</guid><dc:creator>Farhang</dc:creator><description>&lt;p&gt;Magic, thanks!&lt;/p&gt;
&lt;p&gt;I wish things just worked out of the box.. Started with IAR 8.x.x, that doesn&amp;#39;t work, OK, then to 7.80.x which is supposed to work (Release notes), oops V_ARGS_ error..compile error. OK put brackets around double Macro calls with Macro args.. OK. then this&amp;nbsp;&amp;quot;&lt;span&gt;ELF/DWARF Error&amp;quot;... how many hours do we embedded developers waste on getting the setup right?!&lt;br /&gt;&amp;nbsp;&lt;br /&gt;I still appreciate&amp;nbsp;Noridc&amp;#39;s team support but it would be nice if things &amp;quot;work out-the-box&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/258368?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 14:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4864712e-0bfd-4daa-ba7f-d694103b5755</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem seems to come from the nrf_security/crypto libraries being built with the wrong debug symbol configuration. The simple solution to this is to strip the debug information from the lib-files. Normally there is no need to debug these libraries and the debug symbols can be stripped out. I verified that this works on my Win10 setup with a fresh copy of the SDK:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\external\nrf_security\lib
arm-none-eabi-strip -g *.a&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/257801?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 11:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e32396c-c393-4d70-ac42-1628191f5c1e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I understand. I&amp;#39;ll update the ticket as soon as I hear back from the SDK team.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/257799?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 11:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45d90cb3-6c6e-4eea-9ff0-570e69e9ea0e</guid><dc:creator>Will_008700</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t use IAR 8 because I have some problems with it, I saw several topics in this forum, I&amp;#39;m using 7.80 for that.&lt;/p&gt;
&lt;p&gt;I use thread/cli, I can compile, but I can&amp;#39;t debug, I use temporarily .out in segger ozone&amp;nbsp;that works &amp;quot;correctly&amp;quot;. My goal is to use IAR debugging&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/257790?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 11:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e25fd91d-34a2-4e93-8566-262eed41f203</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a bit surprised this hasn&amp;#39;t been reported before, but the problem is that the &amp;#39;nrf_security&amp;#39; libraries introduced in T&amp;amp;Z SDK v4.0.0&amp;nbsp; are built with .debug_info format version 4, which isn&amp;#39;t compatible with IAR 7. Maybe you can try IAR 8 if you have that installed?&lt;/p&gt;
&lt;p&gt;I have reported this issue internally.&lt;/p&gt;
[quote user="Will_008700"]I can&amp;#39;t compile \thread\dfu\bootloader, I got this error &amp;quot; Fatal Error[Pe1696]: cannot open source file &amp;quot;uECC.h&amp;quot;&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;I assumed you were testing with this project because &amp;quot;DFU&amp;quot; was mentioned. This particular project has a dependency on the uECC library that must beforehand (build scripts located in /external/micro-ecc)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/257545?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 11:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb5375c7-2502-4eb6-b2be-f87ea9e7f886</guid><dc:creator>Will_008700</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I use&amp;nbsp;nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t compile \thread\dfu\bootloader, I got this error &amp;quot; Fatal Error[Pe1696]: cannot open source file &amp;quot;uECC.h&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m interested in coap example and I have tested simple coap client in thread\simple coap client, I can compile project with IAR 7.80 using the following mdk &amp;quot;nRF_MDK_8_27_0_IAR_NordicLicense.msi&amp;quot; provided by the sdk, but if I want debugging the firmware through the segger chip included in the nrf52840dk , I can&amp;#39;t because I have these issues&lt;/p&gt;
&lt;p&gt;Tue Jun 30, 2020 13:21:41: ELF/DWARF Error: Unsupported .debug_info format version: 4 &lt;/p&gt;
&lt;p&gt;Tue Jun 30, 2020 13:21:42: Failed to load debugee: Nordic\nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\simple_coap_client\pca10056\blank\iar\_build\ thread_simple_coap_client_pca10056.out &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IAR and DFU problem</title><link>https://devzone.nordicsemi.com/thread/257538?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 11:03:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee8107d5-492c-4787-8ed0-db6224bbf5e8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it a custom library or a SDK library that uses this debug format? Also, which one of the SDK examples are you testing with? I tried the Thread bootloader (\thread\dfu\bootloader) which uses the uECC library, but did not get this error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>