<?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 program nrf52840 over SWD on custom board. Potential hardware issue. &amp;quot;init mode failed (unable to connect to the target)&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106155/cannot-program-nrf52840-over-swd-on-custom-board-potential-hardware-issue-init-mode-failed-unable-to-connect-to-the-target</link><description>This is my first custom board with a microcontroller. Also my first time programming with SWD. Grateful for any help/suggestions :-). 
 
 Question: Can anyone identify a potential hardware issue that would prevent programming or connecting to the nRF52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Dec 2023 22:55:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106155/cannot-program-nrf52840-over-swd-on-custom-board-potential-hardware-issue-init-mode-failed-unable-to-connect-to-the-target" /><item><title>RE: Cannot program nrf52840 over SWD on custom board. Potential hardware issue. "init mode failed (unable to connect to the target)"</title><link>https://devzone.nordicsemi.com/thread/458595?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 22:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701264ed-09bb-4274-9737-1335d7dde6e4</guid><dc:creator>DragonLord64</dc:creator><description>&lt;p&gt;Thank you for the help. I have ordered an nrf52840-DK.&lt;br /&gt;&lt;br /&gt;I have tried with several other non-supported programmers, all unsuccessful in communicating with the MCU.&lt;br /&gt;&lt;br /&gt;Soldering has been difficult to verify with the QIAA package.&lt;strong&gt; I currently suspect&amp;nbsp;the chip is damaged.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I will update when I have attempted with the supported programmer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nrf52840 over SWD on custom board. Potential hardware issue. "init mode failed (unable to connect to the target)"</title><link>https://devzone.nordicsemi.com/thread/458272?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 11:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bae8a62-dcd4-4cab-91d6-ae6364ed76c0</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Neither openOCD or ST-link is supported. Get a proper Segger debugger/programmer or a nRF52-DK. On nRF52840 QIAA-F, the approtect bit is set by default.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can leave VDDH floating and power the device wih 3 V on VDD, that will solve the voltage issue. The schematic looks correct so check for solder problems.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program nrf52840 over SWD on custom board. Potential hardware issue. "init mode failed (unable to connect to the target)"</title><link>https://devzone.nordicsemi.com/thread/458066?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 11:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32b573d7-e1cf-4ea9-bc68-75b385d1c85f</guid><dc:creator>Frank Viganske</dc:creator><description>[quote userid="130159" url="~/f/nordic-q-a/106155/cannot-program-nrf52840-over-swd-on-custom-board-potential-hardware-issue-init-mode-failed-unable-to-connect-to-the-target"]External bench power supplies 3V directly to VDD pin. VDDH pin is left floating[/quote]
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;when you supply the chip over VDD in low voltage mode, you need to connect VDD and VDDH. You shouldn&amp;#39;t leave it floating. See for example this Link:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_0_3#unique_1591758884"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_0_3#unique_1591758884&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if this will solve your problem though.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>