<?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>NRF9160DK problems downloading firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51825/nrf9160dk-problems-downloading-firmware</link><description>I&amp;#39;ve been having lots of issues putting the example projects on the NRF9160 dev kit. It builds without errors, connects to J-Link, but sometimes fails on the download step. Sometimes it works without any issues. I select download Intel Hex file to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Sep 2019 21:40:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51825/nrf9160dk-problems-downloading-firmware" /><item><title>RE: NRF9160DK problems downloading firmware</title><link>https://devzone.nordicsemi.com/thread/208347?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 21:40:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:048b797b-64ae-417c-a3f9-bd6c0db0a86b</guid><dc:creator>Jace</dc:creator><description>&lt;p&gt;my problem was resolved by erasing all flash first.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrfjprog --eraseall -f nrf91&lt;/p&gt;
&lt;p&gt;then:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;nrfjprog --program merged.hex --sectorerase -r -f nrf91 --verify&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160DK problems downloading firmware</title><link>https://devzone.nordicsemi.com/thread/208344?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 21:31:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e81dc4-3cea-48eb-9bbf-50270d981e40</guid><dc:creator>Jace</dc:creator><description>&lt;p&gt;Thank you for the quick reply.&amp;nbsp; I&amp;#39;ve had success flashing using both west and nrjprog.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The issue now is the device appears to be in a bad state after flashing with those methods.&amp;nbsp; The device appears to be continually rebooting.&amp;nbsp; In the LTE Link Monitor I&amp;#39;m seeing this output:&lt;/p&gt;
&lt;pre&gt;SPM: NS image at 0xc000&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;SPM: NS MSP at 0x2002ad60&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;SPM: NS reset vector at 0x13db5&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;SPM: prepare to jump to Non-Secure image.&lt;/pre&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;
&lt;pre&gt;***** Booting Zephyr OS v1.14.99-ncs2 *****&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then it shows Flash region and repeats.&lt;br /&gt;&lt;br /&gt;It also says:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Non-secure callable region 0 placed in flash region 0 with size 32.&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m wondering if maybe I&amp;#39;ve overwritten an important part of flash.&amp;nbsp; On a successful SES download, the device appears to be repaired.&lt;/p&gt;
&lt;pre class="ctrl-char CR"&gt;&lt;/pre&gt;
&lt;pre class="ctrl-char LF"&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160DK problems downloading firmware</title><link>https://devzone.nordicsemi.com/thread/208342?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2019 20:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21db4b42-0789-4fee-826b-267bfaae4cd4</guid><dc:creator>E3V3A</dc:creator><description>&lt;p&gt;You can always try to flash the HEX with nRF Connect - Programmer.&lt;/p&gt;
&lt;p&gt;OR using west&lt;br /&gt;OR using CMake&lt;br /&gt;OR using Ninja&lt;/p&gt;
&lt;p&gt;OR just try this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd ${NORDICS}/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns/zephyr/merged.hex
nrfjprog.exe --program merged.hex --sectorerase -r -f nrf91 --verify
&lt;/pre&gt;&lt;/p&gt;
&lt;div id="simple-translate"&gt;
&lt;div&gt;
&lt;div class="simple-translate-button " style="height:22px;left:10px;top:10px;width:22px;"&gt;&lt;/div&gt;
&lt;div class="simple-translate-panel " style="background-color:#ffffff;font-size:13px;height:200px;left:0px;top:0px;width:300px;"&gt;
&lt;div class="simple-translate-result-wrapper" style="overflow:hidden;"&gt;
&lt;p class="simple-translate-result" style="color:#000000;"&gt;&lt;/p&gt;
&lt;p class="simple-translate-candidate" style="color:#737373;"&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>