<?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>SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65770/spu-nrf53-not-run-non-secure-app</link><description>No available samples initiate the non-secure CPU (CONFIG_SPM = y) the secure cpu is loop! 
 Zephyr master NRF master 
 Help me please! 
 The test consists of running a simple hello world on cpuns nrf5340pdk. 
 Thank you. 
 
 
 
 *** Booting Zephyr OS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Oct 2020 13:23:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65770/spu-nrf53-not-run-non-secure-app" /><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/276219?ContentTypeID=1</link><pubDate>Wed, 21 Oct 2020 13:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df67dcdb-9fc0-4b3f-b598-5224d9622cc6</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I tested the PR today and it did not fix the issue. However, the pull request&amp;nbsp;has been updated today, which should make it possible to run a nonsecure sample with an nRF53 PDK v0.8.0 board. I just tested it&amp;nbsp;and confirmed that it worked with&amp;nbsp;the hello world sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/275839?ContentTypeID=1</link><pubDate>Tue, 20 Oct 2020 10:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:638f1b45-929d-4d22-b712-f6b249a126b7</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Could you test out &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/3173"&gt;this PR&lt;/a&gt;, and see if it resolves your issues? I have not been able to test it yet, but will tomorrow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/275695?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 16:36:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c36bef37-a11a-40d2-9f7b-5533a083b168</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;tks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/275535?ContentTypeID=1</link><pubDate>Mon, 19 Oct 2020 09:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e216b1-f312-4a5f-b452-2ba82a7fb2a5</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I would just like to tell you that someone is currently looking into this and we are trying to get to the bottom of this. Will keep you updated on the progress.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/274387?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 14:49:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae5c1cae-5029-482e-8cc2-21f532eb1bc8</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;ve been sick lately and haven&amp;#39;t been able to answer you until now.&amp;nbsp;I will ask internally about this and get back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/273583?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 17:40:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd38990a-12fb-49e9-84c2-8456485ffec6</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;Any evolution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/271552?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 13:32:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13bae834-9826-47b3-9fad-5ecc2a4da36c</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you! I still need this solution!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/271454?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2020 08:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5ba51af-552c-4d16-84dc-5ec9033f52b3</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This is reported internally and currently being looked into, I will keep you updated.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/270720?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 06:10:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c41c1d25-0210-47ed-b8ef-8d61ee6e3f8e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;My colleague has the same board revision as you and is experiencing similar behaviour. He is currently looking into it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/270594?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 12:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01926954-3b9f-4aab-bb8b-dc49dcad6ba8</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;&lt;span&gt;In the package informs nRF6835 Rev 0.8.0 2019.51&lt;/span&gt;&lt;/p&gt;
&lt;div style="left:-13px;position:absolute;top:22.6px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/270590?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 12:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5005194d-4246-40ee-a198-e968a3182366</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What version of the nRF53 PDK do you have?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/270293?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2020 09:46:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25b0c110-5922-44fc-9764-faf20f60bd75</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This ticket was marked as &amp;quot;Verified&amp;quot; and it was removed from my queue, and that is the reson I haven&amp;#39;t answered you. I will look into this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269657?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 12:36:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a2d386-0d39-45e2-89e1-af628b0e75a7</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;Hi Simon! tks for the answer!&lt;/p&gt;
&lt;p&gt;FYI nrfjprog -f NRF53 --eraseall no effect, I have been using --recover to clear the flash and the UCR!&lt;/p&gt;
&lt;p&gt;Your merged.hex doesn&amp;#39;t work either!&lt;/p&gt;
&lt;p&gt;I found a flaw in the jump to the correct block of the flash, to get around this in this case I am changing the file spm.c line 38 from:&lt;br /&gt;((NON_SECURE_APP_ADDRESS) / (FLASH_SECURE_ATTRIBUTION_REGION_SIZE))&lt;br /&gt;for:&lt;br /&gt;((NON_SECURE_APP_ADDRESS) / (FLASH_SECURE_ATTRIBUTION_REGION_SIZE) -1)&lt;/p&gt;
&lt;p&gt;but it gives me problems when I start MCUBOOT!&lt;/p&gt;
&lt;p&gt;I need to implement FOTA and I need MCUBOOT to work!&lt;/p&gt;
&lt;p&gt;another test I did was with the NCS V1.2.0 version, it seems to work, but the development of my sw depends on some features already implemented in the latest version!&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/0572.hello_5F00_world.zip"&gt;devzone.nordicsemi.com/.../0572.hello_5F00_world.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269509?ContentTypeID=1</link><pubDate>Tue, 15 Sep 2020 05:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31868978-d703-48c7-9c47-7d9dffe5456b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;That is strange. Eariler I told you to run&amp;nbsp;&lt;span&gt;rfjprog --eraseall first. Could you instead run&amp;nbsp;&lt;em&gt;nrfjprog -f NRF53 --eraseall&lt;/em&gt;, to specify that the flash in the application core should get erasesd.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you test this file?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b10814d1f52f4bfbb03aa68dbb4d6e22/merged.hex"&gt;devzone.nordicsemi.com/.../merged.hex&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then run the following commands:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f NRF53 --eraseall
nrfjprog -f NRF53 --program merged.hex

