<?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 program  with acess to  IMX7D Qspi in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345752#M180584</link>
    <description>&lt;P&gt;hi everbody&lt;/P&gt;&lt;P&gt;i like to use qspi spi-nor on imx7dsabresd&lt;/P&gt;&lt;P&gt;i depoluated and polulated related Resistors&lt;/P&gt;&lt;P&gt;with mx7dsaresd_defconfig&amp;nbsp; &amp;nbsp;i&amp;nbsp; &amp;nbsp;added some define in imx7dsabresd.h&amp;nbsp; and qspi related device tree&amp;nbsp; ( i like to support sd and qspi and nand&amp;nbsp; in u-boot)&lt;/P&gt;&lt;P&gt;what did i miss ? or how can i debug this problems ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;these are what i added in imx7dsabresd.h&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_FSL_QSPI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_CMD_SF&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_MTD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define&amp;nbsp; CONFIG_DM_SPI_FLASH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SPI_FLASH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_MODE 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_FLASH_MACTRONIX&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_BUS 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_CS 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in&amp;nbsp; u-boot&amp;nbsp; &amp;nbsp;i can probe qspi nor flash but i can't write or read ( not sure which is wrong , maybe both)&lt;/P&gt;&lt;P&gt;if i read spi-nor flash , no error messag but nothing is read&amp;nbsp;&lt;/P&gt;&lt;P&gt;--- from u-boot console&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf probe&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: Detected mx25l51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; setenv ipaddr 10.1.1.177; setenv serverip 10.1.1.39&lt;BR /&gt;=&amp;gt; tftp 0x83000000 u-boot.tmp4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // this is for test bin&lt;BR /&gt;Using ethernet@30be0000 device&lt;BR /&gt;TFTP from server 10.1.1.39; our IP address is 10.1.1.177&lt;BR /&gt;Filename 'u-boot.tmp4'.&lt;BR /&gt;Load address: 0x83000000&lt;BR /&gt;Loading: #########################################&lt;BR /&gt;6.5 MiB/s&lt;BR /&gt;done&lt;BR /&gt;Bytes transferred = 588800 (8fc00 hex)&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf write 0x83000000 0 $filesize&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;device 0 offset 0x0, size 0x8fc00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: 588800 bytes @ 0x0 Written: OK&lt;/FONT&gt;&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf read 0x84000000 0 $filesize&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;device 0 offset 0x0, size 0x8fc00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: 588800 bytes @ 0x0 Read: OK&lt;/FONT&gt;&lt;BR /&gt;=&amp;gt; md 0x84000000&amp;nbsp; &lt;FONT color="#FF0000"&gt;// no date was read from spi-nor&lt;/FONT&gt;&lt;BR /&gt;84000000: 00000000 00000800 00200000 00000000 .......... .....&lt;BR /&gt;84000010: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000020: 00000000 00000000 04000000 00000000 ................&lt;BR /&gt;84000030: 00080000 00000000 00000000 00000000 ................&lt;BR /&gt;84000040: 00002000 00000000 00000000 00000000 . ..............&lt;BR /&gt;84000050: 00000000 00000000 00020000 00000000 ................&lt;BR /&gt;84000060: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000070: 00000000 00000000 00400400 00000000 ..........@.....&lt;BR /&gt;84000080: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000090: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;840000a0: 00000000 00000000 20000000 00000000 ........... ....&lt;BR /&gt;840000b0: 00000000 00000000 00200000 00000000 .......... .....&lt;BR /&gt;840000c0: 00000000 00000000 00800000 00000000 ................&lt;BR /&gt;840000d0: 00000000 00000000 00000000 00400000 ..............@.&lt;BR /&gt;840000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;840000f0: 00020000 00000000 00000000 00000000 ................&lt;BR /&gt;=&amp;gt; md 0x83000000&amp;nbsp;&amp;nbsp;&lt;BR /&gt;83000000: 402000d1 87800000 00000000 877ff42c .. @........,...&lt;BR /&gt;83000010: 877ff420 877ff400 00000000 00000000 ...............&lt;BR /&gt;83000020: 877ff000 00090000 00000000 40c401d2 ...............@&lt;BR /&gt;83000030: 047c01cc 04003430 0500404f 88033630 ..|.04..O@..06..&lt;BR /&gt;83000040: 00000040 84033630 00000040 00103930 @...06..@...09..&lt;BR /&gt;83000050: 02000000 00007a30 01000401 a0017a30 ....0z......0z..&lt;BR /&gt;83000060: 03004080 a4017a30 20001000 a8017a30 .@..0z..... 0z..&lt;BR /&gt;83000070: 04001080 64007a30 46004000 90047a30 ....0z.d.@.F0z..&lt;BR /&gt;83000080: 01000000 d0007a30 83000200 d4007a30 ....0z......0z..&lt;BR /&gt;83000090: 00006900 dc007a30 04003009 e0007a30 .i..0z...0..0z..&lt;BR /&gt;830000a0: 00000804 e4007a30 04001000 f4007a30 ....0z......0z..&lt;BR /&gt;830000b0: 3f030000 00017a30 09110809 04017a30 ...?0z......0z..&lt;BR /&gt;830000c0: 0d020700 08017a30 07040403 0c017a30 ....0z......0z..&lt;BR /&gt;830000d0: 06200000 10017a30 05020204 14017a30 .. .0z......0z..&lt;BR /&gt;830000e0: 02020303 20017a30 03080000 80017a30 ....0z. ....0z..&lt;BR /&gt;830000f0: 20008000 84017a30 00010002 90017a30 ... 0z......0z..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 09:15:05 GMT</pubDate>
    <dc:creator>hyoungkikim</dc:creator>
    <dc:date>2021-09-24T09:15:05Z</dc:date>
    <item>
      <title>program  with acess to  IMX7D Qspi</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345752#M180584</link>
      <description>&lt;P&gt;hi everbody&lt;/P&gt;&lt;P&gt;i like to use qspi spi-nor on imx7dsabresd&lt;/P&gt;&lt;P&gt;i depoluated and polulated related Resistors&lt;/P&gt;&lt;P&gt;with mx7dsaresd_defconfig&amp;nbsp; &amp;nbsp;i&amp;nbsp; &amp;nbsp;added some define in imx7dsabresd.h&amp;nbsp; and qspi related device tree&amp;nbsp; ( i like to support sd and qspi and nand&amp;nbsp; in u-boot)&lt;/P&gt;&lt;P&gt;what did i miss ? or how can i debug this problems ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;these are what i added in imx7dsabresd.h&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_FSL_QSPI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_CMD_SF&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_MTD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define&amp;nbsp; CONFIG_DM_SPI_FLASH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SPI_FLASH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_MODE 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_FLASH_MACTRONIX&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_BUS 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;#define CONFIG_SF_DEFAULT_CS 0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in&amp;nbsp; u-boot&amp;nbsp; &amp;nbsp;i can probe qspi nor flash but i can't write or read ( not sure which is wrong , maybe both)&lt;/P&gt;&lt;P&gt;if i read spi-nor flash , no error messag but nothing is read&amp;nbsp;&lt;/P&gt;&lt;P&gt;--- from u-boot console&lt;/P&gt;&lt;P&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf probe&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: Detected mx25l51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; setenv ipaddr 10.1.1.177; setenv serverip 10.1.1.39&lt;BR /&gt;=&amp;gt; tftp 0x83000000 u-boot.tmp4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // this is for test bin&lt;BR /&gt;Using ethernet@30be0000 device&lt;BR /&gt;TFTP from server 10.1.1.39; our IP address is 10.1.1.177&lt;BR /&gt;Filename 'u-boot.tmp4'.&lt;BR /&gt;Load address: 0x83000000&lt;BR /&gt;Loading: #########################################&lt;BR /&gt;6.5 MiB/s&lt;BR /&gt;done&lt;BR /&gt;Bytes transferred = 588800 (8fc00 hex)&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf write 0x83000000 0 $filesize&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;device 0 offset 0x0, size 0x8fc00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: 588800 bytes @ 0x0 Written: OK&lt;/FONT&gt;&lt;BR /&gt;=&amp;gt; &lt;FONT color="#FF0000"&gt;sf read 0x84000000 0 $filesize&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;device 0 offset 0x0, size 0x8fc00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SF: 588800 bytes @ 0x0 Read: OK&lt;/FONT&gt;&lt;BR /&gt;=&amp;gt; md 0x84000000&amp;nbsp; &lt;FONT color="#FF0000"&gt;// no date was read from spi-nor&lt;/FONT&gt;&lt;BR /&gt;84000000: 00000000 00000800 00200000 00000000 .......... .....&lt;BR /&gt;84000010: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000020: 00000000 00000000 04000000 00000000 ................&lt;BR /&gt;84000030: 00080000 00000000 00000000 00000000 ................&lt;BR /&gt;84000040: 00002000 00000000 00000000 00000000 . ..............&lt;BR /&gt;84000050: 00000000 00000000 00020000 00000000 ................&lt;BR /&gt;84000060: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000070: 00000000 00000000 00400400 00000000 ..........@.....&lt;BR /&gt;84000080: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;84000090: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;840000a0: 00000000 00000000 20000000 00000000 ........... ....&lt;BR /&gt;840000b0: 00000000 00000000 00200000 00000000 .......... .....&lt;BR /&gt;840000c0: 00000000 00000000 00800000 00000000 ................&lt;BR /&gt;840000d0: 00000000 00000000 00000000 00400000 ..............@.&lt;BR /&gt;840000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;840000f0: 00020000 00000000 00000000 00000000 ................&lt;BR /&gt;=&amp;gt; md 0x83000000&amp;nbsp;&amp;nbsp;&lt;BR /&gt;83000000: 402000d1 87800000 00000000 877ff42c .. @........,...&lt;BR /&gt;83000010: 877ff420 877ff400 00000000 00000000 ...............&lt;BR /&gt;83000020: 877ff000 00090000 00000000 40c401d2 ...............@&lt;BR /&gt;83000030: 047c01cc 04003430 0500404f 88033630 ..|.04..O@..06..&lt;BR /&gt;83000040: 00000040 84033630 00000040 00103930 @...06..@...09..&lt;BR /&gt;83000050: 02000000 00007a30 01000401 a0017a30 ....0z......0z..&lt;BR /&gt;83000060: 03004080 a4017a30 20001000 a8017a30 .@..0z..... 0z..&lt;BR /&gt;83000070: 04001080 64007a30 46004000 90047a30 ....0z.d.@.F0z..&lt;BR /&gt;83000080: 01000000 d0007a30 83000200 d4007a30 ....0z......0z..&lt;BR /&gt;83000090: 00006900 dc007a30 04003009 e0007a30 .i..0z...0..0z..&lt;BR /&gt;830000a0: 00000804 e4007a30 04001000 f4007a30 ....0z......0z..&lt;BR /&gt;830000b0: 3f030000 00017a30 09110809 04017a30 ...?0z......0z..&lt;BR /&gt;830000c0: 0d020700 08017a30 07040403 0c017a30 ....0z......0z..&lt;BR /&gt;830000d0: 06200000 10017a30 05020204 14017a30 .. .0z......0z..&lt;BR /&gt;830000e0: 02020303 20017a30 03080000 80017a30 ....0z. ....0z..&lt;BR /&gt;830000f0: 20008000 84017a30 00010002 90017a30 ... 0z......0z..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345752#M180584</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2021-09-24T09:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: program  with acess to  IMX7D Qspi</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345805#M180589</link>
      <description>&lt;P&gt;Hi Hyoung&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to use proper dts files:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx7d-sdb-qspi.dts?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/dts/imx7d-sdb-qspi.dts?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx7d-sdb-qspi.dts?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx7d-sdb-qspi.dts?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX7D-boot-from-QSPI-NOR-flash/m-p/716311" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX7D-boot-from-QSPI-NOR-flash/m-p/716311&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 10:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345805#M180589</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-09-24T10:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: program  with acess to  IMX7D Qspi</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345837#M180592</link>
      <description>&lt;P&gt;hi&amp;nbsp; igor&lt;/P&gt;&lt;P&gt;i did it already,&amp;nbsp; in u-boot&amp;nbsp; &amp;nbsp; wth dm command&amp;nbsp; &amp;nbsp;i can see&amp;nbsp; that device tree node&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eth_phy_ge 1 [ + ] eth_phy_generic_drv | | `-- ethernet-phy@1&lt;BR /&gt;spi 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ + ] fsl_qspi&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; |-- spi@30bb0000&lt;BR /&gt;spi_flash 0&amp;nbsp; &amp;nbsp; &amp;nbsp; [ + ] spi_flash_std&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp;| `-- mx25l51245g@0&lt;/P&gt;&lt;P&gt;is there any thing&amp;nbsp; i shoud check ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 11:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/program-with-acess-to-IMX7D-Qspi/m-p/1345837#M180592</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2021-09-24T11:55:08Z</dc:date>
    </item>
  </channel>
</rss>

