<?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のトピックRe: RT1050-EVKB use onboard QSPI flash for program code AND storage</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496854#M20843</link>
    <description>&lt;P&gt;Great!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 02:08:06 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2022-07-28T02:08:06Z</dc:date>
    <item>
      <title>RT1050-EVKB use onboard QSPI flash for program code AND storage</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496267#M20829</link>
      <description>&lt;P&gt;Hello I have working external QSPI custom hardware board.&lt;BR /&gt;This QSPI is same as the RT1050-EVKB external flash : IS25WP064AJBLE.&lt;BR /&gt;The program works and QSPI works.&lt;BR /&gt;&lt;BR /&gt;Now i want to store some variables in memory for persistent storage.&amp;nbsp;&lt;BR /&gt;How do i do this?&lt;/P&gt;&lt;P&gt;My idea is the following, the flash size is for example say&amp;nbsp;0x4000000 (is hyper flash size, but as example!), i use the range&amp;nbsp;&amp;nbsp;0x4000000-0x1000 (0x3FFF000) for program memory and the 0x1000 sector for storage.&lt;BR /&gt;&lt;BR /&gt;How can this be done? For example can i use it from the MCU settings and assume it is read/write-able?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_bjs_0-1658912390206.png" style="width: 721px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/188032i9BB2D5A3E7F5C559/image-dimensions/721x159?v=v2" width="721" height="159" role="button" title="_bjs_0-1658912390206.png" alt="_bjs_0-1658912390206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;volatile uint32_t addr0 = 0x63FFF000;
char *a = (char*) addr0;
*a = 20;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this, and i get SEGFAULT. (This would be Xecute In Place XIP, or 'memory mapped'?)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have seen the example code FREERTOS Hello Flash Operation.&amp;nbsp;&lt;BR /&gt;This is using a function to 'Init nor flash'. However How can i Init nor flash, when i am already running QSPI, Maybe i can stop the Init? but i need a 'EXAMPLE_FLEXSPI' base argument, can i use the one from the Program code, which is hidden in DCD i think? how do i go about this?&lt;BR /&gt;&lt;BR /&gt;I dont want RWW, just simple 1 memory QSPI, slow is fine, use the same Base argument from the XIP, how do i do this, i cannot find the XIP base FLEXSPI.&lt;BR /&gt;&lt;BR /&gt;When i try any of the example flash operations i get the "kStatus_FLEXSPI_IpCommandSequenceError" error.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 10:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496267#M20829</guid>
      <dc:creator>_bjs</dc:creator>
      <dc:date>2022-07-27T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050-EVKB use onboard QSPI flash for program code AND storage</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496328#M20831</link>
      <description>&lt;P&gt;I think problem is solved by following:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/RT1050-QSPI-Flash-Limitations/m-p/745409" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/RT1050-QSPI-Flash-Limitations/m-p/745409&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Still testing and trying to implement in my main project, the example project given by community member &lt;SPAN&gt;&lt;STRONG&gt;venugopal_v&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;is working correct!&lt;BR /&gt;Project :&amp;nbsp;&lt;STRONG&gt;BEL2_flexspi_nor_polling_transfer&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 11:21:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496328#M20831</guid>
      <dc:creator>_bjs</dc:creator>
      <dc:date>2022-07-27T11:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050-EVKB use onboard QSPI flash for program code AND storage</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496854#M20843</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 02:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-EVKB-use-onboard-QSPI-flash-for-program-code-AND-storage/m-p/1496854#M20843</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-07-28T02:08:06Z</dc:date>
    </item>
  </channel>
</rss>

