-=_=- (c) 2008 by PEAK-System Technik GmbH - Germany - last change 20-February-2008 -=_=-

PEAK-System
Welcome to the PEAK-System LINUX WEB-Page
| PEAK-System Startpage | Driver Download | Driver Download History | Customer Projects |Tips |

 

PCAN-Light for LINUX is the easy to use Software Interface for PEAK-System CAN-Hardware.

The PCAN drivers for LINUX work with Kernel Version 2.4 up to Kernel 2.6.25. The complete package is distributed under the GPL.

If you have any questions about the drivers please contact us. The API (Application Programming Interface) for the different PCAN-PC hardware is the same. This make it easy to develop software which work with different PEAK CAN-Hardware Interface. But be carefull while using these drivers with non PEAK CAN PC Hardware. The PEAK-CAN Hardware Moduls and drivers use special fiunctions which are only running with a 100% compatible PCAN-PEAK Hardware.

Supported Hardware:
PCAN-ISA PC-ISA I + II CAN-Interface one and two channel
PCAN-PC/104 PC/104 CAN-Interface one and two channel
PCAN-Dongle PC-Parallel Port CAN-Interface one channel
PCAN-PCI PC-PCI CAN-Interface one or two channel
PCAN-PCI Express PC-PCI Express CAN-Interface one or two channel
PCAN-PC Card PC-PC Card (PCMCIA) CAN-Interface one or two channel
PCAN-PC/104plus PC/104plus CAN-Interface one and two channel
PCAN-USB PC-USB CAN Interface
PCAN-OEM All OEM-Mainboards Boards with PEAK-CAN Interface
(DigitalLogic-PC/104 CAN cards, Kontron with CAN on board, etc)

If you ned technical information about the PEAK CAN-Hardware goto http://www.peak-system.com

Any questions ??...send our LINUX team a mail: E-Mail to linux@peak-system.com

Interested in CANOpen for LINUX ? We support the CANFestival Project: http://canfestival.sf.net CanFestival is an OpenSource (LGPL) CANOpen framework.

We like to thank the major PCAN-Linux developer Klaus Hitschler for his excellent work !

Also many thanks for the Socket CAN support from Oliver Hartkopp and Wolfgang Grandegger. The Xenomai implementation was done by Edouard Tisserant and Laurent Bessard - thanks for the great job..

Here some information about the driver's licensing:

