<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: 51AC and CRCV2</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162854#M5334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, matter found thanks to Freescale support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Origin : the mcu used was a "PCF51AC" with mask "0M60N"&amp;nbsp;&amp;nbsp;that as a mask error compared to MCF51AC for the CRC function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround from Freescale support :&lt;/P&gt;"&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;SE154-CRC-Affects-Content: CRC Affects Content of Direct-Page and&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;High-Page Registers Description: CRC affects the content of the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;following memory ranges: 0xFFFF8000 to 0xFFFF80EC (Direct-Page&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;Registers) and 0xFFFF9800 to 0xFFFF98CF (High-Page Registers)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;interfering with several MCU peripheral configurations. The error&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;happens when any data is written to the CRCL after the seed was loaded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;to CRCH:CRCL. Workaround: Load the SEED value to CRCH:CRCL, perform the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;CRC computations (that means reading from RAM or FLASH and writing to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;CRCL; at this time, reads from Direct-Page/High-Page will be affected)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;and finally read the CRC result from CRCH:CRCL. Then, once the CRC&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;module will no longer be used, one additional step (workaround) would be&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;to write 0x00 to CRCH and 0x00 to CRCL. As a result, the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;Direct-Page/High-Page positions should not be affected anymore.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2010 21:32:48 GMT</pubDate>
    <dc:creator>SoJulien</dc:creator>
    <dc:date>2010-02-09T21:32:48Z</dc:date>
    <item>
      <title>51AC and CRCV2</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162852#M5332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the MCF51AC256 processor and I make an application with verify an I2C memory checksum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use the hardware CRC because the memory size which must be compute the CRC is 4 kByte.&lt;SPAN class="short_text"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I make a little application (DemoACKIT board) to show my problem :&lt;/P&gt;&lt;P&gt;this application changes the state of one LED every seconds and at each changement state, the application computes alternately Hardware CRC and software CRC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I don't activate the hardware CRC, LED blink correctly (every second)&lt;/P&gt;&lt;P&gt;When I activate the hardware CRC, the CRC function compute a correct CRC (compared to Software CRC) but the LED is fixed at state on or off, it's very strange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case when I execute step by step the CRC, I remark that some register are modified.&lt;/P&gt;&lt;P&gt;I don't understand what happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If somebody already use the hardware CRC on this Coldfire, can he answered me and correct my application ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Julien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 20:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162852#M5332</guid>
      <dc:creator>SoJulien</dc:creator>
      <dc:date>2009-12-21T20:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: 51AC and CRCV2</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162853#M5333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that in fact the hardware CRC crash the register at the first time the CRC Generator is being used.&lt;/P&gt;&lt;P&gt;Putting the call to "so_HardwareCRC_Compute();" in comment and led 1 flash every second.&lt;/P&gt;&lt;P&gt;Then activate call to "so_HardwareCRC_Compute();" --&amp;gt; mcu crash !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is seems for example while looking @ 0xFFFF8000 (PTAD register for port A) that is not used on this function and that is modified&amp;nbsp;after the first CRC instruction : "CRCH = 0xFF;" in "void so_HardwareCRC_Compute(void)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that some instruction execute for CRC function (during some luky state) then program crash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not see any help in AN3795 or in RM, so any help is appreciat, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you,&lt;/P&gt;&lt;P&gt;Julien,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 01:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162853#M5333</guid>
      <dc:creator>SoJulien</dc:creator>
      <dc:date>2010-02-09T01:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: 51AC and CRCV2</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162854#M5334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, matter found thanks to Freescale support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Origin : the mcu used was a "PCF51AC" with mask "0M60N"&amp;nbsp;&amp;nbsp;that as a mask error compared to MCF51AC for the CRC function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround from Freescale support :&lt;/P&gt;"&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;SE154-CRC-Affects-Content: CRC Affects Content of Direct-Page and&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;High-Page Registers Description: CRC affects the content of the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;following memory ranges: 0xFFFF8000 to 0xFFFF80EC (Direct-Page&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;Registers) and 0xFFFF9800 to 0xFFFF98CF (High-Page Registers)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;interfering with several MCU peripheral configurations. The error&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;happens when any data is written to the CRCL after the seed was loaded&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;to CRCH:CRCL. Workaround: Load the SEED value to CRCH:CRCL, perform the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;CRC computations (that means reading from RAM or FLASH and writing to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;CRCL; at this time, reads from Direct-Page/High-Page will be affected)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;and finally read the CRC result from CRCH:CRCL. Then, once the CRC&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;module will no longer be used, one additional step (workaround) would be&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;to write 0x00 to CRCH and 0x00 to CRCL. As a result, the&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;Direct-Page/High-Page positions should not be affected anymore.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier" size="2"&gt;&lt;FONT face="Courier" size="2"&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2010 21:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/51AC-and-CRCV2/m-p/162854#M5334</guid>
      <dc:creator>SoJulien</dc:creator>
      <dc:date>2010-02-09T21:32:48Z</dc:date>
    </item>
  </channel>
</rss>

