<?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>nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46310/nrf9160-dk-as-a-debugger-for-a-second-nrf9160-dk</link><description>Hi, 
 I plan to design my own hardware based around nRF9160. Prior to this, I want to verify that I can use the nRF9160DK as a debugger for my own board. As an initial test, I plan to use two nRF9160 DK boards, one as a target and one as a debugger. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jan 2020 14:51:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46310/nrf9160-dk-as-a-debugger-for-a-second-nrf9160-dk" /><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/229247?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 14:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:223a247d-3d2b-4044-9b17-d2eebf83faf0</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi, yes, I got this working. Th trick was to make sure th overall file in the SPM was updated to route the RXD and TXD to the appropriate GPIO pins&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/228459?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 04:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c750887-46c4-49f4-9085-532bf94506b9</guid><dc:creator>ychen</dc:creator><description>&lt;p&gt;Hi ROD,&lt;/p&gt;
&lt;p&gt;can you tell me how to connect,&lt;span&gt;Your problem solved?&lt;/span&gt;&lt;span&gt;Are you sure&amp;nbsp;&lt;/span&gt;&lt;span&gt;target board connected to the PC,&amp;nbsp;and SW1, nRF ONLY selected, I don&amp;#39;t see any serial data over the USB connector.please attached picture.thank you&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/188839?ContentTypeID=1</link><pubDate>Thu, 23 May 2019 13:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34bb33ae-072a-4696-b177-2c42052e8f4c</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Great, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/186638?ContentTypeID=1</link><pubDate>Mon, 13 May 2019 10:16:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e77da81-2b5d-4317-8d42-cd84f5afb2d1</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;You can take a look at the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/if_connector.html?cp=2_0_2_4_5"&gt;GPIO interfaces&lt;/a&gt; in the DK specification.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/186229?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 14:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27c4edd8-a632-42d7-a7b6-856551de18d3</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;so is there a list of pins that are available on the DK for use as GPIO?&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/186226?ContentTypeID=1</link><pubDate>Thu, 09 May 2019 14:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da517e3f-596b-4e56-8b7f-64d4e85530f2</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As you can see here:&amp;nbsp;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk%2FUG%2Fnrf91_DK%2Fhw_buttons_leds.html&amp;amp;anchor=hw_buttons_leds"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk%2FUG%2Fnrf91_DK%2Fhw_buttons_leds.html&amp;amp;anchor=hw_buttons_leds&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;P0.08 and P0.09 are connected to Switch1/Switch2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185935?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 11:31:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45d4155b-46a0-45d4-b509-54272695be5c</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Joakim,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for this. I am still seeing problems&amp;nbsp;accessing these pins. For&amp;nbsp;example, in the&amp;nbsp;link above,&amp;nbsp;&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/pin.html?cp=2_0_0_9_0"&gt;Pin Assignments&lt;/a&gt;&amp;nbsp;, it&amp;nbsp;suggested P0.08&amp;nbsp;and P0.09 are&amp;nbsp;available as GPIO&amp;nbsp;&lt;/span&gt;however, when I try to use these pins as a UART, I update my overlay file accordingly, they don&amp;#39;t work. Its as if the DK is using these as something else and they are not free.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185837?ContentTypeID=1</link><pubDate>Wed, 08 May 2019 07:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b262dc6-df2a-4e7d-af04-2dbf9bf2f990</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Rod!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad you were able to make it work.&lt;/p&gt;
&lt;p&gt;1. You can find the list of which I/O pins are free to use in the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/pin.html?cp=2_0_0_9_0"&gt;Pin Assignments&lt;/a&gt; in the nRF9160 PS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. When using &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=/ug_nrf91_dk/UG/nrf91_DK/nrf_only_mode.html" rel="noopener noreferrer" target="_blank"&gt;nRF Only&lt;/a&gt; mode the UART are routed to VCOM 0,1,2. So if you want to to use the UART while in nRF Only mode, you can take a look at the suggestion from my colleague Martin in the thread below:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185304?ContentTypeID=1</link><pubDate>Sun, 05 May 2019 10:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c851e8c-36ce-480c-9ced-9871053d683d</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;Ok, I now have this working, almost.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I followed this link&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and I had to change the I/O pins used but this now seems to work.&lt;/p&gt;
&lt;p&gt;I have a couple more quick questions and then I think we can close this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Please can you confirm what I/O pins are not used on the DK and are free? I recall seeing a list somewhere but I can&amp;#39;t find it.&lt;/p&gt;
&lt;p&gt;2. On my target board, where I am running in &amp;quot;nRF only mode&amp;quot;, I assume that I should now be able to more or less use any I/O pin I want on the 9160? I have tried to use various pins for my UART Tx/Rx but only a handful seem to be usable, even in nRF Only mode. Do I need to program the nRF52840 first to free up I/O pins on the 9160? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185259?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 19:08:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23248ded-eb90-4a09-9228-d51c66580af1</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;PPS&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Followed this as well, no luck&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44114/continuous-wave-for-nrf9160&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185258?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 18:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af9875b-eafc-4dcd-9222-288ee9254ed4</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;PS, I also noted in the UM that UART was routed too P0.28 &amp;amp; P0.29. I also tried connecting directly to these pins&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/185257?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 18:02:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea52e2cb-1708-47cf-846b-4ddef769c407</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;I have had another look at this. I imagine the reason I am not seeing the terminal out put is due to the way the VCOM is being routed. As a quick and easy test, I tried to connect up directly to the UART port using a UART - USB adapter.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01N4X3BJB?pf_rd_p=330fbd82-d4fe-42e5-9c16-d4b886747c64&amp;amp;pf_rd_r=BVBRX27PHHRS1DA3SM0N"&gt;https://www.amazon.co.uk/gp/product/B01N4X3BJB?pf_rd_p=330fbd82-d4fe-42e5-9c16-d4b886747c64&amp;amp;pf_rd_r=BVBRX27PHHRS1DA3SM0N&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking at the overlay file in the secure_boot application, I note that TXD and RXD are connected to pins 18 &amp;amp; 17.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/* needed to get the NRF_UARTE2 defined */
&amp;amp;uart2 {
	current-speed = &amp;lt;1000000&amp;gt;;
	status = &amp;quot;ok&amp;quot;;
	tx-pin = &amp;lt;18&amp;gt;;
	rx-pin = &amp;lt;17&amp;gt;;
	rts-pin = &amp;lt;19&amp;gt;;
	cts-pin = &amp;lt;21&amp;gt;;
};