nrfjprog --pinreset&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If that doesn&amp;#39;t work, could you upload the file&amp;nbsp;zephyr\samples\hello_world\build\zephyr\merged.hex, and I can test it on my board.&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;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269435?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 14:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff99e740-2bd8-4a80-ae97-709c0590fe79</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;keep getting error!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I get bus fault!&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***        
Flash regions           Domain          Permissions     
00 01 0x00000 0x08000   Secure          rwxl            
02 63 0x08000 0x100000  Non-Secure      rwxl            
                                                        
Non-secure callable region 0 placed in flash region 1 w.
                                                        
SRAM region             Domain          Permissions     
00 07 0x00000 0x10000   Secure          rwxl            
08 63 0x10000 0x80000   Non-Secure      rwxl            
                                                        
Peripheral              Domain          Status          
00 NRF_P0               Non-Secure      OK              
01 NRF_CLOCK            Non-Secure      OK              
02 NRF_RTC0             Non-Secure      OK              
03 NRF_RTC1             Non-Secure      OK              
04 NRF_NVMC             Non-Secure      OK              
05 NRF_UARTE1           Non-Secure      OK              
06 NRF_UARTE2           Secure          SKIP            
07 NRF_TWIM2            Non-Secure      OK              
08 NRF_SPIM3            Non-Secure      OK              
09 NRF_TIMER0           Non-Secure      OK              
10 NRF_TIMER1           Non-Secure      OK              
11 NRF_TIMER2           Non-Secure      OK              
12 NRF_SAADC            Non-Secure      OK              
13 NRF_PWM0             Non-Secure      OK              
14 NRF_PWM1             Non-Secure      OK              
15 NRF_PWM2             Non-Secure      OK              
16 NRF_PWM3             Non-Secure      OK              
17 NRF_IPC              Non-Secure      OK              
18 NRF_VMC              Non-Secure      OK              
19 NRF_FPU              Non-Secure      OK              
20 NRF_EGU1             Non-Secure      OK              
21 NRF_EGU2             Non-Secure      OK              
22 NRF_DPPIC            Non-Secure      OK              
23 NRF_GPIOTE1          Non-Secure      OK              
24 NRF_REGULATORS       Non-Secure      OK              
                                                        
SPM: NS image at 0x8000                                 
SPM: NS MSP at 0x20010630                               
SPM: NS reset vector at 0x8f21                          
SPM: prepare to jump to Non-Secure image.               
*** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***        
Flash regions           Domain          Permissions     
00 01 0x00000 0x08000   Secure          rwxl            
02 63 0x08000 0x100000  Non-Secure      rwxl            
                                                        
Non-secure callable region 0 placed in flash region 1 w.
                                                        
SRAM region             Domain          Permissions     
00 07 0x00000 0x10000   Secure          rwxl            
08 63 0x10000 0x80000   Non-Secure      rwxl            
                                                        
