Hi,
Which polynomial/algorithm is used to calculate the CRC16 field in the image header for OAD (as checked by the BIM)?
The BIM's source (function crcCalc inside bim_main.c) doesn't really indicate which polynomial or other parameters (reversed, XOR's, etc) are used.
Also, I've tried to calculate the CRC16 myself on a generated binary file, excluding the first 4 bytes (which are CRC and CRC_SHADOW), with several polynomials (CRC16, CCITT, XMODEM, CRC16-Reversed and others), but none of those turned out equal to the CRC which the IAR produces (first 2 bytes of the bin file).
Any help will be appreciated.