<?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>P-SeriesのトピックConfigure Initialization Script for P4080DS in CodeWarrior for CPC Partitioning</title>
    <link>https://community.nxp.com/t5/P-Series/Configure-Initialization-Script-for-P4080DS-in-CodeWarrior-for/m-p/349149#M1683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt; I am currently &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;doing an project which requires to partition the CPC of P4080DS by &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;configuring its Partitioning Control Registers in the initialization script &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;from CodeWarrior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;I have created 8 more LAWs, which are LAW10 to LAW 17, each with&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;the size of 256MB. And I have configured 8 sets of CPC ID register, CPC&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;way register and CPC allocation register, with PID from 1 to 8, matching&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;with LAW10 to LAW17. For each coherency subdomain, I allocate 4&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;CPC ways to it. Attached is my modified initialization script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;After I modified the configuration. I found that it is working, the program &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;on Core 0 will automatically write to LAW10, and hence write to CPC&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;way 0 to 3. Similarly, the program on Core 1 will automatically write to&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;LAW11 and hence write to CPC ways 4 to 7. The same situation applies&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;for all 8 cores. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;But I found three weird things, which I am not sure where I did wrong: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(1) When I run the program, the value of variables and their locations in &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;Variables pane are not correct, quite strange. As shown here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21413_21413.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120241i57CFE83D34B4D233/image-size/large?v=v2&amp;amp;px=999" role="button" title="21413_21413.png" alt="21413_21413.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1-1.PNG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49369i0663FEAF07327AB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1-1.PNG.png" alt="error1-1.PNG.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(2) The trace is not working as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21414_21414.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120242i1BB7AEFAE2DAC191/image-size/large?v=v2&amp;amp;px=999" role="button" title="21414_21414.png" alt="21414_21414.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1-2.PNG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49370i6146AA4566ACC5E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1-2.PNG.png" alt="error1-2.PNG.png" /&gt;&lt;/span&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(3) The profile tool cannot get results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Can you take a look on this, it is quite urgent. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337191"&gt;P4080DS_init_core_cacheon.tcl.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 15:14:21 GMT</pubDate>
    <dc:creator>peterzheng</dc:creator>
    <dc:date>2015-03-25T15:14:21Z</dc:date>
    <item>
      <title>Configure Initialization Script for P4080DS in CodeWarrior for CPC Partitioning</title>
      <link>https://community.nxp.com/t5/P-Series/Configure-Initialization-Script-for-P4080DS-in-CodeWarrior-for/m-p/349149#M1683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt; I am currently &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;doing an project which requires to partition the CPC of P4080DS by &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;configuring its Partitioning Control Registers in the initialization script &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;from CodeWarrior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;I have created 8 more LAWs, which are LAW10 to LAW 17, each with&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;the size of 256MB. And I have configured 8 sets of CPC ID register, CPC&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;way register and CPC allocation register, with PID from 1 to 8, matching&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;with LAW10 to LAW17. For each coherency subdomain, I allocate 4&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;CPC ways to it. Attached is my modified initialization script. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;After I modified the configuration. I found that it is working, the program &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;on Core 0 will automatically write to LAW10, and hence write to CPC&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;way 0 to 3. Similarly, the program on Core 1 will automatically write to&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;LAW11 and hence write to CPC ways 4 to 7. The same situation applies&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;for all 8 cores. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;But I found three weird things, which I am not sure where I did wrong: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(1) When I run the program, the value of variables and their locations in &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;Variables pane are not correct, quite strange. As shown here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; line-height: 1.5em; background-color: #f5f5f5;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21413_21413.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120241i57CFE83D34B4D233/image-size/large?v=v2&amp;amp;px=999" role="button" title="21413_21413.png" alt="21413_21413.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1-1.PNG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49369i0663FEAF07327AB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1-1.PNG.png" alt="error1-1.PNG.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(2) The trace is not working as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21414_21414.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120242i1BB7AEFAE2DAC191/image-size/large?v=v2&amp;amp;px=999" role="button" title="21414_21414.png" alt="21414_21414.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error1-2.PNG.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49370i6146AA4566ACC5E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="error1-2.PNG.png" alt="error1-2.PNG.png" /&gt;&lt;/span&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;(3) The profile tool cannot get results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Can you take a look on this, it is quite urgent. Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337191"&gt;P4080DS_init_core_cacheon.tcl.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:14:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Configure-Initialization-Script-for-P4080DS-in-CodeWarrior-for/m-p/349149#M1683</guid>
      <dc:creator>peterzheng</dc:creator>
      <dc:date>2015-03-25T15:14:21Z</dc:date>
    </item>
  </channel>
</rss>

