<?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>Unable to run apps; debug stops at &amp;quot;SPM: prepare to jump into Non-Secure image&amp;quot;.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48582/unable-to-run-apps-debug-stops-at-spm-prepare-to-jump-into-non-secure-image</link><description>Hi, 
 I did have a working development board. I was working to disable serial and disable as much as possible to get the power usage down. It seemed to be working (although I did not have debug but I could watch the board usage in my Otii). Now I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jun 2019 12:39:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48582/unable-to-run-apps-debug-stops-at-spm-prepare-to-jump-into-non-secure-image" /><item><title>RE: Unable to run apps; debug stops at "SPM: prepare to jump into Non-Secure image".</title><link>https://devzone.nordicsemi.com/thread/192926?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 12:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d5da30-67d1-4d31-8b2a-0b7ca8c8fed9</guid><dc:creator>SCombellack</dc:creator><description>&lt;p&gt;Aha!&amp;nbsp; I have a working application!&amp;nbsp; So I can&amp;#39;t use Segger for deploying onto my board until it&amp;#39;s updated?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to run apps; debug stops at "SPM: prepare to jump into Non-Secure image".</title><link>https://devzone.nordicsemi.com/thread/192904?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 11:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f33f12f8-2afe-4f6a-a7d5-d2990c074b19</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;This could be due to the &amp;quot;merged.hex&amp;quot; - where the spm (previously named secure_boot) assumes that the application resides from 0x8000 and upwards. Or the other way around in this scenario; your spm assumes that the application is on 0x40000, while the application is flashed from 0x8000.&lt;/p&gt;
&lt;p&gt;The current SES for NCS v4.16 does not handle these merged projects very well, but will do this when v4.17 comes out.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you go into your build folder in cmd.exe, and write &amp;quot;ninja flash&amp;quot;, do you then get a merged.hex file that will be flashed onto your device?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to run apps; debug stops at "SPM: prepare to jump into Non-Secure image".</title><link>https://devzone.nordicsemi.com/thread/192838?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 08:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:170e6ea8-054d-424b-817e-e3184a6ada58</guid><dc:creator>SCombellack</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp; This is a new application.&amp;nbsp; I have tried the GPS, simple_mqtt and another app I can&amp;#39;t think of.&amp;nbsp; They compile and go onto the board, but I see no serial.&amp;nbsp; I haven&amp;#39;t changed the proj.conf files apart from to add &amp;quot;CONFIG_SERIAL=y&amp;quot; when I saw nothing from the board.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m really confused!&amp;nbsp; And it&amp;#39;s stopping me doing any work with the board now..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to run apps; debug stops at "SPM: prepare to jump into Non-Secure image".</title><link>https://devzone.nordicsemi.com/thread/192827?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 06:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d801a2fd-937a-4868-ba1e-c66d4e9159cf</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I did have a working development board.&amp;nbsp; I was working to disable serial and disable as much as possible to get the power usage down.&amp;nbsp; It seemed to be working (although I did not have debug but I could watch the board usage in my Otii).&amp;nbsp; Now I have performed an update of the development tools after the release of the latest firmware in May.&amp;nbsp; I can build the new sample applications and SPM, they seem to work but I still have no debug output.&amp;nbsp; I&amp;#39;m sure I have &amp;#39;undone&amp;#39; everything I did to disable the serial debug, but my applications don&amp;#39;t output debug text.[/quote]
&lt;p&gt;Are you sure you didn&amp;#39;t succeed in disabling serial in your application? Have you tried debugging to see where, or if, you&amp;#39;re stuck in firmware? How does your prj.conf look like?&lt;/p&gt;
&lt;p&gt;What happens if you run any other sample, like simple_mqtt / at_client or similar?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>