Re: I connect my device to a truck's can port (J1939) , the truck present an error .

c yl <[email protected]>
Newsgroups gmane.comp.hardware.bus.can
Message-ID <[email protected]>
Hi
The speed is right, I have already got some right frames etc 18FEEE00 (coolant temperature)18FEF200(instantaneous fuel consumption)
I'll go to the port two days later, but I don't have an oscilloscope there, I can only try a better cable and check my rx/tx error counters. 
I'm not familiar with can bus much. Is the error probably like this: My node which works at error active mode at the beginning found an error (which is not true), then he add 1 to his rx error counter, but the node who sent the frame increases his tx error counter by 8. sometimes later the node's tx error counter is more than 255, and he close himself ?
ps: Whatif I force my node works at a error passive mode? Will the can bus  not be corrupted?

Thanks!Best Regards! 

     On Thursday, January 22, 2015 6:30 PM, Anry A. Kischka <[email protected]> wrote:
   

 Hi again,
so... NXP TJA1040 is canonical driver and good choice for developing in
your serial device. Ok, next... are you sure that stacker used J1939
specification and CAN speed which did you choice for connecting is right!?
May be I've mistake, but when I connect to unknown CANbus, i use this Bit
timing calculator and for this way not always guarantee, thats my choice
BT for this speed is right.
Can you attach part of log from this CANbus and screenshots from
oscilloscope when your device is/no connect (if this possible)
Thank you!

P.S. I'm not sure that you get Fuel Consumption parameters from engine of
this stacker. Try request 18EA00xx (when xx - source address from 00..FA)
good luck :)


c yl пишет:
// OK1, The truck I'm working with is a Kalmar reach stacker
// (DRF450/DCT450-60S5K). 2, I will go to the truck's place next week to
// check it . And check my rx/tx error counters.3, The physical chip is a
// TJA1040.
// Best regards.
//
//      On Thursday, January 22, 2015 3:23 PM, Anry A. Kischka
// <[email protected]> wrote:
//
//
//  Hi,
// Can you answer me step-by-step, please.
// So...
// 1. What truck model you try to connect?
// 2. What faults (SPN, FMI) you get when connect your device (in normal
// mode)to truck and what in unit (ECU, EBS, Gear and etc)?
// 3. And what physical CAN driver you used in device!?
// thanks!
//
// c yl пишет:
// // Hi
// // My rx/tx error counter is in the GSR (globle status) register. They are
// // initialized to 0/127 .  If I initialize them to more than 128 and I
// make
// // sure they always bigger than 128 (for example set them to 150/150 in
// rx/tx
// // routines), will my device works always at a error passive mode? So it
// // won't corrupt the bus .
// //
// //      On Wednesday, January 21, 2015 7:55 PM, Anry A. Kischka
// // <[email protected]> wrote:
// //
// //
// //  Thank you! I understand that's embedded OS, but to topic starter i
// told
// // about physical CAN driver.
// //
// // I think that no matter what OS used in MCU for connecting and working
// with
// // CANbus line...
// //
// // Heinz-Jürgen Oertel пишет:
// // //
// // // Am Mittwoch, 21. Januar 2015, 12:55:41 schrieb Anry A. Kischka:
// // //> What is ECOS system!? I'm not understood you. Can you give me link
// to
// // //> datasheet?
// // //
// // //
// // // https://ru.wikipedia.org/wiki/ECos
// // // https://en.wikipedia.org/wiki/ECos
// // //
// // //
// // // --
// // // mit freundlichen Grüßen
// // //        Heinz-Jürgen Oertel
// // //     emtas GmbH
// // // --
// // // Archives and useful links: http://groups.yahoo.com/group/CANbus
// // // Subscribe and unsubscribe at www.vector.com/canlist/
// // // Report any problems to <[email protected]>
// // //
// //
// //
// // --
// // With best regards, Anry.
// //
// // --
// // Archives and useful links: http://groups.yahoo.com/group/CANbus
// // Subscribe and unsubscribe at www.vector.com/canlist/
// // Report any problems to <[email protected]>
// //
// //
// //
//
//
// --
// With best regards, Anry.
//
// --
// Archives and useful links: http://groups.yahoo.com/group/CANbus
// Subscribe and unsubscribe at www.vector.com/canlist/
// Report any problems to <[email protected]>
//
//
//


-- 
With best regards, Anry.

--
Archives and useful links: http://groups.yahoo.com/group/CANbus
Subscribe and unsubscribe at www.vector.com/canlist/
Report any problems to <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.