<?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>connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42366/connect-failed-failed-to-connect-to-target-no-idcode-detected</link><description>Hi, 
 I am facing the issue while trying to run code from SES. Environment: PCA10056 board, nRF52840, no change to the board. Agilent / Keysight DC Power Analyzer N6705B SES for ARM v4.12 Segger JLink v6.40 S140 SoftDevice s140_nrf52_6.1.0_softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 May 2023 01:30:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42366/connect-failed-failed-to-connect-to-target-no-idcode-detected" /><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/423105?ContentTypeID=1</link><pubDate>Mon, 01 May 2023 01:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0b6190a-31a3-46d6-bf5e-2db300f020f5</guid><dc:creator>Dano</dc:creator><description>&lt;p&gt;Did you ever resolve this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/197119?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2019 12:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5febb8a6-1c81-4d41-8abb-b93cbf941681</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You need to install the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nRF-Command-Line-Tools&lt;/a&gt;, and either add the directory to your PATH, or run the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_command_line_tools_lpage.html?cp=6_1"&gt;command&lt;/a&gt; from a command line inside the directory.&lt;/p&gt;
&lt;p&gt;The DK should be connected to the chip that you want to recover. If this is on the custom PCB, you will have to connect it to this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/196984?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2019 03:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4039eb6e-a653-4918-b21b-8cdb325661ac</guid><dc:creator>noob_with_ucontrollers</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jorgen"&gt;Jørgen&lt;/a&gt; Jorgen,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Hi, I am facing a similar issue. I want to run a &amp;#39;nrfjprog --recover&amp;#39; command but do not know how to do that. How do I do that on my DK?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can my DK be connected to the custom PCB I am trying to flash while I run nrfjprog --recover?&amp;nbsp;&lt;br /&gt;Thanks a lot!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/172267?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 10:12:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2fbeead-91de-4064-8b26-18a1f96e41e9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I think this is a faulty chip/board. If you send me your address and phone number, I will request a replacement for you. If you want us to check the board further, you will have to ship it to us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/171660?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 14:05:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be88a5f6-60f2-489e-845e-f86eb49b6ab0</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;I had used PEMicro Cyclone ACP FX programmer.&lt;/p&gt;
&lt;p&gt;Attached the setup.&lt;/p&gt;
&lt;p&gt;SWD programming &lt;br /&gt;&lt;br /&gt;Default mode &amp;amp; nRF Only mode&lt;br /&gt;External supply &amp;amp; Debugger power supply&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x2988/__key/communityserver-discussions-components-files/4/20190214_5F00_154949.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is always error &amp;quot;cannot enter debug mode.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I had tried supplying 3V , /&amp;nbsp; 5V from the debugger as well.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x2988/__key/communityserver-discussions-components-files/4/20190214_5F00_160343.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/169968?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 15:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc15c4f4-8758-4af9-b4f7-3e74f764bfab</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Do you have a standalone flasher/debugger that support level shifting (for instance a&amp;nbsp;&lt;a href="https://www.segger.com/products/debug-probes/j-link/models/model-overview/"&gt;J-Link model&lt;/a&gt;), that you could try? It could be an issue with wrong voltage. Error code -102 mean &amp;quot;not found&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/167892?ContentTypeID=1</link><pubDate>Fri, 25 Jan 2019 12:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ef8440-b719-4114-b929-cf8b82c80d08</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;I had tried mentioned the thread.&lt;/p&gt;
&lt;p&gt;But, back to question..&lt;/p&gt;
&lt;p&gt;1. nRF52 IC is working. Even driver can recognize that 3V is supplied to the IC.&lt;/p&gt;
&lt;p&gt;I also confirmed RESET line is working (pulled down for a moment when I do ERASE command / PROGRAM command)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRFXX_connect_to_emu_without_snr:	JLink:	 Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
nRFXX_connect_to_emu_without_snr:	JLink:	 Hardware: V1.00
nRFXX_connect_to_emu_without_snr:	JLink:	 S/N: 683904660&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connecting ...
 - Connecting via USB to J-Link device 0
 - J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
 - Device &amp;quot;NRF52840_XXAA&amp;quot; selected.
 - Target interface speed: 200 kHz (Auto)
 - VTarget = 3.300V
 - ERROR: Failed to connect.
Could not establish a connection to target.
J-Link firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
Erasing chip ...
 - Connecting ...
    - Device &amp;quot;NRF52840_XXAA&amp;quot; selected.
    - Target interface speed: 200 kHz (Auto)
    - VTarget = 3.300V
    - ERROR: Failed to connect.