Peripheral              Domain          Status          
00 NRF_P0               Non-Secure      OK              
01 NRF_CLOCK            Non-Secure      OK              
02 NRF_RTC0             Non-Secure      OK              
03 NRF_RTC1             Non-Secure      OK              
04 NRF_NVMC             Non-Secure      OK              
05 NRF_UARTE1           Non-Secure      OK              
06 NRF_UARTE2           Secure          SKIP            
07 NRF_TWIM2            Non-Secure      OK              
08 NRF_SPIM3            Non-Secure      OK              
09 NRF_TIMER0           Non-Secure      OK              
10 NRF_TIMER1           Non-Secure      OK              
11 NRF_TIMER2           Non-Secure      OK              
12 NRF_SAADC            Non-Secure      OK              
13 NRF_PWM0             Non-Secure      OK              
14 NRF_PWM1             Non-Secure      OK              
15 NRF_PWM2             Non-Secure      OK              
16 NRF_PWM3             Non-Secure      OK              
17 NRF_IPC              Non-Secure      OK              
18 NRF_VMC              Non-Secure      OK              
19 NRF_FPU              Non-Secure      OK              
20 NRF_EGU1             Non-Secure      OK              
21 NRF_EGU2             Non-Secure      OK              
22 NRF_DPPIC            Non-Secure      OK              
23 NRF_GPIOTE1          Non-Secure      OK              
24 NRF_REGULATORS       Non-Secure      OK              
                                                        
SPM: NS image at 0x8000                                 
SPM: NS MSP at 0x20010630                               
SPM: NS reset vector at 0x8f21                          
SPM: prepare to jump to Non-Secure image.               
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Bus Fault" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Captura-de-tela-de-2020_2D00_09_2D00_14-11_2D00_26_2D00_19.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269337?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 10:21:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcc0727-d033-42cc-9957-c54ebd3d8184</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Based on this log from the initial post:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1-1452-g53bfa7b0256a ***&lt;/pre&gt;It does not seem like you&amp;#39;re using the correct version of NCS/Zephyr. I&amp;#39;m getting the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try updating to NCS v1.3.0.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;If you&amp;#39;ve installed it manually:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd zephyr/nrf
git checkout v1.3.0
west update&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You could also install NCS v1.3.0 using the Toolchain Manager.&lt;/p&gt;
&lt;p&gt;Try this and see if you&amp;#39;re errors goes away.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269050?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 16:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d7916d5-0a61-479d-821d-dbc74ac23392</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;roberto@G5:~/ncs/zephyr/samples/hello_world$ west build -b nrf5340pdk_nrf5340_cpuappns &amp;amp;&amp;amp; west flash
-- west build: generating a build system
Including boilerplate (Zephyr base): /home/roberto/ncs/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/roberto/ncs/zephyr/samples/hello_world
-- Zephyr version: 2.3.99 (/home/roberto/ncs/zephyr)
-- Found Python3: /usr/bin/python3.8 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west: /home/roberto/.local/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340pdk_nrf5340_cpuappns
ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found toolchain: zephyr (/home/roberto/zephyr-sdk-0.11.4)
-- Found dtc: /home/roberto/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/roberto/ncs/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuappns.dts
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:55.42-67.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:329.19-335.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:539.31-540.5: Warning (unique_unit_address_if_enabled): /reserved-memory/image@20000000: duplicate unit-address (also used in node /reserved-memory/image_s@20000000)
  also defined at nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:559.14-561.3
-- Generated zephyr.dts: /home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/roberto/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/roberto/ncs/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuappns_defconfig&amp;#39;
Merged configuration &amp;#39;/home/roberto/ncs/zephyr/samples/hello_world/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/roberto/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Cache files will be written to: /home/roberto/.cache/zephyr
Changed board to secure nrf5340pdk_nrf5340_cpuapp (NOT NS)

