<?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>Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59377/debugger-fails-connecting-to-mcu</link><description>Hi! I&amp;#39;m working on a custom board with the nRF52840 via an SWD connection, from a debug out on an nRF52840 DK. 
 The debugger fails to connect to one of my boards, even though the MCU is continuously updating its display, so I know it&amp;#39;s alive. The debugger</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Mar 2020 08:25:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59377/debugger-fails-connecting-to-mcu" /><item><title>RE: Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/thread/241286?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 08:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a941d0dc-2efd-4638-9907-2ef214198a49</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Found the problem.&lt;br /&gt;One of the Pins in my connector was slightly loose, so it would sit well when trying one board, but won&amp;#39;t connect properly on another.&lt;/p&gt;
&lt;p&gt;Thank you to everyone who helped!&lt;/p&gt;
&lt;p&gt;Closing the ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/thread/241122?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 12:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2a59c44-9fdd-4abf-b2a3-9ca8e81f5e56</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;~3V is fine, but given that you have other working boards it indicates an HW issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you set the&amp;nbsp;&lt;a title="APPROTECT" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=4_0_0_3_4_0_4#register.APPROTECT"&gt;APPROTECT&lt;/a&gt;&amp;nbsp;in any/all your boards?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I think a logic scope of the SWDIO and CLK lines might possibly show symptoms of some HW issues.&lt;/p&gt;
&lt;p&gt;I would also monitor VDD with a high sample rate oscilloscope during a recovery procedure.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Measuring current consumption can also reveal symptoms as currents above 15-20mA indicate an HW issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/thread/241064?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 10:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb410057-42ec-4c75-becb-6fa9cf4f8d3b</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;The VDD range is ~3V. But the same exact setup connects to different copies of the same board, so I don&amp;#39;t think the setup is the problem here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/thread/241058?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 09:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c40b3bf-2c5f-43b6-8bcc-9356a2a45d2d</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;What&amp;#39;s the VDD voltage of the custom board?&lt;br /&gt;&lt;br /&gt;The OB J-link only supports 2.8V.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugger fails connecting to MCU</title><link>https://devzone.nordicsemi.com/thread/241006?ContentTypeID=1</link><pubDate>Sun, 22 Mar 2020 16:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ea54196-708f-4666-970a-8c34eaaeafc1</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;If you had trouble with cables, you can try reducing the SWD clock speed.&lt;/p&gt;
&lt;p&gt;E.g. using nrfjprog -f NRF52 -c 500 -recover&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>