<?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 RT Crossover MCUsのトピックProblem Programming QSPI Flash on custom iMX RT-1011 board</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1273177#M14121</link>
    <description>&lt;P&gt;Environment: MCUXpresso IDE V11.3.1, Windows 10,&lt;BR /&gt;MCU-Link connection via SWD.&lt;BR /&gt;MIMXRT1011CAE4A processor, Adesto 25SF128A QSPI&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Custom design iMX RT-1011 board, bringing up for the first time.&lt;BR /&gt;Uses same AT 25SF128A QSPI Flash as EVK, connected to same pins as EVK&lt;BR /&gt;Has serial port in same location as EVK.&lt;/P&gt;&lt;P&gt;I am trying to bring up custom board for first time, using "hello-world" example from EVK.&lt;/P&gt;&lt;P&gt;If I load "hello-world" directly into SRAM, program runs as expected.&lt;BR /&gt;So, power supplies and clocks are up and running, and everything is connecting.&lt;/P&gt;&lt;P&gt;I can successfully Mass-Erase the QSPI Flash via the GUI Flash Tool.&lt;BR /&gt;The GUI flash tool can see the QSPI and properly identifies it as 16 MB device.&lt;/P&gt;&lt;P&gt;If I try to load "hello-world" compiled for XIP from FLASH into the FLASH,&lt;BR /&gt;I get programming error as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Loading 'evkmimxrt1010_hello_world_II.axf' ELF 0x60000000 len 0x55F0
Opening flash driver MIMXRT1010_SFDP_QSPI.cfx (already resident)
Sending VECTRESET to run flash driver
Flash variant 'JEDEC_SFDP_Device' detected (16MB = 256*64K at 0x60000000)
Writing 22000 bytes to address 0x60000000 in Flash
1 of 1 (  0) Writing sectors 0-0 at 0x60000000 with 22000 bytes
(  0) at 60000000: 0 bytes - 0/22000
ProgramPage (0x60000000, 0x20002000, 0x4000) status 0x1 - driver reported driver error - EXTSPIJ driver rc -255 (0xFFFFFF01)
Sectors written: 1, unchanged: 0, total: 1
Closing flash driver MIMXRT1010_SFDP_QSPI.cfx
(100) Writing Flash ended with an error.
File 'evkmimxrt1010_hello_world_II.axf' load failure: Ef(49): Flash driver operation gave error.
(100) Target Connection Failed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does "driver error - EXTSPIJ driver rc -255 (0xFFFFFF01)" mean?&lt;BR /&gt;Any clue as to what is wrong?&lt;BR /&gt;Considering that these are brand new RT-1011 and QSPI parts, is there some additional configuration I need to do before I can load a program into FLASH via SWD?&lt;/P&gt;&lt;P&gt;--- Graham&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 16:49:12 GMT</pubDate>
    <dc:creator>gh78731</dc:creator>
    <dc:date>2021-05-06T16:49:12Z</dc:date>
    <item>
      <title>Problem Programming QSPI Flash on custom iMX RT-1011 board</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1273177#M14121</link>
      <description>&lt;P&gt;Environment: MCUXpresso IDE V11.3.1, Windows 10,&lt;BR /&gt;MCU-Link connection via SWD.&lt;BR /&gt;MIMXRT1011CAE4A processor, Adesto 25SF128A QSPI&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Custom design iMX RT-1011 board, bringing up for the first time.&lt;BR /&gt;Uses same AT 25SF128A QSPI Flash as EVK, connected to same pins as EVK&lt;BR /&gt;Has serial port in same location as EVK.&lt;/P&gt;&lt;P&gt;I am trying to bring up custom board for first time, using "hello-world" example from EVK.&lt;/P&gt;&lt;P&gt;If I load "hello-world" directly into SRAM, program runs as expected.&lt;BR /&gt;So, power supplies and clocks are up and running, and everything is connecting.&lt;/P&gt;&lt;P&gt;I can successfully Mass-Erase the QSPI Flash via the GUI Flash Tool.&lt;BR /&gt;The GUI flash tool can see the QSPI and properly identifies it as 16 MB device.&lt;/P&gt;&lt;P&gt;If I try to load "hello-world" compiled for XIP from FLASH into the FLASH,&lt;BR /&gt;I get programming error as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Loading 'evkmimxrt1010_hello_world_II.axf' ELF 0x60000000 len 0x55F0
