<?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 M4 MQX application too large for SRAM in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338567#M3318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My M4 MQX application may become too large to fit in internal SRAM soon. What options are available if this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 21:30:44 GMT</pubDate>
    <dc:creator>jbs</dc:creator>
    <dc:date>2014-10-20T21:30:44Z</dc:date>
    <item>
      <title>M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338567#M3318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My M4 MQX application may become too large to fit in internal SRAM soon. What options are available if this happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 21:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338567#M3318</guid>
      <dc:creator>jbs</dc:creator>
      <dc:date>2014-10-20T21:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338568#M3319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JBS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering you are already using the DDR for the Cortex-A5 side (possibly Linux), you still have the possibility to run code on the Cortex-M4 from the QSPI module with the XIP (execute in place) function.&lt;/P&gt;&lt;P&gt;Please check the VYBRIDRM.pdf (rev 7) on "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Chapter 30 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Quad Serial Peripheral Interface (QuadSPI)" you will get an idea on the solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The Vybrid Tower (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-VF65GS10&amp;amp;fsrch=1" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-VF65GS10&amp;amp;fsrch=1"&gt;Vybrid Controller Solutions Tower System Modu|Freescale&lt;/A&gt;) has 2 QSPI devices, this might be a good reference, there might be examples available.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Bruno&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/karinavalencia"&gt;karinavalencia&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:05:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338568#M3319</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-10-21T10:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338569#M3320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply! Can the MQX image live in NAND, then be copied to DDR and execute out of there, or would that be opening a can of worms? We are running linux on the A5. I saw a post in the Kinetis forum that seemed to indicate that MQX doesn't particularly like to run out of DDR. Are there any other options besides QSPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 15:06:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338569#M3320</guid>
      <dc:creator>jbs</dc:creator>
      <dc:date>2014-10-21T15:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338570#M3321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JBS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you can run M4 from DDR, but the problem will be the possible wait states as you will be charing the DDR bus with both processors and other peripherals.&lt;/P&gt;&lt;P&gt;Usually, customers need to guarantee the M4 application will be real time and deterministic; and having the possibility of not having the bus ready at any time might be an issue on those cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, if you want to test that, I would suggest you to run instructions like these from uboot or linux:&lt;/P&gt;&lt;P&gt;(Please notice these are only examples, and you will need to change the addresses, they most probably are pointing to internal SRAM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From uboot:&lt;/P&gt;&lt;P&gt;setenv bootcmd 'fatload mmc 0:1 0x81000000 uImage-3.0-ts-armv7l;fatload mmc 0:1 0x3f000000 oobe_twrvf65gs10_m4.bin;mw.l 0x4006e028 0x3f000485;mw.l 0x4006b08c 0x00015a5a;bootm 0x81000000'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Linux:&lt;/P&gt;&lt;P&gt;modprobe mcc&lt;/P&gt;&lt;P&gt;mqxboot pingpong_example_twrvf65gs10_m4.bin 0x3f000000 0x3f000485&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other possibilities are:&lt;/P&gt;&lt;P&gt;Having an SRAM connected on the Flexbus and running from there.&lt;/P&gt;&lt;P&gt;The QSPI should be also compatible with QSPI DDR RAMs, instead of Flash (not sure if it helps anything).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 15:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338570#M3321</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-10-21T15:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338571#M3322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338571#M3322</guid>
      <dc:creator>jbs</dc:creator>
      <dc:date>2014-10-21T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338572#M3323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will the M4's caches cache instructions and data fetched from DDR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 21:13:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338572#M3323</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-10-21T21:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338573#M3324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jack, I would believe so, but I prefer to ask the core device experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/karinavalencia"&gt;karinavalencia&lt;/A&gt;, can you help us getting in contact with a Vybrid core expert, to answer Jack's question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 22:03:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338573#M3324</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2014-10-21T22:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338574#M3325</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/cyborgnegotiator"&gt;cyborgnegotiator&lt;/A&gt; can you&amp;nbsp;&amp;nbsp; help to answer&amp;nbsp;&amp;nbsp; last question? &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Will the M4's caches cache instructions and data fetched from DDR?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 22:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338574#M3325</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-10-21T22:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: M4 MQX application too large for SRAM</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338575#M3326</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;Yes, M4 has L1 cache and can cache instruction and data from DDR (and other non local memories).&lt;/P&gt;&lt;P&gt;For code in DDR you can use DDR code alias address range - this increase performance too (M4 fetch code via Code cache, opposite to System cache).&lt;/P&gt;&lt;P&gt;For more details please read Vybrid RM, especially chapter 29. Local Memory Controller, and look to Table 29-1. Address Space Decode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jozef&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 23:35:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/M4-MQX-application-too-large-for-SRAM/m-p/338575#M3326</guid>
      <dc:creator>cyborgnegotiato</dc:creator>
      <dc:date>2014-10-21T23:35:26Z</dc:date>
    </item>
  </channel>
</rss>

