<?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>How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25172/how-to-connect-pca10040-debugger-to-windows-powershell-bash</link><description>Hi, 
 Win10 can run a subsystem, which is Ubuntu for me, in the powershell environmental.
But I can not connect the pca10040 debugger. it show error when I try to erase the board. 
 ERROR: There is no debugger connected to the PC.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jul 2018 15:08:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25172/how-to-connect-pca10040-debugger-to-windows-powershell-bash" /><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/142224?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 15:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b588c18d-3844-4eb5-837e-030363a4ce7b</guid><dc:creator>Koenigs</dc:creator><description>&lt;p&gt;Yes that&amp;#39;s what I did actually&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36986/windows-subsystem-for-linux-wsl---error-there-is-no-debugger-connected-to-the-pc"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/36986/windows-subsystem-for-linux-wsl---error-there-is-no-debugger-connected-to-the-pc&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/142178?ContentTypeID=1</link><pubDate>Tue, 31 Jul 2018 13:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8567ea57-127e-44de-b004-884eff673dd3</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/koenigs"&gt;Koenigs&lt;/a&gt;Could you please open a new devzone case with your question? You can refer to this case if you want to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/141864?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 09:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de3b451-ad60-4f46-88ef-d39196e11786</guid><dc:creator>Koenigs</dc:creator><description>&lt;p&gt;Excuse me but then I don&amp;#39;t understand the point of having Makefile(s) using nrfjprog under&amp;nbsp;nRF5_SDK_12.3.0\examples\peripheral\{PROJECT}\pca10028\s130\armgcc&lt;br /&gt;&lt;br /&gt;I&amp;#39;m as well trying to get blinky Makefile working in Bash on Windows 10 and I don&amp;#39;t get why it is advised to not use nrfjprog since nrfjprog is already used in the example Makefile.&lt;br /&gt;&lt;br /&gt;I installed nrfjprog,&amp;nbsp;gcc-arm-none-eabi, JLink and set up the COM (Windows) to Serial Port (Linux) link and then I find this answer...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/99166?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 09:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f7b0f5-84fd-4106-8a67-26adc0073a72</guid><dc:creator>aaronxu</dc:creator><description>&lt;p&gt;Yes, OpenOCD is a good idea!&lt;/p&gt;
&lt;p&gt;I was setting up the an environment for zephyr on Linux, and I don&amp;#39;t want to install vm on my PC :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/99167?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 09:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d56707a-38bd-4128-bda1-04ad7a554ac7</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;I assume nrfjprog works only on Windows because it uses SEGGER DLLs and others. These rely on SEGGER J-Link driver which connects J-Link OB (on nRF5x DK) over USB with PC host. Not sure how that would work in Linux subsystem of Win10... But once you have Windows why you don&amp;#39;t use that directly? Alternatively follow guide about how to flash on Linux (by using OpenOCD I suppose) without nrfjprog and SEGGER tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/99165?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 09:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8da2f4c7-dae6-4545-9c79-58fb7e335460</guid><dc:creator>aaronxu</dc:creator><description>&lt;p&gt;I run nrfjprog on the  Linux subsystem(Ubuntu). I suppose the nrfjprog will automatic detect the Jlink debugger on the PCA10040, as nrfjprog does under windows.
Do I need any specific operation to use the linux version nrfjprog rather than windows version?&lt;/p&gt;
&lt;p&gt;PS: I just type simple &amp;quot;nrfjprog -e&amp;quot; command under windows powershell bash, and that ERROR comes out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to connect pca10040 debugger to windows powershell bash?</title><link>https://devzone.nordicsemi.com/thread/99164?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2017 08:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbd2e83-6be9-4177-ad64-9661b3372850</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Could you paste more? You run GDB on that Linux subsystem? How exactly you try to connect the debugger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>