=== child image spm -  begin ===
Including boilerplate (Zephyr base): /home/roberto/ncs/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/roberto/ncs/nrf/samples/spm
-- Zephyr version: 2.3.99 (/home/roberto/ncs/zephyr)
-- Found Python3: /usr/bin/python3.8 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west: /home/roberto/.local/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340pdk_nrf5340_cpuapp
-- Found toolchain: zephyr (/home/roberto/zephyr-sdk-0.11.4)
-- Found dtc: /home/roberto/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/roberto/ncs/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuapp.dts
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:55.42-67.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:329.19-335.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:577.31-578.5: Warning (unique_unit_address_if_enabled): /reserved-memory/image@20000000: duplicate unit-address (also used in node /reserved-memory/image_s@20000000)
  also defined at nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:597.14-599.3
-- Generated zephyr.dts: /home/roberto/ncs/zephyr/samples/hello_world/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/roberto/ncs/zephyr/samples/hello_world/build/spm/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/roberto/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/roberto/ncs/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;/home/roberto/ncs/nrf/samples/spm/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/roberto/ncs/zephyr/samples/hello_world/build/spm/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/roberto/ncs/zephyr/samples/hello_world/build/spm/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/roberto/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Cache files will be written to: /home/roberto/.cache/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roberto/ncs/zephyr/samples/hello_world/build/spm
=== child image spm -  end ===

-- Configuring done
-- Generating done
-- Build files have been written to: /home/roberto/ncs/zephyr/samples/hello_world/build
-- west build: building application
[1/145] Preparing syscall dependency handling

[7/145] Performing build step for &amp;#39;spm_subimage&amp;#39;
[1/137] Preparing syscall dependency handling

[132/137] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:         32 KB        32 KB    100.00%
            SRAM:        3960 B        64 KB      6.04%
        IDT_LIST:          40 B         2 KB      1.95%
[137/137] Linking C executable zephyr/zephyr.elf
[139/145] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       14728 B       992 KB      1.45%
            SRAM:        4056 B       384 KB      1.03%
        IDT_LIST:          56 B         2 KB      2.73%
[145/145] Generating zephyr/merged.hex
-- west flash: rebuilding
[0/9] Performing build step for &amp;#39;spm_subimage&amp;#39;
ninja: no work to do.
[1/2] cd /home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/cmake/flash &amp;amp;&amp;amp; /usr/bin/cmake -E echo

-- west flash: using runner nrfjprog
Using board 960181693
-- runners.nrfjprog: Flashing file: /home/roberto/ncs/zephyr/samples/hello_world/build/zephyr/merged.hex
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying pin reset.
-- runners.nrfjprog: Board with serial number 960181693 flashed successfully.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x8cre    rwxl                                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010698                                                  
SPM: NS reset vector at 0x9121                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-2407-g91d81dc7e0ce  ***        
Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010698                                                  
SPM: NS reset vector at 0x9121                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-2407-g91d81dc7e0ce  ***        
Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010698                                                  
SPM: NS reset vector at 0x9121                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-2407-g91d81dc7e0ce  ***        
Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010698                                                  
SPM: NS reset vector at 0x9121                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-2407-g91d81dc7e0ce  ***  &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269047?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 16:36:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6bb1283-b1cf-49b9-9951-64d6a65798bf</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;&lt;span&gt;Simon, I redid all the installation of the ncs, use a new board and the results are the same! Secure CPU loop!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269033?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 14:36:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b70d33-ec93-4d7f-966c-8521accf95ea</guid><dc:creator>Roberto Cortez</dc:creator><description>&lt;p&gt;not yet Simon!&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;roberto@G5:~/nordic_zephyr/zephyr/samples/hello_world$ west build -b nrf5340pdk_nrf5340_cpuappns &amp;amp;&amp;amp; west flash
-- west build: generating a build system
Including boilerplate (Zephyr base): /home/roberto/nordic_zephyr/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/roberto/nordic_zephyr/zephyr/samples/hello_world
-- Zephyr version: 2.3.99 (/home/roberto/nordic_zephyr/zephyr)
-- Found Python3: /usr/bin/python3.8 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Board: nrf5340pdk_nrf5340_cpuappns
ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found toolchain: zephyr (/home/roberto/zephyr-sdk-0.11.4)
-- Found west: /home/roberto/.local/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Found dtc: /home/roberto/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/roberto/nordic_zephyr/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuappns.dts
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:56.42-68.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:330.19-336.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:540.31-541.5: Warning (unique_unit_address_if_enabled): /reserved-memory/image@20000000: duplicate unit-address (also used in node /reserved-memory/image_s@20000000)
  also defined at nrf5340pdk_nrf5340_cpuappns.dts.pre.tmp:560.14-562.3
