Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

checksum byte with a bit error

1 view
Skip to first unread message

LColes

unread,
Aug 28, 2007, 3:40:10 AM8/28/07
to
I am currently writing a .Net 2.0 wrapper for the NI-Can API so i can use with software i am writing.  When i send a frame using the ncWrite function and then call the ncRead function as i am expecting a response. The repsonse i get is a Frame Error with the error code C008, the description of the error code says The LIN Interface slave task recieved a checksum byte with a bit error.
 
Can some explain a bit more about this and the likely causes as i am a bit confused

DirkW

unread,
Aug 28, 2007, 9:40:11 AM8/28/07
to
We had a checksum calculation bug with NI-CAN 2.4 and 2.5. This only appears if you receive LIN frames from a non NI device with advanced checksum anabled.
This issue should be fixed with our new driver releasing soon. If you need an urgend fix, please contact your local branch office.
DirkW

DirkW

unread,
Jul 10, 2008, 11:40:16 AM7/10/08
to
Hi,
The classic checksum doesn't only sum the databytes it inverts the final result at the end. That makes an "FB" from your "4".
DirkW
0 new messages