EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

CRC-16 in Assembler ?

Started by Andrew Leech January 1, 2004
Hi All,

I'm implementing a communications routine between a PC and a 68hc11
via the SCI port. I want to use CRC-16 error checking on the link.
The code I have in the 68hc11 is all written in assembler.

Does anyone have an example of how to implement this ? I've seen a
few examples on the net of how to do it in on a PIC, but not using
proper CRC-16.

I'd like to use a table based lookup routine, as I would like the
quickest routine I can get.

Many Thanks

Andy



In a message dated 1/1/04 9:19:51 PM Eastern Standard Time,
writes:

I'd like to use a table based lookup routine, as I would like the
quickest routine I can get. simtel and snippets have the table base crc16 in c


Check CRC.MOD found here:

http://www.aspisys.com/asm11d84.zip

After unzipping with 'create directories' option, it's in SAMPLES\FRAME\OS11
----- Original Message -----
From: "Andrew Leech" <>
To: < > I'm implementing a communications routine between a PC and a 68hc11
> via the SCI port. I want to use CRC-16 error checking on the link.
> The code I have in the 68hc11 is all written in assembler.
>
> Does anyone have an example of how to implement this ? I've seen a
> few examples on the net of how to do it in on a PIC, but not using
> proper CRC-16.
>
> I'd like to use a table based lookup routine, as I would like the
> quickest routine I can get.

> Andy




The 2024 Embedded Online Conference