<?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>mqtt_simple programmed to wrong address range 00008000 -- 00020abb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47032/mqtt_simple-programmed-to-wrong-address-range-00008000----00020abb</link><description>Hi, 
 I tried to open the mqtt_simple project on the nonsecure ns nrf9160 DK using SES and after that tried to build and run the project which was successfully done but the the application was programmed to wrong address range , i think the secure part</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 19 May 2019 06:46:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47032/mqtt_simple-programmed-to-wrong-address-range-00008000----00020abb" /><item><title>RE: mqtt_simple programmed to wrong address range 00008000 -- 00020abb</title><link>https://devzone.nordicsemi.com/thread/187737?ContentTypeID=1</link><pubDate>Sun, 19 May 2019 06:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca21b078-98a5-4fd0-b5ea-2b66b1196a5f</guid><dc:creator>GJSea</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/male"&gt;Martin Lesund&lt;/a&gt; thanks this worked for me too.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the proper procedure for debugging in this current state of SES/NCS disparity?After I do the Download File step per above the, I initiate Debug..Go then SES proceeds to flash the firmware again (in the wrong location 0x00008000) but somehow debugging magically works. Can I assume the Debug..Go flash isn&amp;#39;t affecting the location of the first flash and attaching the debug session in the correct location?&lt;/p&gt;
&lt;p&gt;Thx!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mqtt_simple programmed to wrong address range 00008000 -- 00020abb</title><link>https://devzone.nordicsemi.com/thread/185924?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 11:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9815efcf-eb35-428f-81cb-e593c9d2e016</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;The same would apply for the &lt;em&gt;mqtt_simple&lt;/em&gt; sample or any other samples/applications in NCS for that matter.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Just change the folder paths and samples to what suits your use case.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mqtt_simple programmed to wrong address range 00008000 -- 00020abb</title><link>https://devzone.nordicsemi.com/thread/185894?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 09:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f96ff4f-5f8b-4d78-a175-a2781abdf1cc</guid><dc:creator>JNair</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the answer. I just had a query that should i need to follow these steps only while building programs in applications folder like asset tracker or also for projects in samples folder like mqtt_simple also?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mqtt_simple programmed to wrong address range 00008000 -- 00020abb</title><link>https://devzone.nordicsemi.com/thread/185854?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 08:20:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54434429-dfd0-4d6a-82bc-ca368dafcf4e</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello JNair,&lt;/p&gt;
&lt;p&gt;The current version of SES (v4.16) does not take into account an updated feature which has been introduced in NCS.&lt;/p&gt;
&lt;p&gt;Basically when building the application it will also build the &amp;quot;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/spm.html#lib-spm" rel="noopener noreferrer" target="_blank"&gt;Secure Partition Manager&lt;/a&gt;&amp;quot; (spm) [&lt;em&gt;earlier known as "Secure_boot"&lt;/em&gt;] and then merging those two together for your convenience.&lt;/p&gt;
&lt;p&gt;So you need to manually select this &amp;quot;merged.hex&amp;quot; file when you want to flash the application to the nRF91.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Here is a quick guide on how this is done:&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Build solution as normal&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303437778v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;See that the output shows it has made a “merged.hex” file &lt;em&gt;(which will consist of your application and the “spm”)&lt;/em&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303464370v2.png" alt=" " /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Then make sure your nRF91DK is powered ON and then “connect J-Link”:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303475544v3.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;And then manually choose the correct “merged.hex” file to be flashed to the kit:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303496056v4.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;It is located in the applications build folder under zephyr:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303509813v5.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Then it will be flashed to your kit and you should see “Download Successful” in the Output:&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-1d2ab308b66c42caa0e1a94821440f62/pastedimage1557303516956v6.png" alt=" " /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&amp;nbsp;Best Regards,&lt;br /&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>