CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

crc

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mahenth



Joined: 22 Jan 2006
Posts: 1

View user's profile Send private message

crc
PostPosted: Tue Feb 07, 2006 8:34 am     Reply with quote

i'm having trouble while programing crc error checking Confused in pic 18f452 can anyone help Confused
jds-pic



Joined: 17 Sep 2003
Posts: 205

View user's profile Send private message

Re: crc
PostPosted: Thu Feb 09, 2006 10:48 am     Reply with quote

mahenth wrote:
i'm having trouble while programing crc error checking Confused in pic 18f452 can anyone help Confused


no one can help you if you don't post your code (use the code button), if you don't tell us what crc algorithm you are trying to implement, if you don't post your expected results, if you don't post what results you are getting, and if you don't post the input data to your crc algorithm.

honestly, did you REALLY expect that people here could mind read your problem through some sort of advanced internet telepathy, and magically deduce that your code is missing a right shift operation on the second polynomial term in the 16 bit CCITT CRC algorithm?

jds-pic
RVaughn13



Joined: 09 Feb 2006
Posts: 13
Location: Santa Fe, Texas

View user's profile Send private message Visit poster's website

CRC Question
PostPosted: Thu Feb 09, 2006 4:30 pm     Reply with quote

Hi,
I have a short code example in C for generating CRC's. Use the following link to download (in pdf format). The file name is "ES001" at the following link: http://www.eagle-systems.net/download.htm
Hope this helps!
_________________
--Rick
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Feb 09, 2006 5:53 pm     Reply with quote

.... or search this forum for a ready made CRC implementation.

For example my own CRC16 implementation:
http://www.ccsinfo.com/forum/viewtopic.php?t=24977 Wink
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group