<?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>nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34638/nrf52840-pdk-to-external-board-programming</link><description>I&amp;#39;m using the P20 connectors in nRF52 PDK to flash my custom nRF52832 board. 
 The connections are like this: 
 SWDIO ----&amp;gt; SWDIO 
 SWDCLK ----&amp;gt;SWDCLK 
 VTG ------&amp;gt; VDD 
 GND DETECT, GND ----&amp;gt; GND 
 I&amp;#39;ve powered up the custom board externally. I&amp;#39;ll attach</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jun 2018 19:00:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34638/nrf52840-pdk-to-external-board-programming" /><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135806?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 19:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f9fc85-1648-4fb1-997c-e8278544a561</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;I have two&amp;nbsp;custom boards and both of them draw approx. 95 mA when supplied 3.3 V. The board was designed with the reference schematic in mind. Can the programmer IC draw that much current?&lt;/p&gt;
&lt;p&gt;-vivenkat&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135804?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 18:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea647b9-f2fe-44a7-ae81-32572719c191</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Did you reverse the polarity? 94 mA is very high. It should draw a couple of milliamps when the chip is blank.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend that you check&amp;nbsp;the&amp;nbsp;connections and look for&amp;nbsp;shorts on your external board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135802?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 18:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2336d500-000f-4db2-ad51-60abd683b9d3</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;&amp;quot;&lt;span&gt;When shorting VTG-&amp;gt;VDD_NRF (or pin VDD), you tell the board to use P20 as the target debug. Your external board, connected to P20 (1x8 header), should still be powered&lt;/span&gt;&amp;quot; - where should this command be given ?&lt;/p&gt;
&lt;p&gt;On my DC power supply, the current reading is around 94 mA. I have a pca10040 Atmel IC and I am using it to program a&amp;nbsp;nRF52810. The display on my JLink commander and nRFgo studio is the same what Labuka&amp;nbsp;posted.&lt;/p&gt;
&lt;p&gt;Thanks very much for your reply!&lt;/p&gt;
&lt;p&gt;-vivenkat&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135762?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 14:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2bf99b9-45d1-401f-8790-90dbd3695a73</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Could you check the current consumption of your external board?&lt;/p&gt;
&lt;p&gt;You haven&amp;#39;t cut SB9 on a previous occasion and not remembered to place a jumper cable on the &amp;quot;nRF current measurement&amp;quot; header?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135715?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 10:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb4480b-90b0-4ebb-8806-2b606fec6631</guid><dc:creator>Labuka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I gave the connections exactly as you described but still I&amp;#39;m facing the same issues. I&amp;#39;ll post the logs for reference.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-_2800_79_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-_2800_80_2900_.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135705?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2018 09:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82e4022a-2534-4973-8f50-abe40685e3ea</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;blockquote&gt;
&lt;p&gt;If we short the VDD_nRF and VTG pins, where should the custom boards&amp;#39; VDD be connected? Should the board be powered separately?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;When shorting VTG-&amp;gt;VDD_NRF (or pin VDD), you tell the board to use P20 as the target debug. Your external board, connected to P20 (1x8 header), should still be powered. I recommend&amp;nbsp;powering your external board with either &amp;quot;VDD&amp;quot; or &amp;quot;VDD_NRF&amp;quot; from the nRF5x-DK. This is to ensure that the voltage is equal on both the debugger and your custom board.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you still have issues connecting to your board, please check with both nrfjprog and JLink Commander and post logs from both programs.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/135635?ContentTypeID=1</link><pubDate>Mon, 11 Jun 2018 19:05:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3c4f17b-4db4-442b-a2f6-4fbb75f09618</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;If we short the VDD_nRF and VTG pins, where should the custom boards&amp;#39; VDD be connected? Should the board be powered separately?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;-vivenkat&lt;/p&gt;
&lt;p&gt;Edit 1: My connections are as follows:&lt;/p&gt;
&lt;p&gt;On P20,&lt;br /&gt;VDD_nRF and VTG are shorted&lt;br /&gt;VDD is used to power the custom Nordic&amp;nbsp;board&lt;/p&gt;
&lt;p&gt;SWDIO and SWDCLK in nRF52 DK to SWDIO and SWDCLK on the custom Nordic&amp;nbsp;board&lt;/p&gt;
&lt;p&gt;One of the GND pins from the DK to the custom board.&lt;/p&gt;
&lt;p&gt;I have the same error as Labuka. Any help would be gladly appreciated!&lt;/p&gt;
&lt;p&gt;-vivenkat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/134711?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 11:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:068eef5e-af4d-42f0-8873-f88eb8ced514</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;It is recommended that you short &amp;quot;VDD_NRF&amp;quot; to &amp;quot;VTG&amp;quot; on P20, to force the segger to&amp;nbsp; use this port for programming, and power your external board from the nRF5x-DK.&lt;/p&gt;
&lt;p&gt;Once this is done, you can connect SWDIO+SWDCLK to your target, in addition to the VDD_NRF and GND.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What does the output of Jlink Commander show if you try to connect using this tool?&lt;/p&gt;
&lt;p&gt;Do you have other custom boards that behave similar?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/134551?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 12:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e902483-c584-4402-9ce5-4e24a66c85be</guid><dc:creator>Labuka</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-_2800_77_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried using nRFjprog but still that didn&amp;#39;t work out. I thought I might have locked out the chip so tried recovery but that also didn&amp;#39;t work out. Is there any way to work it out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/132998?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 12:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1486ebd-5096-45aa-a869-c333823e99ef</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;VDD should be connected to VTG&lt;/p&gt;
&lt;p&gt;Use nRFjprog instead, install the latest version of &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822/nRF5x-Command-Line-Tools-Win32/33444"&gt;nRF5x command line tools&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/132984?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 12:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed5fd87-82ff-415f-a6db-a2d81098edbe</guid><dc:creator>Labuka</dc:creator><description>&lt;p&gt;Yes, the external board is powered by a 3.3v source. So where should I connect the VDD from my external board to nRF52 PDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 PDK  to external board programming</title><link>https://devzone.nordicsemi.com/thread/132970?ContentTypeID=1</link><pubDate>Wed, 23 May 2018 11:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7d3ddc5-1c27-4562-91ef-8bf28693e46d</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Is the external board powered? The nRF52 PDK does not supply power via VTG so you must supply the board externally. VTG is input to the reference voltage of the level shifters on the nRF52 PDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>