<?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>Programming nRF51822 on a custom board using  nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34327/programming-nrf51822-on-a-custom-board-using-nrf52840-dk</link><description>Hello, 
 Is it possible to program nRF51822 with nRF52DK (PCA10056) ? 
 Currently I am trying to program my custom beacon (nRF51822) connected via SWD P20 header. I am using SDK 12.3.0 and Keil uVision 5. I have tried to upload radio_test example from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 May 2018 13:18:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34327/programming-nrf51822-on-a-custom-board-using-nrf52840-dk" /><item><title>RE: Programming nRF51822 on a custom board using  nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/132056?ContentTypeID=1</link><pubDate>Tue, 15 May 2018 13:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ff3efa0-1391-4d8a-8146-c2a735c4b3db</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If your target info reads &amp;quot;Device: nRF52840_xxAA&amp;quot; it seems like the wiring is not done correctly.&lt;/p&gt;
&lt;p&gt;How have you connected the pins on P20?&lt;/p&gt;
&lt;p&gt;The pins you need to connect from P20 are VTG, SWDIO, SWDCLK and GND DETECT.&lt;/p&gt;
&lt;p&gt;SWDIO and GND DETECT are ok, as they can be connected directly, but remember that VTG and GND DETECT does not provide VDD to the external chip. They are used to check that the board is powered. You can power the device with an external battery, or with VDD and GND from the DK, and then connect VTG and GND DETECT to check that the board is actually powered. Once these pins detect a voltage on the external chip, it should switch from programming the internal nRF52840 to programming the nRF51 chip.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>