<?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 flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72495/unable-to-flash-thingy-91-through-nrf9160dk</link><description>Hi. 
 I&amp;#39;m having trouble flashing my Thingy:91 with the nRF9160DK as a debug probe. 
 The DK is set to 1.8V, I have a 10pin JTAG cable connected to the debug out of the DK to the Thingy. 
 The Thingy is set to nRF9160 and both units are powered on. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Mar 2021 12:39:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72495/unable-to-flash-thingy-91-through-nrf9160dk" /><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298701?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 12:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9977eada-490f-469a-8b31-adb2e11fd4ea</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;That is good news. If you want to step further, check the cable and connection headers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298673?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5883e618-91d5-4c4d-9e54-e989a160eb58</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;I tried just compiling the Asset_Tracker application from the ncs folder. Flashed the &lt;em&gt;app_signed.hex&lt;/em&gt;&amp;nbsp;to the Thingy (without the DK) and it worked, so at least I have one way to flash my programs to the Thingy.&lt;/p&gt;
&lt;p&gt;Would really love to use the DK as well so I don&amp;#39;t have to use MCUBOOT every time, but this works for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298667?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44ba3333-7450-4aa4-84dc-9418e9553667</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Your suspicion is correct.&lt;/p&gt;
&lt;p&gt;Flashed the img_app_bl/at_client example for the 9160DK (from the zip file on the DK download page) and got a printout on the LTE monitor.&lt;/p&gt;
&lt;p&gt;Flashed the example above and got some weird data from the monitor:&lt;br /&gt;&lt;img height="36" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1615289358877v1.png" width="606" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298653?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 11:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77bf81eb-05bc-4356-87c6-97b7168fc9fa</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Can you check my suspicion?&lt;/p&gt;
&lt;p&gt;You can program a hello world or any other known program to nrf9160dk first and repeat the above process to program thingy91, then check if the program on nrf9160dk is been modified.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298641?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 10:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3edfe489-45b4-4a76-9bd7-e3abc6a151a0</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Yes, I have a USB cable connected to both the DK and the Thingy.&lt;/p&gt;
&lt;p&gt;The number of COM ports match as well&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298640?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 10:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f11f9cef-0f29-4ed1-9331-df9f5ddb5241</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;I suspect you are programing the nrf9160dk on nrf9160 for some reason.&lt;/p&gt;
&lt;p&gt;Did you power your thing91 with a USB cable? You should see two devices.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1615286780695v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298631?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 10:26:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7517cae-d1e0-4716-963c-e06545834118</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Nope, nothing.&lt;/p&gt;
&lt;p&gt;Output from the programmer:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1615285575779v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298626?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 10:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f2d253-ca0f-4a91-ab36-895f411f1978</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;You should use&amp;nbsp;img_app_bl/debug/thingy91_debug_ltem_2021-03-04_8e8c6089.hex.&lt;/p&gt;
&lt;p&gt;See explanation of different firmware usages in&amp;nbsp;CONTENTS.txt.&lt;/p&gt;
&lt;p&gt;You should see LED blink and printout from LTE monitor if programing works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298614?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbd77057-deb8-4924-9d3a-ec0c460299e3</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Tried it, no joy!&lt;/p&gt;
&lt;p&gt;I see no lights flashing on the Thingy91, and there are no errors in the programmer log.&lt;/p&gt;
&lt;p&gt;For reference, I was using the &lt;em&gt;img_app_dfu_hex/thingy91_ltem_2021-03-04_8e8c6089.hex&lt;/em&gt; file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298605?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:490d3fda-af0f-4dfc-8907-3aec91a6cd81</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Don&amp;#39;t worry. We are getting close to solve this problem. ;-)&lt;/p&gt;
&lt;p&gt;I want to confirm one thing to make sure the hardware does not have issue.&lt;/p&gt;
&lt;p&gt;If you use &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_thingy91%2FUG%2Fthingy91%2Fintro%2Ffrontpage.html"&gt;Programming applications through an external debug probe&lt;/a&gt;&amp;nbsp;method to program the latest original &lt;a href="https://www.nordicsemi.com/-/media/Software-and-other-downloads/Dev-Kits/Thingy91/thingy91_fw_2021-03-04_8e8c6089.zip"&gt;Precompiled application and modem firmware&lt;/a&gt;&amp;nbsp;from&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91"&gt;https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91&lt;/a&gt;&amp;nbsp; Download, is it works as expected?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298599?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5463e35-379e-41ad-aa59-559423987e5c</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Nope, no blinking &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298596?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 09:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41a030bb-b229-43c6-9619-add8689707e2</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;1. Make sure you are choosing nRF9160DK as programmer. It should show three COM ports on NCS programer.&lt;/p&gt;
&lt;p&gt;2. Try to use this firmware&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6646.merged.hex"&gt;devzone.nordicsemi.com/.../6646.merged.hex&lt;/a&gt;, even it is only built for my device, it should at least able to run at the beginning.&lt;/p&gt;
&lt;p&gt;3. Check if &amp;quot;&lt;span&gt;LED is off when the programing is undergoing. After programming, the program starts to run, LED is blinking.&lt;/span&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298591?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 08:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:518ff13d-853d-4cd6-a5a4-81ec3547afc6</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;So, I tried to flash the build/zephyr/app_signed.hex from the ATv2 to the Thingy:91 with the NCS programmer, but I got an image upload error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1615279984463v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am also running this patch (&lt;a href="https://github.com/simensrostad/fw-nrfconnect-nrf/commit/c07fe56cf477f9a27bef22fb66c071fd10de0769"&gt;https://github.com/simensrostad/fw-nrfconnect-nrf/commit/c07fe56cf477f9a27bef22fb66c071fd10de0769&lt;/a&gt;) on the Asset Tracker v2, since I don&amp;#39;t have an AWS server to connect to, and I get build errors without one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298579?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 08:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:066c568f-d50b-4ff2-9944-665290862b8b</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Ok. That&amp;#39;s strange. For the&amp;nbsp;&lt;span&gt;Asset Tracker v2 application example,&lt;/span&gt;&amp;nbsp;did you see any reaction from LEDs on Thiny91?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I observe that LED is off when the programing is undergoing. After programming, the program starts to run, LED is blinking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298501?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 18:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01199c45-76a1-42c3-8a82-c6ba9c47b38f</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nope. No luck. I have nothing on the&amp;nbsp;LTE Link terminal.&lt;/p&gt;
&lt;p&gt;All the flags in the top right corner are red as well.&lt;/p&gt;
&lt;p&gt;Very mysterious...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298485?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 17:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:720c8b3a-1405-4923-832e-e8a0c4952483</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Patric,&lt;/p&gt;
&lt;p&gt;Please try the original&amp;nbsp;&lt;span&gt;Asset Tracker v2 application example first. You will see at least the following printout from the second COM port.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.4.99-ncs1  ***
[00:00:00.244,689] &amp;lt;inf&amp;gt; event_manager: APP_EVT_START
[00:00:00.271,759] &amp;lt;inf&amp;gt; event_manager: DATA_EVT_CONFIG_INIT
[00:00:00.277,862] &amp;lt;inf&amp;gt; app_module: Device mode: Active
.....&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298482?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 16:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8c7eef7-908d-4cf4-8283-c41735f431de</guid><dc:creator>patricab</dc:creator><description>&lt;p&gt;Hi Charlie. Thank you for answering!&lt;/p&gt;
&lt;p&gt;Probably. I&amp;#39;m&amp;nbsp;using some of the same stuff from the Asset Tracker v2 prj.conf file, but I&amp;#39;m practically running a test program that prints Hello world to the serial terminal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;main.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;sys/printk.h&amp;gt;

void main(void)
{
        printk(&amp;quot;Hello World!\n&amp;quot;);
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;CMakeLists.txt:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(blinky)

target_sources(app PRIVATE src/main.c)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also included the SPM child image from Asset Tracker v2, because I got some weird SPM errors when building the project.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Patric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to flash Thingy:91 through nrf9160DK</title><link>https://devzone.nordicsemi.com/thread/298433?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 14:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc7a1ced-4555-4f17-813a-0e79ad313935</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Patricab,&lt;/p&gt;
&lt;p&gt;I repeat your process with &lt;span&gt;Asset Tracker v2 application and it works fine&lt;/span&gt;. Did you try the original example?&lt;/p&gt;
&lt;p&gt;Could it be something wrong with your&amp;nbsp;&lt;span&gt;prj.conf file?&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;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>