<?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>Ho to configure non-secure memory location in NRF9160?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92479/ho-to-configure-non-secure-memory-location-in-nrf9160</link><description>Hi, 
 We are building the custom bootloader in Rust, 
 Therefore want to define the non secure memory region. 
 Need to know exact steps to define the Non secure memory regions with the help of IDAU/SPU/SAU. 
 
 Please suggest some documentation if any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Sep 2022 11:40:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92479/ho-to-configure-non-secure-memory-location-in-nrf9160" /><item><title>RE: Ho to configure non-secure memory location in NRF9160?</title><link>https://devzone.nordicsemi.com/thread/388754?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 11:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7decac9-c8a6-4617-867f-8fbf14809ec5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I cannot say how you would do this in Rust, but we provide two alternative methods for handling the secure regions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/tfm/index.html"&gt;TF-M&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/samples/spm/README.html#secure-partition-manager"&gt;Secure Partition Manger&lt;/a&gt; (SPM). This is deprecated and removed from all samples in nRF Connect SDK 2.1.0, but you can use it as a reference as it is less complex.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is difficult to suggest much when you are doing things from the beginning yourself. I would suggest to use what we provide in the SDK (including the MCUBoot bootloader), and use TF-M for handling secure regions etc. But if you want to do this yourself and implement something minimal, then looking at the SPM implementation probably makes the most sense. We do not have any documentation for implementing this (other than what you find in the product specification for for instance the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/spu.html"&gt;SPU&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>