<?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>Secure and Non-Secure Firmware communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58317/secure-and-non-secure-firmware-communication</link><description>Hi Guys, 
 
 I&amp;#39;m looking for some information on how to get data from the secure side to the non-secure side of the firmware. We are building an NB-IoT GPS tracker which is only activated very rarely. Because of this the power is cut off completely. There</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Feb 2020 12:15:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58317/secure-and-non-secure-firmware-communication" /><item><title>RE: Secure and Non-Secure Firmware communication</title><link>https://devzone.nordicsemi.com/thread/236523?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 12:15:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef9bf9d8-7bee-4aa7-8076-a354f8f1ead9</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;If I understand you correctly, what you want is for the SPM (Secure Partition Manager, the &amp;quot;application&amp;quot; that runs before your application to configure the peripherals as non-secure) to detect the button pattern, and then report it to the application?&lt;/p&gt;
&lt;p&gt;If so, I would suggest that you create your own SPM, that first checks for the button pattern, stores the result, then start the main application. The application can then request the result from your custom SPM.&lt;/p&gt;
&lt;p&gt;For a guide on how to create your own SPM, and add secure functions that are callable from a non-secure application you can take a look at this guide: &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/using-a-custom-secure-partition-manager-wtih-your-application"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/using-a-custom-secure-partition-manager-wtih-your-application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>