Intel hex (ihex) does not use CRC.
It uses 2's complement of the sum of all data bytes in line.
The idea is that you sum all the data bytes on the receive side, add to it
the checksum byte, the result should be zero.

-- 
Ori Idan


On Mon, Jun 2, 2008 at 12:13 PM, mfend <[email protected]> wrote:

>  a good starting point
>
>
>
> http://en.wikipedia.org/wiki/.hex
>
>
>
> matthias
>
>
>  ------------------------------
>
> *Von:* [email protected] [mailto:
> [email protected]] *Im Auftrag von *Paolo Latella
> *Gesendet:* Montag, 02. Juni 2008 11:05
> *An:* [email protected]
> *Betreff:* [Mspgcc-users] CRC in msp430
>
>
>
> Hi all,
> what is it the algorithm for CRC calculation in ihex line ?
>
> For example:
>
> *:10B9C00036413541344130410E430A93072412C3B6*
>
> CRC = B6 -> how can i calculate it ?
>
> Thanks
>
> Paolo
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>


-- 
ספרים וסיפורים שכתבתי: http://www.thestories.org

Reply via email to