Code CRC16 for AT90CAN128

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,

I am having a problem calculating a Code CRC for AT90CAN128.

I have a 4k bootloader so the inserted CRC16 is just below that.

Using SRecord as follows:

    srec_cat infile.hex -intel -fill 0xFF 0x0000 0x1DFFC -Big_Endian_CRC16 0x1DFFC -o outfile.hex -intel

I get the following error message:

    srec_cat: infile.hex: 2670: contradictory 0001DFFC value (previous = DE, this one = 00)

I have tried putting the address in both 8-bit and 16-bit with no luck - can anyone see what I am doing wrong?

Regards, Mike.