<?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: RT1170 EVKB fsl_romapi does not work in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860224#M30165</link>
    <description>&lt;P&gt;Thanks for the reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Just to double check, the demo worked well, when you linked it to RAM, at least temporally, while the debugger is connected. Correct?&amp;nbsp;Currently I do not know if this a bootROM issue or FlexSPI configuration issue on the FCB.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Yes its working linked application to RAM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Secondly,&amp;nbsp; I understand that your design does not have the DQS floating, you need to use internal loopback. Correct?&amp;nbsp;This means that if you&amp;nbsp; update the&amp;nbsp;evkbmimxrt1170_flexspi_nor_config_214.c, that I shared&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980/highlight/true#M30056" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;to use internal loopback, the failure is still there, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yes, still not working.&lt;/P&gt;&lt;P&gt;We are going for the next version hardware, so we left DQS pin as floating, After that i will try and update you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 06:17:09 GMT</pubDate>
    <dc:creator>sandeepc</dc:creator>
    <dc:date>2024-05-07T06:17:09Z</dc:date>
    <item>
      <title>RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1849899#M29865</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;just looking at the RT1170 EVKB fsl_romapi CM7 Example... IAR1.50.1 flex_nor_debug , SDK 2.15&lt;BR /&gt;Built and debugged the project fine; it was able to successfully identify and erase/program the NOR Flash.&lt;/P&gt;&lt;P&gt;The example only runs when flashed and started via Debbuger.&lt;BR /&gt;After power on without IAR debugger, the board/CPU restarts when the function&lt;BR /&gt;ROM_FLEXSPI_NorFlash_GetConfig() is called.&lt;/P&gt;&lt;P&gt;I have not made any changes to the example.&lt;BR /&gt;All board jumpers are default.&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Johann&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:42:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1849899#M29865</guid>
      <dc:creator>johannzimmerman</dc:creator>
      <dc:date>2024-04-18T12:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1850954#M29896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your report!&lt;/P&gt;
&lt;P&gt;Currently, the easiest way to get the demo working by&amp;nbsp; using SRAM debug, or link to RAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 22:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1850954#M29896</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-19T22:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1852147#M29928</link>
      <description>&lt;P&gt;&amp;nbsp;even i tried with the example&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;status = &lt;/SPAN&gt;&lt;SPAN&gt;ROM_FLEXSPI_NorFlash_GetConfig&lt;/SPAN&gt;&lt;SPAN&gt;(FlexSpiInstance, &amp;amp;norConfig, &amp;amp;option);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;while executing above line wireack fault occuring.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep C&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Apr 2024 06:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1852147#M29928</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-04-23T06:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1853596#M29987</link>
      <description>link to RAM has no positive effect.&lt;BR /&gt;This example works only in the debugger environment.</description>
      <pubDate>Wed, 24 Apr 2024 16:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1853596#M29987</guid>
      <dc:creator>johannzimmerman</dc:creator>
      <dc:date>2024-04-24T16:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855072#M30016</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reports.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reported this issue and the SDK team is now aware of this bug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The investigation started, but I yet I do not have an exact&amp;nbsp; date for getting this fixed.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp;after you link the example to RAM did you get it working, but after making a reset the image was lost?&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 20:21:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855072#M30016</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-25T20:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855074#M30017</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for trying out, this issue&amp;nbsp; is already reported.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 20:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855074#M30017</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-25T20:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855504#M30031</link>
      <description>The fsl_romapi examples all work if you flash and start them in EWARM via SIMIS-DAP.&lt;BR /&gt;After a cold reset, the CPU starts (or resets itself) in the function ROM_FLEXSPI_NorFlash_GetConfig().&lt;BR /&gt;Regardless of whether it is stored in RAM as __ramfunc or in flash.&lt;BR /&gt;With “Attach to Runnig Target” the CPU is executed from the address 0x223104.</description>
      <pubDate>Fri, 26 Apr 2024 09:05:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1855504#M30031</guid>
      <dc:creator>johannzimmerman</dc:creator>
      <dc:date>2024-04-26T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856894#M30054</link>
      <description>&lt;P&gt;Any update?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 16:51:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856894#M30054</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-04-29T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980#M30056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please replace the contents of the&amp;nbsp;evkbmimxrt1170_flexspi_nor_config.c file with the contents of the attached file below and let me know your results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, from the current&amp;nbsp;evkbmimxrt1170_flexspi_nor_config.c from the SDK 2.15 replace&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;#define FLASH_DUMMY_CYCLES 0x08
