<?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 program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24450/cannot-program-wt51822-s4at</link><description>I&amp;#39;m trying use an nRF51 PDK to upload firmware (or, rather, just confirm that I can upload firmware) to one of these modules:
 www.wireless-tag.com/.../WT51822-S4AT.html 
 The target is externally powered, so I&amp;#39;ve connected it like so:
Target Vcc </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Aug 2017 21:42:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24450/cannot-program-wt51822-s4at" /><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96267?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 21:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2507311e-2699-4b67-aa8d-87fea9afeef6</guid><dc:creator>zolotiyeruki</dc:creator><description>&lt;p&gt;Wow, I think you&amp;#39;re right.  I soldered a new device with SW lines only about 1&amp;quot;  long, and the recover appears to have worked.  Previously, the lines were about 6&amp;quot; long.  nRFgo Studio sees the target as well, and can program firmware to it also.  Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96266?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:57:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c211279b-d0f3-47ea-92e8-ff2e245ff4b4</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Oh yes, I&amp;#39;ve seen that. My advice will sound silly but I&amp;#39;ve seen dozens of cases in past 4 years solved this way so think about it;)&lt;/p&gt;
&lt;p&gt;DK and especially SWD over SEGGER OB is sensitive to noise so probably either your USB cable or wire between DK and target are crap. Or both. Try to rewire and be careful, use proper thick and short cables, same lengths, good solder joints if applicable etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96265?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:53:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f5c57e-a5eb-465a-a28f-b217939ebcc9</guid><dc:creator>zolotiyeruki</dc:creator><description>&lt;p&gt;Here&amp;#39;s the log that comes out: &lt;a href="http://zolotiyeruki.com/nrf/log.log"&gt;log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96264?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:52:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e77bbb6-0276-40ea-ab4b-3e8f5be20920</guid><dc:creator>zolotiyeruki</dc:creator><description>&lt;p&gt;When I attempt to do a recover like so:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f NRF51 --recover --log
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I get the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Recovering device. This operation might take 30s.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;LED5 flashes rapidly for a while, then goes solid again. I also heard the &amp;quot;usb device unplugged&amp;quot; sound when LED5 goes solid again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96263?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e808ed-0196-4a85-89b7-4bf354a4d18b</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Not really, you just need to have SEGGER J-Link SWD PINs on flashing board (Dev Kit) correctly connected to detect the target. The best is to search the forum (there are several good Q&amp;amp;S on this topic) and try to target nRF5x chip on another Nordic Dev Kit or similar HW where you know this chip is OK (because you can flash/erase it by other means). The usual problem is with grounding both boards properly and connecting VTG and GND detect PINs on flashing board&amp;#39;s P19 or P20 connector because otherwise SEGGER OB firmware will fail to notice that you want to flash external target.&lt;/p&gt;
&lt;p&gt;Then simply look to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_command_line_tools_lpage.html?cp=5_1"&gt;nRF Tools guides on Nordic Infocenter&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96262?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:517d3f50-79d0-47dd-b41b-1afc50ebc544</guid><dc:creator>zolotiyeruki</dc:creator><description>&lt;p&gt;Yes, the module is pre-programmed, so read-back is probably locked.  How would I go about doing a full erase?  When I use nRFgo Studio and attempt to recover, it fails.  Are there other pins which need to be connected in order to do a Recovery?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot program WT51822-S4AT</title><link>https://devzone.nordicsemi.com/thread/96261?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 20:33:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41e7d6b-088e-4698-9f01-cc23b0fdf588</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Is the module pre-programmed? Isn&amp;#39;t it also lcoked from read-back which also should affect SWD interface? Why not use nrfjprog or nRFgo Studio instead of generix SEGGER J-Link SW?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>