question in CRC arithmetic

This is a discussion on question in CRC arithmetic within the C Programming forums, part of the General Programming Boards category; hello,all.I am a fresh coder and have a question in CRC,so I have to post a thread to ask for ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    22

    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
    Location
    Ireland
    Posts
    469
    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
    articles:

    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 ();


    Goodies:
    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
    Posts
    22

    Talking

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

  4. #4
    Registered User
    Join Date
    Jun 2004
    Posts
    277
    Quote Originally Posted by mycount
    en....
    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
    Posts
    5,006
    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, 06:51 PM
  3. Crc error
    By Oluf in forum Tech Board
    Replies: 21
    Last Post: 04-30-2004, 10: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 Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21