Re: J1939 protocol source code

From: H.-J.Oertel (hj.oertel_at_surfeu.de)
Date: 09/29/04


Date: Wed, 29 Sep 2004 22:12:22 +0200

Rob wrote:

> Looking for source code or drivers for talking to CAN J1939 devices /
> network. Operating systems include Winxx and Linux.
>
> TIA
> Rob.
Rob,
I would differentiate between CAN and looking for a higher level independent
CAN driver for the OS of your choice and a device and hardware independent
higher layer J1939 part of the software.
This way you should normally be able to use the higher layer J1939 protocol
software on both Windows and Linux without any changes or may be adaptions
to the layer-2 device driver.
If you are looking for pure CAN device drivers, first ask the CAN interface
board manufacturing companies. Each one should provide drivers. And they
do, each one there own API.
For Linux consider using can4linux. The can4linux API is the most often used
and supported by many boards. can4linux is even available for uClinux on
ColdFire boards or for sja1000, i82527 and TwinCAN controllers.

Regards
 Heinz

-- 
with best regards / mit freundlichen Grüßen
   Heinz-Jürgen Oertel
+===================================================================
| Heinz-Jürgen Oertel  port GmbH  http://www.port.de
| mailto:oe@port.de
| phone +49 345 77755-0     fax   +49 345 77755-20
| Regensburger Str. 7b,     D-06132 Halle/Saale,  Germany 
| CAN Wiki    http://www.CAN-Wiki.info
| Newsletter: http://www.port.de/engl/company/content/abo_form.html
+===================================================================


Relevant Pages

  • Re: ABI change for device drivers using future AVX instruction set
    ... the possible use of YMM registers in device drivers. ... should it be the responsibility of the device driver? ... The Linux kernel always saves FP and related state only in the function ...
    (Linux-Kernel)
  • Re: help regarding development of common interface of application with devices..
    ... You do know this is a Linux newsgroup right? ... which would help with the synchronization ... using an ioctl interface, read/write call interface, or the proc ... Device driver have and application modules have ...
    (comp.os.linux.development.system)
  • Re: USBSER.SYS: where to get a bug-free version?
    ... For some strange reason this has been reposted. ... Rob ... > copy of the DDK is a linux zealot. ... >> I have a friend who got stuck merging several groups Linux servers ...
    (microsoft.public.development.device.drivers)
  • Re: Call standard C functions in device driver
    ... The biggest difference between Linux and Windows CE is that Linux is ... Linux, all device drivers, either built within kernel or as a module ... My understanding in general is that a Windows CE device driver can ...
    (microsoft.public.windowsce.embedded)
  • Robs invitation to try Helix player
    ... >> used linux for several years, and to see it come this far. ... We really need help testing the Helix Player now, ... Rob Lanphier ... Helix Community Coordinator ...
    (linux.redhat)