<?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>Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41820/cannot-connect-to-external-nrf52832-no-idcode-detected</link><description>Hello, I&amp;#39;m trying to write code to a custom PCB with a nRF52832 using the nRF52 DK and the following wiring: 
 
 
 
 However, everytime I try to connect the JLink is says that there is an error and that no idcode detected, see this screenshot below: </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jan 2019 02:02:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41820/cannot-connect-to-external-nrf52832-no-idcode-detected" /><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163616?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 02:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c9b9f46-8a3c-42e4-a7d7-ecb2a7e84398</guid><dc:creator>awneil</dc:creator><description>[quote userid="76009" url="~/f/nordic-q-a/41820/cannot-connect-to-external-nrf52832-no-idcode-detected/163593"]my 10 pin connector on my board doesn&amp;#39;t have the standard ARM coresight[/quote]
&lt;p&gt;Why not?&lt;/p&gt;
&lt;p&gt;Life is so much easier when you stick to established standards ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163610?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 00:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a761fc01-12b5-48cc-8e64-da5dc7b15c8b</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Then may be try a reflow of your board. Could be a cold solder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163593?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 22:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a468db-ed28-4b33-a013-1790afce90b6</guid><dc:creator>ronpetit</dc:creator><description>&lt;p&gt;I still can&amp;#39;t, my 10 pin connector on my board doesn&amp;#39;t have the standard ARM coresight, so the pins positions is not the same as the debug out on the DK, I really need to stick with the P20, but still don&amp;#39;t get what is wrong with my nRF52832 and why the JLink cannot connect to it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163564?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 20:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6905da-5560-41fc-8c7f-058beae320cb</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;You can find the cable here&amp;nbsp;&lt;a href="https://www.tindie.com/products/hnhoan/ribbon-cable-15-cm-6-long/"&gt;https://www.tindie.com/products/hnhoan/ribbon-cable-15-cm-6-long/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;select the 10 pins 1.27mm pitch.&lt;/p&gt;
&lt;p&gt;You can use the P20 for sure but the wiring on your 10 pins connector does not seem correct. &amp;nbsp;See pin out here&amp;nbsp;&lt;a href="http://www.keil.com/support/man/docs/jlink/jLink_connectors.htm"&gt;http://www.keil.com/support/man/docs/jlink/jLink_connectors.htm&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163558?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 19:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26f505b3-806d-4033-ab07-948b700a41a6</guid><dc:creator>ronpetit</dc:creator><description>&lt;p&gt;I still don&amp;#39;t get why the P20 pins are not working, I will try out that cable to see if it works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163556?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 19:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d73f8b6-e501-48d1-b251-513ab81c7611</guid><dc:creator>awneil</dc:creator><description>[quote userid="76009" url="~/f/nordic-q-a/41820/cannot-connect-to-external-nrf52832-no-idcode-detected/163554"] find a connector that fits[/quote]
&lt;p&gt;&lt;a href="https://uk.farnell.com/samtec/ffsd-05-d-04-00-01-n/ribbon-cable-idc-1-27mm-4inch/dp/2308531?CMP=i-ddd7-00001003"&gt;https://uk.farnell.com/samtec/ffsd-05-d-04-00-01-n/ribbon-cable-idc-1-27mm-4inch/dp/2308531?CMP=i-ddd7-00001003&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163554?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 19:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df24c110-2748-4dff-a135-cb0cf85ed657</guid><dc:creator>ronpetit</dc:creator><description>&lt;p&gt;Yes, on my custom board I have a standard ARM coresight of 10 pins, however I have no wires to attach it to the Debug Out on the DK, are you sure is incorrect to use P20 instead?, I can try to find a connector that fits&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163552?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 19:17:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66662f6e-4672-49c9-a71c-7509a39d0cfc</guid><dc:creator>ronpetit</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;Yes. I checked VTG, however It has 2.9V is that enough?&lt;/p&gt;
&lt;p&gt;I reduced the length of the wires going to SWDIO and SWDCLK, I&amp;#39;m pretty sure they are now less than 10cm, I checked continuity from the female jumper&amp;#39;s plate on the nRF52 DK to the nRF chip itself and everything seems ok, however I still cannot connect to the nRF chip through JLink.&lt;/p&gt;
&lt;p&gt;The log.log file doesn&amp;#39;t hint anything?, I cannot tell if my custom PCB is the problem as I checked everything and it seems to be fine, I also tried to run everything as root but got the same errors.&lt;/p&gt;
&lt;p&gt;Any other suggestion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163545?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 18:46:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aebefceb-c846-4185-93af-90d695c9bda3</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Is the SWD connector on your custom board a standard ARM coresight 10 pins ? If so, your wiring seems to be incorrect. &amp;nbsp;You can use the Debug Out on the DK to connect to it if yours is coresight and add VDD &amp;amp; GND. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163518?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 15:50:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37309509-b521-401e-8e81-a6b21fdceb70</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you checked and found the VTG has 3.3 V ?&lt;/p&gt;
&lt;p&gt;Please check if SWDIO and SWDCLK connected correctly. I would suggest to shorten the length of the 2 cables. Keep it less than 10cm. Check the pins of the chip, make sure they are soldered correctly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163219?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 19:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccfb61f5-077a-4092-b9cb-07b33195aee5</guid><dc:creator>ronpetit</dc:creator><description>&lt;p&gt;Hello Hung, okay, here is the setup:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20181228_5F00_163258.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please look closely, there is a green wire coming out from nRF5 DK to the bottom right corner of my custom PCB (On J5), that&amp;#39;s the positive input of my PCB, and the black wire is ground. Now, I have J3 on the top right corner, that&amp;#39;s where the connectio to SWDIO and SWDCLK is made, the yellow one is SWDIO and the green one is SWDCLK, the blue one goes to VTG, as the PCB is powered by the nRF5 DK if the power goes through well J3 should have VDD too, so the nRF5 DK will receive the signal to program the external chip.&lt;/p&gt;
&lt;p&gt;Now, I&amp;#39;m 100% sure that my connections over J3 goes to SWDIO and SWDCLK as I checked continuity multiple times, once I power up the nRF5 DK I can measure 2.9V over pins 48 and 45 in the nRF52832, so I believe it have power.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m doing wrong?&lt;/p&gt;
&lt;p&gt;I also ran this command to test nrfjprog:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;nrfjprog -f NRF52 --program ble_app_uart_pca10040_s132.hex --chiperase --log&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The output was the following error:&lt;/p&gt;
&lt;p&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;And here is the log.log file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2018.log.log"&gt;devzone.nordicsemi.com/.../2018.log.log&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Any hints?, if you need any other explaination please let me know&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if I already mention it but I&amp;#39;m using ubuntu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot connect to external nRF52832, no idcode detected</title><link>https://devzone.nordicsemi.com/thread/163024?ContentTypeID=1</link><pubDate>Thu, 27 Dec 2018 05:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8f11489-3db8-4aa8-97c7-3a46c1b5536f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ronald,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems correct the way you connect your external board. Could you try using nrfjprog.exe (or Jlink) tool to access the chip ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please send us a close up photo of your setup as well. You can convert this case to private case if there is confidential information.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>