<?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>LPC MicrocontrollersのトピックLPC55S69 : call nonsecure function from secure ISR</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-call-nonsecure-function-from-secure-ISR/m-p/1000860#M39305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to handle interrupt on secure side.&lt;/P&gt;&lt;P&gt;When interrupt occurs, I should be able to call function on nonsecure side ( from Isecure SR context ) and it will send message to FreeRTOS task.&lt;/P&gt;&lt;P&gt;If interrupt handled on nonsecure side, it is not a problem to send message to RTOS becouse it run on nonsecure side also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have check all SDK examples and always all calls from nonsecure to secure side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to compose this call :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• BXLNS: Branch with Link Exchange Non Secure - calls a subroutine in NS memory.&lt;BR /&gt;On executing either the BXNS or BXLNS instructions the CPU-S will also change to the&lt;BR /&gt;Non-secure state (CPU-NS) and thus be in the correct state for executing out of NS&lt;BR /&gt;memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp; secure side can know where known function located on nonsecure side ?&lt;/P&gt;&lt;P&gt;If secure side in ISR context , does nonsecure will look as in ISR context and I should use freertos function for ISR context ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;DIV style="position: absolute; left: 568px; top: 81px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2019 20:53:47 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-11-15T20:53:47Z</dc:date>
    <item>
      <title>LPC55S69 : call nonsecure function from secure ISR</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-call-nonsecure-function-from-secure-ISR/m-p/1000860#M39305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to handle interrupt on secure side.&lt;/P&gt;&lt;P&gt;When interrupt occurs, I should be able to call function on nonsecure side ( from Isecure SR context ) and it will send message to FreeRTOS task.&lt;/P&gt;&lt;P&gt;If interrupt handled on nonsecure side, it is not a problem to send message to RTOS becouse it run on nonsecure side also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have check all SDK examples and always all calls from nonsecure to secure side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how to compose this call :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;• BXLNS: Branch with Link Exchange Non Secure - calls a subroutine in NS memory.&lt;BR /&gt;On executing either the BXNS or BXLNS instructions the CPU-S will also change to the&lt;BR /&gt;Non-secure state (CPU-NS) and thus be in the correct state for executing out of NS&lt;BR /&gt;memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp; secure side can know where known function located on nonsecure side ?&lt;/P&gt;&lt;P&gt;If secure side in ISR context , does nonsecure will look as in ISR context and I should use freertos function for ISR context ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;DIV style="position: absolute; left: 568px; top: 81px;"&gt;&lt;DIV class="gtx-trans-icon"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 20:53:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-call-nonsecure-function-from-secure-ISR/m-p/1000860#M39305</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-11-15T20:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 : call nonsecure function from secure ISR</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-call-nonsecure-function-from-secure-ISR/m-p/1000861#M39306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hello Eugene,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Please refer attached training slides.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Secure code has access right to non secure regions. But Non-Secure code only allowed to access Secure code APIs which are defined in veneer tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94744i2DDF4EA33A9E3BC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have further questions.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 15:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-call-nonsecure-function-from-secure-ISR/m-p/1000861#M39306</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-11-19T15:44:53Z</dc:date>
    </item>
  </channel>
</rss>

