<?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>Can&amp;#39;t connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117816/can-t-connect-to-my-nrf52840-using-a-pico-w-as-a-debugger-with-openocd</link><description>I have created a custom board with an NRF52840 on an Ebyte E73-2G4M08S1CX. I am trying to burn a bootloader to the chip using OpenOCD and a Raspberry PI Pico W as a debugger. But in OpenOCD I keep getting an error that it can&amp;#39;t connect to the board: </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jul 2025 08:27:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117816/can-t-connect-to-my-nrf52840-using-a-pico-w-as-a-debugger-with-openocd" /><item><title>RE: Can't connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/thread/542047?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2025 08:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b7502e-3378-405e-8050-0de827a4333a</guid><dc:creator>Kasper Larsson-Skauli</dc:creator><description>&lt;p&gt;Yes, probably the most common mistake, I had wired the wrong pins on the Pico.. Good luck!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/thread/541990?ContentTypeID=1</link><pubDate>Wed, 09 Jul 2025 19:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718051b6-4788-4089-8ccf-084e1acb7ce4</guid><dc:creator>ImNoah</dc:creator><description>&lt;p&gt;Did you ever figure out the solution to this? I have been stuck with this error for hours&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/thread/517735?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 14:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb18067-685f-438b-82b3-1717f783e238</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Kasper Larsson-Skauli"]Could this be because of the&amp;nbsp;&lt;span&gt;access port protection?&lt;/span&gt;[/quote]
&lt;p&gt;Very likely yes. We don&amp;#39;t really have experience with the platform you are working on.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/thread/517510?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 14:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e80b01-92b3-410f-842b-da3f0135136c</guid><dc:creator>Kasper Larsson-Skauli</dc:creator><description>&lt;p&gt;I cannot seem to get the debugger to connect through the swd and swclk pins. It seems OpenOCD throws an error before I can send any command to the chip. Could this be because of the&amp;nbsp;&lt;span&gt;access port protection? Or is it more likely to be a problem with the hardware or debugger?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't connect to my NRF52840 using a Pico W as a debugger with OpenOCD.</title><link>https://devzone.nordicsemi.com/thread/517465?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2025 12:54:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aba0e58-507b-4d8a-adb2-1736b267d898</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By default the chip will have access port protection enabled, so you need to execute an erase all, this is described here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nwp_027/page/WP/nwp_027/nWP_027_protected.html"&gt;https://docs.nordicsemi.com/bundle/nwp_027/page/WP/nwp_027/nWP_027_protected.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>