<?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: How to write a LUT program sequence for a new QSPI NOR Flash？ in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/1195990#M166158</link>
    <description>&lt;P&gt;Hi, it is a bit off topic, but i know the person who have experience about QSPI is here.&lt;/P&gt;&lt;P&gt;I have a question about setting ADDR in LUT...usually ADDR is 24...I am not sure if I set to 8...what is the value output to SPI...does it output MSB of AHB address or LSB of AHB address?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ask this question because i try to boot up IMX from QSPI NAND Winbond W25M02GV...but the Read Command (0x03) only accept address in range 12 bit...Will need to add another page read command (0x13) but need to use only MSB AHB address.&lt;/P&gt;&lt;P&gt;Thanks in advance for any info.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2020 04:59:08 GMT</pubDate>
    <dc:creator>survivor</dc:creator>
    <dc:date>2020-12-09T04:59:08Z</dc:date>
    <item>
      <title>How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633634#M96408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My board is iMX6UL EVK。&lt;BR /&gt;We can use the onboard QSPI NOR flash(N25Q256A) to boot up linux。&lt;BR /&gt;And now we need to use another QSPI NOR flash(W25Q128FV) to bringup the system。&lt;BR /&gt;We can not use MFG tool to write/read the QSPI NOR flash(W25Q128FV).&lt;BR /&gt;We can not use QSPI driver example(evkmcimx6ul\driver_examples\qspi\polling_transfer) to write/read the QSPI NOR flash(W25Q128FV).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1)Is the &lt;SPAN&gt;QuadSPI Configuration Parameters&lt;/SPAN&gt; problems？&lt;/P&gt;&lt;P&gt;(2)Can you give us a detailed document about LUT table and QuadSPI Configuration Parameters？&lt;/P&gt;&lt;P&gt;I found that there is a LUT table in the code，but I could not understand the structure and the organization。&lt;/P&gt;&lt;P&gt;(3)Could you please explain the meaning of the bold font as following:&lt;BR /&gt;uint32_t lut[FSL_FEATURE_QSPI_LUT_DEPTH] =&lt;BR /&gt; {/* Seq0 :Quad Read */&lt;BR /&gt; /* CMD: 0xEB - Quad Read, Single pad */&lt;BR /&gt; /* ADDR: 0x18 - 24bit address, Quad pads */&lt;BR /&gt; /* DUMMY: 0x0a - 10 clock cyles, Quad pads */&lt;BR /&gt; /* READ: 0x80 - Read 128 bytes, Quad pads */&lt;BR /&gt; /* JUMP_ON_CS: 0 */&lt;BR /&gt; [0] = 0x&lt;STRONG&gt;0A&lt;/STRONG&gt;18&lt;STRONG&gt;04&lt;/STRONG&gt;EB, [1] = 0x&lt;STRONG&gt;1E&lt;/STRONG&gt;80&lt;STRONG&gt;0E&lt;/STRONG&gt;0a, [2] = 0x&lt;STRONG&gt;24&lt;/STRONG&gt;00,&lt;/P&gt;&lt;P&gt;/* Seq1: Write Enable */&lt;BR /&gt; /* CMD: 0x06 - Write Enable, Single pad */&lt;BR /&gt; [4] = 0x&lt;STRONG&gt;4&lt;/STRONG&gt;06,&lt;/P&gt;&lt;P&gt;/* Seq2: Erase All */&lt;BR /&gt; /* CMD: 0xc7 - Erase All chip, Single pad */&lt;BR /&gt; [8] = 0x&lt;STRONG&gt;4&lt;/STRONG&gt;c7,&lt;/P&gt;&lt;P&gt;/* Seq3: Read Status */&lt;BR /&gt; /* CMD: 0x05 - Read Status, single pad */&lt;BR /&gt; /* READ: 0x01 - Read 1 byte */&lt;BR /&gt; [12] = 0x&lt;STRONG&gt;1c&lt;/STRONG&gt;01&lt;STRONG&gt;04&lt;/STRONG&gt;05,&lt;/P&gt;&lt;P&gt;/* Seq4: Page Program */&lt;BR /&gt; /* CMD: 0x02 - Page Program, Single pad */&lt;BR /&gt; /* ADDR: 0x18 - 24bit address, Single pad */&lt;BR /&gt; /* WRITE: 0x80 - Write 128 bytes at one pass, Single pad */&lt;BR /&gt; [16] = 0x&lt;STRONG&gt;08&lt;/STRONG&gt;18&lt;STRONG&gt;04&lt;/STRONG&gt;02, [17] = 0x&lt;STRONG&gt;20&lt;/STRONG&gt;80,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much！&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16385i43080EEA860576B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 07:27:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633634#M96408</guid>
      <dc:creator>junixwu</dc:creator>
      <dc:date>2017-03-08T07:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633635#M96409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi junix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check sect.40.5.3.4 Look-up Table i.MX6UL Reference Manual &lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf"&gt;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and mfg tools (link below) qspi-header scripts&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&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>Wed, 08 Mar 2017 23:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633635#M96409</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-08T23:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633636#M96410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;thank you first of all!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've read these documents many times.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;one can check sect.40.5.3.4 Look-up Table i.MX6UL Reference Manual&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.freescale.com%2Ffiles%2F32bit%2Fdoc%2Fref_manual%2FIMX6ULRM.pdf" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6ULRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;and mfg tools (link below) qspi-header scripts&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" style="color: #5e89c1; border: 0px; font-weight: inherit; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I modified the script(ucl2.xml) of MFG tool to read out the header content.&lt;BR /&gt; &amp;lt;CMD state="Updater" type="push" body="$ sh qspi-header.sh $FILE"&amp;gt; Generating the ascii value header&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;!--hexdump to convert ascii value to hex file--&amp;gt;&lt;BR /&gt; &amp;lt;CMD state="Updater" type="push" body="$ &lt;STRONG&gt;cat qspi-tmp"&amp;gt;print qspi-tmp (added by wujun)&lt;/STRONG&gt;&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD state="Updater" type="push" body="$ busybox hexdump -R qspi-tmp &amp;gt; qspi-header"&amp;gt;Converting ascii value to hex file&amp;lt;/CMD&amp;gt;&lt;BR /&gt;we can see that:&lt;BR /&gt; UTP: executing "sh qspi-header.sh $FILE"&lt;BR /&gt; UTP: sending Success to kernel for command $ sh qspi-header.sh $FILE.&lt;BR /&gt; utp_poll: pass returned.&lt;BR /&gt; UTP: received command '$ cat qspi-tmp'&lt;BR /&gt; UTP: executing "cat qspi-tmp"&lt;BR /&gt; 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt; 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02&lt;BR /&gt; 00000020 03 00 00 00 03 00 00 00 00 00 00 08 00 00 00 00&lt;BR /&gt; 00000030 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt; 00000040 02 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00&lt;BR /&gt; 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt; 00000060 00 00 00 00 00 00 00 00&lt;STRONG&gt; 3d 04 18 28 06 0d 04 39&lt;/STRONG&gt;&lt;BR /&gt; 00000070 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt; 00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;I think this header is specially designed for N25Q256A&lt;BR /&gt;&lt;STRONG&gt;Is this header suitable for W25Q128FV?&lt;/STRONG&gt;&lt;BR /&gt;If not, how do we understand the meaning of these bytes "&lt;STRONG&gt;3d&lt;/STRONG&gt; 04 18 28 06 0d 04 39".&lt;BR /&gt;&lt;STRONG&gt;3d&lt;/STRONG&gt;h is DUAL OUTPUT FAST READ command which I can find in the datasheet of N25Q256A.&lt;BR /&gt;&lt;STRONG&gt;what about 04h, 28h, 0dh and 39h?&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;This problem is very urgent. Please help，THANK YOU!&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 02:16:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633636#M96410</guid>
      <dc:creator>junixwu</dc:creator>
      <dc:date>2017-03-09T02:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633637#M96411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found 3 &amp;nbsp;config files for 3 NOR flash under MFG tool files。&lt;/P&gt;&lt;P&gt;qspi-nor-macronix-mx25l51245g-config&lt;/P&gt;&lt;P&gt;qspi-nor-micron-n25q256a-config&lt;/P&gt;&lt;P&gt;qspi-nor-spansion-s25fl128s-config&lt;/P&gt;&lt;P&gt;We need to make qspi-nor-winbond-w25q128fv-config .Mainly to modify the LUT part。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;n25q256a LUT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;28&lt;/STRONG&gt;18&lt;STRONG&gt;04&lt;/STRONG&gt;3d /*lut[0] command sequence*/&lt;BR /&gt;&lt;STRONG&gt;39&lt;/STRONG&gt;04&lt;STRONG&gt;0d&lt;/STRONG&gt;06 /*lut[1] command sequence*/&lt;BR /&gt;2400 /*lut[2] command sequence*/&lt;BR /&gt;0 /*lut[3] command sequence*/&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mx25l51245g LUT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;08&lt;/STRONG&gt;18&lt;STRONG&gt;04&lt;/STRONG&gt;0B /*lut[0] command sequence*/&lt;BR /&gt;&lt;STRONG&gt;1C&lt;/STRONG&gt;04&lt;STRONG&gt;0C&lt;/STRONG&gt;08 /*lut[1] command sequence*/&lt;BR /&gt;00002400 /*lut[2] command sequence*/&lt;BR /&gt;0 /*lut[3] command sequence*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;s25fl128s LUT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;2a&lt;/STRONG&gt;18&lt;STRONG&gt;04&lt;/STRONG&gt;ed /*lut[0] command sequence*/&lt;BR /&gt;&lt;STRONG&gt;0e&lt;/STRONG&gt;08&lt;STRONG&gt;2e&lt;/STRONG&gt;01 /*lut[1] command sequence*/&lt;BR /&gt;2400&lt;STRONG&gt;3a&lt;/STRONG&gt;04 /*lut[2] command sequence*/&lt;BR /&gt;0 /*lut[3] command sequence*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These squence is Great difference and&amp;nbsp;there is no law to follow except command words。&lt;BR /&gt;I am very confused about the bold font bytes。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you help me to explain the meaning of these bytes？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Junix Wu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 02:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633637#M96411</guid>
      <dc:creator>junixwu</dc:creator>
      <dc:date>2017-03-09T02:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633638#M96412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Junix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are right, &lt;SPAN&gt;there is no law and these are parts from&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;different vendors, so you need carefully read &lt;/SPAN&gt;W25Q128FV&lt;/P&gt;&lt;P&gt;datasheet and create for it necessary data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 06:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633638#M96412</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-03-09T06:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633639#M96413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not the problem of careful reading。&lt;/P&gt;&lt;P&gt;these bold font bytes is defined by imx6 not W25Q128FV。&lt;/P&gt;&lt;P&gt;Did you see that？&lt;/P&gt;&lt;P&gt;the instruction encoding is defined by imx6 datasheet。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15636iEA9C5BD1608C9F8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15672iCD24387E1D16561B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 07:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633639#M96413</guid>
      <dc:creator>junixwu</dc:creator>
      <dc:date>2017-03-09T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633640#M96414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you solved this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 10:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633640#M96414</guid>
      <dc:creator>xiaoxiangma</dc:creator>
      <dc:date>2017-03-13T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633641#M96415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have known how to write one sequence for a new QSPI flash。&lt;/P&gt;&lt;P&gt;The sequence is just for READ or FAST READ command，system can boot up from QSPI flash。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But &amp;nbsp;there are 64 sequences，is the first sequence only for READ or NOT？&lt;/P&gt;&lt;P&gt;We don't know how to set the other sequence(e.g. Read Status, Erase Sector,Page Program)&lt;/P&gt;&lt;P&gt;Can we put these sequence anywhere in LUT?&lt;/P&gt;&lt;P&gt;If yes，How does imx6ul know what order I put in LUT?&lt;/P&gt;&lt;P&gt;If no，could you give us the order？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you！&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16248iB2F88A8174238A2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 07:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633641#M96415</guid>
      <dc:creator>junixwu</dc:creator>
      <dc:date>2017-03-15T07:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633642#M96416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,wu.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I have the same question with your for a long time,but I haven't solved it by myself. &amp;nbsp;May I see your&amp;nbsp;qspi-nor-winbond-w25q256-config file. I really need your help, thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 06:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633642#M96416</guid>
      <dc:creator>yanfeixu</dc:creator>
      <dc:date>2017-04-26T06:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633643#M96417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/junixwu"&gt;junixwu&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using &lt;SPAN style="font-size: 12.0pt;"&gt;W25Q32JV and&amp;nbsp;&lt;/SPAN&gt;I have a same problem.&lt;/P&gt;&lt;P&gt;Could you share the config file for the quad SPI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ko-hey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633643#M96417</guid>
      <dc:creator>ko-hey</dc:creator>
      <dc:date>2017-05-31T08:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633644#M96418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;your question is already sloved ? I have the same question with you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633644#M96418</guid>
      <dc:creator>qiangdaemon</dc:creator>
      <dc:date>2017-08-14T08:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633645#M96419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like nobody actually answered the question about what the bold stuff means. Here we go...&lt;/P&gt;&lt;P&gt;Each Command sequence comprises of one or more 16-bit instructions.&amp;nbsp; Some instructions are followed by an operand, which is usually an address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each 16-bit instruction is coded as follows:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;msb|15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10|9 8|7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0|lsb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp; &amp;nbsp;|. . . . . .|. .|. . . . . . . .|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;&amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp;OpCode&amp;nbsp; | P |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cmd&amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Opcode (6-bits [15:10]) is typically:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_STOP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp; 0, //Stop execution and deassert CS &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_CMD&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; 1, //Execute command specified in the operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_ADDR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp; 2, //Provide address cycles for 'operand' number of bits &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_DUMMY&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; 3, //Provide the number of dummy cycles in the operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp; 4, //Send flash-specific mode specified in 8-bit operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE2&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; 5, //Send flash-specific mode specified in 2-bit operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE4&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; 6, //Send flash-specific mode specified in 4-bit operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_READ&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;nbsp; 7, //Receive from flash device the number of bytes in the operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_WRITE&amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;nbsp; 8, //Send to flash device the number of bytes in the operand &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_JMP_ON_CS&amp;nbsp; =&amp;nbsp; 9, //Jump to instruction index in the operand, if CS is deasserted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_ADDR_DDR&amp;nbsp; &amp;nbsp;= 10, //Same as OPCODE_ADDR, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE_DDR&amp;nbsp; &amp;nbsp;= 11, //Same as OPCODE_MODE, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE2_DDR&amp;nbsp; = 12, //Same as OPCODE_MODE2, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_MODE4_DDR&amp;nbsp; = 13, //Same as OPCODE_MODE4, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_READ_DDR&amp;nbsp; &amp;nbsp;= 14, //Same as OPCODE_READ, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_WRITE_DDR&amp;nbsp; = 15, //Same as OPCODE_WRITE, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_DATA_LEARN = 16, //Learn correct DDR sampling point using the given number of data bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_CMD_DDR&amp;nbsp; &amp;nbsp; = 17, //Same as OPCODE_CMD, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_CADDR&amp;nbsp; &amp;nbsp; &amp;nbsp; = 18, //Provide column address cycles for 'operand' number of bits&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;OPCODE_CADDR_DDR&amp;nbsp; = 19, //Same as OPCODE_CADDR, but transmit at each clock edge&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Where P (2 bits [9:8]) is the number of data pins for data transfer. Values:&lt;BR /&gt;DATAPINS_1 = 0, // Use 1 pin&lt;BR /&gt;DATAPINS_2 = 1, // Use 2 pins,&lt;BR /&gt;DATAPINS_4 = 2, // Use 4 pins&lt;BR /&gt;DATAPINS_8 = 3, // Use 8 pins,&lt;BR /&gt;&lt;BR /&gt;Where Cmd - 8 bits [7:0] - NOR Flash Command as per the product Datasheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jan 2018 00:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633645#M96419</guid>
      <dc:creator>deniscollis</dc:creator>
      <dc:date>2018-01-13T00:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633646#M96420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it is really useful to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 04:07:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/633646#M96420</guid>
      <dc:creator>stanley_yeh</dc:creator>
      <dc:date>2018-08-31T04:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/1195990#M166158</link>
      <description>&lt;P&gt;Hi, it is a bit off topic, but i know the person who have experience about QSPI is here.&lt;/P&gt;&lt;P&gt;I have a question about setting ADDR in LUT...usually ADDR is 24...I am not sure if I set to 8...what is the value output to SPI...does it output MSB of AHB address or LSB of AHB address?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ask this question because i try to boot up IMX from QSPI NAND Winbond W25M02GV...but the Read Command (0x03) only accept address in range 12 bit...Will need to add another page read command (0x13) but need to use only MSB AHB address.&lt;/P&gt;&lt;P&gt;Thanks in advance for any info.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 04:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/1195990#M166158</guid>
      <dc:creator>survivor</dc:creator>
      <dc:date>2020-12-09T04:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a LUT program sequence for a new QSPI NOR Flash？</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/1738273#M213919</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also facing the same issue, is it resolved? if so can you please share the u-boot image so that I can test with uuu tool on my custom board with iMX6Q.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 05:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-a-LUT-program-sequence-for-a-new-QSPI-NOR-Flash/m-p/1738273#M213919</guid>
      <dc:creator>SatishKumarBhimaraju</dc:creator>
      <dc:date>2023-10-12T05:55:23Z</dc:date>
    </item>
  </channel>
</rss>

