<?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>Read back protection without debugger command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58057/read-back-protection-without-debugger-command</link><description>Is it possible or there is support in nrf52840 such that I can enable readback protection from the firmware itself? 
 I found an APPROTECT register in bitfields. But how to configure this register? 
 One more thing, after enabling readback protection</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Mar 2020 12:52:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58057/read-back-protection-without-debugger-command" /><item><title>RE: Read back protection without debugger command</title><link>https://devzone.nordicsemi.com/thread/237437?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 12:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3bf48e9-e8cc-437b-b010-4fc970b00fb4</guid><dc:creator>NITHIN ABHIMANUE</dc:creator><description>&lt;p&gt;Hi, This is working.&lt;/p&gt;
&lt;p&gt;But once the readback is enabled, writing 0xFFFFFFFF to APPPROTECT will disable the readback protection?&lt;/p&gt;
&lt;p&gt;Because for me it is not working.&lt;/p&gt;
&lt;p&gt;Can you suggest an answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read back protection without debugger command</title><link>https://devzone.nordicsemi.com/thread/235321?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 06:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc6b263c-eb93-45d2-bf5c-df27ba6c6912</guid><dc:creator>NITHIN ABHIMANUE</dc:creator><description>&lt;p&gt;Thanks and Its working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Read back protection without debugger command</title><link>https://devzone.nordicsemi.com/thread/235320?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2020 12:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d66a8707-f408-41d8-a9c1-2a805c244554</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;There are two rather simple ways to enable readback protection using the APPROTECT register.&amp;nbsp;&lt;span&gt;Either, you can set it in your application code like my colleague explains in&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30517/enabling-access-port-protection-from-code"&gt;this thread&lt;/a&gt;&lt;span&gt;. Or, you can download&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;nrfjprog&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;on your computer and enable APPROTECT by calling the command&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nrfjprog --rbp all&amp;nbsp;&lt;/strong&gt;&lt;span&gt;in a command window when your device is connected. In both cases, you will have to recover the chip/ do a full chip erase in order to access the memory of the chip.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you set the APPROTECT register, JTAG will keep working until you reset the device, at which point the readback protection will kick in, and your JTAG and SWD will be disabled, and you won&amp;#39;t be able to use the RTT viewer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>