<?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>APPROTEC can&amp;#39;t be disabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81740/approtec-can-t-be-disabled</link><description>Hello everyone! 
 
 We&amp;#39;ve integrated the readout protection to our project, but unfortunately now we don&amp;#39;t able to disable it. 
 
 The activation code presented below: 
 
 
 So we tried to use nrfjprog.exe --recover and did manipulations with jlinkcommander</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Nov 2021 08:37:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81740/approtec-can-t-be-disabled" /><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/341200?ContentTypeID=1</link><pubDate>Tue, 30 Nov 2021 08:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe03479b-61ec-49cb-a49b-56b563171582</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Is that just in Keil? Do you have issues getting a hexdump now as well? What about on the nRF Connect Programmer?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/341079?ContentTypeID=1</link><pubDate>Mon, 29 Nov 2021 12:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce854f8-c8c7-429b-bf6f-7033b72e0675</guid><dc:creator>Ernst Smirnov</dc:creator><description>&lt;p&gt;Hi! &lt;/p&gt;
&lt;p&gt;Yes, sure&lt;/p&gt;
&lt;p&gt;Take a look&lt;/p&gt;
&lt;p&gt;Hmmm, now it seems that I can flash it (I&amp;#39;m able to start a Keil debug session) , however during read out the flash data I get the next error:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1638183425568v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/340740?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 13:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f6a35c6-dea1-4181-885f-e1f1336f6581</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Could you show me the error that comes when you try to flash something to it?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/340591?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 16:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b1a402-f24f-4809-a00f-86beaf7d669f</guid><dc:creator>Ernst Smirnov</dc:creator><description>&lt;p&gt;Hello Elfving!&lt;/p&gt;
&lt;p&gt;Thank you for the answer!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I tried according instruction you attached, but seems that it didn&amp;#39;t help :(&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached the screenshot and the dump file.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637769831718v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6332.dump.hex"&gt;devzone.nordicsemi.com/.../6332.dump.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks for your concern!&lt;/p&gt;
&lt;p&gt;Have a great day!&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Ernst&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/340469?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 08:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb28986-fcc0-4690-a562-70fb51a4e6bc</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Ernst! No worries!&lt;/p&gt;
&lt;p&gt;That is&amp;nbsp;really odd. Could you try again, and follow the steps outlined in this file?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/demonstrate_5F00_nrfjprog_5F00_and_5F00_approtect.cmd.txt"&gt;devzone.nordicsemi.com/.../demonstrate_5F00_nrfjprog_5F00_and_5F00_approtect.cmd.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If that doesn&amp;#39;t work, send me a hexdump by running:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span&gt;nrfjprog --readcode --readuicr dump.hex&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;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/340167?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 16:05:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a70833-8e91-4602-88d6-da598de9d81c</guid><dc:creator>Ernst Smirnov</dc:creator><description>&lt;p&gt;Hello Elfving!&lt;/p&gt;
&lt;p&gt;I apologize for the late answer, it seems that I missed the notification.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yeach, I tried updating but it didn&amp;#39;t help unfortunately :(&lt;/p&gt;
&lt;p&gt;&amp;gt;nrfjprog --version&lt;br /&gt;nrfjprog version: 10.15.0 external&lt;br /&gt;JLinkARM.dll version: 7.56a&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your time!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Ernst&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/339664?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 13:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9cf6c1a-0682-46b2-ace0-4c6e6a237c48</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Ernst!&lt;/p&gt;
&lt;p&gt;That is weird. Could you try updating nrfjprog and trying again? And if that doesn&amp;#39;t work give me your nrfjprog version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/339348?ContentTypeID=1</link><pubDate>Wed, 17 Nov 2021 08:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61617219-df5e-43f3-97bc-5b6542f99967</guid><dc:creator>Ernst Smirnov</dc:creator><description>&lt;p&gt;Hello Elfving!&lt;/p&gt;
&lt;p&gt;Thanks for your answer!&lt;/p&gt;
&lt;p&gt;We use nrf52840.&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/81740/approtec-can-t-be-disabled/339280#339280"]And in what way does it seem like it is disabled?[/quote]
&lt;p&gt;So, we read the following register via JLinkCommander&lt;/p&gt;
&lt;pre&gt;&lt;em&gt;&lt;code&gt;SWDReadAP 3 //CTRL-AP Bank 0, register offset 3 (APPROTECTSTATUS 0x00C): Access port protection status
SWDReadAP 3 //Second read returns the value: 0: enabled 1: not enabled&lt;/code&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;p&gt;And it is returned as 1.&lt;/p&gt;
&lt;p&gt;nRF Connect doesn&amp;#39;t warn anything after unlock, but after power re-connection it complain about the protection is activated. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards!&lt;/p&gt;
&lt;p&gt;Ernst&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: APPROTEC can't be disabled</title><link>https://devzone.nordicsemi.com/thread/339280?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 15:24:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e28e23b-c002-4536-b434-4719b5b00a8c</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Ernst!&lt;/p&gt;
&lt;p&gt;What SoC are you using?&lt;/p&gt;
&lt;p&gt;And in what way does it seem like it is disabled? Doesn&amp;#39;t for instance the nRF Connect Programmer complain that it is locked?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>