<?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 Operation NorFlash function is abnormal in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Operation-NorFlash-function-is-abnormal/m-p/923163#M138761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project run NorFlash, but operate NorFlash function in the SRAM to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I used AHB command to read Norflash, go to operate flash function, and it happen&amp;nbsp;an abnormal action occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operate NorFlash :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143501.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84934i4BC69656A25599ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143501.bmp" alt="2019-09-16_143501.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S1. Write Flash (IP Command)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143510.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84970i8CE8FA6DB59260BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143510.bmp" alt="2019-09-16_143510.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;S2. Read Flash (AHB Command)&lt;/P&gt;&lt;P&gt;S3. Erase Flash &lt;SPAN&gt;(IP Command), Used Erase Flash,&amp;nbsp;Found at&amp;nbsp; 0x600C8000~0x600C801F can't erase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143518.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85029iA2E84721C654791A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143518.bmp" alt="2019-09-16_143518.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect it may be a cache problem, currently the Project enable D-Cache and I-Cache,&amp;nbsp;Will it be read Cache and Flash out of sync relationship?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2019 06:51:55 GMT</pubDate>
    <dc:creator>jimhuang2</dc:creator>
    <dc:date>2019-09-16T06:51:55Z</dc:date>
    <item>
      <title>Operation NorFlash function is abnormal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Operation-NorFlash-function-is-abnormal/m-p/923163#M138761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project run NorFlash, but operate NorFlash function in the SRAM to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I used AHB command to read Norflash, go to operate flash function, and it happen&amp;nbsp;an abnormal action occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operate NorFlash :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143501.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84934i4BC69656A25599ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143501.bmp" alt="2019-09-16_143501.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S1. Write Flash (IP Command)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143510.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84970i8CE8FA6DB59260BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143510.bmp" alt="2019-09-16_143510.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;S2. Read Flash (AHB Command)&lt;/P&gt;&lt;P&gt;S3. Erase Flash &lt;SPAN&gt;(IP Command), Used Erase Flash,&amp;nbsp;Found at&amp;nbsp; 0x600C8000~0x600C801F can't erase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2019-09-16_143518.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/85029iA2E84721C654791A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-09-16_143518.bmp" alt="2019-09-16_143518.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect it may be a cache problem, currently the Project enable D-Cache and I-Cache,&amp;nbsp;Will it be read Cache and Flash out of sync relationship?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2019 06:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Operation-NorFlash-function-is-abnormal/m-p/923163#M138761</guid>
      <dc:creator>jimhuang2</dc:creator>
      <dc:date>2019-09-16T06:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Operation NorFlash function is abnormal</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Operation-NorFlash-function-is-abnormal/m-p/923164#M138762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JingHuan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eim nor examples with caches one can find in linux (EIM) NOR driver described in&lt;/P&gt;&lt;P&gt;sect.3.2 EIM NOR attached Linux Manual&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/bus/imx-weim.c?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/bus/imx-weim.c?h=imx_4.14.98_2.0.0_ga"&gt;imx-weim.c\bus\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example without caches one can find in baremetal sdk&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/eim" title="https://github.com/RT-Thread/rt-thread/tree/master/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/eim"&gt;rt-thread/bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/eim at master · RT-Thread/rt-thread · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 05:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Operation-NorFlash-function-is-abnormal/m-p/923164#M138762</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-09-17T05:03:59Z</dc:date>
    </item>
  </channel>
</rss>

