<?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 - SDK15.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37860/debugging-dfu-in-iar---sdk15-0-0</link><description>I am trying to debug the DFU in IAR. 
 However, when flashing as is I get the following error: 
 Sat Aug 25, 2018 20:31:45: ELF/DWARF Error: Unsupported .debug_info format version: 4. 
 
 Do you know of any solutions? 
 Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Aug 2018 15:28:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37860/debugging-dfu-in-iar---sdk15-0-0" /><item><title>RE: Debugging DFU in IAR - SDK15.0.0</title><link>https://devzone.nordicsemi.com/thread/145983?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 15:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2393cc0a-c13a-4550-915a-bd88d10a2a8c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) Open the makefile in the folder: SDK_folder\external\micro-ecc\nrf52hf_iar\armgcc\&lt;br /&gt;2) Replace the -g2 flag from optimization and assembler, and use&amp;nbsp;-gdwarf-3 instead.&amp;nbsp;&lt;span&gt;See picture:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1535383670448v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;3) In the same folder, delete the&amp;nbsp;&lt;em&gt;_build&lt;/em&gt;&amp;nbsp;folder and the micro_ecc_lib_nrf52.a file&lt;br /&gt;4) Go to the folder: SDK_folder\external\micro-ecc\, and run build_all.bat again&lt;/p&gt;
&lt;p&gt;Note: The above changes in the makefile are added in SDK 15.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>