====== CAN/PCI-200 ====== The CAN/PCI-200 is a passive PCI CAN Controller made by ESD Electronic (esd electronic system design gmbh). This driver is currently only available as a patch against lincan 0.3.3. Lincan is part of the OCERA Project (Open Components for Embedded Real-time Applications). It can be built without the other OCERA components. The lincan drivers can be used under RT-Linux and plain Linux. ===== Patches: ===== * esdpci200 Patch Version 0.0.6 (for lincan CVS of 20070814): {{lincan-cvs20070814_esdpci200_0.0.6.patch.txt|}} * esdpci200 Patch Version 0.0.6 (for lincan 0.3.3): {{lincan033_esdpci200_0.0.6.patch.txt|}} * Minor changes, removed debugging printk's * esdpci200 Patch Version 0.0.5 (for lincan 0.3.3): {{lincan033_esdpci200_0.0.5.patch.txt|}} * Interrupt handling improved. Supports both channels now. * esdpci200 Patch Version 0.0.4 (for lincan 0.3.3): {{:lincan033_esdpci200_0.0.4.patch.txt|:lincan033_esdpci200_0.0.4.patch.txt}} * released 20070606 * this patch adds interrupt support, so the driver can now not only send, but also receive. * //esdpci200 Patch Version 0.0.3 does not exist.// * esdpci200 Patch Version 0.0.2 (for lincan 0.3.3): {{:lincan033_esdpci200_0.0.2.patch.txt|:lincan033_esdpci200_0.0.2.patch.txt}} === Building it: === //(plain Linux, without the rest of the OCERA stuff)//: tar -xzf lincan-0.3.3.tar.gz cd lincan-0.3.3 patch -p1 < ../lincan033_esdpci200_0.0.4.patch.txt sh ./switch-omk2std make SUPPORTED_CARDS="esdpci200 virtual" mknod -m666 /dev/can0 c 91 0 mknod -m666 /dev/can1 c 91 1 === Running/Testing: === insmod ./can.o hw=esdpci200 io=0 irq= baudrate=10 cd utils ./rxtx # and answer the questions **Notes:** * the baudrate module option specifies the baudrate in kHz (kBaud). Common rates are 10kBaud to 1MBaud: * 10kBaud * 20kBaud * 40kBaud * 50kBaud * 80kBaud * 100kBaud * 125kBaud * 200kBaud * 250kBaud * 400kBaud * 500kBaud * 666kBaud * 800kBaud * 1MBaud * Don't forget to have the CAN bus terminated at both ends of the cable (usually 120 Ohms) between CAN_H and CAN_L. * the CAN/PCI-200 has provisions to add a termination resistor to the board (not factory installed by default) ===== Links: ===== * ESD: http://esd-electronics.com/ * CAN/PCI-200 page: http://www.esd-electronics.com/german/products/CAN/can-pci-200_e.htm * lincan, part of the OCERA project: http://www.ocera.org/download/components/WP7/lincan-0.3.3.html * Freshmeat: http://freshmeat.net/projects/lincan/ * Sourceforge: http://sourceforge.net/project/showfiles.php?group_id=51629&package_id=108731