<?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>Can&amp;#39;t debug - Failed reading image headers; Image=0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120565/can-t-debug---failed-reading-image-headers-image-0</link><description>Hi, 
 All-of-a-sudden I&amp;#39;m having problems debugging my application. THis morning it was working right, this afternoon it&amp;#39;s gone wrong! 
 I think it&amp;#39;s pretty near using up all resources on my nrf9161, but I&amp;#39;m not sure how to tell what&amp;#39;s going wrong. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Apr 2025 11:24:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120565/can-t-debug---failed-reading-image-headers-image-0" /><item><title>RE: Can't debug - Failed reading image headers; Image=0</title><link>https://devzone.nordicsemi.com/thread/531162?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 11:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be504b51-6078-4f09-9b63-3d095c5c0340</guid><dc:creator>Ed Holbrook</dc:creator><description>&lt;p&gt;Many thanks Vidar.&lt;/p&gt;
&lt;p&gt;That appears to have worked!&lt;/p&gt;
&lt;p&gt;All the best,&lt;br /&gt;&lt;br /&gt;Ed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug - Failed reading image headers; Image=0</title><link>https://devzone.nordicsemi.com/thread/531160?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 11:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d392346f-0eac-4b82-a571-14ab74028f16</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I&amp;#39;m using VSCode as my debugger. Click on &amp;quot;Debug&amp;quot; and the system downloads &amp;quot;merged.hex&amp;quot;:[/quote]
&lt;p&gt;The picture you posted&amp;nbsp;is actually&amp;nbsp;showing that the mcuboot hex file (build/mcuboot/zephyr/zephyr.hex) is loaded, not the merged.hex file. Please ensure the build folder is selected as shown below&amp;nbsp;to select the parent-image as the current active context, then click on the debug action.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1744197141110v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It is also possible to start a debug session without loading the hex files again:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1744197046812v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1744197072469v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>