<?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: Getting UNDEFINSTR(0) undefined instruction fault while debugging my flexspi code in imxrt1170 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Getting-UNDEFINSTR-0-undefined-instruction-fault-while-debugging/m-p/1360496#M182029</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192693"&gt;@pankaj_sharma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please run the code&amp;nbsp;&lt;SPAN&gt;flexspi_nor_edma_transfer_cm7&lt;/SPAN&gt; in the internal RAM to operate the external flash:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1635137447607.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159949i2438004A0DEA9228/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1635137447607.png" alt="kerryzhou_0-1635137447607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then try it again, whether you still have issues or not?&lt;/P&gt;
&lt;P&gt;If you still have issues, you also can change your boot mode to serial download mode, then test it again.&lt;/P&gt;
&lt;P&gt;SW1:1-OFF,2-OFF,3-OFF,4-ON.&lt;/P&gt;
&lt;P&gt;Select link application to RAM.&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 04:52:24 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2021-10-25T04:52:24Z</dc:date>
    <item>
      <title>Getting UNDEFINSTR(0) undefined instruction fault while debugging my flexspi code in imxrt1170</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-UNDEFINSTR-0-undefined-instruction-fault-while-debugging/m-p/1359788#M181927</link>
      <description>&lt;P&gt;Getting UNDEFINSTR(0) undefined instruction fault while debugging my flexspi code in integration project but the same lines of code is debugging fine in SDK Example( flexspi_nor_edma_transfer_cm7). I have updated the linker file(_Debug.ld) of integration project according to the linkscripts folder provided in SDK example of flexspi. The fault occurs while executing below while loop in the function&amp;nbsp;flexspi_nor_flash_page_program().&lt;/P&gt;&lt;P&gt;/* Wait for transfer completed. */&lt;BR /&gt;while (!g_completionFlag)&lt;BR /&gt;{&lt;BR /&gt;}&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fault_screenshot.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159829iDD2ABDA8FD6246D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="fault_screenshot.png" alt="fault_screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How can i debug my code without this fault ?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 02:58:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-UNDEFINSTR-0-undefined-instruction-fault-while-debugging/m-p/1359788#M181927</guid>
      <dc:creator>pankaj_sharma</dc:creator>
      <dc:date>2021-10-22T02:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting UNDEFINSTR(0) undefined instruction fault while debugging my flexspi code in imxrt1170</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-UNDEFINSTR-0-undefined-instruction-fault-while-debugging/m-p/1360496#M182029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192693"&gt;@pankaj_sharma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please run the code&amp;nbsp;&lt;SPAN&gt;flexspi_nor_edma_transfer_cm7&lt;/SPAN&gt; in the internal RAM to operate the external flash:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1635137447607.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159949i2438004A0DEA9228/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1635137447607.png" alt="kerryzhou_0-1635137447607.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then try it again, whether you still have issues or not?&lt;/P&gt;
&lt;P&gt;If you still have issues, you also can change your boot mode to serial download mode, then test it again.&lt;/P&gt;
&lt;P&gt;SW1:1-OFF,2-OFF,3-OFF,4-ON.&lt;/P&gt;
&lt;P&gt;Select link application to RAM.&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 04:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-UNDEFINSTR-0-undefined-instruction-fault-while-debugging/m-p/1360496#M182029</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-10-25T04:52:24Z</dc:date>
    </item>
  </channel>
</rss>

