<?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 How to get a program checksum in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128663#M770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've always found a program checksum to be handy when tracking/verifying program revisions. Does Code Warrior have some (hidden?) utility to calculate checksums? Wouldn't it be nice to be able to checksum the program before its flashed (i.e. the S19 file or similar) as well as to checksum the flash?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2006 12:06:26 GMT</pubDate>
    <dc:creator>glork</dc:creator>
    <dc:date>2006-03-14T12:06:26Z</dc:date>
    <item>
      <title>How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128663#M770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've always found a program checksum to be handy when tracking/verifying program revisions. Does Code Warrior have some (hidden?) utility to calculate checksums? Wouldn't it be nice to be able to checksum the program before its flashed (i.e. the S19 file or similar) as well as to checksum the flash?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2006 12:06:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128663#M770</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-03-14T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128664#M771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Which processor are you targeting (HC08, MPC, ...)?&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2006 19:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128664#M771</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-03-14T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128665#M772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I currently have active projects with the QT/QY family(3 projects), QB family (1 proj.), GB family (3 proj.) and the MC9S12UF32(1 proj). My question was generic (not device specific).&lt;BR /&gt;ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2006 22:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128665#M772</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-03-14T22:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128666#M773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I was asking as the answer is different for HC08, HC12, Coldfire, or PPC :smileyhappy:&lt;/P&gt;&lt;P&gt;The description below is valid for HC08 &amp;amp; Hc12, HCS12.&lt;/P&gt;&lt;P&gt;If you are using HC08 tools there is a CHECKSUM command that you can use in the linker .prm file.&lt;/P&gt;&lt;P&gt;For information how to use that command look in the Linker manual. There is a description of the command CHECKSUM in there.&lt;/P&gt;&lt;P&gt;You can also find some example project using the CHECKSUM command in the {Install}\(CodeWarrior_Examples)\HC08\Checksums directory for HC08 and&lt;BR /&gt;{Install}\(CodeWarrior_Examples)\HC12\Checksums for HC12.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2006 22:48:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128666#M773</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-03-14T22:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128667#M774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks, I'll try this as soon as I can get back to the development system. Sounds helpful.&lt;BR /&gt;ron&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2006 10:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128667#M774</guid>
      <dc:creator>glork</dc:creator>
      <dc:date>2006-03-15T10:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a program checksum</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128668#M775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sorry for resurrecting a very old topic.&amp;nbsp; But I too have a need for finding the checksum of a project.&amp;nbsp; My vendor is going to start pre-programming my chips and they require the checksum as an extra layer of verification.&lt;BR /&gt;&lt;BR /&gt;I'm using the MC9S08QG8.&amp;nbsp; In-house, I use the P&amp;amp;E suite of tools and I see that they all have a checksum verification command, "VC".&amp;nbsp; I've run this but the output I get is only "Success", no actual value.&lt;BR /&gt;&lt;BR /&gt;I don't have those checksum examples in my install directory of CodeWarrior.&amp;nbsp; But from the help, this worked well for me:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;CHECKSUM  CHECKSUM_ENTRY METHOD_CRC16    OF      READ_ONLY   0xE000 TO 0xFBFF    INTO    READ_ONLY   0xFF70 SIZE 2    UNDEFINED 0xFF  ENDEND&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Then, I programmed my part and inspected address FF70.&amp;nbsp; There's my number.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2008 00:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-get-a-program-checksum/m-p/128668#M775</guid>
      <dc:creator>irob</dc:creator>
      <dc:date>2008-04-24T00:03:32Z</dc:date>
    </item>
  </channel>
</rss>

