<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trustzone with WiFi in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194615#M43165</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the tipp know all the values are defined and i can compile the project. But once entering the ns project and trying to execute first line of Init_MRT0_NS() i get a Bus Fault (BFSR). Any ideas on how to solve this ?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
    <pubDate>Mon, 07 Dec 2020 10:21:00 GMT</pubDate>
    <dc:creator>beze</dc:creator>
    <dc:date>2020-12-07T10:21:00Z</dc:date>
    <item>
      <title>Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190428#M43067</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the LPC55s69 in combination with wifi10click board. I want to develop an&amp;nbsp; secure application that does some calculation and then sends the result over wifi. The secure application is already working but i am struggling quite a bit with the wifi and maybe someone can give me some advice so i can finish this. The wifi should be running as an unsecure application so I have the calculation totally seperated. But when I want to setup the wifi as an unsecure application (setting up the pins and all that) I keep getting hardfaults. What do I have to change so i can setup the wifi board form unsecure world or is this just not possible and must be placed in secure world ? So if anyone does have some experience with Wifi in combination with trustzone i am glad for every advice.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance and best regards,&lt;BR /&gt;Lukas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 21:46:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190428#M43067</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-11-27T21:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190663#M43080</link>
      <description>&lt;P&gt;Hi, Lukas&lt;/P&gt;
&lt;P&gt;Regarding your question, can you track the line which leads to the hard-fault event in your code?&lt;/P&gt;
&lt;P&gt;Anyway, if you want to configure the pin, you have to enable the IOCON bit in AHBCLKCTRL0 register. You can use the line:&lt;/P&gt;
&lt;P&gt;SYSCON_NS-&amp;gt;AHBCLKCTRL.AHBCLKCTRL0|=1&amp;lt;&amp;lt;13;&lt;/P&gt;
&lt;P&gt;If you use the FlexCOMMx module, you have to enable the gated clock as above in the AHBCLKCTRL1 reg.&lt;/P&gt;
&lt;P&gt;If you use interrupt mechanism in non-security world, you have to write the NVIC-ITNSx register in ONLY security world.&lt;/P&gt;
&lt;P&gt;I attach a doc, hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 06:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190663#M43080</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-11-30T06:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190979#M43091</link>
      <description>&lt;P&gt;Hello XiangJun,&lt;/P&gt;&lt;P&gt;thanks for you quick response. I usually get the hardfault when i try to init the wifiboard (hardfault fsl_clock.c). I tried to follow the guidance you attached but I keep getting the error in hello_world_ns that gpio_ns and syscon_ns are undefined. Where do I have to define this values ?&lt;BR /&gt;&lt;BR /&gt;Thanks and best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 14:18:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1190979#M43091</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-11-30T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1191313#M43096</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is the header file.&lt;/P&gt;
