<?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>I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44767/i-have-a-nrf52840-dk-is-it-possible-to-use-the-pin-19-on-my-development-kit-to-program-a-nrf52832-that-will-go-on-a-custom-pcb</link><description>I&amp;#39;ve been trying to use the Adafruit nRF52 library ( github.com/.../Adafruit_nRF52_Arduino) and the Arduino IDE to program a nrf52832 using my nrf52840 DK. However, I keep getting &amp;#39;serial.serialutil.SerialException: Attempting to use a port that is not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Mar 2019 12:21:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44767/i-have-a-nrf52840-dk-is-it-possible-to-use-the-pin-19-on-my-development-kit-to-program-a-nrf52832-that-will-go-on-a-custom-pcb" /><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/177318?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 12:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2103ca7-162c-4755-b6ca-3c24c5bdc6b4</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;It&amp;#39;s far clearer to present this information as a schematic rather than trying to do it in words!&lt;/p&gt;
&lt;p&gt;Note that the nRF52840 DK does not supply power to the external target.&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;Øyvind&lt;/a&gt; says, a good, clear, in-focus picture (photograph) would also be&amp;nbsp;helpful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="77062" url="~/f/nordic-q-a/44767/i-have-a-nrf52840-dk-is-it-possible-to-use-the-pin-19-on-my-development-kit-to-program-a-nrf52832-that-will-go-on-a-custom-pcb/177239"]copy the output of the terminal/command prompt[/quote]
&lt;p&gt;Probably best to post it as for source code - but keep the language as &amp;#39;Text&amp;#39; (not &amp;#39;C&amp;#39;):&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7612._5F00_Insert-Code-_2D00_-Nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/177239?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2019 08:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ea6b2ab-fa0a-4775-b171-f6cdedbaa81e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Can you please copy the output of the terminal/command prompt you are using?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;What kind of file are you trying to program?&lt;/li&gt;
&lt;li&gt;Can you also include a picture of the setup you have?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;-Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/177174?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 19:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ef454db-1390-4736-8e90-f95a7ee20e77</guid><dc:creator>joannas</dc:creator><description>&lt;p&gt;Sorry meant P19. I currently have a connector that when plugged into my external NRF connects VDD-&amp;gt; VTG, IO-&amp;gt;SWDIO, CLK-SWDCLK, GND-&amp;gt; GND. However when I run&amp;nbsp;&lt;span class="s1"&gt;nrfjprog -i to see if the system is correctly trying to program my external board, I continue to just get the serial number of my DK. To make sure it wasn&amp;#39;t the connector,&amp;nbsp; I also broke out my system and connected everything to P20 but still had the same results. If I&amp;#39;m correctly applying 3 Volts to the VDD pin, what else could be the problem here?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/176371?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 10:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a00bb974-7f0e-4acd-a822-2466092badb6</guid><dc:creator>awneil</dc:creator><description>[quote userid="78007" url="~/f/nordic-q-a/44767/i-have-a-nrf52840-dk-is-it-possible-to-use-the-pin-19-on-my-development-kit-to-program-a-nrf52832-that-will-go-on-a-custom-pcb/176311"]pin 19[/quote]
&lt;p&gt;It&amp;#39;s not just a &lt;strong&gt;pin&lt;/strong&gt;; it is a &lt;em&gt;&lt;strong&gt;connector&lt;/strong&gt; &lt;/em&gt;- it has 10 pins !&lt;/p&gt;
&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;Øyvind&lt;/a&gt; says, the pinout of this connector is given in the DK&amp;nbsp;&lt;strong&gt;User Guide&lt;/strong&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/176336?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2019 08:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21012ca7-d82f-4d3d-9e9e-35e1a692e96d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Joanna,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have a look at similar cases &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21659/nrf52-p19-external-programming"&gt;here&lt;/a&gt;&amp;nbsp;and &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/20802/swd-jtag-to-a-sparkfun-nrf52832"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;In the &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/nrf52840_dk/latest/UG/nrf52840_DK/hw_debug_out"&gt;DK documentation&lt;/a&gt;, as &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt; mentions, you can find more information on how&amp;nbsp;to&lt;span&gt;&amp;nbsp;program and debug external boards. In the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK/Download#infotabs"&gt;nRF52840-DK HW files&lt;/a&gt; (bottom of page) you&amp;#39;ll find the schematics for the board, showing the pinout for P19 and P20. The file you are looking for is:&amp;nbsp;PCA10056_Schematic_And_PCB.pdf&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Oeyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/176311?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 23:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e520c9d-537a-481c-a6f8-87c264e787c4</guid><dc:creator>joannas</dc:creator><description>&lt;p&gt;Hi Oeyvind,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry I forgot to mention, I also tried this with SEGGER using the Blinky project from the SDK for the S132, but it kept programming only my DK instead of the nrf52832 that I connected on pin 19. Is there anything I need to select on SEGGER to make sure it goes to my target&amp;nbsp;device?&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Joanna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/175996?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 15:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5129c96-9307-442a-bf6c-a60beee30c0d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The Nordic DKs include an on-board J-Link and, yes - that can be used to program external targets. How to do this is described in the DK &lt;strong&gt;documentation&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;But what you describe is using some sort of 3rd-party (Adafruit/Arduino) bootloader - as &lt;a href="https://devzone.nordicsemi.com/members/oys"&gt;Øyvind&lt;/a&gt;&amp;nbsp;says, you&amp;nbsp;&amp;nbsp;will have to go to the 3rd party for support with that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I have a nrf52840 DK. Is it possible to use the Pin 19 on my development kit to program a nrf52832 that will go on a custom PCB?</title><link>https://devzone.nordicsemi.com/thread/175986?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2019 14:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92636f89-a57f-49d6-932d-0695c4ed0c5c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nordic does not provide any official support for Arduino. You will have to check this directly with the developers of the 3rd party developers.&amp;nbsp;&lt;/span&gt;As the Adafruit nRF52 library is made by Adafruit, you will have direct your support questions to the Adafruit forum.&lt;br /&gt;&lt;br /&gt;We suggest using the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/nRF5-SDK"&gt;official SDK&lt;/a&gt; for our &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/nrf52840_dk/latest/UG/nrf52840_DK/intro"&gt;development kit&lt;/a&gt; along with &lt;a href="https://www.segger.com/news/segger-embedded-studio-ide-now-free-for-nordic-sdk-users/"&gt;Segger Embedded Studio&lt;/a&gt;&amp;nbsp;which is&amp;nbsp;free for people programming on Nordic devices&lt;span&gt;. The SDK includes several &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/examples"&gt;example projects&lt;/a&gt; that work out of the box for our development kit.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Oeyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>