<?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>nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109866/nrf52-dk-bricked-after-enabling-code-protection-in-firmware</link><description>This is a project using nRF52832. 
 On nRF connect SDK, we want to ensure that firmware does not get shipped without read-back protection enabled. During development I have CONFIG_NRF_APPROTECT_LOCK =n in prj.conf, as otherwise debugging isn&amp;#39;t possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2024 13:46:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109866/nrf52-dk-bricked-after-enabling-code-protection-in-firmware" /><item><title>RE: nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/thread/476915?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 13:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:346efb5e-cc98-4013-bcfd-4340ef6e4e4c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Chaswb"]Thanks. That worked and the board is now unbricked.[/quote]
&lt;p&gt;Nice!&lt;/p&gt;
&lt;p&gt;The west command does stuff in a particular order, so I often use it as a fallback to fix things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/thread/476811?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c16d5b10-62de-41cb-a2bb-ce932d6d83a2</guid><dc:creator>Chaswb</dc:creator><description>&lt;p&gt;Thanks. That worked and the board is now unbricked.&lt;/p&gt;
&lt;p&gt;The west command doesn&amp;#39;t work from my project, but does from the hello_world project. I got &amp;quot;--build-dir was not given&amp;quot;.&lt;br /&gt;One thing to note is that the terminal has to be a nRF Connect terminal, and not a powershell one&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/thread/476799?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:25:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b26038-a57a-460f-9e89-7b08bd0425f2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hm, those seem new enough for this not to be an issue to me.&lt;/p&gt;
&lt;p&gt;The nRF52832 should always be recoverable with nrfjprog --recover.&lt;/p&gt;
&lt;p&gt;Can you try to in the VS Code Extension open a new &amp;quot;nRF Connect&amp;quot; terminal for the hello world project and run &amp;quot;west flash --erase --recover&amp;quot;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/thread/476795?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2204ef2-fe52-48a6-88ee-fee5d0e2a590</guid><dc:creator>Chaswb</dc:creator><description>&lt;p&gt;nrfjprog version: 10.24.1 external&lt;br /&gt;JLinkARM.dll version: 7.94e&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK bricked after enabling code protection in firmware</title><link>https://devzone.nordicsemi.com/thread/476794?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa117aef-2ed2-4985-a86e-663fa3c1a351</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Give me a &lt;br /&gt;nrfjprog --version&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>