<?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: P4080 CPC Ecc protection/detection in sram mode in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598220#M3555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry I tried to find answer but in vain. I asked the design team but the original designer left Freescale some time ago, so no one is sure if ECC would work for SRAM mode. I see that the manual describes only ECC operation in the cache mode too and says not word for the SRAM mode. They asked how did you set up ECC mode for SRAM mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 13:12:02 GMT</pubDate>
    <dc:creator>r8070z</dc:creator>
    <dc:date>2016-10-24T13:12:02Z</dc:date>
    <item>
      <title>P4080 CPC Ecc protection/detection in sram mode</title>
      <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598217#M3552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I was wondering if the ecc protection and detection of the P4080s Cpc is also working in sram mode. Error Injection is working fine in Cache mode, but in sram mode no errors are injected. Now I'm wondering if ecc protection and/or detection is actually working in sram mode.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 13:05:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598217#M3552</guid>
      <dc:creator>mirkoliebender</dc:creator>
      <dc:date>2016-09-30T13:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: P4080 CPC Ecc protection/detection in sram mode</title>
      <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598218#M3553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had asked expert from the tech support. He said that the ECC is supported but there are errata for injecting errors into the data.&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, 17 Oct 2016 06:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598218#M3553</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2016-10-17T06:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: P4080 CPC Ecc protection/detection in sram mode</title>
      <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598219#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Serguei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer. I checked the errata, but the only suitable entry was the one concerning the cpc data injection for less than double-word access. I already got injection working in cache mode for data and tag both, but after putting the cpcs in sram mode neither is working. Do you know anything about that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Mirko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 14:02:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598219#M3554</guid>
      <dc:creator>mirkoliebender</dc:creator>
      <dc:date>2016-10-17T14:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: P4080 CPC Ecc protection/detection in sram mode</title>
      <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598220#M3555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry I tried to find answer but in vain. I asked the design team but the original designer left Freescale some time ago, so no one is sure if ECC would work for SRAM mode. I see that the manual describes only ECC operation in the cache mode too and says not word for the SRAM mode. They asked how did you set up ECC mode for SRAM mode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598220#M3555</guid>
      <dc:creator>r8070z</dc:creator>
      <dc:date>2016-10-24T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: P4080 CPC Ecc protection/detection in sram mode</title>
      <link>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598221#M3556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that I didn't answer any time sooner. I deactivated the CPC&amp;nbsp;and re-enabled it in&amp;nbsp;&lt;SPAN&gt;SRAM&lt;/SPAN&gt; mode with ECC&amp;nbsp;on. You can find the code of the activation process down below if anyone is interested. &amp;nbsp;I know now that ECC&amp;nbsp;protection and injection is not working in SRAM&amp;nbsp;mode since we testet it with high energy protons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;cpc_corenet_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;cpc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;cpc_corenet_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;CONFIG_SYS_FSL_CPC_ADDR&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Configure the SRAM upper base address */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;out_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcsrcr1&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CPC_SRCR1_SRBARU&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SRAM_BASE_ADDRESS&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Read back to sync write */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;in_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcsrcr1&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Configure the SRAM lower base address, SRAM size and enable SRAM mode */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;out_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcsrcr0&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPC_SRCR0_SRAMEN &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; CPC_SRCR0_SRAMSZ_32_WAY 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CPC_SRCR0_SRBARL&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SRAM_BASE_ADDRESS &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Read back to sync write */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;in_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcsrcr0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Set PAR0 to Default */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;setbits_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpccsr0 &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; CPC_CSR0_PAR0&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xfffffbff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/* Read back to sync write */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;in_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpccsr0 &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; CPC_CSR0_PAR0&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Enable the CPC and ECC*/&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;out_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpccsr0&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; CPC_CSR0_CE &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;CPC_CSR0_PE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Read back to sync write */&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;while&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;in_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpccsr0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CPC_CSR0_CE &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;CPC_CSR0_PE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&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; &lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Set CPC Hardware debug control register to not use speculatively requests */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;out_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpchdbcr0&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; CPC_HDBCR0_CDQ_SPEC_DIS&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Read back to sync write */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;in_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpchdbcr0&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/* Clear error detection bits by setting them */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;out_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcerrdet&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; L3_ERROR_MULTI &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; L3_ERROR_DATA_SINGLE &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; L3_ERROR_DATA_MULTI &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; L3_ERROR_TAG_SINGLE &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; L3_ERROR_TAG_MULTI &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; L3_ERROR_TAG_MULTIHIT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 

&lt;SPAN class="comment token"&gt;/* Clear error counter */&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;clrbits_be32&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;cpc&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;cpcerrctl&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xffffffff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 16:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/P4080-CPC-Ecc-protection-detection-in-sram-mode/m-p/598221#M3556</guid>
      <dc:creator>mirkoliebender</dc:creator>
      <dc:date>2016-12-05T16:00:51Z</dc:date>
    </item>
  </channel>
</rss>

