<?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>Segger and debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57361/segger-and-debugging</link><description>When I try to debug my nrf9160 app through segger, it never starts. Hitting the pause button brings me to main.c in the mcuboot project, and it stops on line 214, Unable to find Bootable image. 
 
 The code runs perfectly outside the debugger. I use mfw</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 17:40:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57361/segger-and-debugging" /><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/347259?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 17:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed0537af-6350-421f-ba32-6bd36422bad7</guid><dc:creator>KMK</dc:creator><description>&lt;p&gt;I had again these errors but now found this, and clearing all the breakpoints really solved the issue, at least now.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49605/nrf9160-ses-4-18-sudden-weird-reflashing-after-debugging-session-started"&gt;devzone.nordicsemi.com/.../nrf9160-ses-4-18-sudden-weird-reflashing-after-debugging-session-started&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/305470?ContentTypeID=1</link><pubDate>Mon, 19 Apr 2021 09:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ff0d2af-69ff-4b69-a408-1d00d71bb1ab</guid><dc:creator>KMK</dc:creator><description>&lt;p&gt;Heidi, I was not able to reply to the latest message, thus replying to the main post.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;Does it help to run &amp;quot;Project&amp;quot; -&amp;gt; &amp;quot;Run CMake&amp;quot;?&amp;quot;&amp;nbsp;I dont remember did I try that Cmake re-run or not, I will check that if the problem is coming later again.&lt;br /&gt;&lt;/span&gt;&lt;span&gt;At the moment (thanks to latest project restarting and maybe due to disabling some debug prints) seems to be working.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also my colleague said that he started to have similar problems, he also &amp;quot;solved&amp;quot; those by re-installing some parts.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the last week I had took copies of debugging-ok and debugging-nok folders of my app. some notes of comparison by beyond compare.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;no difference in source code&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;build_nrf9160dk_nrf9160ns/zephyr/zephyr.map files are exactly the same (but different dates, that&amp;#39;s good to show that those had been&amp;nbsp;re-compiled)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build_nrf9160dk_nrf9160ns/&lt;/span&gt;&lt;span&gt;mcuboot directory:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;.ninja_deps: file sizes very different, OK: 230k, NOK: 389k&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zephyr.map files are exactly the same&amp;nbsp;(but different dates, that&amp;#39;s good to show that those had been&amp;nbsp;re-compiled)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zephyr\edt.pickle:&amp;nbsp;&lt;/span&gt;&lt;span&gt;not exactly the same. I dont know meaning of that file but &lt;/span&gt;&lt;span&gt;non-working one has one extra part starting on 0x000032E5 and beyond compare shows for its content to be partition related, even if just above is similar section (and that above section is also in the file in OK folder). Attached image shows it.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/segger_5F00_edt_5F00_pickle_5F00_difference.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/304623?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 14:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c15a6a95-ffb7-482f-8c68-ade7c1ae64bf</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does it help to run &amp;quot;Project&amp;quot; -&amp;gt; &amp;quot;Run CMake&amp;quot;? This will start the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/zephyr/guides/build/index.html#configuration-phase"&gt;configuration phase&lt;/a&gt;&amp;nbsp;of the build process again, which might be easier than restarting the whole project again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/304320?ContentTypeID=1</link><pubDate>Mon, 12 Apr 2021 14:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae0bcdb8-6c74-49b6-b395-34f179c673a3</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Due to an answer in this thread already being verified, I did not receive a notification from your comment, so apologies for the late reply. I was just made aware of it today. In the future, you will receive an answer much quicker if you create a new ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find any bug report about this, so I will put one in and let you know when I hear back regarding your issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/303931?ContentTypeID=1</link><pubDate>Fri, 09 Apr 2021 09:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d3eeeb7-6bd7-44a8-9f6e-9703c7b25e77</guid><dc:creator>KMK</dc:creator><description>&lt;p&gt;Also continuing to have the same problem with 1.5.0, in the different PC than where 1.4.1 was.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/287000?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2020 13:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d882efb-17de-4501-9c0d-5fbc2f7b9f35</guid><dc:creator>KMK</dc:creator><description>&lt;p&gt;I have also the same problem&amp;nbsp;(using sdk v1.4.1 also with nrf9). First (a) few segger debug sessions with own build works ok but then starting to get the same bootable image error.&lt;br /&gt;Like others already commented, also for me works if I reset my env and re-start again (in practice via git ). I have tried to look the differences in own vs default configuration settings in my application folder but have not found anything useful for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/264601?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 11:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3805c605-b7d8-48c5-8948-1f7f3d6e8f52</guid><dc:creator>Luca Gradassi</dc:creator><description>&lt;p&gt;I&amp;#39;ve the same issue. This happens 2 or 3 times per day !! I&amp;#39;ve every time to clean up the build and restart....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/233185?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 06:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75cc0d92-c738-4d8d-bb60-5a8a5ec3f864</guid><dc:creator>Tron</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I found a solution, deleted the old build, and started a new.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;THat is no explanation, however&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;. This just happened, and now I know the fix the next time around .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger and debugging</title><link>https://devzone.nordicsemi.com/thread/233105?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 15:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15200c7a-2342-4c90-bdb5-d7f992b4a876</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, I apologize for the late reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking into this, as I&amp;#39;m not sure why that&amp;#39;s happening.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>