&lt;P&gt;#include "LPC55S69_cm33_core0.h"&lt;BR /&gt;#include "fsl_device_registers.h"&lt;BR /&gt;#include "fsl_debug_console.h"&lt;BR /&gt;#include "veneer_table.h"&lt;BR /&gt;#include "pin_mux.h"&lt;BR /&gt;#include "board.h"&lt;BR /&gt;#include "clock_config.h"&lt;BR /&gt;//#include "core_armv8mbl.h"&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 06:11:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1191313#M43096</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-12-01T06:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1191656#M43104</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;sorry that i need to ask again but it is still not working. Keep getting&lt;/P&gt;&lt;P&gt;source/hello_world_ns.c:35:2: error: 'SYSCON_NS' undeclared (first use in this function); did you mean 'SYSCON'?&lt;BR /&gt;35 | SYSCON_NS-&amp;gt;AHBCLKCTRL.AHBCLKCTRL1|=1&amp;lt;&amp;lt;0;&lt;/P&gt;&lt;P&gt;even when copy pasting your header and when i manually search for syscon_ns in lpc55s69_cm33_core0.h i find it but the project does not recognize it (checked includes so that not the problem). Do i need to think of anything else ? Could you maybe just share the project with me so i can take a look ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 14:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1191656#M43104</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-12-01T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194212#M43155</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;the SYSCON_NS and GPIO_NS are defined in LPC55S69_cm33_core0.h. The problem why all the _NS is not defined is because of the file itself i guess.&lt;/P&gt;&lt;P&gt;/* SYSCON - Peripheral instance base addresses */&lt;BR /&gt;#if (__ARM_FEATURE_CMSE &amp;amp; 0x2)&lt;BR /&gt;/** Peripheral SYSCON base address */&lt;BR /&gt;#define SYSCON_BASE (0x50000000u)&lt;BR /&gt;/** Peripheral SYSCON base address */&lt;BR /&gt;#define SYSCON_BASE_NS (0x40000000u)&lt;BR /&gt;/** Peripheral SYSCON base pointer */&lt;BR /&gt;#define SYSCON ((SYSCON_Type *)SYSCON_BASE)&lt;BR /&gt;/** Peripheral SYSCON base pointer */&lt;BR /&gt;#define SYSCON_NS ((SYSCON_Type *)SYSCON_BASE_NS)&lt;BR /&gt;/** Array initializer of SYSCON peripheral base addresses */&lt;BR /&gt;#define SYSCON_BASE_ADDRS { SYSCON_BASE }&lt;BR /&gt;/** Array initializer of SYSCON peripheral base pointers */&lt;BR /&gt;#define SYSCON_BASE_PTRS { SYSCON }&lt;BR /&gt;/** Array initializer of SYSCON peripheral base addresses */&lt;BR /&gt;#define SYSCON_BASE_ADDRS_NS { SYSCON_BASE_NS }&lt;BR /&gt;/** Array initializer of SYSCON peripheral base pointers */&lt;BR /&gt;#define SYSCON_BASE_PTRS_NS { SYSCON_NS }&lt;BR /&gt;#else&lt;BR /&gt;/** Peripheral SYSCON base address */&lt;BR /&gt;#define SYSCON_BASE (0x40000000u)&lt;BR /&gt;/** Peripheral SYSCON base pointer */&lt;BR /&gt;#define SYSCON ((SYSCON_Type *)SYSCON_BASE)&lt;BR /&gt;/** Array initializer of SYSCON peripheral base addresses */&lt;BR /&gt;#define SYSCON_BASE_ADDRS { SYSCON_BASE }&lt;BR /&gt;/** Array initializer of SYSCON peripheral base pointers */&lt;BR /&gt;#define SYSCON_BASE_PTRS { SYSCON }&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IF decides wether SYSCON_NS is defined or not but __ARM_FEATURE_CMSE is ether 0 or 1 as far as i know so is it possible that __ARM_FEATURE_CMSE &amp;amp; 0x2 is true ? Am I right on this one ? That if the if statement would be true i could follow the guidance you attached in the first place ?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 19:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194212#M43155</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-12-05T19:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194414#M43162</link>
      <description>&lt;P&gt;Hi, Lukas,&lt;/P&gt;
&lt;P&gt;I am sorry, you have to set the _ARM_FEATURE_CMSE=3 in the compiler option for the non-security world project.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1607319931675.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131926i677CD61E05973481/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1607319931675.png" alt="xiangjun_rong_0-1607319931675.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 05:47:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194414#M43162</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-12-07T05:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194615#M43165</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the tipp know all the values are defined and i can compile the project. But once entering the ns project and trying to execute first line of Init_MRT0_NS() i get a Bus Fault (BFSR). Any ideas on how to solve this ?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 10:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1194615#M43165</guid>
      <dc:creator>beze</dc:creator>
      <dc:date>2020-12-07T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1195144#M43174</link>
      <description>&lt;P&gt;Hi, Lukas,&lt;/P&gt;
&lt;P&gt;I found out the code, I attach it, pls refer to it. It is based on MCUXpresso tools and SDK package.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 04:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1195144#M43174</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-12-08T04:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1499069#M49740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144971"&gt;@beze&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;, did the qca_demo you were trying to port into TrustZone ever work? I have been trying to do the exact same thing. I managed to compile the code but somehow the scheduling of tasks wasn't working well. I am guessing that this could be due to the FreeRTOS config that involves TZ, MPU, and FPU settings. Any insights (or even the working source code) would be much appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rahmadi&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 23:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1499069#M49740</guid>
      <dc:creator>rtrimana</dc:creator>
      <dc:date>2022-08-01T23:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trustzone with WiFi</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1500495#M49759</link>
      <description>&lt;P&gt;Actually, I managed to solve the issue and now the WiFi driver is working in TZ. If anyone ever tries to do the same thing and needs the solution, here is the thread:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/Porting-the-qca-demo-into-TrustZone-for-board-lpcxpresso55s69/m-p/1497571" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/Porting-the-qca-demo-into-TrustZone-for-board-lpcxpresso55s69/m-p/1497571&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope this helps someone someday.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 21:02:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Trustzone-with-WiFi/m-p/1500495#M49759</guid>
      <dc:creator>rtrimana</dc:creator>
      <dc:date>2022-08-03T21:02:23Z</dc:date>
    </item>
  </channel>
</rss>

