<?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: How to make a program only access part of the cache? in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384303#M2253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lunmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to run the same program on all 8 cores. The simple program will create a array of integer with the size of 1/8 of CPC and then read the array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for program in Core 0, I want it can only access 1/8 of CPC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for program in Core 1, I want it can only access another 1/8 of CPC....etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be achieved using Line Locking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 08:59:13 GMT</pubDate>
    <dc:creator>peterzheng</dc:creator>
    <dc:date>2015-03-16T08:59:13Z</dc:date>
    <item>
      <title>How to make a program only access part of the cache?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384301#M2251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I was doing a project on P4080DS using CodeWarrior. I need to run a simple program, for example, "hello world", on one core of P4080DS. Is it possible to make this project only use part of the L3 cache during the running?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe through some assembly code?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Peter Zheng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 09:56:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384301#M2251</guid>
      <dc:creator>peterzheng</dc:creator>
      <dc:date>2015-03-13T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a program only access part of the cache?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384302#M2252</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;Maybe you can configure part of CPC to be SRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's your purpose of this? If you would like some of the DRAM persisting in Cache, you may try the Cache Lock function. See 8.3.2 Line Locking in P4080RM,pdf for more details if this is what you want.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P4080&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P4080&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=P4080&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will your "Hello World" program use DRAM with Cache enabled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Lunmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384302#M2252</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2015-03-16T08:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a program only access part of the cache?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384303#M2253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lunmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to run the same program on all 8 cores. The simple program will create a array of integer with the size of 1/8 of CPC and then read the array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for program in Core 0, I want it can only access 1/8 of CPC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for program in Core 1, I want it can only access another 1/8 of CPC....etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be achieved using Line Locking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:59:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384303#M2253</guid>
      <dc:creator>peterzheng</dc:creator>
      <dc:date>2015-03-16T08:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a program only access part of the cache?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384304#M2254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lunmin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program will use DRAM with cache enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384304#M2254</guid>
      <dc:creator>peterzheng</dc:creator>
      <dc:date>2015-03-16T08:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a program only access part of the cache?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384305#M2255</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;No, could not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to your another thread, I have a description about the CPC partition:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/347118"&gt;How to partition the L3 Cacahe of P4080 using CodeWarrior?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Lunmin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 08:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-make-a-program-only-access-part-of-the-cache/m-p/384305#M2255</guid>
      <dc:creator>lunminliang</dc:creator>
      <dc:date>2015-03-19T08:57:49Z</dc:date>
    </item>
  </channel>
</rss>

