<?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 Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126608/cannot-flash-thing53-using-the-debugger-on-a-nrf52840dk-with-nrfconnect-for-visual-studio-code</link><description>I am trying to flash and use the debugger on a nrf52840 DK to flash a Thingy53, using the ribbon connector as outlined in this video . I tried to follow the steps in this post : 
 
 
 Open nRF Connect for Desktop -&amp;gt; Programmer 
 Connect Thingy:53 and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 24 Jan 2026 15:47:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126608/cannot-flash-thing53-using-the-debugger-on-a-nrf52840dk-with-nrfconnect-for-visual-studio-code" /><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559496?ContentTypeID=1</link><pubDate>Sat, 24 Jan 2026 15:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3417e01-f089-46ad-a82c-5c8707b4b474</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;I have the new nrf5340DK and have been following &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/thingy53/building_thingy53.html#building_and_programming_using_visual_studio_code"&gt;this guide&lt;/a&gt;. Which shows this setup:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769268237378v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My setup looks like this:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769268164864v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Before attaching the ribbon I reboot the Thingy53 holding down SW2 and then releasing a few seconds after turning on I get this in the programmer:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769268491225v5.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;So I know the Thingy is working. I see this in VS Code:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769268569469v6.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;The refresh button shows this in the output:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;[10:35:37] nrfutil-device device-info --serial-number XXXXXXXXXXXX&amp;nbsp;--skip-overhead --json&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;[10:35:37] Success.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;I plug in the 10-pin JTAG cable and connect the dk to the thingy and hit refresh in VS code I see this:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769269228869v7.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;and the output console shows this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[10:37:49] nrfutil-device device-info --serial-number XXXXXXXXXXXX --skip-overhead --json
[10:37:49] Error: One or more device info tasks failed:
 * XXXXXXXXXX: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn&amp;#39;t disabled (Generic)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The programmer now shows this:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1769269292181v8.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;When I try to flash it from VS Code I get this:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
 *  Executing task: nRF Connect: Flash: hci_pwr_ctrl/build_53 (active) 

Flashing build_53 to Jan26-nrf5340dk
west flash -d /Users/XXXXXXX/XXXXXXX/hci_pwr_ctrl/build_53 --dev-id XXXXXXXXXX

-- west flash: rebuilding
[0/10] Performing build step for &amp;#39;ipc_radio&amp;#39;
ninja: no work to do.
[1/10] Performing build step for &amp;#39;hci_pwr_ctrl&amp;#39;
ninja: no work to do.
[8/9] cd /Users/XXXXXX/XXXXXX/hci_pwr_ctrl/build_53/_sysbuild &amp;amp;&amp;amp; /opt/nordic/ncs/toolchains/5c0d382932/Cellar/cmake/3.21.0/bin/cmake -E true
WARNING: Specifying runner options for multiple domains is experimental.
If problems are experienced, please specify a single domain using &amp;#39;--domain &amp;lt;domain&amp;gt;&amp;#39;
-- west flash: using runner nrfutil
-- runners.nrfutil: reset after flashing requested
-- runners.nrfutil: Flashing file: /Users/XXXXXXXX/XXXXXXXX/hci_pwr_ctrl/build_53/merged_CPUNET.hex
Error: One or more batch tasks failed:
 * XXXXXXXXXX: Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1)).
   
   This might indicate that the debug port is unavailable. Please double-check device power supply and SWD lines, and that SWD isn&amp;#39;t disabled (Generic)

FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path /Users/XXX/XXX/hci_pwr_ctrl/build_53/generated_nrfutil_batch.json --serial-number XXXXXXXXXX

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559195?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 17:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79b6df6c-73c7-4afd-8187-56e8fc3f1d57</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Default firmware image may be locked.&lt;/p&gt;
&lt;p&gt;Try &lt;code&gt;west flash --recover&lt;/code&gt; or &lt;code&gt;west flash --recover -r nrfjprog&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Note that this will erase the bootloader from the device - it will be bricked until you can connect a debugger that supports Armv8-M. No idea if your DK does - it has the newer style debug chip which I am not familiar with.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559194?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 17:14:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f281337-c6fe-404d-ac0e-82dc26feb661</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1768929197825v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I want to flash and debug the Thingy53 from VS Code with the nrfConnect for VS Code Add-In like I do with a Development Kit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559161?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 13:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b624cb2-9712-4585-83e7-c2a04b850186</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Leo&lt;/p&gt;
&lt;p&gt;It seems to be a bit of a mix here. So let&amp;#39;s clarify what the goal is&lt;/p&gt;
&lt;p&gt;1. Can you show me an image of your setup?&lt;/p&gt;
&lt;p&gt;2. Is the goal here to remove the bootloader on the thingy or maybe restore it?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559160?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 13:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e51a51c-cd13-4939-8a65-e31895a2b6f5</guid><dc:creator>lcj</dc:creator><description>&lt;p&gt;I just ordered another nrf5340 DK but this is my nrf52840dk:&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1768914564052v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot Flash Thing53 using the debugger on a nrf52840DK with nrfConnect for Visual Studio Code</title><link>https://devzone.nordicsemi.com/thread/559140?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 10:31:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2fd7323-03d2-4854-af45-67da18a95f16</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Not possible with some older DKs - they don&amp;#39;t support the Cortex-M33 MCU cores:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pastedimage1768905063729v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This screenshot was taken with the NRF52840 DK clone from rigado.&lt;/p&gt;
&lt;p&gt;Don&amp;#39;t have a newer nordic nrf52840 DK here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>