#define FLASH_DUMMY_VALUE  0x03&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;#define FLASH_DUMMY_CYCLES 0x06
#define FLASH_DUMMY_VALUE  0x00&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 20:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980#M30056</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-29T20:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857089#M30060</link>
      <description>&lt;P&gt;It works only in debug mode that to when we use link application to ram.&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;&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;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:40:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857089#M30060</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-04-30T06:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857631#M30074</link>
      <description>&lt;P&gt;Many, many thanks Diego,&lt;BR /&gt;the “fsl_romapi” works fine now.&lt;/P&gt;&lt;P&gt;I'm not sure if I should put it in here but the&lt;BR /&gt;"\flexspi\nor\polling_transfer" example works the other way around:&lt;BR /&gt;In the debug environment of IAR the example crashes.&lt;BR /&gt;After cold start everything works fine. So debugging impossible...&lt;/P&gt;&lt;P&gt;WBR&lt;/P&gt;&lt;P&gt;Johann&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 14:46:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857631#M30074</guid>
      <dc:creator>johannzimmerman</dc:creator>
      <dc:date>2024-04-30T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857679#M30075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting me know, I am glad to know that the demo is now working for you. SDK team is now aware, and a fix will be done in the future, I still do not have information of when will this be done.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the&amp;nbsp;\flexspi\nor\polling_transfer demo issue you are seeing, let me thank you&amp;nbsp; for the proactivity reporting issue, we will need to see if we can reproduce this issue as well. But could you create another post for that? Me or another colleague could help on that.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Diego&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 16:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857679#M30075</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-30T16:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857684#M30076</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding my first response, where I said that the demo works when linked to RAM, this was&amp;nbsp; a quick workarroud to test the&amp;nbsp; APIs, while I was checking internally the issue. Thanks for checking out. SDK 2.15.1 and SDK 2.15.0 flash configuration, from below&amp;nbsp; produce issues when the ROM API tries to access to flash memory.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-c"&gt;&lt;CODE&gt;#define FLASH_DUMMY_CYCLES 0x08
