This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: crc16 - CCITT


The CRC16 table included in the redboot/src is the "wrong" CRC used by XModem etc. This won't generate a correct CCITT CRC (Sorry)...

Regards,
Michael

PS. www.IrDA.org has a CCITT compliant CRC16...

> -----Ursprüngliche Nachricht-----
> Von: Vinayak P Risbud [mailto:vinayak@multitech.co.in]
> Gesendet: Freitag, 19. Juli 2002 17:53
> An: Ecos-Discuss
> Betreff: [ECOS] crc16 - CCITT
> 
> 
>     Hi,
> 
>             I am computing CRC16 using crc16(....., .....) function,
>             present in crc.c under redboot directory.
>             But my hardware M68360 AHDLC microcode
>             is giveing me, an CRC error.
> 
>             which algorighm does the function crc16(...., ....) use ?
>             Is it CRC16-CCITT or some other standard ?
> 
>             Thanks
>                 Vinayak
> 
> 
> -- 
> Before posting, please read the FAQ: 
> http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 
> 

--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]