<?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 an external board through SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6566/programming-an-external-board-through-swd</link><description>Hi there,
I&amp;#39;m trying to program an external nrf51 board (Xuntong 5518) through the nrf51-DK Debug out connector. So far I have no success and I&amp;#39;m wondering if I have the correct PIN&amp;#39;s connected.
I power the Xuntong with VDD and GND from connector P1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jul 2015 08:45:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6566/programming-an-external-board-through-swd" /><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22929?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2015 08:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c9bc389-d1ff-47f4-9c1f-d4506e188061</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Jens, Please update this thread or close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22930?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 15:49:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f456992-8013-4134-9d27-c6d4698dbbc9</guid><dc:creator>Jens Str&amp;#252;mper</dc:creator><description>&lt;p&gt;OK Thanks! I had another problem in my setup. The cable on the OLIMEX JTAG adapter was wrongly placed on the header (I think it even came like this).
If I use nrfGo Studio I can now see that a different nrf is connected. To sum up my issues:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I didn&amp;#39;t set P19 PIN 1 to external board VCC&lt;/li&gt;
&lt;li&gt;Flex cable on the JTAG adpter was placed wrong by 180°&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks again,
Jens&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22928?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 14:57:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8f491cc-d614-4716-a805-d10d8dd0fa7b</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I&amp;#39;m not expert in JLink commands but you may try to read memory map where chip ID saved.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_FICR_BASE                   0x10000000UL
DEVICEID[0] offset=0x060 Device identifier
DEVICEID[1] offset=0x064 Device identifier
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22927?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 14:00:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af60251f-84f1-4f31-84b6-204a825825fc</guid><dc:creator>Jens Str&amp;#252;mper</dc:creator><description>&lt;p&gt;Thanks Alex! This was wrong in my setup. I thought PIN1 should supply power to the external board not the other  way around!
Is there an easy way to identify if the external board is recognized? I fiddled around with JLINK hwinfo and status commands but they don&amp;#39;t give information like a serial number.&lt;/p&gt;
&lt;p&gt;Cheers,
Jens&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22926?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 13:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4475ca5-9de9-4688-b123-fdd75e8e4272</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;When you apply Vcc on pin 1 (P19) from your board then nRF51DK will recognize external board and will use Debug out signals, not internal nRF51 chip&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22925?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 13:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45f27bd3-60d8-49f2-95d9-c1ee6508d6ad</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am not sure of drag and drop into the flash drive. I think that will work only for nRf51 chip or to those chips that Segger supports. If segger does not support your chip then You need to take control of the debug out port to tell it how to flash into the custom board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming an external board through SWD</title><link>https://devzone.nordicsemi.com/thread/22924?ContentTypeID=1</link><pubDate>Mon, 20 Apr 2015 13:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e22499e4-1e78-4610-bcc2-d7ac0fcbbe55</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;From Section 5.10 in the nRF51-DK - User Guide:&lt;/p&gt;
&lt;p&gt;The nRF51 DK board supports programming and debugging of external boards. To debug an external board, connect to the Debug out (P19) connector with a 10 pin cable.&lt;/p&gt;
&lt;p&gt;When the external board is powered, the interface MCU will detect the supply voltage of the board and program/debug the target chip on external board instead of the on-board nRF51422.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>