#define FLASH_DUMMY_VALUE  0x03&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My previous comment provides a solution to let the demo to work linked to flash.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-csharp"&gt;&lt;CODE&gt;#define FLASH_DUMMY_CYCLES 0x06
#define FLASH_DUMMY_VALUE  0x00&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Therefore, if you update the demo according to it, you should be able to execute from flash and use the ROM API to erase and write the memory.&amp;nbsp;&amp;nbsp;So, with this update we demonstrate that&amp;nbsp; ROM APIs can be called from flash execution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1714494266374.png" style="width: 543px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276705i9430A28D03E768D6/image-dimensions/543x137?v=v2" width="543" height="137" role="button" title="diego_charles_0-1714494266374.png" alt="diego_charles_0-1714494266374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need any more help.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 16:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1857684#M30076</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-04-30T16:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1858799#M30123</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156866"&gt;@johannzimmerman&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Controller :MIMXRT1176AVM8A &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SDK version: 2.14.0 and 2.15.100 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IDE version: 11.8.0 and 11.9.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried as you mentioned in the post but still it didn't worked for me.&lt;/P&gt;&lt;P&gt;We used Winbond W25Q64JVSSIQ but it does not supports, RWW(read while write),. so we are trying to use ROM API to write to the flash when in XIP.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1st try:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So for this I tried by importing the example: evkmimxrt1170_fsl_romapi_cm7.&lt;BR /&gt;before dumping code the code i modified evkmimxrt1170_flexspi_nor_config.c as below&lt;/P&gt;&lt;P&gt;.readSampleClksrc=kFlexSPIReadSampleClk_LoopbackInternally,&lt;BR /&gt;.serialClkFreq = kFlexSpiSerialClk_100MHz,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;after this i dumped the code.&lt;/P&gt;&lt;P&gt;In debug mode ROM_FLEXSPI_NorFlash_GetConfig when this function is called got below fault:&lt;BR /&gt;&lt;STRONG&gt;Break address to 0x35052 with no debug information available or outside of program code.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepc_0-1714718861662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277008iA462CBA9172A594F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sandeepc_0-1714718861662.png" alt="sandeepc_0-1714718861662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;try2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried with as you suggested by replacing evkmimxrt1170_flexspi_nor_config.c with SDK version 2.14.0 still its not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepc_1-1714719346897.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277009iCED9FA14DD97FC19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sandeepc_1-1714719346897.png" alt="sandeepc_1-1714719346897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Try 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i tried with as in the link mention SDK version 2.15.1 just by changing MACRO's still its not working .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Try 4:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;by removing OCRAM region also still didn't worked out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Working:&lt;/STRONG&gt; When i link whole application to the RAM, but for our case it should work in XIP mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Schematic:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sandeepc_0-1714721498599.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277012i95504922E3038F81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sandeepc_0-1714721498599.png" alt="sandeepc_0-1714721498599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried all the ways as you mentioned please look in to my shared files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you share the working code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep c&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>Fri, 03 May 2024 07:31:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1858799#M30123</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-05-03T07:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859143#M30134</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that you are using a similar NOR flash memory to the one in the EVK ( W25Q512NWEIQ). You need a bit different flash memory configuration to make the Boot ROM API work. So, I think your problem can be solved with another configuration to your flash memory. With the below steps I show you how to use a generic config using the MCUXpresso secure provisioning tool.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;See my steps below.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1 Provide the flash an offset of 0x3000_2000.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1714773859831.png" style="width: 643px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277091iAF0381F7E610D32D/image-dimensions/643x254?v=v2" width="643" height="254" role="button" title="diego_charles_0-1714773859831.png" alt="diego_charles_0-1714773859831.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Disable XIP header.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1714774010761.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277093i1D6C362BA4121A61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_2-1714774010761.png" alt="diego_charles_2-1714774010761.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This means that the QSPI flash config structure of your project will not longer added to the image&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_3-1714774146078.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277094i08B5DCDC143B227C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_3-1714774146078.png" alt="diego_charles_3-1714774146078.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3 build the image and create a binary.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1714773974439.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277092i2CF16A52ACA3F67C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_1-1714773974439.png" alt="diego_charles_1-1714773974439.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4 Download and install the MCUXpresso Secure Provisioning Tool.&lt;/P&gt;
&lt;P&gt;5 Create a new workspace for the RT1170.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;6 Connect your RT1170 to the SPT tool. You will need to be able to set the MCU to boot from serial downloader mode and use the UART1 or USB1 ports.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7 Test&amp;nbsp; and adjust your memory configuration.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_4-1714774338642.png" style="width: 647px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277095i2778C7AA71A610DC/image-dimensions/647x380?v=v2" width="647" height="380" role="button" title="diego_charles_4-1714774338642.png" alt="diego_charles_4-1714774338642.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the test fails you may need to do any adjust to your memory configuration. Let me know if required to change any paramater to make test be succesfull.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8. Provide your image to the SPT and build it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_5-1714774663157.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277096i9E2740A1034024EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_5-1714774663157.png" alt="diego_charles_5-1714774663157.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;9.Write the image&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_6-1714774687379.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277097iD38CC52193FBF050/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_6-1714774687379.png" alt="diego_charles_6-1714774687379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;10. Set the RT1170 to boot again to 'internal boot ' mode. Connect a serial terminal emulator.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_7-1714774744087.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/277098i91E9B2C45CA58E7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_7-1714774744087.png" alt="diego_charles_7-1714774744087.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I was able to make the SDK 2.15 ROM API demo this way. The SPT generated a basic flash memory config that allowed the boot ROM APIs to write the application. I tested this with the W25Q512NWEIQ flash from the EVK.&lt;/P&gt;
&lt;P&gt;I hope this could help you!&lt;/P&gt;
&lt;P&gt;Diego&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>Fri, 03 May 2024 22:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859143#M30134</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-05-03T22:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859191#M30136</link>
      <description>&lt;P&gt;Thanks for the detailed reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried as you suggested to follow step by step still its not working.&lt;/P&gt;&lt;P&gt;here i will share my modified example code can you check with your evk board, so that i can ask our hardware team to review our schematic.&lt;/P&gt;&lt;P&gt;here i attached complete description document, as well as two zip files.&lt;/P&gt;&lt;P&gt;1) Description with detailed iamges&lt;/P&gt;&lt;P&gt;2)1st try zip file description:&lt;/P&gt;&lt;P&gt;just imported the example and i modified according to your steps&lt;/P&gt;&lt;P&gt;3) 2nd try zip file&lt;/P&gt;&lt;P&gt;i modified core clock to 800MHz&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a)Option 0 clock to : 100 Mhz&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b)Option 0 clock to : 30 Mhz&lt;/P&gt;&lt;P&gt;Note: As per this link&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/RT1176-flexSPI-DQS-connection-for-max-R-W-speed/m-p/1426722" target="_blank" rel="noopener"&gt;RT1176 - flexSPI DQS connection for max R/W speed - NXP Community&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/SEMC-DQS-and-FLEXSPI-DQS-signal-in-iMXRT117x/m-p/1599568#M23739" target="_blank" rel="noopener"&gt;Solved: SEMC_DQS and FLEXSPI_DQS signal in iMXRT117x - NXP Community&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;we have not left E14 pin as floating, E14 pin in our application used for one of the peripheral interrupt pin, so we cant left as floating.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;so we changed in xip file&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;flexspi_nor_config_t :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;.readSampleClksrc=kFlexSPIReadSampleClk_LoopbackFromDqsPad,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;.serialClkFreq = kFlexSpiSerialClk_133MHz,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.readSampleClksrc=kFlexSPIReadSampleClk_LoopbackInternally ,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;.serialClkFreq = kFlexSpiSerialClk_100MHz&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if disable According step2:&lt;SPAN&gt;Disable XIP header.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;readSampleClkSrc will be what? if i want change how can i change?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandeep C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 May 2024 05:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859191#M30136</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-05-04T05:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859910#M30149</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for testing according to my instructions and for your detailed PDF. I just want to ask some things.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Just to double check, the demo worked well, when you linked it to RAM, at least temporally, while the debugger is connected. Correct?&lt;/STRONG&gt;&amp;nbsp;Currently I do not know if this a bootROM issue or FlexSPI configuration issue on the FCB.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Secondly,&amp;nbsp; I understand that your design does not have the DQS floating, you need to use internal loopback. Correct?&lt;/STRONG&gt;&amp;nbsp;This means that if you&amp;nbsp; update the&amp;nbsp;evkbmimxrt1170_flexspi_nor_config_214.c, that I shared&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980/highlight/true#M30056" target="_blank"&gt;here&lt;/A&gt;&amp;nbsp;to use internal loopback, the failure is still there, right?&lt;/P&gt;
