<?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 Close SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28433/how-to-close-swd</link><description>Hi there,
We are developing bluetooth bracelet using 51xx and 52xx Bluetooth chip and the hard hardware part has been done.However, for safety considerations,we need to disable SWD after the program is downloaded. We want to disable SWD by sending a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 May 2017 08:00:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28433/how-to-close-swd" /><item><title>RE: How to Close SWD</title><link>https://devzone.nordicsemi.com/thread/112289?ContentTypeID=1</link><pubDate>Thu, 18 May 2017 08:00:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a97bb29c-c425-4c35-a58a-341e9ebfaf11</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;You can disable debugger by enabling read-back protection in UICR by writing to &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uicr.html?cp=2_2_0_13_0_61#register.APPROTECT"&gt;APPROTECT&lt;/a&gt; register. This can be indeed done from within the FW any time so you can define your way how to trigger it over BLE. Note that this is one-time action, on nRF51 there is similar register but with different name (RBPCONF) and address in UICR space. Also note that due to bug/design limitation this protection isn&amp;#39;t really effective on nRF51 family.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>