<?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: ROM api nor flash in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1950216#M31761</link>
    <description>&lt;P&gt;Any answer for this?&amp;nbsp; Can the ROM API's actually be used with XIP SPI NOR Flash?&amp;nbsp; If so, how?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 16:28:43 GMT</pubDate>
    <dc:creator>Littell</dc:creator>
    <dc:date>2024-09-09T16:28:43Z</dc:date>
    <item>
      <title>ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1857257#M30063</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Winbond flash:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;W25Q64JVSSIQ&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;SDK version: 2.14.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Controller: MImxrt1170&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;IDE version:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;MCUXpresso IDE v11.8.0 [Build 1165] [2023-07-26]&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;We are developing custom boot loader for one of our application.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;i tried with importing nor flash example it works only when i link complete application to RAM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepc_0-1714459440295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276584i7250E17DB9CE99CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sandeepc_0-1714459440295.png" alt="sandeepc_0-1714459440295.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;without linking if i call&amp;nbsp;getting below error&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;static&lt;/SPAN&gt; &lt;SPAN&gt;serial_nor_config_option_t&lt;/SPAN&gt; &lt;SPAN&gt;option&lt;/SPAN&gt;&lt;SPAN&gt; = {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.option0.U = 0xc0000007U,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.option1.U = 0U,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;status = ROM_FLEXSPI_NorFlash_GetConfig(FlexSpiInstance, &amp;amp;norConfig, &amp;amp;option);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepc_0-1714461974695.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276603i11AA8BC8AED96C02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sandeepc_0-1714461974695.png" alt="sandeepc_0-1714461974695.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;We are trying to call ROM APIs to erase/write to same flash memory from which code is executing.&lt;BR /&gt;In this scenario, are we supposed to call ROM APIs only from RAM, or can it be called from main application running from flash (QSPI)?&lt;BR /&gt;If ROM APIs can be called from flash, can you please provide a example?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 07:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1857257#M30063</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-04-30T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1950216#M31761</link>
      <description>&lt;P&gt;Any answer for this?&amp;nbsp; Can the ROM API's actually be used with XIP SPI NOR Flash?&amp;nbsp; If so, how?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 16:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1950216#M31761</guid>
      <dc:creator>Littell</dc:creator>
      <dc:date>2024-09-09T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1951424#M31775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234959"&gt;@Littell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; think the follow up for &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;where made somewhere else,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;if you are still getting issues feel free to let us now .&lt;/P&gt;
&lt;P&gt;With regards to your questions, yes , ROM APIS can be used with&amp;nbsp;&lt;SPAN&gt;with XIP SPI NOR Flash.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me detail some issues we had and&amp;nbsp; worked with&amp;nbsp; the romapi demo:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;With SDK 2.15 the ROM API did not work as expected, so a change must be done, refer to this &lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860224#M30165" target="_self"&gt;thread &lt;/A&gt;&amp;nbsp;and more specifically to this &lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980/highlight/true#M30056" target="_self"&gt;comment&lt;/A&gt;.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;With SDK 2.16 we where able to solve the problem, and no modifications where required. In case of still getting issues, please make a mass erase, as we found out in this thread&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-General/evkbrt1170-romapi/m-p/1936864#M5458" target="_self"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;evkbrt1170 romapi&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;All of this where tested on the RT1170 EVK from our side. If you are still getting issues, feel free to let us know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Diego&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 20:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1951424#M31775</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-09-10T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1951466#M31779</link>
      <description>&lt;P&gt;But on the RT1170 EVKB the Winbond Flash runs at 133 MHz, right?&amp;nbsp; The Winbond Data Sheet (W25Q512 Section 8.2.23) specifies that 8 dummy clocks should be used at that clock rate.&amp;nbsp; So why and how could changing to 6 have fixed anything?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 21:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1951466#M31779</guid>
      <dc:creator>Littell</dc:creator>
      <dc:date>2024-09-10T21:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1952904#M31793</link>
      <description>Waiting for clarification on this.</description>
      <pubDate>Thu, 12 Sep 2024 02:43:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1952904#M31793</guid>
      <dc:creator>Littell</dc:creator>
      <dc:date>2024-09-12T02:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1954358#M31818</link>
      <description>&lt;P&gt;Still waiting for clarification - it makes no sense to me how that change could actually fix anything related to the OP's problem.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 15:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1954358#M31818</guid>
      <dc:creator>Littell</dc:creator>
      <dc:date>2024-09-13T15:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: ROM api nor flash</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1958883#M31887</link>
      <description>&lt;P&gt;OK, I'll give up on an actual explanation.&amp;nbsp; What, then, were the changes in 2.16 that allowed things to work?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 15:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/ROM-api-nor-flash/m-p/1958883#M31887</guid>
      <dc:creator>Littell</dc:creator>
      <dc:date>2024-09-20T15:12:50Z</dc:date>
    </item>
  </channel>
</rss>

