<?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: LPC55s69 : hardfault in FFR region in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026689#M39995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Secure region can access NS region.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BUT NS region can't access secure region directly. it must get through NSC . see below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97037iFCB389ADF0374FDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For demo code, see ..\SDK_2.7.0_LPCXpresso55S69\boards\lpcxpresso55s69\trustzone_examples\hello_world.&lt;/P&gt;&lt;P&gt;It includes how to call S region function from NS region.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jan 2020 09:54:24 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2020-01-19T09:54:24Z</dc:date>
    <item>
      <title>LPC55s69 : hardfault in FFR region</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026688#M39994</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 have environment based on SDK example free_rtos_mpu_s/ns couple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have applied&amp;nbsp; S-User ( NS-User by default) for last 32KB flash block : 0x98000 - 0x9FFFF where FFR region located also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dosn't have any access from nonsecure part to this area at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But HardFault is indicate it :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entering HardFault interrupt!&lt;BR /&gt;SCB-&amp;gt;BFSR:PRECISERR fault: Precise data access error.&lt;BR /&gt;Address that caused secure bus violation is 0x9FCF4.&lt;/P&gt;&lt;P&gt;Additional AHB secure controller error information:&lt;BR /&gt;Secure error at AHB layer 0.&lt;BR /&gt;Address that caused secure violation is 0x9FCF4.&lt;BR /&gt;Secure error caused by bus master number 0.&lt;BR /&gt;Security level of master 1.&lt;BR /&gt;Secure error happened during read data access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is any idea what NXP components can indirectly to read this area ?&lt;/P&gt;&lt;P&gt;Some FSL drivers or what ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my undestanding I should keep this area with Secure attributes and any access from Nonsecure code should be forbidden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 10:02:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026688#M39994</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-17T10:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55s69 : hardfault in FFR region</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026689#M39995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Eugene&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Secure region can access NS region.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BUT NS region can't access secure region directly. it must get through NSC . see below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97037iFCB389ADF0374FDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For demo code, see ..\SDK_2.7.0_LPCXpresso55S69\boards\lpcxpresso55s69\trustzone_examples\hello_world.&lt;/P&gt;&lt;P&gt;It includes how to call S region function from NS region.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jan 2020 09:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026689#M39995</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-01-19T09:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55s69 : hardfault in FFR region</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026690#M39996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ZhangJennie"&gt;ZhangJennie&lt;/A&gt;‌ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NS and S world relation is clear for sure.&lt;/P&gt;&lt;P&gt;But some fsl drivers or what ever reads FFR locations and I can't apply S attributes to it.&lt;/P&gt;&lt;P&gt;FFR read is OK from secure side and noone shouldn't read it form nonsecure side.&lt;/P&gt;&lt;P&gt;But Hardfault generated if MPC settings bring S attribyte to that flash block.&lt;/P&gt;&lt;P&gt;It is weird a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 06:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026690#M39996</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2020-01-20T06:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55s69 : hardfault in FFR region</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026691#M39997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have specific problem, please detailed the steps of how to reproduce your issue with a NXP SDK demo code. This will save our time to reproduce. Thanks for your understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 09:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55s69-hardfault-in-FFR-region/m-p/1026691#M39997</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-01-20T09:41:26Z</dc:date>
    </item>
  </channel>
</rss>

