<?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>Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74676/cannot-use-the-swd-between-the-nrf9160-dk-to-the-thingy-91</link><description>I&amp;#39;ve recently purchased a Thingy:91 and wasn&amp;#39;t able to update its firmware via nRF Connect. I&amp;#39;m guessing this is because that there is no MCUboot on the Thingy:91 that I have. Just to note: the device powers up and connects with nRF Cloud, reports telemetry</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 May 2021 00:11:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74676/cannot-use-the-swd-between-the-nrf9160-dk-to-the-thingy-91" /><item><title>RE: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/308258?ContentTypeID=1</link><pubDate>Wed, 05 May 2021 00:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fb8cda9-1c30-4c79-87f0-eb94343fdcb0</guid><dc:creator>Christopher Hunt</dc:creator><description>&lt;p&gt;Thank you - the &amp;quot;blinky approach&amp;quot; works well!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/308221?ContentTypeID=1</link><pubDate>Tue, 04 May 2021 14:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0113e3b1-17c9-4b0a-8d26-e31e72391d34</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Did you try selecting the nRF91-DK in the programmer app and see if it was able to detect anything at all?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I usually program blinky on my DK, then connect a custom board.&lt;/p&gt;
&lt;p&gt;This way, I can see that the DK still blinks even after I program/erase the external 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: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/308020?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 21:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1afc5a4-9d9e-4718-9e53-51b5fd14be8c</guid><dc:creator>Christopher Hunt</dc:creator><description>[quote userid="2115" url="~/f/nordic-q-a/74676/cannot-use-the-swd-between-the-nrf9160-dk-to-the-thingy-91/307938#307938"]&lt;p&gt;Feel free to take away the film. Both &amp;quot;VDD_IO&amp;quot;&amp;nbsp;settings will work towards programming the DK itself, but for external programming this shall match your external board voltage:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html?cp=2_0_5_4_11"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html?cp=2_0_5_4_11&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-user"&gt;Christopher Hunt said:&lt;/div&gt;&lt;div class="quote-content"&gt;Also to confirm, should I be able to see the Thingy:91 in the nRF Connect drop down when connected via SWD, or not? Thanks.&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;div class="quote-footer"&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;You will not see the &amp;quot;thingy:91&amp;quot; being detected as a product if programming over SWD.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;OK, so I removed the film. It looks to be&amp;nbsp;in the 1.8V setting which also appears to be the factory default.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1620075773328v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Perhaps I&amp;#39;m just not verifying that the thingy:91 is being debugged. How can I tell? What tool can help me verify that the nRF9160-dk is connected to the thingy:91? Thanks for your help so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/307938?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9d2bdf-181e-43e7-a5ad-381a1df1bdab</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;
[quote user="Christopher Hunt"]It’s hard to discern if that particular dip switch is set to 1.8v as it is covered with a plastic film. The nRF9160-dk is brand new. Do you know what its factory position is? Should I remove the film covering the dip switch?[/quote]
&lt;p&gt;Feel free to take away the film. Both &amp;quot;VDD_IO&amp;quot;&amp;nbsp;settings will work towards programming the DK itself, but for external programming this shall match your external board voltage:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html?cp=2_0_5_4_11"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/hw_debug_out.html?cp=2_0_5_4_11&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Christopher Hunt"]Also to confirm, should I be able to see the Thingy:91 in the nRF Connect drop down when connected via SWD, or not? Thanks.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;You will not see the &amp;quot;thingy:91&amp;quot; being detected as a product if programming over SWD.&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: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/307928?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8500ee65-b8af-4a9b-9fd6-fced00848bd8</guid><dc:creator>Christopher Hunt</dc:creator><description>[quote userid="2115" url="~/f/nordic-q-a/74676/cannot-use-the-swd-between-the-nrf9160-dk-to-the-thingy-91/307923#307923"]A pure SWD debugger will recognize only on a SoC level, not a product level. If you have set your nRF9160-DK in 1.8V operation (VDD_IO dip-switch near the main power switch), it should be able to program your thingy91 directly over SWD.[/quote]
&lt;p&gt;It&amp;rsquo;s hard to discern if that particular dip switch is set to 1.8v as it is covered with a plastic film. The nRF9160-dk is brand new. Do you know what its factory position is? Should I remove the film covering the dip switch?&lt;/p&gt;
&lt;p&gt;Also to confirm, should I be able to see the Thingy:91 in the nRF Connect drop down when connected via SWD, or not? Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot use the SWD between the nRF9160-DK to the Thingy:91</title><link>https://devzone.nordicsemi.com/thread/307923?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 12:16:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183b6014-75d0-4a8d-8a74-a150780eb44a</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;You are using the nRF9160-DK as a pure programmer over SWD. This will not be able to fully utilize the mcuboot features, as these features require that you connect using the USB serial interface on the thingy91 itself, as per the docs:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_thingy91/UG/thingy91/firmware/pgmming_thingy91.html?cp=13_0_4_0"&gt;https://infocenter.nordicsemi.com/topic/ug_thingy91/UG/thingy91/firmware/pgmming_thingy91.html?cp=13_0_4_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A pure SWD debugger will recognize only on a SoC level, not a product level. If you have set your nRF9160-DK in 1.8V operation (VDD_IO dip-switch near the main power switch), it should be able to program your thingy91 directly over SWD.&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>