<?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 RT1176 debugging with flash from QSPI2 in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/RT1176-debugging-with-flash-from-QSPI2/m-p/1707844#M18991</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have built a custom board with the MIMXRT1176 MCU.&lt;/P&gt;&lt;P&gt;we have connected the flash component (IS25WP128-JBLE) to QSPI2 secondary channel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_0-1692530006986.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237153i1BBAF0063B38FB3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_0-1692530006986.png" alt="andreytarakin_0-1692530006986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the boot configuration is a follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_1-1692530082847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237154i6530E15670CC99AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_1-1692530082847.png" alt="andreytarakin_1-1692530082847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in addition, we have burned 2 fuses in order to comply with the requirements in the datasheet regarding the QSPI2 channel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_2-1692530367908.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237155iA0E516A9DDC258AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_2-1692530367908.png" alt="andreytarakin_2-1692530367908.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_3-1692530401887.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237156iAE6086BAC4AE596E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_3-1692530401887.png" alt="andreytarakin_3-1692530401887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_4-1692530431856.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237157i63C440A4EF70FD9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_4-1692530431856.png" alt="andreytarakin_4-1692530431856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_7-1692531369204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237160i549DC6DAF3FF23F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_7-1692531369204.png" alt="andreytarakin_7-1692531369204.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the memory configuration in MCUXpresso, we have changed the FLASH location as follows:&lt;/P&gt;&lt;P&gt;QSPI2 location 0x60000000, with flash script for FlexSPI2_A.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_5-1692530516496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237158i453DFBD768B6851F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_5-1692530516496.png" alt="andreytarakin_5-1692530516496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to debug our card using J-Link Plus. while doing so we can detect the clock on the Flash CLK (pin 6) pin (20MHz). however during debug, MCUXpresso hits the first breakpoint on main start, and when we continue we are running into the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_6-1692530810898.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237159iB920DAA4318C6964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_6-1692530810898.png" alt="andreytarakin_6-1692530810898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 more thing, when we configure the program to run from RAM, we can debug with no problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey Tarakin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Aug 2023 11:36:45 GMT</pubDate>
    <dc:creator>andreytarakin</dc:creator>
    <dc:date>2023-08-20T11:36:45Z</dc:date>
    <item>
      <title>RT1176 debugging with flash from QSPI2</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RT1176-debugging-with-flash-from-QSPI2/m-p/1707844#M18991</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have built a custom board with the MIMXRT1176 MCU.&lt;/P&gt;&lt;P&gt;we have connected the flash component (IS25WP128-JBLE) to QSPI2 secondary channel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_0-1692530006986.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237153i1BBAF0063B38FB3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_0-1692530006986.png" alt="andreytarakin_0-1692530006986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the boot configuration is a follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_1-1692530082847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237154i6530E15670CC99AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_1-1692530082847.png" alt="andreytarakin_1-1692530082847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in addition, we have burned 2 fuses in order to comply with the requirements in the datasheet regarding the QSPI2 channel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_2-1692530367908.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237155iA0E516A9DDC258AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_2-1692530367908.png" alt="andreytarakin_2-1692530367908.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_3-1692530401887.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237156iAE6086BAC4AE596E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_3-1692530401887.png" alt="andreytarakin_3-1692530401887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_4-1692530431856.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237157i63C440A4EF70FD9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_4-1692530431856.png" alt="andreytarakin_4-1692530431856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_7-1692531369204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237160i549DC6DAF3FF23F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_7-1692531369204.png" alt="andreytarakin_7-1692531369204.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the memory configuration in MCUXpresso, we have changed the FLASH location as follows:&lt;/P&gt;&lt;P&gt;QSPI2 location 0x60000000, with flash script for FlexSPI2_A.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_5-1692530516496.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237158i453DFBD768B6851F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_5-1692530516496.png" alt="andreytarakin_5-1692530516496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to debug our card using J-Link Plus. while doing so we can detect the clock on the Flash CLK (pin 6) pin (20MHz). however during debug, MCUXpresso hits the first breakpoint on main start, and when we continue we are running into the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andreytarakin_6-1692530810898.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237159iB920DAA4318C6964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andreytarakin_6-1692530810898.png" alt="andreytarakin_6-1692530810898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 more thing, when we configure the program to run from RAM, we can debug with no problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey Tarakin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Aug 2023 11:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RT1176-debugging-with-flash-from-QSPI2/m-p/1707844#M18991</guid>
      <dc:creator>andreytarakin</dc:creator>
      <dc:date>2023-08-20T11:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: RT1176 debugging with flash from QSPI2</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/RT1176-debugging-with-flash-from-QSPI2/m-p/1708039#M18995</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There is an application note &lt;A href="https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf" target="_self"&gt;AN12183&lt;/A&gt; about how to enable debugging with FlexSPI NOR Flash.&lt;/P&gt;
&lt;P&gt;Wish it helps.&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:14:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/RT1176-debugging-with-flash-from-QSPI2/m-p/1708039#M18995</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2023-08-21T06:14:37Z</dc:date>
    </item>
  </channel>
</rss>