The driver itself is linked inside the kernel, this does no harm since the driver is GPL'd. I does matter if you like to modify the driver itself to your needs and redistribute this modified driver. Then you are forced topublish this modification. If you use only the driver's services from your user program it is the samesituation like using kernel provided services from a user program. (Note that the driver's services are only of use through kernel services.) It does not matter if your user program is open or closed source and what licence however. To ease access to the driver's services PEAK provides a library 'libpcan.so'. This library is LGPL'd and therefore can be linked to even closed source programs without any consequences. But if you modify the library you have to give back this modification to the community if you distribute the modified library.

^ back to the top ^


"embedded systems 2008" Release V6.7

Driver Download Version 6.7

Version 6.7 (20.02.2008)

- Update:

  • Support up to Kernel 2.6.25
  • Automaticly compiling for Socket CAN Support if the Kernel option "CONFIG_CAN" is set (Kernel 2.6.25 or higher)
  • Big Endian Support for PCAN-USB
  • PCAN-Dongle now works again without Parport-Subsystem
  • Remove some compiling warnings while use newer Kernel Versions
  • Remove some compiling warnings while use XENOMAI support
  • Some smaller fix for RTAI-Skin support

Download 6.7 tar.gz - Download 6.7 rpm

Download Installation Info for Version 6.x (PDF)

^ back to the top ^


The History - Drivers from the past...


Version 1.37 to 1.4

- PCAN-Light - Version 1.3.7 (01.03.2002)

Download 1.37 gz

- Update: Now work with SUSE 8.x LINUX - PCAN-Light - Version1.4 (01.10.2002)

Download 1.4 rpm - Download 1.4 gz


Version 2.5 to 2.15

- Update: Add PCAN-USB Driver - PCAN-Light - Version 2.5 (26.02.2003)

Download 2.5 gz

- Update: Add rpm Package - Version 2.6 (18.03.2003)

Download 2.6 rpm - Download 2.6 gz

- Update: Add rpm Package - Version 2.8 (28.05.2003)

Download 2.8 rpm - Download 2.8 gz

- Update: devfs, kernel-2.5 support, LGPL - Version 2.12 (12.08.2003)

Download 2.12 rpm - Download 2.12 gz

- Update: fixed rpm Package problem with old kernels (<2.4.18) - Version 2.13 (29.10.2003)

Download 2.13 rpm - Download 2.13 gz

- Update: fixed wrong handling of USB device enumeration in the shared library- Version 2.14 (20.11.2003)

Download 2.14 rpm - Download 2.14 gz

- Update: fixed bug when using RTR Messages- Version 2.15 (11.03.2004)

Download 2.15 rpm - Download 2.15 gz


Version 3.5 to 3.13

- Update: Linux 2.6 Kernel support - Version 3.5 (18.05.2004)

Download 3.5 rpm - Download 3.5 gz

- Update: fixed "Bad: Scheduling while atomic!" error -add English Documentation to package - Version 3.6 (27.07.2004)

Download 3.6 rpm - Download 3.6 gz

- Update: correction for RPM make procedure -Version 3.9 (15.09.2004)
fixed Bug for USB while have very high bus load - fixed Bug in "Extended Status" function support Makefile for 2.6.0 <= Kernel Version < 2.6.5

Download 3.9 rpm - Download 3.9 gz

- Update: Kernel-Version 2.6.9 - Parameter 'timeout' missed in 'struct urb' Version 3.10 (29.10.2004)

Download 3.10 gz

- Update: Now conform to kernel 2.6.9 (missing timeout using USB),
workaround for pcan_hw_getSNR() using PCAN-USB - Version 3.12 (06.12.2004)

Download 3.12 rpm - Download 3.12 gz

- Update: Fix Bug while reading PCAN-USB Serial number (OEM)- Version 3.13 (10.12.2004)

Download 3.13 rpm - Download 3.13 gz

- Update: increased write buffer for hardware revision >= 7 (PCAN-USB)
bug removed when CAN_ERR_QXMTFULL was raised even when no queue was filled (PCAN-USB)- Version 3.17 (14.02.2005)

Download 3.17 rpm - Download 3.17 gz


Version 3.21

- Update: - added option to selective compile for PCAN-PCI, PCAN-ISA, PCAN-Dongle or PCAN-USB - Version 3.21 (20.07.2005)
Prepared for kernels greater and equal than 2.6.12
Addes pci_enable_driver() for kernels greater and equal 2.6.10. Removed concurrency between read_proc_mem() and USB read/write.

Download 3.21 rpm - Download 3.21 gz

Version 3.25

- Update: - Replaced GFP_KERNEL with GFP_ATOMIC inside some blocking situations
Better support for X86_64 Bit Systems
work now with Kernel 2.6.15

Download 3.25 rpm - Download 3.25 gz

Version 3.28

- Update:
Driver work now with YellowDog-Linux (PowerPC)
Remove some warnings while compiling with Kernel-Version 2.4.21 (SuSE-9.0)
latencie time were reduced
fixed bug in error handling
changed from CVS to Subversion

Download 3.28 rpm - Download 3.28 gz


Version 4.3

- Update:
Add PCAN-PC Card (PCMCIA)
fixed ISA/PC104 shared interrupt problem
added LINUX_CAN_Write_Timeout()
preparation for kernel 2.6.17
Adding support for realtime sharing interrupts tested on Dual Channel PCI card
moved usage of module_param_array() to kernels greater than 2.6.13
removed module_param_array() usage problems for kernel 2.6.8-24-smp

Download 4.3 rpm - Download 4.3 gz


Version 5.0

From now on, the complete driver will be distributed under the GPL. The 'obfuscated' code for the USB Interface is removed.
The Xenomai RealTime Core was inegrated to the driver. (at the moment the PCAN-USB and the PCAN-PCC did not support this feature)
A new initialisation parameter was added: "bitrate". from now on it is possible to set the default bitrate of the hardware
Some smaller BugFixes

Download 5.0 rpm - Download 5.0 tar

Version 5.3

- Update:
From now on, the driver support Kernel Kernel 2.6.18.5
some smaller BugFixes

Download 5.3 tar

Download Installation Info for Version 5.x (PDF)

Version 5.12

- Update:
From now on, the driver support Kernel 2.6.19

- BugFixes:
solved problems in PC CARD driver (2 channel mode, LED state etc.)
some compiler problems with different Linux versions solved (2.4 and PCAN PC CARD)


Download 5.12 tar

Download Installation Info for Version 5.x (PDF)


Version 6.0

- Update:
Since V6.x the PCAN-Linux driver support the Socket-CAN Interface - look at BerliOS Socket CAN for more information.
Add Filters for character device driver.
Improved and more compatible to MS-Windows PCAN-Light API error handling.
Timestamps with resolution down to microseconds.
Totally revised manual

Download 6.0 tar.gz - Download 6.0 rpm

Download Installation Info for Version 6.x (PDF)

Version 6.2

- Update:
Fixed a bug which raised overrun messages without overruns
Compiles now with kernel 2.6.21
Added a USB startup delay to compensate long PCAN-USB startup
PCAN-PCCARD: removed all mutexes inside soft-Irq context
Reworked parts of atomic_** usage
PCAN-ISA: mistakable info message changed
Improved stability of XENOMAI integration

Download 6.2 tar.gz - Download 6.2 rpm

Download Installation Info for Version 6.x (PDF)

Version 6.4

- Update:
Support for 4 channel CAN PCI Interface (OEM boards) added
Improved resource locking for PCAN-Dongle
Improved resource locking for read and write queues (non-RT)

Download 6.4 tar.gz - Download 6.4 rpm

Download Installation Info for Version 6.x (PDF)

Version 6.5

- Update:
Support up to Kernel 2.6.23
Add new features in Error Handling
Change type of timestamp to support new Kernel functions
Splitting of Realtime and non Realtime Code

Download 6.5 tar.gz - Download 6.5 rpm

Download Installation Info for Version 6.x (PDF)

^ back to the top ^


Customer Projects

If you have developed some software please send the projects to us and we will put it on our PCAN-Linux page.

PCAN-Linux Customer Projects

CAN WEB Interface

The first customer project is a CAN WEB Interface from Markus Germann. Markus implement a complete WEB Interface for sending and receiveing CAN messages over the Internet. It works with USB, Dongle and PCI PEAK CAN Interface using Suse 8.1 and a Apache WEB Server. The project aslo support High Layer WAGO I/O communication.

  • Download the CAN WEB Interface (Documentation update 07.08.03):

    Thanks Markus for the great job !!

The PEAK-Linux Team

^ back to the top ^

Free CANOpen implementation

CANOpen Master and Slave for the PCAN -Linux driver

Interested in CANOpen for LINUX ? We support the CANFestival Project: http://canfestival.sf.net
CanFestival is an OpenSource (LGPL) CANOpen framework.

^ back to the top ^


Tips

- Kylix and Suse 9.1

Login as root, open the file "startdelphi" in the user directory (/home/xxx) with a editor (vi, or whatever..)
you will see:

#!/bin/bash

#Begin String Table

export LD_ASSUME_KERNEL=2.4.21 <-- add this

!!that´s it..now the problem is fixed

maybe you have more more problem with the german signs:

change

KYDEF_LOCALE="de_DE"

to

KYDEF_LOCALE="de_DE.UTF-8"

now Kylix will run with SUSE 9.1

thanks to www.delphipraxis.net - Master_BB -

^ back to the top ^


 

PCAN is a registered Trademark of PEAK-System Technik Germany. - do not use the Trademark without a approval of PEAK-System Technik Germany.