<?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 Enable/Disable L2 Cache in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328182#M3180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to disable the L2 once it has been enabled by the boot loader? Or is it only possible via e-fuse to avoid initialization during boot? How can I initialize the L2 manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 11:46:11 GMT</pubDate>
    <dc:creator>adamszalkowski</dc:creator>
    <dc:date>2014-09-18T11:46:11Z</dc:date>
    <item>
      <title>Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328182#M3180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to disable the L2 once it has been enabled by the boot loader? Or is it only possible via e-fuse to avoid initialization during boot? How can I initialize the L2 manually?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 11:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328182#M3180</guid>
      <dc:creator>adamszalkowski</dc:creator>
      <dc:date>2014-09-18T11:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328183#M3181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The L2-cache controller is an &lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0246f/CJAIDBBH.html"&gt;l2c310_r3p2&lt;/A&gt;.&amp;nbsp; The data sheet can be downloaded from the ARM web sight.&amp;nbsp; From the documentation, the base physical address is 0x40006000.&amp;nbsp; The controller is trustzone aware.&amp;nbsp; To access everything, you must be in the secure supervisor modes.&amp;nbsp; The Vybrid configuration has no data banking, no lock down by line/master and no parity.&amp;nbsp; It is 64KB way size with 8 ways.&amp;nbsp; The address 40006100 bit 0 will turn the L2 cache on and off.&amp;nbsp; However, you might need to do some flushing and/or invalidation before doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit&lt;/STRONG&gt;: Also the MQX version of the cortex-A5 BSP/PSP has some code for manipulating the L2.&amp;nbsp; There is also Linux &lt;A href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mm/cache-l2x0.c"&gt;source&lt;/A&gt; and &lt;A href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/include/asm/hardware/cache-l2x0.h"&gt;header&lt;/A&gt; to handle several ARM L2 designs.&amp;nbsp; The key is the Vybrid L2 register base is 0x40006000; it is in the memory map of the Vybrid software reference manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328183#M3181</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2014-09-18T18:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328184#M3182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Dear Adam,&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;If the cache is not disabled by a fuse, enabling and disabling it is possible by software;&lt;SPAN style="line-height: 1.5em;"&gt; if the fuse disables it, software cannot do anything.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is the exact Vybrid part number you are using, please?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards, Naoum Gitnik.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328184#M3182</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2014-09-18T21:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328185#M3183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Naoum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the tower board TWR-VF65GS10 (processor is PVF61GS151CMK50).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 08:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328185#M3183</guid>
      <dc:creator>adamszalkowski</dc:creator>
      <dc:date>2014-09-22T08:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328186#M3184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Dear Adam,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I only needed the part number to verify how the L2 cache is "fused" on your part, and it looks like it has it enabled.&lt;/P&gt;&lt;P style="font-size: 12.7272720336914px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Regards, Naoum Gitnik.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:32:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328186#M3184</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2014-09-22T16:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328187#M3185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like I managed to disable the cache i.e. *(int*)0x40006100) == 0&lt;/P&gt;&lt;P&gt;Anyway, I would like to use the SRAM at 0x3f48xxxx for program memory. Every access to this area aborts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328187#M3185</guid>
      <dc:creator>adamszalkowski</dc:creator>
      <dc:date>2014-09-24T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328188#M3186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the digit before N letter in part number. 1N - you have L2 cache and no RAM at 0x3f48xxxx , 0N - no L2 cache but 0.5MB RAM at 0x3f480000. You can't map L2 cache RAM to address space anyhow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328188#M3186</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2014-09-24T13:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328189#M3187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pity, thanks for the clarification&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328189#M3187</guid>
      <dc:creator>adamszalkowski</dc:creator>
      <dc:date>2014-09-24T13:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Enable/Disable L2 Cache</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328190#M3188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another pity is a memory hole between SYS RAM and GXF RAM. Easy to glue them using MMU and make A5 CPU believing there's no hole. But DMA ... doesn't mind MMU.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 13:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Enable-Disable-L2-Cache/m-p/328190#M3188</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2014-09-24T13:57:32Z</dc:date>
    </item>
  </channel>
</rss>

