diff -r 2cb34a4ac65a -r 6b5a4c21e061 doc/manual/en/html/node36.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/manual/en/html/node36.html Tue Jun 05 18:43:21 2007 +0200 @@ -0,0 +1,131 @@ + + + + + +A single node with PcanLight and Peak CAN-USB adapter + + + + + + + + + + + + + + + + + + + + + +

+A single node with PcanLight and Peak CAN-USB adapter +

+Download the PCAN-Light Zip file for your HW ( URL from download page +): + +

+wget http://www.peak-system.com/files/usb.zip + +

+Extract its content into your cygwin home (it will create a ``Disk'' +directory): + +

+unzip usb.zip + +

+Configure CanFestival3 providing path to the desired PcanLight +implementation: + +

+cd CanFestival-3 + +

+export PCAN_INCLUDE=~/Disk/PCAN-Light/Api/ + +

+export PCAN_HEADER=Pcan_usb.h + +

+export PCAN_LIB=~/Disk/PCAN-Light/Lib/Visual\ +C++/Pcan_usb.lib + +

+./configure --can=peak_win32 + +

+make + +

+In order to test, you have to use another CanFestival node, connect with +a CAN cable. + +

+cp ~/Disk/PCAN-Light/Pcan_usb.dll . + +

+./examples/TestMasterSlave/TestMasterSlave \ + +

+ -l drivers/can_peak_win32/cygcan_peak_win32.dll +\ + +

+ -S 500K -M none + +

+Then, on the other node : + +

+./TestMasterSlave -l my_driver.so -S none -M 500K + +

+Now messages are beeing exchanged between master and slave node. + +

+


+
+epimerde +2007-06-05 +
+ +