<?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: Fashing problem on LPC55S69-EVK in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909954#M36435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also be sure to update to MCUXpresso IDE V11. There were several improvements added to this IDE release, including special handling of linked secure/non-secure projects. If you are constructing your own make files and&amp;nbsp;GDB setup this could get more difficult ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also just created a new class about secure/non-secure debug; materials are here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-343688"&gt;https://community.nxp.com/docs/DOC-343688&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant see the hands-on lab there so have attached it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2019 00:44:37 GMT</pubDate>
    <dc:creator>brendonslade</dc:creator>
    <dc:date>2019-06-21T00:44:37Z</dc:date>
    <item>
      <title>Fashing problem on LPC55S69-EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909952#M36433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running some examples from the SDK_2.5.1_LPCXpresso55S69_GCCARMEmbedded for the LPC55S69-EVK related to Trustzone (Secure Faults example). For each example I created my own Makefile with only the strictly necessary source files (.c, .h, .ld, .S) – which I accomplish by exploring the CMAKE build mechanism (dependencies, compiler flags, etc) provided for each example. I am able to compile the Trustzone-based examples without running to any issue, and I already tested them on the board by flashing through a J-link probe and a GDB session (as recommended on the User Guide).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My next step was to create a makefile-based project on MCUXpressoIDE (File-&amp;gt;New-&amp;gt;New Project-&amp;gt;C/C++Project or New C/C++ Project – I tried both the alternatives), since I wanted to use the debugger interface provided by the tool. For both secure and non-secure applications I was able once again to build them correctly using my makefile (no issues to link the secure gateway library generated during the build of the secure app).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this process, I run into a issue while trying to initiate a debug session (I am using the on-board debugger). I simply flash the NS app using the LinkServer and once I try to debug the secure app (which I already loaded with the non-secure symbols) I run to an error while the probe is trying to flash:&lt;/P&gt;&lt;P&gt;“Target error from Commit Flash write: Em(12). Target rejected debug access at location 0x1000A000&lt;BR /&gt;GDB stub (crt_emu_cm_redlink) terminating – GDB protocol problem: Pipe has been closed by GDB.”&lt;/P&gt;&lt;P&gt;I should add the steps that I took to start the debug session where:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Force the LPC555S69&amp;nbsp;into ISP mode and use GUI Flash Tool to do a Mass Erase".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Confirmation message: "Operation Complete"&lt;/P&gt;&lt;P&gt;2) Program NS project, by reconnecting first the board debug port.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Confirmation message: "Operation Complete"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Console: "Finished writing Flash successfully"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Kill active debug session by pressing "Clean up debug" button&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4) Edit the secure debugger script and add the command "add-symbol-file &amp;lt;location&amp;gt;TZ_Secure_Faults_NS.elf 0x00010000&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;5) Debug the secure app and run into the aforementioned error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the full debug output:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codeshare.io/axEgPd" title="https://codeshare.io/axEgPd"&gt;https://codeshare.io/axEgPd&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should mentioned that the memory on project settings was the layout of the example provided in the SDK which is intended for the toolchain MCUXpresso IDE (SDK_2.5.1_LPCXpresso55S69_MCUXpressoIDE):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what step or mistake can I be doing? You can find the resources for the projects attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makefile (secure): &lt;A href="https://codeshare.io/5eLVyr"&gt;https://codeshare.io/5eLVyr&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Makefile (non-secure): &lt;A href="https://codeshare.io/adlwrR"&gt;https://codeshare.io/adlwrR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Linker Script (secure): &lt;A href="https://codeshare.io/anMzWj"&gt;https://codeshare.io/anMzWj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Linker Script (non-secure): &lt;A href="https://codeshare.io/G8opjd"&gt;https://codeshare.io/G8opjd&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 14:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909952#M36433</guid>
      <dc:creator>raz3l</dc:creator>
      <dc:date>2019-06-11T14:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fashing problem on LPC55S69-EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909953#M36434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try using MCUXpresso SDK 2.6 version?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Older version of MCUXpresso IDE and/or SDK will have different and inferior performance when used with Trustzone examples and are therefore not recommended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2019/06/12/using-lpc55s69-sdk-trustzone-examples-with-mcuxpresso-ide-v1100"&gt;https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2019/06/12/using-lpc55s69-sdk-trustzone-examples-with-mcuxpresso-ide-v1100&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&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>Thu, 20 Jun 2019 13:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909953#M36434</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2019-06-20T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fashing problem on LPC55S69-EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909954#M36435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also be sure to update to MCUXpresso IDE V11. There were several improvements added to this IDE release, including special handling of linked secure/non-secure projects. If you are constructing your own make files and&amp;nbsp;GDB setup this could get more difficult ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also just created a new class about secure/non-secure debug; materials are here:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-343688"&gt;https://community.nxp.com/docs/DOC-343688&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant see the hands-on lab there so have attached it here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 00:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909954#M36435</guid>
      <dc:creator>brendonslade</dc:creator>
      <dc:date>2019-06-21T00:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fashing problem on LPC55S69-EVK</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909955#M36436</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/soledad"&gt;soledad&lt;/A&gt;‌ and &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/brendonslade"&gt;brendonslade&lt;/A&gt;‌, thank you for the tips! On the last week or so I have been using&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;MCUXpresso IDE V11, which solve my problems and significantly increased the stability on my development environment! Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 13:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Fashing-problem-on-LPC55S69-EVK/m-p/909955#M36436</guid>
      <dc:creator>raz3l</dc:creator>
      <dc:date>2019-06-25T13:41:03Z</dc:date>
    </item>
  </channel>
</rss>

