<?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>Enable APPROTECT through UICR with a TFM Project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126522/enable-approtect-through-uicr-with-a-tfm-project</link><description>Hello, 
 
 I am wondering how I can enable APPROTECT through UICR with a TFM project. Using ncs2.6.0 and nrf5340. My project makes use of TFM to separate secure and non-secure partitions. The issue I am running into is that using any of the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jan 2026 22:54:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126522/enable-approtect-through-uicr-with-a-tfm-project" /><item><title>RE: Enable APPROTECT through UICR with a TFM Project</title><link>https://devzone.nordicsemi.com/thread/558839?ContentTypeID=1</link><pubDate>Thu, 15 Jan 2026 22:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e1c6355-7aab-47dc-956b-e1d67731a88d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi dev_j,&lt;/p&gt;
[quote user=""]I am wondering if there are ways I can solve this issue. It might be because I am reading/writting to a secure area (UICR) from a non-secure area.[/quote]
&lt;p&gt;You guessed correctly. You will need to create a custom secure partition/service in TF-M and use it. This sample shows how that is done:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.2.1/page/nrf/samples/tfm/tfm_secure_peripheral/README.html"&gt;TF-M secure peripheral partition&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However,&amp;nbsp;do you need to set it from firmware? You should be able to set it with&amp;nbsp;during programming. Refer to:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/nan_042/page/APP/nan_production_programming/device_protection.html"&gt;Enabling device protection&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>