<?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>S12 / MagniV MicrocontrollersのトピックRe: xcc</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/xcc/m-p/700874#M14538</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;SPAN style="color: #44546a;"&gt;Regarding SRAM, if I understand, you initialize the memory with some data during startup, so after reset it will be initialized again. But the SRAM is powered during reset so without the initialization the SRAM content is preserved. Only after POR the content is unknown. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Regarding Flash, each phrase includes two sets of aligned double &lt;/SPAN&gt;words (half-phrase). For&lt;SPAN style="color: #44546a;"&gt; each of these double words 7 ECC bits are calculated and stored for single bit fault correction and double bit fault detection. During a read (always read by half-phrase), the data are being compared with the ECC bits. In case of a single-bit error, the result of the read is corrected and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #44546a;"&gt;FERSTAT_SFDIF&lt;/SPAN&gt;&lt;SPAN style="color: #44546a;"&gt; is set. But the data stored at the fault address are not corrected. In case of a double-bit error, the data are not corrected, the error is only detected and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #44546a;"&gt;FERSTAT_DFDIF&lt;/SPAN&gt;&lt;SPAN style="color: #44546a;"&gt; is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;NOTE: There is one cycle delay in storing the ECC DFDIF and SFDIF fault flags in this register. At least one NOP is required after a flash memory read before checking FERSTAT for the occurrence of ECC errors. (Table 24-16, footnote 2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 11:18:04 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-09-13T11:18:04Z</dc:date>
    <item>
      <title>xcc</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/xcc/m-p/700873#M14537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Our customer need the function of the ROM and RAM check, this function will be used in the product Initial stage. At first, we will check the RAM areas from 0x2000 to 0x3FFE . then check the ROM page, page A , B, C, D, E, F from the address of 0x8000 to the 0xC000. here we have some confusion about this ROM and RAM check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) For the RAM check, if I check the RAM areas and find RAM error, if I reset the MCU, the error is whether will be disapper. and what does I want to know is that the reset action is necessary or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) for the ROM check , we use the System register FERSTAT_SFDIF and FERSTAT_DFDIF, to check if whether those register have a error flag have been set. then if we detect this is on error, we think we have finished the check aciton. so could you please illustrate this two system regiseter how to work and the principle. so we can analysis the algorithm and the logical that we use in ROM check is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking forward to your reply! BR. /Tommy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 00:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/xcc/m-p/700873#M14537</guid>
      <dc:creator>tommy_duan</dc:creator>
      <dc:date>2017-09-12T00:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: xcc</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/xcc/m-p/700874#M14538</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;SPAN style="color: #44546a;"&gt;Regarding SRAM, if I understand, you initialize the memory with some data during startup, so after reset it will be initialized again. But the SRAM is powered during reset so without the initialization the SRAM content is preserved. Only after POR the content is unknown. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Regarding Flash, each phrase includes two sets of aligned double &lt;/SPAN&gt;words (half-phrase). For&lt;SPAN style="color: #44546a;"&gt; each of these double words 7 ECC bits are calculated and stored for single bit fault correction and double bit fault detection. During a read (always read by half-phrase), the data are being compared with the ECC bits. In case of a single-bit error, the result of the read is corrected and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #44546a;"&gt;FERSTAT_SFDIF&lt;/SPAN&gt;&lt;SPAN style="color: #44546a;"&gt; is set. But the data stored at the fault address are not corrected. In case of a double-bit error, the data are not corrected, the error is only detected and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #44546a;"&gt;FERSTAT_DFDIF&lt;/SPAN&gt;&lt;SPAN style="color: #44546a;"&gt; is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;NOTE: There is one cycle delay in storing the ECC DFDIF and SFDIF fault flags in this register. At least one NOP is required after a flash memory read before checking FERSTAT for the occurrence of ECC errors. (Table 24-16, footnote 2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #44546a;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 11:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/xcc/m-p/700874#M14538</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-09-13T11:18:04Z</dc:date>
    </item>
  </channel>
</rss>

