<?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>VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111351/vscode-connected-devices-sees-the-dev-board-but-not-the-target</link><description>I am quite new to the nRF SDK. When setting up an nRF project in VSCode, I can build my project but I cannot flash the target. 
 My target in this case is an nRF52840-DK. 
 I checked the &amp;quot;Connected Devices&amp;quot; tab, and I can see that the dev board is recognised</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 May 2024 08:44:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111351/vscode-connected-devices-sees-the-dev-board-but-not-the-target" /><item><title>RE: VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/thread/485567?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 08:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd79aa2c-5c23-49d3-a81a-d5348465dcb6</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am glad to hear that it worked for you.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/thread/485447?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 13:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcdecff9-6349-40b6-9e68-e02802ed0c5e</guid><dc:creator>brianh</dc:creator><description>&lt;p&gt;OK, good news.&amp;nbsp; I followed the instructions given in the &amp;quot;Incorrect J-Link USB Driver Installed&amp;quot; link that you provided.&amp;nbsp; And this has fixed the problem.&lt;br /&gt;&lt;br /&gt;It was slightly more complicated though, because in the first step where it says:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;quot;Locate the J-Link USB device that has just been added when J-Link was connected&amp;quot;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;there was no such J-Link device enumerated in device manager.&amp;nbsp; All I had was the COM port, and there was also this device - which I believe is related to the J-Link in some way and was showing up as a warning:&lt;/p&gt;
&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/pastedimage1716385974200v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The only way I was able to follow the instructions was to plug in a proper J-Link plus debugger (not the dev board) and then I did indeed see a J-Link device appear:&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/pastedimage1716386057614v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;From there I was able to follow the rest of the instructions to update the driver.&amp;nbsp; And, having done that, when I connect the dev board the BULK interface warning entry has gone, and I am able to see the target appear in &amp;quot;Connected Devices&amp;quot; in VSCode.&lt;/p&gt;
&lt;p&gt;Thanks for your assistance and I hope that someone else who stumbles across this issue will also find the dialogue useful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/thread/485369?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 11:04:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b0c75b-c3d9-40f3-aaba-13b05a9376e9</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not sure why this is happening; the message from the programmer does not give much idea.&lt;/p&gt;
&lt;p&gt;But I doubt this might be an issue because of the installed USB driver. So please go through the &lt;a href="https://wiki.segger.com/Incorrect_J-Link_USB_driver_installed"&gt;Incorrect J-Link USB Driver Installed &lt;/a&gt;page from Segger and follow the steps mentioned. I also recommend following&lt;a href="https://wiki.segger.com/J-Link_cannot_connect_to_the_CPU"&gt; this page&lt;/a&gt; explaining why J-Link cannot connect to the CPU. Were you able to recover the device? Try nrfprog --recover --log.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/thread/485349?ContentTypeID=1</link><pubDate>Wed, 22 May 2024 09:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48530962-429d-4e7e-8d1c-48f18210f628</guid><dc:creator>brianh</dc:creator><description>&lt;p&gt;Thanks for the response Abhijith,&lt;br /&gt;&lt;br /&gt;When I connect my dev board to the work PC, it enumerates as a COM port in device manager as expected.&lt;br /&gt;&lt;br /&gt;I have installed the nRF Connect programmer app.&amp;nbsp; When I launch it and click &amp;quot;connect device&amp;quot;, it sees the board but then fails with a complaint &amp;quot;NO_EMULATOR_CONNECTED&amp;quot;.&amp;nbsp; See full log below.&lt;br /&gt;&lt;br /&gt;2024-05-22T09:41:05.960Z INFO Initialising nrfutil module: device&lt;br /&gt;2024-05-22T09:41:05.988Z DEBUG Application data folder: C:\Users\brihos\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer&lt;br /&gt;2024-05-22T09:41:06.019Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG App pc-nrfconnect-programmer v4.3.0 (official)&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG App path: C:\Users\brihos\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG nRFConnect 5.0.0, required by the app is (&amp;gt;=4.4.1)&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG nRFConnect path: C:\Users\brihos\AppData\Local\Programs\nrfconnect\resources\app.asar&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG HomeDir: C:\Users\brihos&lt;br /&gt;2024-05-22T09:41:06.020Z DEBUG TmpDir: C:\Users\brihos\AppData\Local\Temp&lt;br /&gt;2024-05-22T09:41:06.723Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:07.693Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:07.693Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:07.714Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:07.804Z INFO Using nrfutil-device core version: 7.7.1&lt;br /&gt;2024-05-22T09:41:08.395Z INFO Using nrfutil-device version: 2.1.1&lt;br /&gt;2024-05-22T09:41:08.395Z INFO Using nrf-device-lib version: 0.17.5&lt;br /&gt;2024-05-22T09:41:08.395Z INFO Using nrfjprog DLL version: 10.24.0&lt;br /&gt;2024-05-22T09:41:08.395Z INFO Using JLink version: JLink_V7.94e&lt;br /&gt;2024-05-22T09:41:08.762Z INFO Getting serialport options from persistent store 000683307548.pc-nrfconnect-programmer&lt;br /&gt;2024-05-22T09:41:08.762Z DEBUG Sending event &amp;quot;programmer: device connected&amp;quot;&lt;br /&gt;2024-05-22T09:41:15.263Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:16.613Z ERROR Error: Failed with exit code 1.&lt;br /&gt;Failed to device info one or more devices:&lt;br /&gt; * 683307548: [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink.&lt;br /&gt;Message: Operation device-info failed, [jlink] NO_EMULATOR_CONNECTED.&lt;br /&gt;2024-05-22T09:41:16.613Z INFO Using nrfutil device to communicate with target via JLink&lt;br /&gt;2024-05-22T09:41:16.633Z DEBUG Sending event &amp;quot;programmer: device selected&amp;quot;&lt;br /&gt;2024-05-22T09:41:16.633Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:16.946Z DEBUG Sending event &amp;quot;programmer: running nrfutil device&amp;quot;&lt;br /&gt;2024-05-22T09:41:19.854Z INFO Reading readback protection status for Application core&lt;br /&gt;2024-05-22T09:41:19.855Z ERROR Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED&lt;br /&gt;2024-05-22T09:41:20.046Z ERROR Error: Failed with exit code 1.&lt;br /&gt;One or more batch tasks failed:&lt;br /&gt; - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink.&lt;br /&gt;Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.&lt;br /&gt;2024-05-22T09:41:20.046Z ERROR Error: Failed with exit code 1.&lt;br /&gt;One or more batch tasks failed:&lt;br /&gt; - [jlink] NO_EMULATOR_CONNECTED, code: Nrfjlink.&lt;br /&gt;Message: Batch task protection-get failed, [jlink] NO_EMULATOR_CONNECTED.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VSCode Connected Devices sees the dev board, but not the target</title><link>https://devzone.nordicsemi.com/thread/485115?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 12:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2cc4ae4-da90-43a6-a10d-64c567166a27</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Since it is working fine with another PC, I guess it is not an issue with the nRF52840DK or the VScode extension. See if your device is detected properly inside the PC device manager (see the Ports section inside the device manager). How the&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-Desktop#:~:text=measure%20its%20current.-,Programmer,-The%20Programmer%20app"&gt; nRF Connect programmer app &lt;/a&gt;works when you try to read the device. See if the programmer&amp;#39;s app is throwing any errors. Also, try to &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf_cltools/page/UG/cltools/nrf_nrfjprogexe_reference.html#:~:text=with%20another%20command.-,%2D%2Drecover,-Erases%20all%20user"&gt;recover your device&lt;/a&gt; once and see if this resolves your issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>