Could not establish a connection to target.
 - ERROR: Could not erase chip, not connected
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRFXX_connect_to_emu_without_snr:	JLink:	Device &amp;quot;CORTEX-M4&amp;quot; selected.
nRFXX_connect_to_emu_without_snr:	JLink:	Device &amp;quot;CORTEX-M4&amp;quot; selected.
nRFXX_connect_to_emu_without_snr:	JLink:	  returns 0x00&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And then,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...). 
nRFXX_connect_to_emu_without_snr:	JLink:	  returns 0x01&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is this correct??&lt;/p&gt;
&lt;p&gt;Also,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRFXX_connect_to_emu_without_snr:	JLink:	JLINK_ExecCommand(&amp;quot;SetDbgPowerDownOnClose = 1&amp;quot;, ...). 
nRFXX_connect_to_emu_without_snr:	JLink:	  returns 0x01
...
...
...
nRFXX_is_connected_to_emu:	JLink:	JLINK_IsOpen()
nRFXX_is_connected_to_emu:	JLink:	  returns 0x01&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But this one, definitely a fail.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nRFXX_write_debug_port_register:	JLink:	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
nRFXX_write_debug_port_register:	JLink:	  returns -1
nRFXX_write_debug_port_register:	JLink:	 (0004ms, 0249ms total)  
nRFXX_write_debug_port_register:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.

