24 bit CRC from bin file

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

Anybody knows where I can download a program for generating 24 bit CRC from a binary (or hex) file?
Shall us this to compare with the CRC generated with SP_ApplicationCRC() used for flash.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does this help?

https://www.avrfreaks.net/index.p...

See the very last post. That would appear to be standard C that could easily be built on a PC to create a program that can read a .bin file.

However I know there have been other threads questioning the polynomial used and I have a distant memory that the conclusion was that maybe some models of Xmega use a different polynomial to others.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In the end I decided to just give up on the built in app section CRC because it is non-standard and write my own IEEE 802.3 compliant CRC-32 code. That way I can use either the CRC peripheral or pure C code on the micro or on a PC. It is a bit slower but I don't CRC the app section very often.