<?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>Application won&amp;#39;t run - erroneous flash address range</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46787/application-won-t-run---erroneous-flash-address-range</link><description>Hi, 
 I&amp;#39;m trying to flash the asset_tracker application to the nrf9160dk. I use Segger Embedded Studio for building the project for the nrf9160_pca10090ns board. However, after flashing the application it won&amp;#39;t run, the output from secure boot just keeps</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2019 15:19:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46787/application-won-t-run---erroneous-flash-address-range" /><item><title>RE: Application won't run - erroneous flash address range</title><link>https://devzone.nordicsemi.com/thread/194709?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 15:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f19d7b91-3320-4864-8985-634121529a34</guid><dc:creator>rkguy</dc:creator><description>&lt;p&gt;HOLY moly. That worked. I didn&amp;#39;t expect that. Can you explain why that worked? Also,&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jantore"&gt;Jan Tore Guggedal&lt;/a&gt;how do we debug now that it has been compiled that way, not from the Build menu?&lt;br /&gt;Noting that I received this error using at_client in version 1.0.0-rc2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't run - erroneous flash address range</title><link>https://devzone.nordicsemi.com/thread/185041?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 07:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e674dec-050e-46aa-a66a-8d9d09565bc3</guid><dc:creator>lovvig</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I always selected Build-&amp;gt;Build zephyr.elf, so&amp;nbsp;the merged.hex file was&amp;nbsp;never actually built..&lt;br /&gt;However,&amp;nbsp;right-clicking the solution and building from there resulted in the aforementioned file. &lt;br /&gt;Everything works now, thanks!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application won't run - erroneous flash address range</title><link>https://devzone.nordicsemi.com/thread/184907?ContentTypeID=1</link><pubDate>Thu, 02 May 2019 12:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f02e7dfc-e11c-4766-a11e-f28f22b3dde5</guid><dc:creator>Jan Tore Guggedal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the unexpected offset that you see is due to an update to NCS. Now projects built for non-secure nrf9160_pca10090ns target automatically includes Secure Partition Manager (SPM) and merges it with the application into a single .hex file. Some more details here on issues when used with Segger Embedded Studio::&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46780/nrf91-mqtt_simple/184528#184528"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46780/nrf91-mqtt_simple/184528#184528&lt;/a&gt;. So, it&amp;#39;s the hex file called &lt;strong&gt;merged.hex&lt;/strong&gt; that needs to be programmed to the board, as it contains both SPM and application.&lt;/p&gt;
&lt;p&gt;If you want to, SPM can be disabled by setting CONFIG_SPM=n in your project&amp;#39;s prj.conf file. Then the offset will be at&amp;nbsp;&lt;span&gt;0x00040000&amp;nbsp;as you expect and you need to program secure_boot / SPM separately as before.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jan Tore&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>