nRFXX_power_debug_and_system_regions:	JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Would you please be able to dig it deeper ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2.&lt;/p&gt;
&lt;p&gt;Even if the IC is bricked / or became READ-ONLY sectors in the flash, debugger / programmers should be a way to recover it during development phase.&lt;/p&gt;
&lt;p&gt;What do you say !?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/166801?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 11:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6539f2-185c-4108-b118-2be386a24c19</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Calling nrfjprog with the --recover option should normally solve this kind of issue. You can try the suggestion by Håkon in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30942/j-link-programming-external-nrf52-failed-to-connect-to-target-no-idcode-detected/123960#123960"&gt;this thread&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/166766?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 10:05:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4c8e4b2-8797-471b-a31e-8293d7d3dd0d</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;PCA10056&lt;/p&gt;
&lt;p&gt;1.0.0&lt;/p&gt;
&lt;p&gt;2018.46&lt;/p&gt;
&lt;p&gt;1. Even if broken, is there not a debugger or any way to flash the IC nRF52840?&lt;/p&gt;
&lt;p&gt;Because IC is still working.&lt;/p&gt;
&lt;p&gt;I suppose, I have bricked it or is in non-writable state, something like mass production programming.&lt;/p&gt;
&lt;p&gt;2. Via BLE, possible to update firmware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/166759?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 09:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccabdcb4-a3eb-421b-8e64-e443d294d42d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It sounds like this board could be broken. Which version of the PCA10056 is this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/166530?ContentTypeID=1</link><pubDate>Fri, 18 Jan 2019 14:59:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f04c764-d8bb-4265-be2d-5916708263dc</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;I tried connecting the Debug Out from working DK board to the Debug In - failing DK.&lt;/p&gt;
&lt;p&gt;Working board - DEFAULT switch.&lt;/p&gt;
&lt;p&gt;Failing board - nRF Only switch, and external powered. (Confirmed the nRF52 is powered)&lt;/p&gt;
&lt;p&gt;Now, still it fails to program from SES with the same error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/bin/JLink_x64.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
DLL Version: 6.40`
Hardware Version: V1.00
Target Voltage: 3.300
Device &amp;quot;NRF52840_XXAA&amp;quot; selected.
connect failed
Failed to connect to target.
No idcode detected.
Please check connection and Target Interface Type
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With this setup, I tried nRF Connect PC application -&amp;gt; Bluetooth Low Energy.&lt;/p&gt;
&lt;p&gt;It is not able to connect. Error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-01-18T15:06:08.557Z INFO Application data folder: C:\Users\pkrishna\AppData\Roaming\nrfconnect\pc-nrfconnect-ble
2019-01-18T15:06:08.658Z DEBUG App pc-nrfconnect-ble v2.2.0 official
2019-01-18T15:06:08.658Z DEBUG App path: C:\Users\pkrishna\.nrfconnect-apps\node_modules\pc-nrfconnect-ble
2019-01-18T15:06:08.658Z DEBUG nRFConnect 2.6.1 is supported by the app (^2.4.0)
2019-01-18T15:06:08.658Z DEBUG nRFConnect path: C:\Users\pkrishna\AppData\Local\Programs\nrfconnect\resources\app.asar
2019-01-18T15:06:08.658Z DEBUG HomeDir: C:\Users\pkrishna
2019-01-18T15:06:08.658Z DEBUG TmpDir: C:\Users\pkrishna\AppData\Local\Temp
2019-01-18T15:06:08.666Z VERBOSE Could not fetch serial number for serial port at COM1
2019-01-18T15:07:07.537Z INFO Validating connectivity firmware for device with serial number 000683256424...
2019-01-18T15:07:09.089Z ERROR Error while setting up device 000683256424: Error occured when close opened device. Errorcode: CouldNotOpenDevice (0x4)
Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)

2019-01-18T15:07:09.092Z INFO Device closed.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Same error when using nRF Connect PC application -&amp;gt; Power Profiler.&lt;/p&gt;
&lt;p&gt;In case of nRF Connect PC application -&amp;gt; Programmer, it hangs at trying to detect Device Memory Layout.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-01-18T15:13:05.275Z INFO Parsing HEX file:  C:\Nordic\SDK1520\examples\nfc\wake_on_nfc\hex\wake_on_nfc_pca10056.hex
2019-01-18T15:13:05.275Z INFO File was last modified at  9/8/2018, 7:46:16 AM
2019-01-18T15:13:05.286Z INFO Data block: 0x00000000-0x00003A44 (0x00003A44  bytes long)
2019-01-18T15:13:14.893Z INFO Using nrfjprog to communicate with target
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165732?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 12:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0026742b-f329-4144-919e-ba8252cb768a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Pra_Engr"]I will try this later.[/quote]
&lt;p&gt;&amp;nbsp;Ok, let me know if you make it work.&lt;/p&gt;
[quote user="Pra_Engr"]But, may I know, is there any way to use &amp;quot;nRF USB&amp;quot; port for flashing nRF52 ??[/quote]
&lt;p&gt;We have a serial DFU solution that works over the nRF USB port, but this requires you to first flash the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/sdk_app_serial_dfu_bootloader"&gt;serial USB DFU bootloader&lt;/a&gt; to the chip.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165706?ContentTypeID=1</link><pubDate>Tue, 15 Jan 2019 11:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28b63dd4-8176-418a-856a-545db056bc8b</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt;&amp;gt; connecting a cable from &amp;quot;Debug out&amp;quot; on a working DK to &amp;quot;Debug in&amp;quot; on the failing DK&lt;/p&gt;
&lt;p&gt;I will try this later.&lt;/p&gt;
&lt;p&gt;But, may I know, is there any way to use &amp;quot;nRF USB&amp;quot; port for flashing nRF52 ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165555?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 15:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:053ef112-f4e9-4e6a-baff-41e313b77fec</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I cannot see any obvious issues on your images. Have you tried flashing the DK by connecting a cable from &amp;quot;Debug out&amp;quot; on a working DK to &amp;quot;Debug in&amp;quot; on the failing DK to see if you are able to flash it that way?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you place the PPK on top of the DK, you are actually flashing the nRF52832 IC on the PPK (when the COM switch is in DK position). This seems to indicate that the J-Link debug chip is working as expected, and that there is some issue with the nRF chip on the DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165412?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 11:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c70b217d-848a-4192-a211-e67381ee7912</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;Additional:&lt;/p&gt;
&lt;p&gt;With the same settings I connected the Power Profiler Board&amp;nbsp; (PPK) - PCA63511&lt;/p&gt;
&lt;p&gt;In PPK,switches:&lt;/p&gt;
&lt;p&gt;DUT Select =&amp;gt; DK&lt;/p&gt;
&lt;p&gt;Power Select =&amp;gt; DK&lt;/p&gt;
&lt;p&gt;Attached the picture of setup.&lt;/p&gt;
&lt;p&gt;Now, there was no error during &amp;quot;Build &amp;amp; Run&amp;quot; from SES.&lt;/p&gt;
&lt;p&gt;I could flash the software ! It says Successful.&lt;/p&gt;
&lt;p&gt;I tried Segger JFlash Lite v6.40 =&amp;gt; Erase Chip. It is successful.&lt;/p&gt;
&lt;p&gt;But it runs the same old software. It did not flash the latest changes. When tested the board, in fact it neither erased, nor flashed the software. !&lt;/p&gt;
&lt;p&gt;And removing the PPK, still the same error from SES. !&lt;/p&gt;
&lt;p&gt;What could be the reason?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x2988/__key/communityserver-discussions-components-files/4/20190114_5F00_114317.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165405?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 10:57:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c66e3ef-1d2d-42eb-b71b-0f1d2f6e5b45</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;Please find the attached the picture.&lt;/p&gt;
&lt;p&gt;Other side of the board has no change. Only the Coin cell is removed.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x4608/__key/communityserver-discussions-components-files/4/PSX_5F00_20190114_5F00_103836.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x4608/__key/communityserver-discussions-components-files/4/PSX_5F00_20190114_5F00_104009.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165392?ContentTypeID=1</link><pubDate>Mon, 14 Jan 2019 10:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:996a2f02-6bb4-41da-a0a2-d339f48a2994</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you upload a high resolution image of the failing DK?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165248?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 17:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:282c88fe-1b0b-4652-98c0-8d2dc064fd00</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;Now, it is consistent that:&lt;/p&gt;
&lt;p&gt;whenever I am placing any hex in the JLink drive in Windows, there is FAIL log which says &lt;em&gt;Error while connecting to CPU&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;What is spoiled ??&amp;nbsp; :(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165245?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 16:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c9a2d06-309e-4dcb-8813-7eea8f0b997b</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;Successfully loaded the firmware from the link, and then when using SES debugger for build and run, a popup asked me to update the firmware.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.12/bin/JLink_x64.dll
Firmware Version: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
DLL Version: 6.40`
Hardware Version: V1.00
Target Voltage: 3.300
Device &amp;quot;NRF52840_XXAA&amp;quot; selected.
connect failed
Failed to connect to target.
No idcode detected.
Please check connection and Target Interface Type
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Since was doubtful, tried the 2017-07-24&amp;nbsp; (***170724.bin) version from the link you have given.&lt;br /&gt;This did not help.&lt;br /&gt;&lt;br /&gt;And then, using &amp;quot;Segger JLink Configuration&amp;quot;, Updated the firmware to the latest.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;SEGGER J-Link Configuration V6.40
Logging started @ 2019-01-11 16:22

