Thread: question in CRC arithmetic

  1. #1
    Registered User
    Join Date
    Jun 2006

    question in CRC arithmetic

    hello,all.I am a fresh coder and have a question in CRC,so I have to post a thread to ask for help.
    In my programm,a CRC arithmetic has mentioned whick to check each command in commnication is right or not.In the document,a polynomial "0xA001" has mentioned and I don't understand about it,so I have to Google.But I also do not understand (maybe don't know).How can I get the CRC16 table with the polynomial ? Everyone could you help me? Thanks very much.

  2. #2
    The Richness... Richie T's Avatar
    Join Date
    Jan 2006
    I did a small bit of research and discovered that you are studying embedded
    systems programming, good for you. Unfortunately for you, not everybody
    knows what CRC is. Furthermore, your description of your problem is very
    unclear - I can't tell whether you are writing a CRC encoder, or are receiving a
    CRC error message, although I find the former unlikely. So, if you are writing the
    program, maybe post code which produces your error, or if you are receiving this
    error, then your post doesn't belong on the C programming board, and would be
    more suitable under the Tech board. Please don't repost there, as it can be moved
    by a mod if that's the case.

    Lastly, Salem mentioned in your other thread that you need to google better -
    I would go so far as to say that you need to develop better problem solving
    skills, since the first step in such is normally to develop a clear and precise
    definition of the problem - particularly if you are asking for help from others. In
    any case, Google search for "Cyclic Redundancy Check" returned the following two

    Cyclic Redundancy Check - what it means for your data, CD and DVD discs
    Wikipedia's article on CRC

    That's my good deed for the day
    No No's:
    fflush (stdin); gets (); void main ();

    Example of fgets (); The FAQ, C/C++ Reference

    My Gear:
    OS - Windows XP
    IDE - MS Visual C++ 2008 Express Edition

    ASCII stupid question, get a stupid ANSI

  3. #3
    Registered User
    Join Date
    Jun 2006


    I am so sorry,but say thanks to you all the same.I will be better at next seconds.
    Last edited by mycount; 08-21-2006 at 11:26 PM.

  4. #4
    Registered User
    Join Date
    Jun 2004
    Quote Originally Posted by mycount
    I am so sorry,but say thanks to you all the same.I will be better at next seconds.
    CRC 16 is pretty standart and straight forward does it solve you problem?

  5. #5
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Before Wikipedia, there was this. (But it is listed in the external links.)
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. CRC Check
    By silentkarma in forum C++ Programming
    Replies: 8
    Last Post: 03-01-2008, 04:20 AM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Crc error
    By Oluf in forum Tech Board
    Replies: 21
    Last Post: 04-30-2004, 09:57 AM
  4. Pointer arithmetic question
    By moneil in forum C Programming
    Replies: 6
    Last Post: 03-25-2004, 11:45 PM
  5. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM