16 bit CRC code for PIC

Started by taipei6969 in Piclist14 years ago 2 replies

I need to communicate with a device over RS232 and check/generate a 16-bit CRC. Can somebody give me the code to compute 16-bit CRC...

I need to communicate with a device over RS232 and check/generate a 16-bit CRC. Can somebody give me the code to compute 16-bit CRC on an array of bytes in BASIC or C? The CRC type is called "CRC16 V41". I know there is a standard polynomial used for CRC16 but what does


CRC

Started by Eirik Karlsen in Piclist13 years ago 1 reply

Hi, can anyone recommend a hex (not ASCII) crc16 calculator? Or give me the crc16 (8005h polynomial) sum for: 55 55 55 55 55...

Hi, can anyone recommend a hex (not ASCII) crc16 calculator? Or give me the crc16 (8005h polynomial) sum for: 55 55 55 55 55 55 55 55h ?? I'm testing some crc code but can't get any of them to work so I'm probably doing something wrong. -- ************


CRC / CHKSUM

Started by Eirik Karlsen in Piclist13 years ago 14 replies

To those of you that are more experienced (than me); I've now started on a bootloader that will eventually transfer the 14KB program...

To those of you that are more experienced (than me); I've now started on a bootloader that will eventually transfer the 14KB program into the FLASH memory. I'm thinking of breaking the transfer up into 16 or 32 byte frames. Obviously when the program is finally in the memory every single b


CRC checking error in MODBUS protocol

Started by Marcelo Calcia in Piclist13 years ago 1 reply

Hello..... I?m trying to communicate my PIC 16F873 to a motor speed variator that use the RS485 interface and a...

Hello..... I?m trying to communicate my PIC 16F873 to a motor speed variator that use the RS485 interface and a MODBUS protocol. This pr