<?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>nrfjprog clarification --eraseall vs --chiperase vs --recover</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70491/nrfjprog-clarification---eraseall-vs---chiperase-vs---recover</link><description>Hello, 
 Is calling --eraseall before calling --program the same as combining --program with --chiperase? 
 Does --recover erase all the areas that --eraseall and --chiperase erase plus the readback protection registers? 
 Thank you!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2021 15:52:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70491/nrfjprog-clarification---eraseall-vs---chiperase-vs---recover" /><item><title>RE: nrfjprog clarification --eraseall vs --chiperase vs --recover</title><link>https://devzone.nordicsemi.com/thread/290058?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 15:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bba03b6b-e934-484d-a949-1f0d06389e0b</guid><dc:creator>erickcinco</dc:creator><description>&lt;p&gt;Thank you for the clarification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog clarification --eraseall vs --chiperase vs --recover</title><link>https://devzone.nordicsemi.com/thread/289414?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2021 12:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22cba64e-2876-4401-9708-92be4d63a0fa</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The different nrfjprog commands can be found&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_nrfjprogexe_reference.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From the documentation: --eraseall erases all user available program flash memory and the UICR page, and --chiperae erases all the available non-volatile memory and UICR. So to answer your question, running --eraseall before --program is the same as when you run --program with --chiperase. The only difference between them is that --chiperase can be combined with --program.&lt;/p&gt;
&lt;p&gt;Yes, --recover erases all user flash memory, so it will erase all the areas that --eraseall and --chiperase erase, also UICR, in addition to the readback protection mechanism.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>