crc calculation on a hex file

Started by thierrys, April 16, 2009, 05:43:34 AM

Previous topic - Next topic

thierrys

hello,

I'd like know how flash magic calculs the crc for a lpc9xx on a hex file in cyclic redunbancy check
ex:
:03000000000000FC
:0C002C0078FFE4F6D8FD758107020003A0
:040019007FA07E86C0
:0F001D00EF1F70011E144E600563A00880F222D1
:10000300E4F5A475A5FFF5A063A0FF120019120083
:060013001912001980F231
:00000002FF

the crc for the block 0 : 6EBBF73F

thank you

Andy Ayre

It is a 32-bit CRC with the following polynomial: 0x00400007.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com