Hex File Crc 16 Calculator Checksum

Hex File Crc 16 Calculator Checksum Average ratng: 3,1/5 6441 reviews

Hi, I need advice on how to calculate checksum in a line of intel hex file format. Basically I understand how it need to be calculate but to write it in VB code is.

ProductsDownloadEventsSupportVideos

Next Thread Thread List Previous ThreadStart a Thread Settings

DetailsMessage
Author
Roman Wambacher
Toolset
C166
PC Tool for adding a CRC checksum to an Intel HEX file
Hello,
does anyone know of a PC-based tool, that adds a CRC16 checksum at a given address in an intel HEX file?
I would like to add an offline-CRC to my generated H86-file.
thanks,
Roman
Read-Only
Posted
23-Apr-2004 15:51 GMT
RE: PC Tool for adding a CRC checksum to an Intel HEX file
Try http://srecord.sourceforge.net
(don't be put off by 'S-Record')
Read-Only
Posted
24-Apr-2004 16:32 GMT
RE: PC Tool for adding a CRC checksum to an Intel HEX file
Thank you very much! This seems to be a great tool for doing that kind of HEX-file manipulation.
Roman
File

Next Thread Thread List Previous ThreadStart a Thread Settings

Products

Development Tools
Hardware & Collateral

Downloads

Support

Contact

Cookie Settings Terms of Use Privacy Accessibility Trademarks Contact Us Feedback

Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.

I'm trying a few days to get the type of the CRC with the following hex stream (sniffed with wireshark):

The Hex data i sniffed:0000001ec001075465737431323308557365726e616d650850617373776f7264d224

Hex Checksum Calculator Online

This should be the DATA in HEX:0000001ec001075465737431323308557365726e616d650850617373776f7264

So the last 4 digits are the checksum, in this case d224

I used many code snippets (PHP, java), and some online checksum calcuation sites:e.g.:http://www.scadacore.com/field-applications/programming-calculators/online-checksum-calculator/

But I don't get the correct CRC value.

Thanks!

Update 1
Here are more hex streams with CRC included (the last 4 digits):

  • 0000001dc001045465737409557365726e616d65310950617373776f726431cc96
  • 0000001dc001045465737409557365726e616d65320950617373776f72643289d9
  • 0000001dc001045465737409557365726e616d65330950617373776f726433b51c
  • 0000001dc001045465737409557365726e616d65340950617373776f7264340347
  • 0000001dc001045465737409557365726e616d65350950617373776f7264353f82
Gregor Ganglberger
Gregor GanglbergerGregor Ganglberger

1 Answer

It appears to be the ARC CRC, polynomial 0x8005, reflected, zero initial value and no final xor, if I discard the initial 0000001d on each message, and take the CRC at the end to be put in the stream in little-endian order.

Mark AdlerMark Adler

Hex Crc-16 Calculator

Not the answer you're looking for? Browse other questions tagged hexchecksumcrc or ask your own question.