<?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>Readback protection.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71456/readback-protection</link><description>How can I protect nRF52840 from flash (excluding virtual pages) readback. 
 I want to have a virtual site available for reading via nRF Connect.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Feb 2021 10:45:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71456/readback-protection" /><item><title>RE: Readback protection.</title><link>https://devzone.nordicsemi.com/thread/294347?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 10:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf7743a-ee70-4827-bb4c-e96d8b058fec</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Check out this thread:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70570/nrf52840-sdk16---usb-msc-example---how-to-check-if-fat-volume-exists"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/70570/nrf52840-sdk16---usb-msc-example---how-to-check-if-fat-volume-exists&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readback protection.</title><link>https://devzone.nordicsemi.com/thread/294298?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 01:14:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fda2c5-0ea5-41d6-9cda-e94f4b7b453a</guid><dc:creator>Regio</dc:creator><description>&lt;p&gt;Hi &lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Kenneth,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;thank you for your&amp;nbsp; answer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The USB Mass Storage Class module will support SPI/QSPI flash/SD cards and RAM/Empty devices, but does not provide a block device class for internal flash.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;removed a part of the QSPI and used RAM and FLASH only to simulate the MSC. But every time I insert the dongle into the computer, it wants to format it.&lt;/p&gt;
&lt;p&gt;Can you suggest a&amp;nbsp;way to solve this problem?&lt;/p&gt;
&lt;p&gt;In short, at the moment it works like this: &lt;br /&gt; I upload flash (virtual pages nRF52840 Dongle) via nRF Connect - Programmer as a part of .hex file via &amp;quot;Save as file&amp;quot; (there are a few thousand records). This is not possible when using &amp;quot;Approtect&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Well thank you. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Regio&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readback protection.</title><link>https://devzone.nordicsemi.com/thread/294270?ContentTypeID=1</link><pubDate>Sat, 13 Feb 2021 12:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2fbc33e-8c10-41dc-a2c5-5beda99c69b6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The USB MSC seems like a good starting point:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/usbd_msc_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/usbd_msc_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you enable readback protection in UICR (see &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=4_0_0_3_4_0_4#register.APPROTECT"&gt;APPROTECT &lt;/a&gt;register), you can still run the above example and allow data to be write/read through USB mass storage class.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readback protection.</title><link>https://devzone.nordicsemi.com/thread/294080?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 03:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9bbdaa-4d12-4a37-af22-32fb994c1f2a</guid><dc:creator>Regio</dc:creator><description>&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Hi &amp;nbsp;Kenneth,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;thank you for your&amp;nbsp; answer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;I&amp;#39;m testing the application on an nRF52840 Dongle, you could be more specific for this case. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Well thank you. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="VIiyi" lang="en"&gt;&lt;span class="JLqJ4b ChMk0b"&gt;&lt;span&gt;Regio&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Readback protection.</title><link>https://devzone.nordicsemi.com/thread/293547?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 12:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cd6c189-74c0-4f73-a743-ac7aa7293fe3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I do not see any easy way to achieve this, it&amp;#39;s not possible to only partially enable readback protection over SWD. So you would need to protect the entire flash, and for instance the application can have some commands over a serial interface (for instance UART) where the application make it possible to access only part of flash.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>