&lt;P&gt;According to my investigation, our MCUXpresso Secure Provisioning Tool does not lets you to configure the DQS option (&amp;nbsp;readSampleClkSrc).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your efforts and patience.&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 18:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1859910#M30149</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-05-06T18:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860224#M30165</link>
      <description>&lt;P&gt;Thanks for the reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Just to double check, the demo worked well, when you linked it to RAM, at least temporally, while the debugger is connected. Correct?&amp;nbsp;Currently I do not know if this a bootROM issue or FlexSPI configuration issue on the FCB.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Yes its working linked application to RAM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Secondly,&amp;nbsp; I understand that your design does not have the DQS floating, you need to use internal loopback. Correct?&amp;nbsp;This means that if you&amp;nbsp; update the&amp;nbsp;evkbmimxrt1170_flexspi_nor_config_214.c, that I shared&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1856980/highlight/true#M30056" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;to use internal loopback, the failure is still there, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Yes, still not working.&lt;/P&gt;&lt;P&gt;We are going for the next version hardware, so we left DQS pin as floating, After that i will try and update you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 06:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860224#M30165</guid>
      <dc:creator>sandeepc</dc:creator>
      <dc:date>2024-05-07T06:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: RT1170 EVKB fsl_romapi does not work</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860676#M30176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216061"&gt;@sandeepc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting me know.&lt;/P&gt;
&lt;P&gt;Feel free to create another post here in the community and reference this one, whenever your new board revision is ready.&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 15:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1170-EVKB-fsl-romapi-does-not-work/m-p/1860676#M30176</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2024-05-07T15:51:56Z</dc:date>
    </item>
  </channel>
</rss>

