<?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>NRF52833 is locked every time after power reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92157/nrf52833-is-locked-every-time-after-power-reset</link><description>Hi, So I I&amp;#39;m working with nRF52833_xxAA on a custom board. I want to be able to debug without erasing all after power reset so I followed this tutorial. 
 And I was following the instructions: 
 
 I am using Keil to flash the code, writing 0x10001208</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Sep 2022 16:58:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92157/nrf52833-is-locked-every-time-after-power-reset" /><item><title>RE: NRF52833 is locked every time after power reset</title><link>https://devzone.nordicsemi.com/thread/387356?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 16:58:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3828d1e9-6bf2-42bb-9e4d-fda4acb8ad57</guid><dc:creator>Justin Gasprom</dc:creator><description>&lt;p&gt;Thanks for suggestions mrono and Jared.&amp;nbsp;Solved it, the problem was tricky Keil interface:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I always though that &amp;quot;Use latest installed version&amp;quot; in Device Startup properties would use the latest installed mdk version. (It is actually showing which version it is using in blank grey I was not paying enough attention)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://i.imgur.com/GU17FTu.png" /&gt;&lt;/p&gt;
&lt;p&gt;Turns out it could be overwritten by &amp;quot;software packs&amp;quot; menu if &amp;quot;fixed&amp;quot; option is selected in it. So since I got 8.49.0 installed I always thought &amp;quot;use latest installed&amp;quot; would always give me 8.49.0, but it was actually using &amp;quot;8.44.1&amp;quot; as &amp;quot;fixed&amp;quot; because I was using a project from&amp;nbsp;SDK example, ignoring latest installed 8.49.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1663779177333v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Pretty much &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/mdk/posts/upgrading-to-a-new-mdk-release-in-keil"&gt;this blog post&lt;/a&gt; Jared shared&amp;nbsp;is guiding through this process.&lt;/p&gt;
&lt;p&gt;Device is now unlocked after power reset too. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 is locked every time after power reset</title><link>https://devzone.nordicsemi.com/thread/387281?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 11:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b93e9f5-54f9-4f74-96e0-c3612ac36240</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;Questions:&lt;/p&gt;
&lt;p&gt;1. What &amp;quot;2. Program code compiled with an MDK 8.45.0 or later&amp;quot; actually means? I had a hard time figuring this out. I assume &lt;span&gt;MDK 8.45.0 is nRF MDK pack as found &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-mdk/download"&gt;here&lt;/a&gt;.&amp;nbsp;First of all there is no&amp;nbsp;version for Keil 5 (my Keil is 5.36.0.0), so I tried downloading Keil 4 pack but it does nothing, code compiles with or without it and my code generation tab only provides these options:&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, that&amp;#39;s the MDK. The MDK contains the header files, startup files, workaround for errata&amp;#39;s etc that is necessary for working with our microcontrollers. You&amp;#39;re correct, Keil µvision doesn&amp;#39;t have that MDK version in the downloads list under pack installer, but you can download and install it manually from our &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-mdk/download"&gt;webpage&lt;/a&gt;. Just follow the instructions in &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/mdk/posts/upgrading-to-a-new-mdk-release-in-keil"&gt;this blogpost&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user=""]2. Am I doing something wrong so my device is locking after power reset?&amp;nbsp;[/quote]
&lt;p&gt;You&amp;#39;re doing it correct but you have to download the correct MDK so that the fw part of the app protect is also unlocked.&lt;/p&gt;
&lt;p&gt;Can you try to manually install the MDK and see if it fixes your issue?&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52833 is locked every time after power reset</title><link>https://devzone.nordicsemi.com/thread/387209?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2022 07:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63ac825b-c8ee-4de0-9252-50e503d891c9</guid><dc:creator>mrono</dc:creator><description>[quote userid="6231" url="~/f/nordic-q-a/92157/nrf52833-is-locked-every-time-after-power-reset"]So what is exactly nRF MDK and how to use it? Is it usable with Keil 5?[/quote]
&lt;p&gt;Yes, open Keil&amp;#39;s Pack installer and install an updated nRF_DeviceFamilyPack. Or alternatively select the &amp;quot;Pack&amp;quot; version from the webpage.&lt;/p&gt;
&lt;p&gt;Then use Keil&amp;#39;s Select software packs tool to use the newly installed MDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>