<?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: QSPI0 Flash Mis-read in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393676#M4239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alejandrolozano"&gt;alejandrolozano&lt;/A&gt;​ do you have an update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 17:14:22 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2015-05-15T17:14:22Z</dc:date>
    <item>
      <title>QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393671#M4234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;We have a situation where our M4 XIP build starts-up fine but at some point the QSPI0 attached flash starts to be mis-read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The symptom looks like 1-bit per byte has been reset (const text has 'S' become 'Q' for example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WIth the SAME functionality this situation goes away if some functions are moved to separate .c files, or if functions are removed from some .c files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There appears to be no relation between the functions being moved and the symptom ... often the code is not called unless invoked from a terminal shell program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The situation is corrected by reset, but occurs again as the code begins to run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any idea what could cause this symptom?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 16:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393671#M4234</guid>
      <dc:creator>peterwoolley</dc:creator>
      <dc:date>2015-04-30T16:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393672#M4235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you booting from QSPI XIP?&lt;/P&gt;&lt;P&gt;Is your application developed in MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 21:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393672#M4235</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-05T21:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393673#M4236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ask this because in one version of MQX I faced an expected behavior when booting from QSPI and trying to use the qspi driver of MQX. &lt;/P&gt;&lt;P&gt;I had to modify&amp;nbsp; the line 898 found&amp;nbsp; in the file qspi_quadspi.c file of the BSP to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;quadspi_reg_ptr-&amp;gt;BUF3CR =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (quadspi_reg_ptr-&amp;gt;BUF3CR &amp;amp; ~QuadSPI_BUF3CR_ADATSZ_MASK)&amp;nbsp; | QuadSPI_BUF3CR_ADATSZ(128);&amp;nbsp; /* AHB prefetch size: 128*8byte */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 21:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393673#M4236</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-05T21:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393674#M4237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is M4 XIP running an MQX based application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do NOT use the QSPI driver from MQX at all in our builds ... but I'll check to see if it's included in the kernel build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behaviour we see is as if a single bit-per-byte has been masked 'off' ... but this happens at some point AFTER the application has started running.&amp;nbsp; Is that the symptom (or similar) you have seen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 11:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393674#M4237</guid>
      <dc:creator>peterwoolley</dc:creator>
      <dc:date>2015-05-06T11:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393675#M4238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The behavior I noticed was that data was not read correctly, not even by the debugger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393675#M4238</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-11T17:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393676#M4239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alejandrolozano"&gt;alejandrolozano&lt;/A&gt;​ do you have an update?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393676#M4239</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2015-05-15T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393677#M4240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am watiting for Peter's answer.I wonder if you are still having problems or if you found something useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 16:47:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393677#M4240</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-16T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393678#M4241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what question I haven't answered.&amp;nbsp; The situation that I have is very strange.&amp;nbsp; We have an MQX radio application running XIP on the M4 core of an M4 boot first Vybrid part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two relevant 'power modes'; standy and full-run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our application comes up in standby mode, and all is well.&amp;nbsp; The code is running as expected, and the IAR debugger is showing data/code as expected.&amp;nbsp; I can open a memory view window, and set it to periodic refresh ... aiming at an area of QSPI attached flash that holds the constant string data for the task names.&amp;nbsp; I can see the correct task names in the ASCII part of the memory displayed by IAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I press the power button on our radio, signalling the application to transition into its full-run mode ... which it starts to do then the applicayion fails.&amp;nbsp; I can STILL see the memory being refreshed BUT the task names are now mis-reads ...investigating the patterns shows that any ASCII character (well any byte in fact) having bit 2 set displayes incorrectlt since this bit is now clear in EVERY byte in the read flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10s later, the WDOG trips and resets the vybrid ... and the refreshing memory display springs back to normal UNTIL I try to push to full-run again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can repeat this behaviour ad infinitum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I move some functions from one ,c file into a new ,c file and rebuild ... I do NOT see this behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I do NOT believe it can be a functional consequence of our code -- the two builds are functionally equivalent, the difference is in the address assignents that the linker has made in the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relevant QPSI and PLL registers do not change from the OK state to the NOK state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this ne some hard-ti-hit bug in the QSPI processing that takes a program request for memory into a QSPI fetch from the Flash device?&amp;nbsp; Or an error in the spansion flash chip?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts would be appreciated at this stage ... this kind of random error troubles me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 20:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393678#M4241</guid>
      <dc:creator>peterwoolley</dc:creator>
      <dc:date>2015-05-16T20:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393679#M4242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just thought you were going to try the MQX change I mentioned before.&lt;/P&gt;&lt;P&gt;Is there a way to reproduce that in one our boards? That way I can try to reproduce the issue on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 23:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393679#M4242</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-16T23:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393680#M4243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qspi_quadspi.o is not in out build ... as I said we don't use the QSPI driver, we are just running an XIP image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No code that we call can be directly responsible for this effect, so that leaves some issue with memory accesses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could a mis-aligned read cause some kind of disruption in the flash reads via QSPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 10:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393680#M4243</guid>
      <dc:creator>peterwoolley</dc:creator>
      <dc:date>2015-05-18T10:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393681#M4244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what causes it so cannot offer sugestions on how to reproduce ... we have a .elf file that always fails on out system, but it is writtent for out hardware (of course).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 10:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393681#M4244</guid>
      <dc:creator>peterwoolley</dc:creator>
      <dc:date>2015-05-18T10:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393682#M4245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/alejandrolozano"&gt;alejandrolozano&lt;/A&gt;​ can you provide some guidelines and Peter can&amp;nbsp; work in his side?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 21:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393682#M4245</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2015-06-08T21:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393683#M4246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. Peter, would you be nice enough to share the LUT, QSPI configuration and IVT? &lt;/P&gt;&lt;P&gt;Just to make sure it is not a miss-aligned read, please send the linker command file too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 21:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393683#M4246</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-06-08T21:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI0 Flash Mis-read</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393684#M4247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/peterwoolley"&gt;peterwoolley&lt;/A&gt;​ can you provide the information requested to continue with the follow up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 16:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/393684#M4247</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2015-06-15T16:19:03Z</dc:date>
    </item>
    <item>
      <title>This an automatic process.  We are marking this post as s...</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/1136916#M6075</link>
      <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
      <pubDate>Thu, 03 Sep 2020 16:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/QSPI0-Flash-Mis-read/m-p/1136916#M6075</guid>
      <dc:creator>CommunityBot</dc:creator>
      <dc:date>2020-09-03T16:31:31Z</dc:date>
    </item>
  </channel>
</rss>

