<?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>i.MX Processors中的主题 Re: Flash init error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flash-init-error/m-p/1911633#M226360</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222546"&gt;@SpeedyGonzalesss&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Sorry for taking a while to get back to you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;In the case that you are currently using XIP mode you cannot use the same FLASH to storage, this because the XIP needs to obtain the next instruction from the flash, and in the case that you want to read/write the core probably does not obtain the next instruction and consequently, the code becomes nonsense.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;If this is the case, you can use non XIP, this means that the code is going to run in RAM obtaining the code from the FLASH. If you wish to try running it in RAM, you can consult this &lt;A href="https://www.nxp.com/docs/en/application-note/AN14069.pdf" target="_blank"&gt;app note.&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Also, if you experience any issue, do not hesitate to let me know.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Habib.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 21:15:21 GMT</pubDate>
    <dc:creator>Habib_MS</dc:creator>
    <dc:date>2024-07-18T21:15:21Z</dc:date>
    <item>
      <title>Flash init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-init-error/m-p/1900238#M225931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using i.MX RT1176 mcu on our custom board.&amp;nbsp;There is a single Flash on the board and its code is Macronix MX25L6433F. There is no DQS pin. We both boot from this flash and want to use it as storage. There is no problem using it as boot.&amp;nbsp;But when I want to use it as storage, I cannot initialize Flash. I also made the necessary definitions in the Linkscripts folder. There is an example of "flexspi_nor_polling_transfer" in the SDK examples. After creating the necessary functions according to this example, I call the flexspi_nor_flash_ini() function, but after this function it becomes nonsense.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SpeedyGonzalesss_0-1720185947777.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287304i37A9A68C93E0760A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SpeedyGonzalesss_0-1720185947777.png" alt="SpeedyGonzalesss_0-1720185947777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I run from here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SpeedyGonzalesss_1-1720186010247.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287305i1A1A1E61530999B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SpeedyGonzalesss_1-1720186010247.png" alt="SpeedyGonzalesss_1-1720186010247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It acts as if he is in a different and unrelated place.&lt;/P&gt;&lt;P&gt;Init function;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SpeedyGonzalesss_2-1720186082824.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/287306i3722AB0FBC85816F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SpeedyGonzalesss_2-1720186082824.png" alt="SpeedyGonzalesss_2-1720186082824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1: Why does this happen? Where could I be doing wrong?&lt;BR /&gt;Question 2: Since there is no DQS pin, should I select LoopbackInternally or SCK in the clock config section?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 13:30:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-init-error/m-p/1900238#M225931</guid>
      <dc:creator>SpeedyGonzalesss</dc:creator>
      <dc:date>2024-07-05T13:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Flash init error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-init-error/m-p/1911633#M226360</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222546"&gt;@SpeedyGonzalesss&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Sorry for taking a while to get back to you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;In the case that you are currently using XIP mode you cannot use the same FLASH to storage, this because the XIP needs to obtain the next instruction from the flash, and in the case that you want to read/write the core probably does not obtain the next instruction and consequently, the code becomes nonsense.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;If this is the case, you can use non XIP, this means that the code is going to run in RAM obtaining the code from the FLASH. If you wish to try running it in RAM, you can consult this &lt;A href="https://www.nxp.com/docs/en/application-note/AN14069.pdf" target="_blank"&gt;app note.&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Also, if you experience any issue, do not hesitate to let me know.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;BR&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Habib.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 21:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-init-error/m-p/1911633#M226360</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2024-07-18T21:15:21Z</dc:date>
    </item>
  </channel>
</rss>

