<?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 reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using &amp;quot;nrfjprog -p --family nrf52&amp;quot;)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65755/how-to-reset-a-nrf52832-with-only-swdio-and-swdclk-not-using-a-j-link-ruling-out-using-nrfjprog--p---family-nrf52</link><description>Hi 
 I&amp;#39;m currently trying to use a cheap stlinkv2 clone flashed with https://github.com/x893/CMSIS-DAP for at test setup. (cmsis-dap enables it to remove APPROTECT/read back protection) 
 It works fine (currently only at half the speed of a &amp;quot;JLink Base</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 13 Sep 2020 13:56:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65755/how-to-reset-a-nrf52832-with-only-swdio-and-swdclk-not-using-a-j-link-ruling-out-using-nrfjprog--p---family-nrf52" /><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/269264?ContentTypeID=1</link><pubDate>Sun, 13 Sep 2020 13:56:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0de65eb-c790-48a5-936e-107b9dc6480a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You may find this useful for additional information also:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/nwp_027/WP/nwp_027/intro.html"&gt;https://infocenter.nordicsemi.com/topic/nwp_027/WP/nwp_027/intro.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/269038?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 15:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c13581f-6ec1-4a6e-a079-c10f4db06585</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;nrfjprog is for blink only. &amp;nbsp;IDAP-Link has its own IDAPnRFProg for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/269034?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 14:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8621bc3-1a30-4852-9ff7-3757cd3d0ab2</guid><dc:creator>Visti Andresen</dc:creator><description>&lt;p&gt;How fast is IDAP-Link compared to a Segger Base interface?&lt;br /&gt;&lt;br /&gt;A STLink V2 clone with &lt;a href="https://github.com/x893/CMSIS-DAP"&gt;https://github.com/x893/CMSIS-DAP&lt;/a&gt; takes 2x as long to flash (though openocd) compared to a Segger Base, which adds up over even few 10k flash cycles.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/269032?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 14:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ae923b-c8b1-4b19-ac99-4c3c5398ca87</guid><dc:creator>Visti Andresen</dc:creator><description>&lt;p&gt;But isn&amp;#39;t nrfjprog limited to exclusively working with Segger j-link compatible interfaces?&lt;br /&gt;&lt;br /&gt;Also as mentioned &amp;quot;nrfjprog -p --family nrf52&amp;quot; resets the chip deep enough to disable debug interface.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I would however like to know how &amp;quot;nrfjprog -p --family nrf52&amp;quot; performs the reset, which registers does it write to, does it send a bit stream to the nRF52?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As a side note writing 1 to CTRL-AP-&amp;gt;RESET does reduce the idle current indicating that the debugger circuitry has been disabled, but the nRF52 seem to be stuck in reset/never reboots.&lt;br /&gt;And I have to power cycle the device to regain control of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/269025?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 14:12:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:656aecf9-ee47-45e1-962e-d914d604fb8c</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The IDAP-Link does it fully automatic. It has software written specifically for parallel programming multiples boards for production purpose too. It handles programming of softdevice, app firmware and dfu with approtect activation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/268925?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6420673a-9433-45bd-b528-5ca54f6c823d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Try nrfjprog&amp;nbsp;--debugreset&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-fa473fe6c9ab4cf9bed9d70f6ae419cd/pastedimage1599734883048v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/268857?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 07:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bf49f91-ba33-4f2e-b3bd-cd1f4e3e4b42</guid><dc:creator>Visti Andresen</dc:creator><description>&lt;p&gt;Unfortunately the programmer is only connected using Vcc, GND (both not software controllable) and SWDIO and SWDCLK.&lt;/p&gt;
&lt;p&gt;And while it would be possible for a human to disconnect power or push buttons a fully automated approach is desired.&lt;br /&gt;(And possible since a JLink can pull it of, only the &amp;quot;protocol&amp;quot; eludes me)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reset a nRF52832 with only SWDIO and SWDCLK (not using a J-Link ruling out using "nrfjprog -p --family nrf52")</title><link>https://devzone.nordicsemi.com/thread/268820?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 20:30:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f312b40-bae6-4884-9cd5-651199bad076</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I power cycle will acheive the same result for enabling APPROTECT. &amp;nbsp;You can use OpenOCD for that too. &amp;nbsp;Reset using SWD is a debugger soft-reset command. &amp;nbsp;Alternatively the &lt;a href="https://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;IDAP-Link CMSIS-DAP&lt;/a&gt; can also be used in place of the STLink. It is designed for handling nRF51 &amp;amp;nRF52. You can soft-reset with a press of a button or just issue a protect command which will both set the APPROTECT and reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>