Re: [beagleboard] How to make can0 work

2020-05-20 Thread William Hermans
By the way "1F334455#1122334455667788" doesn't look like a valid J1939 packet. But I barely know that particular protocol. On Wed, May 20, 2020 at 4:15 PM William Hermans wrote: > Without any code, or steps you've taken. No one can help, or say what's > going on. I will say this however. I

Re: [beagleboard] How to make can0 work

2020-05-20 Thread William Hermans
Without any code, or steps you've taken. No one can help, or say what's going on. I will say this however. I wrote in a relatively short period of time( with help! From multiple sources). Software that could communicate over CANBUS that was able to decode information from a "TRACE"

Re: [beagleboard] How to make can0 work

2020-05-20 Thread Andrey
Guys, thanks for the answers! Unfortunately, I can't use can1, it is have no output on my Board. It is strange that after a bus crash, ifconfig shows the number of packets transmit 0 and received 3. If the tire falls after only three attempts to send, it is not normal and does not look like a

Re: [beagleboard] How to make can0 work

2020-05-20 Thread William Hermans
J1939 bit positioning -> https://photos.app.goo.gl/7X24xgY8dR1aYTHDA On Wed, May 20, 2020 at 1:45 PM William Hermans wrote: > Oh forgot to mention. You'd need to use socketCAN. Perhaps this guy will > give you some ideas. >

Re: [beagleboard] How to make can0 work

2020-05-20 Thread William Hermans
Oh forgot to mention. You'd need to use socketCAN. Perhaps this guy will give you some ideas. https://fabiobaltieri.com/2013/07/23/hacking-into-a-vehicle-can-bus-toyothack-and-socketcan/ On Wed, May 20, 2020 at 1:40 PM William Hermans wrote: > For the record, you do not have to wait for kernel

Re: [beagleboard] How to make can0 work

2020-05-20 Thread William Hermans
For the record, you do not have to wait for kernel 5.4 to do J1939. I wrote software using kernel 3.8.x that read a hybrid NIMEA 2000 protocol, which uses the same high level protocol as J1939. All you have to do is understand J1939, and bit wrangle . . . On Wed, May 20, 2020 at 7:33 AM Robert

Re: [beagleboard] How to make can0 work

2020-05-20 Thread Robert Nelson
On Wed, May 20, 2020 at 2:54 AM Gwen Stouthuysen wrote: > I have the impression that your network is set up for J1939 or CANOpen > (CAN 2.0B) > > when you send a message to a short address (CAN 2.0A) it doesn't get > acknowledged, and this might crash your bus, as the BB will try to send it >

Re: [beagleboard] How to make can0 work

2020-05-20 Thread Gwen Stouthuysen
I have the impression that your network is set up for J1939 or CANOpen (CAN 2.0B) when you send a message to a short address (CAN 2.0A) it doesn't get acknowledged, and this might crash your bus, as the BB will try to send it till the message is acknowledged.. Try to send a message to a 29bit

[beagleboard] How to make can0 work

2020-05-19 Thread klim . sbk
I tried to do as indicated in this instruction , but it is outdated and does not produce results on new linux kernels. What I have to do to make the can interface work? Board: custom board am3359 (almost like beaglebone