-- Generated zephyr.dts: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/roberto/nordic_zephyr/zephyr/Kconfig
Loaded configuration &amp;#39;/home/roberto/nordic_zephyr/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuappns_defconfig&amp;#39;
Merged configuration &amp;#39;/home/roberto/nordic_zephyr/zephyr/samples/hello_world/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/roberto/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Cache files will be written to: /home/roberto/.cache/zephyr
Changed board to secure nrf5340pdk_nrf5340_cpuapp (NOT NS)

=== child image spm - nrf5340pdk_nrf5340_cpuapp begin ===
Including boilerplate (Zephyr base): /home/roberto/nordic_zephyr/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/roberto/nordic_zephyr/nrf/samples/spm
-- Zephyr version: 2.3.99 (/home/roberto/nordic_zephyr/zephyr)
-- Found Python3: /usr/bin/python3.8 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Board: nrf5340pdk_nrf5340_cpuapp
-- Found toolchain: zephyr (/home/roberto/zephyr-sdk-0.11.4)
-- Found west: /home/roberto/.local/bin/west (found suitable version &amp;quot;0.7.2&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Found dtc: /home/roberto/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.5.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/roberto/nordic_zephyr/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuapp.dts
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:56.42-68.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:330.19-336.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:578.31-579.5: Warning (unique_unit_address_if_enabled): /reserved-memory/image@20000000: duplicate unit-address (also used in node /reserved-memory/image_s@20000000)
  also defined at nrf5340pdk_nrf5340_cpuapp.dts.pre.tmp:598.14-600.3
-- Generated zephyr.dts: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/spm/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/spm/zephyr/include/generated/devicetree_unfixed.h
Parsing /home/roberto/nordic_zephyr/zephyr/Kconfig
Loaded configuration &amp;#39;/home/roberto/nordic_zephyr/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340pdk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;/home/roberto/nordic_zephyr/nrf/samples/spm/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/spm/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/spm/zephyr/include/generated/autoconf.h&amp;#39;
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/roberto/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Cache files will be written to: /home/roberto/.cache/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/spm
=== child image spm - nrf5340pdk_nrf5340_cpuapp end ===

Changed board to secure nrf5340pdk_nrf5340_cpuapp (NOT NS)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build
-- west build: building application
[1/146] Preparing syscall dependency handling

[7/146] Performing build step for &amp;#39;spm_subimage&amp;#39;
[1/137] Preparing syscall dependency handling

[132/137] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:         32 KB        32 KB    100.00%
            SRAM:        3880 B        64 KB      5.92%
        IDT_LIST:          40 B         2 KB      1.95%
[137/137] Linking C executable zephyr/zephyr.elf
[139/146] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       12900 B       992 KB      1.27%
            SRAM:        3976 B       384 KB      1.01%
        IDT_LIST:          56 B         2 KB      2.73%
[146/146] Generating zephyr/merged_domains.hex
-- west flash: rebuilding
[0/9] Performing build step for &amp;#39;spm_subimage&amp;#39;
ninja: no work to do.
[1/2] cd /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/cmake/flash &amp;amp;&amp;amp; /usr/bin/cmake -E echo

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/merged.hex
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying pin reset.
-- runners.nrfjprog: Board with serial number 960181693 flashed successfully.
roberto@G5:~/nordic_zephyr/zephyr/samples/hello_world$ nrfjprog --recover
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.
roberto@G5:~/nordic_zephyr/zephyr/samples/hello_world$ nrfjprog --eraseall
Erasing user available code and UICR flash areas.
Applying system reset.
roberto@G5:~/nordic_zephyr/zephyr/samples/hello_world$ west build -b nrf5340pdk_nrf5340_cpuappns &amp;amp;&amp;amp; west flash
[0/9] Performing build step for &amp;#39;spm_subimage&amp;#39;
ninja: no work to do.
-- west flash: rebuilding
[0/9] Performing build step for &amp;#39;spm_subimage&amp;#39;
ninja: no work to do.
[1/2] cd /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/cmake/flash &amp;amp;&amp;amp; /usr/bin/cmake -E echo

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: /home/roberto/nordic_zephyr/zephyr/samples/hello_world/build/zephyr/merged.hex
Parsing hex file.
Erasing page at address 0x0.
Erasing page at address 0x1000.
Erasing page at address 0x2000.
Erasing page at address 0x3000.
Erasing page at address 0x4000.
Erasing page at address 0x5000.
Erasing page at address 0x6000.
Erasing page at address 0x7000.
Erasing page at address 0x8000.
Erasing page at address 0x9000.
Erasing page at address 0xA000.
Erasing page at address 0xB000.
Applying system reset.
Checking that the area to write is not protected.
Programming device.
Applying pin reset.
-- runners.nrfjprog: Board with serial number 960181693 flashed successfully.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010648                                                  
SPM: NS reset vector at 0x8e31                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-1446-g26216d1f7e09  ***        
Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK                                 
13 NRF_SAADC            Non-Secure      OK                                 
14 NRF_PWM0             Non-Secure      OK                                 
15 NRF_PWM1             Non-Secure      OK                                 
16 NRF_PWM2             Non-Secure      OK                                 
17 NRF_PWM3             Non-Secure      OK                                 
18 NRF_IPC              Non-Secure      OK                                 
19 NRF_VMC              Non-Secure      OK                                 
20 NRF_FPU              Non-Secure      OK                                 
21 NRF_EGU1             Non-Secure      OK                                 
22 NRF_EGU2             Non-Secure      OK                                 
23 NRF_DPPIC            Non-Secure      OK                                 
24 NRF_GPIOTE1          Non-Secure      OK                                 
25 NRF_REGULATORS       Non-Secure      OK                                 
                                                                           
SPM: NS image at 0x8000                                                    
SPM: NS MSP at 0x20010648                                                  
SPM: NS reset vector at 0x8e31                                             
SPM: prepare to jump to Non-Secure image.                                  
*** Booting Zephyr OS build v2.3.0-rc1-ncs1-1446-g26216d1f7e09  ***        
Flash regions           Domain          Permissions                        
00 01 0x00000 0x08000   Secure          rwxl                               
02 63 0x08000 0x100000  Non-Secure      rwxl                               
                                                                           
Non-secure callable region 0 placed in flash region 1 with size 32.        
                                                                           
SRAM region             Domain          Permissions                        
00 07 0x00000 0x10000   Secure          rwxl                               
08 63 0x10000 0x80000   Non-Secure      rwxl                               
                                                                           
Peripheral              Domain          Status                             
00 NRF_P0               Non-Secure      OK                                 
01 NRF_CLOCK            Non-Secure      OK                                 
02 NRF_RTC0             Non-Secure      OK                                 
03 NRF_RTC1             Non-Secure      OK                                 
04 NRF_NFCT             Non-Secure      OK                                 
05 NRF_NVMC             Non-Secure      OK                                 
06 NRF_UARTE1           Non-Secure      OK                                 
07 NRF_UARTE2           Secure          SKIP                               
08 NRF_TWIM2            Non-Secure      OK                                 
09 NRF_SPIM3            Non-Secure      OK                                 
10 NRF_TIMER0           Non-Secure      OK                                 
11 NRF_TIMER1           Non-Secure      OK                                 
12 NRF_TIMER2           Non-Secure      OK            &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPU NRF53 not run non secure app</title><link>https://devzone.nordicsemi.com/thread/269027?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 14:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d45168b-baee-4ac0-9d28-5379c06c6228</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I was able to make SPM work on the nRF53 DK and NCS v1.3.0, I did the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;cd zephyr/samples/hello_world&lt;/li&gt;
&lt;li&gt;west build -b nrf5340pdk_nrf5340_cpuappns &amp;amp;&amp;amp; west flash&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Try running nrfjprog --eraseall first if this doesn&amp;#39;t work&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>