Author Topic: CAN Analyser -Experiences  (Read 1830 times)

0 Members and 1 Guest are viewing this topic.

Offline digsysTopic starter

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
CAN Analyser -Experiences
« on: July 19, 2019, 12:56:47 am »
Looking for feedback / experiences with CAN Analyzers. Mainly machinery, but able to do vehicle (ODB? would be handy -or a separate project).
I am well aware of what is "out there", just seeing what issues users have found / limitations / stay-away from stories :-) Recommended models?
Hello <tap> <tap> .. is this thing on?
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1530
  • Country: gb
Re: CAN Analyser -Experiences
« Reply #1 on: July 19, 2019, 06:55:34 am »
In automotive industry, the defacto standard CAN tool is CANalyser by Vector Instruments. It is very expensive but worth it compared to the cheaper stuff around.
It can decode the CAN packet if you give it the message format in .dbc files.
It has a programming/scrpting language (CAPL) which allows processing of message to respond or even developing tools.
However, it has been designed to be as non-intuitive as you can get. Once someone has shown you how to do things, it is fairly easy. I personally think Vector did this to make more money by forcing you to go on their training courses.
ODB2 has generic codes that all manufacturers must support but most manufacturers use their own specific codes for most useful stuff. Not sure if Vector provide .dbc file for the ODB2 standard.

I have also used Peak Pcan and Ixxat analysers. They can only do the basic capture and log. We could not find any feature to decode the message.

None of the above come with the ODB2 connector. They all come with 9w Dtype. We make our own adapters when we need.
« Last Edit: July 19, 2019, 07:03:28 am by MosherIV »
 

Offline digsysTopic starter

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: CAN Analyser -Experiences
« Reply #2 on: July 19, 2019, 08:08:27 am »
Yup, I know the whole area is a shltmess, is why I'm looking for experiences. My electrics mechanic has 3 units, one is a Vector, all around $5K+, and he is constantly switching between them to get info he wants, and still fails on many occasions.
I was looking at the Kvaser options, at least they are more reasonably priced. May even grab a couple really cheap open-source ones as well .. usually, all I want to see is data integrity / error rates etc I'll likely have to do a bit of my own development work eventually.
Wondering where to start.
Hello <tap> <tap> .. is this thing on?
 

Offline zzattack

  • Regular Contributor
  • *
  • Posts: 135
  • Country: nl
Re: CAN Analyser -Experiences
« Reply #3 on: July 19, 2019, 08:14:22 am »
I've drooled over Vektor's stuff, but even moreso over neoVI VehicleSpy for a long time. Never bit the bullet and always used my own custom hw to get what I need, even if that was often severely tiring.
 

Offline digsysTopic starter

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: CAN Analyser -Experiences
« Reply #4 on: July 19, 2019, 08:21:53 am »
Quote from: zzattack
I've drooled over Vektor's stuff, but even moreso over neoVI VehicleSpy for a long time. Never bit the bullet and always used my own custom hw to get what I need, even if that was often severely tiring.
Geeeez what a crock of a price. I hope vehicle Ethernet takes off and brings these prices back to reality :-) At those prices, would they ever "pay" for themselves?
Hello <tap> <tap> .. is this thing on?
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13987
  • Country: gb
    • Mike's Electric Stuff
Re: CAN Analyser -Experiences
« Reply #5 on: July 19, 2019, 08:24:26 am »
Hasn't anyone done a CAN plugin for Wireshark?
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4700
  • Country: au
  • Question Everything... Except This Statement
Re: CAN Analyser -Experiences
« Reply #6 on: July 19, 2019, 08:24:39 am »
Vector costs the most
Next up is probably IAXXT
Then you get to the more generic ELM327 and Co

For buses and trucks, you will want something that supports 29 bit can identifiers. if very new buses and trucks then CanFD (which costs much more on average)

And for small cars, 11 bit ID's are the norm, (OBD = on board diagnostics)

Its rare that 11 bit and 29 bit get mixed on the same bus, generally only very custom agricultural gear pulls that crap.

Machinery is mostly going to be 29 bit, I have some example logs from some machinery if your interested (PM) however almost all of it is fairly undocumented unless you can find the "CAN Matrix" for a given supplier, J1939 (generally 29 bit can) has a 2014 version of the agreed upon general PGN's and SPN's floating out in the wild, (try searching J1939DA) otherwise the latest is not that expensive (For single user only generally)

For most of these devices there are free to use drivers so long as you have the devices and are not hard to inteface with e.g. python scripts. I've even gone as far as progromatically writing can scripts for a device as it logs, but that was some time ago,

As to the ethernet comment, the really big gear uses it, and its non standard pinout, and generally end to end VPN's for fun, they really don't want third party hardware anywhere but on there sandboxed bodybuilder connectors
 

