<?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>Segger Debug Out on DK can&amp;#39;t see my target</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9896/segger-debug-out-on-dk-can-t-see-my-target</link><description>I just got a new target board back from fab/assembly and I&amp;#39;m trying to use the debug out connector on the PCA10028 to program the new target. 
 My target is the NRF51822-CFAC-R 
 I&amp;#39;ve wired J19 on the DK as follows: 
 Pin 1 - tied to the same 3V supply</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Oct 2015 23:40:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9896/segger-debug-out-on-dk-can-t-see-my-target" /><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36709?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 23:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c5a0eab-326d-4d8a-a49b-c8941a734476</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;If you use nRFGo studio you will see the part number and Build Code for the device you are programming.  The part on the nRF51-DK is a nRF51422.  If you are using a nRF51822 you should see that listed instead of the one on the DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36708?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 20:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dafda15-6a93-462e-b4b6-19ddffa989dd</guid><dc:creator>Martijn</dc:creator><description>&lt;p&gt;Pro tip: cut the measurement pad on the dk(SB9). To program the dk itself place a jumper on DK measurement pins.  To program an external board remove the jumper to be sure the dk itself is not programmed..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36707?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 20:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dd9907a-af1d-457d-91be-34952f7f1989</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;It always turns out to be the simplest thing. I&amp;#39;m connecting to my target using pogo pins to landing pads. The whole works is pretty small and my fixture seemed precise. It turns out that the board was shifting in the fixture and the pogos were not lining up reliably.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve now got the board programmed with an S110 SD and with my test app. And it&amp;#39;s connecting to my phone.&lt;/p&gt;
&lt;p&gt;One pro-tip: It&amp;#39;s very easy to accidentally program the DK rather than the target if you forget to power up the target. You really can&amp;#39;t tell which is being programmed. So I loaded the &amp;quot;blinky&amp;quot; app onto the DK. If the LEDs are blinking, I know I programmed my target, not the DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36705?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 08:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:795c2007-bbc8-44f4-8913-e9db16769666</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Also, packet CFAC means that you have a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51.v1.0.0/pdflinks/nrf51_comp_matrix.html?resultof=%22%63%6f%6d%70%61%74%69%62%69%6c%69%74%79%22%20%22%63%6f%6d%70%61%74%22%20"&gt;3rd revision IC&lt;/a&gt; so a pull down should not be necessary although some customers use one anyway to avoid ESD messing with the line.&lt;/p&gt;
&lt;p&gt;Did you check the wiring?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36704?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 08:45:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70579cc8-a003-4497-b9d7-bbd8e23e7f92</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;So I understand it like we have isolated the problem to your custom board?&lt;/p&gt;
&lt;p&gt;The 16MHz clock should not be necessary. But for you information: The CL mentioned in the white paper is given in the &lt;em&gt;crystal&amp;#39;s datasheet&lt;/em&gt;. Then you can calculate the values of your capacitors as described on page 9 and 10 in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.whitepapers.v1.0.0/pdflinks/nwp_015.html?cp=11_5"&gt;white paper&lt;/a&gt;. &lt;strong&gt;EDIT:&lt;/strong&gt; Remember the parasitic capacitance inside the NRF51 of about ~4pF (~1pF on nRF24LE1). These will in effect be connected in parallel to C1 and C2.&lt;/p&gt;
&lt;p&gt;These are the data sheets for the nRF51: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51.v1.0.0/pdflinks/ref_manual.html?cp=2_2"&gt;Reference Manual&lt;/a&gt; &amp;amp; &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51.v1.0.0/pdflinks/51822_ps.html?cp=2_3_0"&gt;Product Specification&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36703?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 08:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62be9f34-bf29-48b8-8d90-678772a606a2</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;To address some of this items listed above.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A target board running at 3.0vdc will program fine.  (The Beacon Reference design for example runs on a button cell)&lt;/li&gt;
&lt;li&gt;The Unit will flash without the High speed crystal operating.&lt;/li&gt;
&lt;li&gt;The CL value can calculated :  (CL*2)-4  (for the nRF51)  The 4 is the stray capacitance in pf on the pins from the ESD protection and wire bonding.  Pick the  nearest standard value cap.  CL=8pf then load cap SB 12pf (each side!)&lt;/li&gt;
&lt;li&gt;The high speed crystal clock comes on when needed.&lt;/li&gt;
&lt;li&gt;Rev 2 and Rev 3 silicon have pull ups and pull downs on the  SWD lines.  No external ones are needed but will not hamper it from working either.&lt;/li&gt;
&lt;li&gt;Pin 1 on P19 is not a voltage  source, it is a reference input to the Segger part telling it that there is something connected and correct Vcc..&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36702?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 23:16:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a129f9-02de-454c-a6fd-973c5997e128</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;I&amp;#39;ve been looking for CL in the product specification document but I can&amp;#39;t find it. What CL is the crystal oscillator white paper talking about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36701?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 23:15:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2267a8f1-092f-4b75-9a22-62f0c0744730</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;Hmm. Figuring out the correct value for the load caps turns out to be harder than it should be. I looked at the white paper entitled &amp;quot;Crystal Oscillator Design Considerations&amp;quot; and the calculations it suggest are simple enough. However, it contains the following sentence:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;When buying crystals you can usually choose from a range of capacitive loads (ex: 8-20pF). When ordering a crystal you must choose a CL (ex: 12 pF) that is within the range of the CL specified for the nRF device. The CL range that nRF devices can operate in is only limited by the maximum CL (ex: CL &amp;lt; 16 pF). This maximum CL depends on the on-chip crystal oscillator design and is specified in the device data sheet.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I can&amp;#39;t find a data sheet listed &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36700?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 22:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b130bbb9-0078-46ec-8301-6a514e904b53</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;It looks as though the 16MHz crystal is not starting. I&amp;#39;m not sure if that will prevent the JTAG from working but &lt;a href="https://devzone.nordicsemi.com/question/22706/custom-nrf51822-board-not-showing-in-nrfgo/"&gt;this thread&lt;/a&gt; seems to indicate so. I used 12pF caps on the crystal, copied from the reference design. But I see the values are rather critical as specified in section 3.6.1 of the Product Specification. I&amp;#39;ll do some measurements and calculations and see if changing the caps will get the crystal to start. Does anyone know if that would prevent the JTAG from working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36699?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 22:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cb540c5-4f48-4c8b-b0c7-f9b7d07c542b</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;I added a 100K pull-down to the SWDCLK pin as per &lt;a href="https://devzone.nordicsemi.com/question/22706/custom-nrf51822-board-not-showing-in-nrfgo/"&gt;this thread&lt;/a&gt;. But that did not fix the problem. I still think it&amp;#39;s a good idea to have this pull-down in place, though, since  my target does not have it and the DK I&amp;#39;m using to program doesn&amp;#39;t either. And I&amp;#39;m not sure if I have the latest version of the silicon where there is an internal pull-down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36706?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2015 17:46:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a0b60ab-714a-4db6-b940-39a2ed2bdfac</guid><dc:creator>Bret Foreman</dc:creator><description>&lt;p&gt;I broke out a second nRF51 DK and connected a cable from P19/Debug Out to P18/Debug In. I did not connect the second DK to USB. Rather, I powered the second DK from a benchtop supply. Just to make sure of which nRF51 I was programming, I used the &amp;quot;blinky&amp;quot; example. I was able to see the second DK&amp;#39;s nRF51 from the Segger on the first DK and verified that I was programming the second DK when the blinky lights on the second DK flashed as expected. So my Debug Out is working with an external target.&lt;/p&gt;
&lt;p&gt;I then connected my new board in the same way and gave it another try, powering it from 3.3V just be be sure. No action - the Segger can&amp;#39;t see my target.&lt;/p&gt;
&lt;p&gt;That said, my target is extremely small and I connect to it with a custom-made programming fixture with pogo pins. There&amp;#39;s a chance that fixture is mis-wired or the pogos are not making contact. I&amp;#39;m going to verify all the wiring and try to verify the pogo contacts. If all that checks out, then I&amp;#39;ll upload the gerbers for examination by the group.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36698?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2015 12:58:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105bea54-99d2-4516-8ccb-19d954c4b0ac</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hm... That&amp;#39;s unfortunate. In the first link Asbjørn is actually referring to the same user guide as I did and it clearly states 3.0V. In the second link Asbjørn says &amp;quot;&lt;em&gt;or close to&lt;/em&gt;&amp;quot;, but I agree that &amp;quot;&lt;em&gt;close to&lt;/em&gt;&amp;quot; is pretty ambiguous. Anyway I did a test with two nRF51 DKs, one acted as the debugger and the other one as the external board powered by the first one (as OP describes). The voltage on both boards were 2.88V and it worked just fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36697?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2015 11:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b5edb57-f43d-42a3-b2be-3fb5e54d599f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I got 3.3V from, &lt;a href="https://devzone.nordicsemi.com/question/30397/nrf51-dk-program-external-target-voltage-range/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/18015/could-not-connect-to-the-target-chip/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36696?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2015 11:19:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a48daf4-b7c0-4dc1-b8aa-93618def7ba6</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Where does it say that it needs 3.3V? In the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51-DK/nRF51-DK-UG/38677"&gt;nRF51 DK user guide&lt;/a&gt; pp. 20 it says that &amp;quot;&lt;em&gt;The voltage supported by external debugging/programmins is 3.0V&lt;/em&gt;&amp;quot;. There is actually nothing on the nRF51 DK that runs on 3.3V (by default anyway). The USB power gets regulated down to 3.3V, but the current is running through a reverse voltage protection diode with a ~0.3V voltage drop so the actual VIO (supplying the Segger chip) and VDD_nRF are usually at ~3.0V or even lower.&lt;/p&gt;
&lt;p&gt;So I suspect the problem lies elsewhere. It should be plug and play. Do you have other debuggers to test if the problem is with your custom board or your nRF51 DK? Are you able to program other boards/kits with your nRF51 DK? Do you know for sure that your custom board is working? No shorts? All traces are connected? Do you mind posting your layout?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Debug Out on DK can't see my target</title><link>https://devzone.nordicsemi.com/thread/36695?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2015 02:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fdf2a8f-df91-47d2-a6ae-76c207b7b9da</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;The debugger on the DK needs 3.3V to work (it&amp;#39;s in the manual), you say you&amp;#39;re using 3.0V, so I&amp;#39;d start by increasing that to at least 3.3V to see if it starts working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>