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.
Does this help?
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.
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.
© 2020 Microchip Technology Inc.