<?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>nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38670/nrf52840-and-st-link-v2</link><description>Dear Team, 
 
 I am using ST-Link V2 connector to program a nRF52840 board. When connected to a laptop and try to connect to the target, it says &amp;#39;ST Link USB Communication Error&amp;#39;, as shown in the attached picture. 
 
 
 
 The firmware is the recent one</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Sep 2018 10:09:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38670/nrf52840-and-st-link-v2" /><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149600?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 10:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945a2963-1d95-41cc-a8b6-dfe731443e3d</guid><dc:creator>awneil</dc:creator><description>[quote userid="74011" url="~/f/nordic-q-a/38670/nrf52840-and-st-link-v2/149580"]checking if someone has the similar issue and got any solution to resolve&amp;nbsp;it.&amp;nbsp;[/quote]
&lt;p&gt;Again, as it&amp;#39;s an &lt;strong&gt;ST&lt;/strong&gt; product, the &lt;strong&gt;ST&lt;/strong&gt; forums would be the best place to find such people!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="content full threaded-reply-content user-defined-markup"&gt;
&lt;div class="content"&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;my requirement is to not use the onboard debugger&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Why?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="edit-form"&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149580?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 09:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65268860-889a-44e3-8d15-fb630e086159</guid><dc:creator>Aru16</dc:creator><description>&lt;p&gt;Hello Awneil,&lt;/p&gt;
&lt;p&gt;Thanks for your time in giving the reply. I know its an st-link error, but checking if someone has the similar issue and got any solution to resolve&amp;nbsp;it.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Moreover, I am using the onboard&amp;nbsp;J-link debugger to program the devices now, but my requirement is to not use the onboard debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149574?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 08:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bd1ad3-c690-4b52-9008-4b01ec466a38</guid><dc:creator>awneil</dc:creator><description>[quote userid="74011" url="~/f/nordic-q-a/38670/nrf52840-and-st-link-v2/149524"]the dialogue box, &amp;quot;USB comm error&amp;quot;, can be seen even the target, nRF board, is not attached to the ST-Link[/quote]
&lt;p&gt;So, as &lt;a href="https://devzone.nordicsemi.com/members/haakonsh"&gt;haakonsh&lt;/a&gt; says, your problem is clearly nothing to do with the nRF board - you have a fundamental problem with your ST-Link.&lt;/p&gt;
&lt;p&gt;Again, you need to go to &lt;strong&gt;ST&lt;/strong&gt; for help with that!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But why mess about with unsupported tools?&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t afford a standalone J-Link, then just buy an nRF kit with an on-board J-Link - that can be used to program off-board devices.&lt;/p&gt;
&lt;p&gt;And you&amp;#39;ll get all the debugging features, too!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149571?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 08:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90e3c10-cf5b-483b-9f5f-c55e49496479</guid><dc:creator>awneil</dc:creator><description>[quote userid="13562" url="~/f/nordic-q-a/38670/nrf52840-and-st-link-v2/149353"]I doubt the ST has support for nRF devices[/quote]
&lt;p&gt;That&amp;#39;s what I initially thought, but there do seem to be lots of people having success using ST-Link to program nRF devices.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But, as you say, it &lt;em&gt;&lt;strong&gt;is&lt;/strong&gt;&lt;/em&gt; an ST device - so &lt;strong&gt;ST&lt;/strong&gt; are the people to ask for support!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149570?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 08:46:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ea536a-3074-459f-bcf2-75e8e2cd4874</guid><dc:creator>Aru16</dc:creator><description>&lt;p&gt;Yeah, I did ask for the help from ST.&lt;/p&gt;
&lt;p&gt;Also, am trying to use the j-link edu&amp;nbsp;connector now. I got the error as mentioned &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"&gt;here&lt;/a&gt;. Trying to follow the steps as discussed there, but unable to solve the issue. If you can suggest anything, it will be a great help. And my requirement is not to use the&amp;nbsp;In-circuit J-link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149568?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 08:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ead9a6f-fe6b-4365-9c35-7103bf61b596</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;If this is an ST-link issue then you should ask ST for help. My advice is to get your hands on a J-link, either the J-link OB on our DKs or an standard In-circuit J-link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149524?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 22:54:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a18b0a18-a13e-4c78-a3d0-d6a88172760e</guid><dc:creator>Aru16</dc:creator><description>&lt;p&gt;Hello Haakonsh,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. An update on the issue,&amp;nbsp; the dialogue box, &amp;quot;USB comm error&amp;quot;, can be seen even the target, nRF board, is not attached to the ST-Link.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 and ST-Link V2</title><link>https://devzone.nordicsemi.com/thread/149353?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 08:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e28891c4-0bf2-46ff-b303-96a17139702b</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I doubt the ST has support for nRF devices, you&amp;#39;ll need a J-link debugger. The nRF52 DK&amp;#39;s has on-board j-Links that you can use to debug external boards.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>