<?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: Checksum calculation in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136570#M1876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Which version of CW (and more specifically, the linker) are you using?&lt;BR /&gt;If not using the latest and greatest already, can you try it?&lt;BR /&gt;Can you provide a complete (but as simple as possible), linking sample?&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 May 2006 20:46:31 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2006-05-21T20:46:31Z</dc:date>
    <item>
      <title>Checksum calculation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136569#M1875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I need to checksum (crc) the area of read_only memory. I am trying to use the embedded checksum algorithms. My prm file looks like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;NAMES END&lt;/DIV&gt;&lt;DIV&gt;SEGMENTS&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RAM_BOOT = READ_WRITE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x2000 TO 0x3FFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ROM_BOOT = READ_ONLY&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xF802 TO 0xFCFF FILL 0xFF;&lt;BR /&gt;END&lt;/DIV&gt;&lt;DIV&gt;PLACEMENT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DEFAULT_ROM&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; INTO&amp;nbsp; ROM_BOOT;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;DEFAULT_RAM&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; INTO&amp;nbsp; RAM_BOOT;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;END&lt;/DIV&gt;&lt;DIV&gt;CHECKSUM&lt;BR /&gt;CHECKSUM_ENTRY&lt;BR /&gt;METHOD_CRC16 POLY 0x1021 OF READ_ONLY 0xF802 TO 0xFFFF INTO READ_ONLY 0xF800 SIZE 2&lt;BR /&gt;UNDEFINED 0xFF&lt;BR /&gt;END&lt;BR /&gt;END&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It looks like everything works OK as soon as I am using the defined in prm file section. The problem here is that I am also using some absolute code positioning and this memory area is not specified in prm file....It looks like the checksum routine does not know what is located at my absolute addresses?!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 May 2006 02:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136569#M1875</guid>
      <dc:creator>markiscarabas</dc:creator>
      <dc:date>2006-05-20T02:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checksum calculation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136570#M1876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Which version of CW (and more specifically, the linker) are you using?&lt;BR /&gt;If not using the latest and greatest already, can you try it?&lt;BR /&gt;Can you provide a complete (but as simple as possible), linking sample?&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 May 2006 20:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136570#M1876</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-05-21T20:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Checksum calculation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136571#M1877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;My CW is for HC12&amp;nbsp; 3.1 Build 4047. It will take me some time to create the simple demo code. Linker rev is&amp;nbsp; 5.0.9.0&amp;nbsp; 9/7/2003.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2006 23:07:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136571#M1877</guid>
      <dc:creator>markiscarabas</dc:creator>
      <dc:date>2006-05-22T23:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checksum calculation</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136572#M1878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In the release notes to the HC12 V4.5, linker version V5.0.29, there are entries which may explain your problem.&lt;BR /&gt;As HC12 V4.5 is downloadable from the web, I would suggest that you try it with this version first.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 01:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Checksum-calculation/m-p/136572#M1878</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-05-23T01:40:54Z</dc:date>
    </item>
  </channel>
</rss>

