<?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>case about nRF52 and nRF53 recover discrepancy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113924/case-about-nrf52-and-nrf53-recover-discrepancy</link><description>Hi, 
 1. The customer would like to know which values are configured for which registers of nRF5340 by the following instructions? 
 nrfjprog --family NRF53 --coprocessor CP_NETWORK --recover nrfjprog --family NRF53 --recover 
 2. Compare the instructions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Aug 2024 14:51:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113924/case-about-nrf52-and-nrf53-recover-discrepancy" /><item><title>RE: case about nRF52 and nRF53 recover discrepancy</title><link>https://devzone.nordicsemi.com/thread/498669?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 14:51:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecda1d0e-17fb-4af5-aa5b-bb65af0262ab</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Looking at the nrfjprog logs like Hoang said is&amp;nbsp;one way you can&amp;nbsp;see exactly what registers are written.&lt;/p&gt;
&lt;p&gt;Otherwise, the documentation I linked previously shows&amp;nbsp;exactly what register operations have to be done to disable read protection. I won&amp;#39;t be able to write better than the documentation.&lt;/p&gt;
&lt;p&gt;For the purpose of creating a programmer, you might be interested in&amp;nbsp;this application note:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/intro.html"&gt;nRF5340 Production Programming (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52 and nRF53 recover discrepancy</title><link>https://devzone.nordicsemi.com/thread/498621?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 12:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba4e3efc-adda-41ca-8413-178e7ee1b37e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Add the --log then read the log file. &amp;nbsp;All the steps are in there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52 and nRF53 recover discrepancy</title><link>https://devzone.nordicsemi.com/thread/498542?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 06:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83e67ecb-e8b2-48b7-8a76-aee61437dc85</guid><dc:creator>peter.min</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Hieu,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The purpose is to make an offline programming tool&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. It is important that nrfjprog --recover will write a firmware to the chip&lt;br /&gt;2. In this written firmware, what key register operations have been done to disable read protection?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank&amp;ensp;you&amp;ensp;for&amp;ensp;all&amp;ensp;your&amp;ensp;assistance.&lt;br /&gt;Kind regards,&lt;br /&gt;Peter.Min&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: case about nRF52 and nRF53 recover discrepancy</title><link>https://devzone.nordicsemi.com/thread/498429?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 10:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58afc06e-d771-4d95-9773-fe334e413860</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Peter,&lt;/p&gt;
&lt;p&gt;Is there any particular reason the customer wants to understand to that level of details?&lt;br /&gt;Also, do you want this to be private, if you are discussing details about your customer?&lt;/p&gt;
&lt;p&gt;What the --recover command does is described in &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf_cltools/page/UG/cltools/nrf_nrfjprogexe_reference.html"&gt;the nrfjprog commands documentation&lt;/a&gt;:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt; Erases all user flash memory and disables the readback protection mechanism if enabled.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The nRF5340 Erase All procedure is detailed here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/ctrl-ap.html#ariaid-title3"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/ctrl-ap.html#ariaid-title3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Access Port Protection is used to implement readback protection. It is detailed here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/debugandtrace.html#access_port_protection__tab_app_details_ns"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/debugandtrace.html#access_port_protection__tab_app_details_ns&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>