Opening flash driver MIMXRT1010_SFDP_QSPI.cfx (already resident)
Sending VECTRESET to run flash driver
Flash variant 'JEDEC_SFDP_Device' detected (16MB = 256*64K at 0x60000000)
Writing 22000 bytes to address 0x60000000 in Flash
1 of 1 (  0) Writing sectors 0-0 at 0x60000000 with 22000 bytes
(  0) at 60000000: 0 bytes - 0/22000
ProgramPage (0x60000000, 0x20002000, 0x4000) status 0x1 - driver reported driver error - EXTSPIJ driver rc -255 (0xFFFFFF01)
Sectors written: 1, unchanged: 0, total: 1
Closing flash driver MIMXRT1010_SFDP_QSPI.cfx
(100) Writing Flash ended with an error.
File 'evkmimxrt1010_hello_world_II.axf' load failure: Ef(49): Flash driver operation gave error.
(100) Target Connection Failed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does "driver error - EXTSPIJ driver rc -255 (0xFFFFFF01)" mean?&lt;BR /&gt;Any clue as to what is wrong?&lt;BR /&gt;Considering that these are brand new RT-1011 and QSPI parts, is there some additional configuration I need to do before I can load a program into FLASH via SWD?&lt;/P&gt;&lt;P&gt;--- Graham&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 16:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1273177#M14121</guid>
      <dc:creator>gh78731</dc:creator>
      <dc:date>2021-05-06T16:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Programming QSPI Flash on custom iMX RT-1011 board</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1273739#M14135</link>
      <description>&lt;P&gt;Further information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like I need to program the "QE" bit on the QSPI, as part of a new part configuration.&lt;/P&gt;&lt;P&gt;I would prefer to do this by executing some code loaded into SRAM via SWD interface, rather than setting up for serial interface. Is there some existing code to do this?&lt;/P&gt;&lt;P&gt;Same request for programming the OTP bits in the iMX RT1011 when it comes time to do that.&lt;/P&gt;&lt;P&gt;--- Graham&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:15:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1273739#M14135</guid>
      <dc:creator>gh78731</dc:creator>
      <dc:date>2021-05-07T14:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Programming QSPI Flash on custom iMX RT-1011 board</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1275155#M14176</link>
      <description>&lt;P&gt;Hello Graham,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the SDK example flexspi_nor_polling_transfer. This project demonstrates how to set the QE bit with the function&amp;nbsp;flexspi_nor_enable_quad_mode.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="victorjimenez_0-1620759234529.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144477i0047891B65C8B59B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victorjimenez_0-1620759234529.png" alt="victorjimenez_0-1620759234529.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;victorjimenez_0-1620759234529.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 18:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1275155#M14176</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-05-11T18:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Programming QSPI Flash on custom iMX RT-1011 board</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1275168#M14177</link>
      <description>&lt;P&gt;Exactly what I was looking for.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--- Graham&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 19:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1275168#M14177</guid>
      <dc:creator>gh78731</dc:creator>
      <dc:date>2021-05-11T19:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Programming QSPI Flash on custom iMX RT-1011 board</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1628195#M24447</link>
      <description>&lt;P&gt;Hello, I am using IMXRT1062 with same &lt;SPAN&gt;SDK example flexspi_nor_polling_transfer to my custom board. But , I got Bus Fault error and HardFault.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me solve this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 10:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Problem-Programming-QSPI-Flash-on-custom-iMX-RT-1011-board/m-p/1628195#M24447</guid>
      <dc:creator>Vishal_AVG</dc:creator>
      <dc:date>2023-04-05T10:45:12Z</dc:date>
    </item>
  </channel>
</rss>