Offline digsysTopic starter

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: CAN Analyser -Experiences
« Reply #7 on: July 19, 2019, 08:33:42 am »
Thanks for all that. I'll look up those suggestions, but it doesn't make the shltmess clearer :-)
Quote from: Rerouter
.... As to the ethernet comment, the really big gear uses it, and its non standard pinout, and generally end to end VPN's for fun, they really don't want third party hardware anywhere but on there sandboxed bodybuilder connectors
Great news :-) !!
Hello <tap> <tap> .. is this thing on?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4700
  • Country: au
  • Question Everything... Except This Statement
Re: CAN Analyser -Experiences
« Reply #8 on: July 19, 2019, 08:36:12 am »
when I say big gear, I'm talking about 400 tonne mobile cranes where the engine along is bigger than some trucks, and mining gear that is generally only driven by ladies, if its normal loaders, forwarders and all that stuff where its not much bigger than a semi trailer, its probably still can
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3525
  • Country: it
Re: CAN Analyser -Experiences
« Reply #9 on: July 19, 2019, 01:11:09 pm »
We use kvaser interfaces. Very well built and in the Just Works™ category. the higher end models can also run custom srcipt/software written in C inside of them.
We just wanted an analyzer to sniff the powertrain bus so we didn't buy any specific software for it, we use canking for the simple stuff and busmaster for the more andvanced things.

Quote
Its rare that 11 bit and 29 bit get mixed on the same bus, generally only very custom agricultural gear pulls that crap.

i've seen it done on fiat, renault and mercedes vehicles :)
« Last Edit: July 19, 2019, 01:12:47 pm by JPortici »
 

Online NorthGuy

  • Super Contributor
  • ***
  • Posts: 3246
  • Country: ca
Re: CAN Analyser -Experiences
« Reply #10 on: July 19, 2019, 01:57:23 pm »
... the higher end models can also run custom srcipt/software written in C inside of them.

I just have PIC24 with ISO1050 which drops everything to the PC through USB (possibly with filtering), and then I can use C to parse it as I want.
 

Offline digsysTopic starter

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: CAN Analyser -Experiences
« Reply #11 on: July 19, 2019, 02:09:54 pm »
Just ordered a couple of cheap "play modules" / analyzers from Digikey. Time to find out what I'm up against ... looks like a long journey ! btw did I mention that I hate CAN :-)
Hello <tap> <tap> .. is this thing on?
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1580
  • Country: de
Re: CAN Analyser -Experiences
« Reply #12 on: July 19, 2019, 02:21:34 pm »
As somewhat affordable CAN FD solution, I'm using a Peak CAN FD Pro at work. It's dual channel and also support LIN.
CAN FD ISO and non-ISO are supported and you can also create CAN faults. The applications are somewhat limited but there's also an API for your own applications. Of course it's not a CANalyzer which offers scripting, more advanced filtering and more in-depth manipulations like ignoring the acknowledge when sending.
Trying is the first step towards failure - Homer J. Simpson
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3525
  • Country: it
Re: CAN Analyser -Experiences
« Reply #13 on: July 19, 2019, 02:36:32 pm »
... the higher end models can also run custom srcipt/software written in C inside of them.

I just have PIC24 with ISO1050 which drops everything to the PC through USB (possibly with filtering), and then I can use C to parse it as I want.


the point of having the device running custom code is that it can then do what it has to do without having a pc connected, which is VERY useful in certain places
 

Online NorthGuy

  • Super Contributor
  • ***
  • Posts: 3246
  • Country: ca
Re: CAN Analyser -Experiences
« Reply #14 on: July 19, 2019, 02:43:26 pm »
... the higher end models can also run custom srcipt/software written in C inside of them.

I just have PIC24 with ISO1050 which drops everything to the PC through USB (possibly with filtering), and then I can use C to parse it as I want.


the point of having the device running custom code is that it can then do what it has to do without having a pc connected, which is VERY useful in certain places

PIC24 can run custom code ;)
 

Offline rounin

  • Regular Contributor
  • *
  • Posts: 123
  • Country: us
Re: CAN Analyser -Experiences
« Reply #15 on: July 20, 2019, 01:21:20 am »
I'm releasing a new USB-CAN FD for public beta in the next week or so. I'll do another thread with more details soon.
https://suburbanmarine.io/product/hadou-can-beta/

This should work with wireshark in linux, although I don't have any message definitions for standard SAE vehicle busses.

I have previously used Peak's PCAN-FD and liked it, on linux with custom PC side code. I'm using one to test my HW :). Peak's GUI is nice.
 
The following users thanked this post: digsys


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf