<?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>LayerscapeのトピックRe: LS1043a QSPI programming issue</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043a-QSPI-programming-issue/m-p/1313714#M8550</link>
    <description>&lt;P&gt;Do you use LSDK 20.12?&lt;/P&gt;
&lt;P&gt;How do you generate u-boot image?&lt;/P&gt;
&lt;P&gt;On LS1043AQDS board, QSPI is support, you could generate SD boot firmware image with the following command to enable QSPI device in u-boot.&lt;/P&gt;
&lt;P&gt;$ flex-builder -i mkfw -b sd -m ls1043aqds&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 07:47:47 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-07-27T07:47:47Z</dc:date>
    <item>
      <title>LS1043a QSPI programming issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-QSPI-programming-issue/m-p/1312869#M8533</link>
      <description>&lt;P&gt;&lt;SPAN&gt;QSPI FLASH: S25FS512&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I used the command "sf write" to program the image to QSPI, but it didn't work. It seems the image size will affect the program result. I have taken some program tests based on two scenarios below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The total image size is 54MB. I only programmed the first 16MB to the QSPI with command "sf write" at this scenario. Then using "sf read" to verify that I found the first 256 Bytes data was missing (Fig. 2). Afterward, I used CodeWarrior to read and check it successfully programmed that means there is no data missing. (Fig. 1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I used the "sf write" to program the first 32MB to the QSPI. Then using "sf read" to check, and I found all data was completely different with the original image. (Fig. 3)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;How can I fix this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_0-1627234832661.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150776i1C4CCF6BB8EBB302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_0-1627234832661.png" alt="MightLee_0-1627234832661.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Figure 1. Image file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_1-1627234832682.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150778iEA4BFACCDB61C555/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_1-1627234832682.png" alt="MightLee_1-1627234832682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Figure 2. sf write 16MB to QSPI &amp;amp; read result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MightLee_2-1627234832704.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150777iBEF7942CCFB483AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MightLee_2-1627234832704.png" alt="MightLee_2-1627234832704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Figure 3. sf write 32MB to QSPI &amp;amp; read result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 17:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-QSPI-programming-issue/m-p/1312869#M8533</guid>
      <dc:creator>Might-Lee</dc:creator>
      <dc:date>2021-07-25T17:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043a QSPI programming issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043a-QSPI-programming-issue/m-p/1313714#M8550</link>
      <description>&lt;P&gt;Do you use LSDK 20.12?&lt;/P&gt;
&lt;P&gt;How do you generate u-boot image?&lt;/P&gt;
&lt;P&gt;On LS1043AQDS board, QSPI is support, you could generate SD boot firmware image with the following command to enable QSPI device in u-boot.&lt;/P&gt;
&lt;P&gt;$ flex-builder -i mkfw -b sd -m ls1043aqds&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 07:47:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043a-QSPI-programming-issue/m-p/1313714#M8550</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-07-27T07:47:47Z</dc:date>
    </item>
  </channel>
</rss>