&amp;amp;spi3 {
	status = &amp;quot;ok&amp;quot;;
	sck-pin = &amp;lt;10&amp;gt;;
	mosi-pin = &amp;lt;11&amp;gt;;
	miso-pin = &amp;lt;12&amp;gt;;
	ss-pin = &amp;lt;13&amp;gt;;
	spi-max-frequency = &amp;lt;4000000&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, this did not work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any thoughts as to why I am not seeing thermal output when I switch the board to nRF Only mode?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/184377?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 15:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68feeca8-98cd-4681-93a7-ac50bd59078e</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;Joakim,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have now received my second board and have configured them as&amp;nbsp;detailed above. This now allows me to program my target nRF9160DK from my debugger nRF9160 which is great.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I still am having problems seeing my&amp;nbsp;serial output from the target board. When I&amp;nbsp;have &amp;quot;nRF Only&amp;quot; switched&amp;nbsp;to off on the target board, I see 3 possible serial terminals&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Watts-MacBook-Pro:~ Watt$ ls /dev/cu*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/dev/cu.Bluetooth-Incoming-Port&lt;span class="Apple-tab-span"&gt; &lt;/span&gt;/dev/cu.usbmodem0009600405783&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/dev/cu.usbmodem0009600405781&lt;span class="Apple-tab-span"&gt; &lt;/span&gt;/dev/cu.usbmodem0009600405785&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can then see the&amp;nbsp;serial output via the command&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Watts-MacBook-Pro:~ Watt$ screen /dev/cu.usbmodem0009600405781 115200 -L&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, when I&amp;nbsp;switch it to &amp;quot;nRF Only&amp;quot;, all I see is&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Watts-MacBook-Pro:~ Watt$ ls /dev/cu*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/dev/cu.Bluetooth-Incoming-Port&lt;span class="Apple-tab-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So my question is,&amp;nbsp;where can I see the&amp;nbsp;serial output on my target board when I switch it to &amp;quot;nRF Only&amp;quot;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Rod&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/183587?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 17:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7365691-1734-4e6a-9237-e3aec7393b04</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Joakim,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for this. I have ordered a second nrf9160DK, I think it will take about a week to arrive so I will let you know how it goes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With my current target board, I have programmed it using its own on-board debugger but when I switch to &amp;quot;nRF Only&amp;quot; mode, I don&amp;#39;t see any output over the serial port. I have switched VDDIO to 3V as above. Any thought sas to why I am not seeing any serial data?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 DK as a Debugger for a second nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/183434?ContentTypeID=1</link><pubDate>Wed, 24 Apr 2019 11:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:823b1a49-f18e-42c3-abed-575781703c9b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Rod.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe this should work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your connections looks to be correct. Could you also set the &amp;quot;VDD IO&amp;quot; to &amp;quot;3V&amp;quot; as shown in the picture below and see if that helps:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4338711c78324891b78ef942756379a4/vddio3v.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;br /&gt;Joakim Jakobsen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>