Updating firmware of 1 emulator:
Updating firmware of emulator 1 of 1 via USB (SN: 683904660)...  Updated successfully, emulator firmware was older than host firmware.
Finished updating 1 emulator!&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now firmware is 2018-07-12. 11:44:41&lt;/p&gt;
&lt;p&gt;Still the issue persists.&lt;/p&gt;
&lt;p&gt;I have not&amp;nbsp; tested on a different PC, but in the same PC, another board. That board works fine.&lt;/p&gt;
&lt;p&gt;I have tested with another USB cable, including other USB ports of the PC (including higher current supply ones). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165237?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 16:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:599beda1-131f-42a3-a416-950bce5dee32</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you seeing the JLINK removable drive on your computer? Have you tried reflashing the J-Link OB firmware to the board by holding IF BOOT/RESET while powering the board and drop the J-Link OB IF MCU firmware from &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52840-DK/Download#infotabs"&gt;this page&lt;/a&gt; to the removable drive BOOTLOADER?&lt;/p&gt;
&lt;p&gt;Have you tested on a different PC, or with another USB cable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165192?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 14:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61740d6c-09b0-46d1-8cf1-36d2aec66fea</guid><dc:creator>Pra_Engr</dc:creator><description>&lt;p&gt;Thanks for your support !&lt;/p&gt;
&lt;p&gt;Yes, switch was always in Default. So is detected in Windows as JLink drive.&lt;/p&gt;
&lt;p&gt;With &amp;#39;nrfjprog --recover&amp;#39; command, it becomes similar log as above, &amp;#39;nrfjprog -e&amp;#39;.. with errors,: &lt;em&gt;JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1. JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Additionally,&lt;/p&gt;
&lt;p&gt;1. When I connected the power profiler board PCA63511, with the existing software running in it, I am able to capture nRF Connect PC application =&amp;gt; Power Profiler.&lt;/p&gt;
&lt;p&gt;2. Now, I have cut SB40. (which is for power profiling). Connected by USB, all the 4 LED&amp;#39;s turn on. When I close the SB40 with jumper in P22, LED&amp;#39;s go off. (I am not much of hardware person. Sorry).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: connect failed. Failed to connect to target. No idcode detected.</title><link>https://devzone.nordicsemi.com/thread/165149?ContentTypeID=1</link><pubDate>Fri, 11 Jan 2019 12:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0135c8-0fb8-49d5-a596-001140b1b2fa</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will need to have the switch in DEFAUT position for the Segger J-Link chip to be active. Have you tried recovering the board using &amp;#39;nrfjprog --recover&amp;#39; command?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>