diff -r 2cb34a4ac65a -r 6b5a4c21e061 doc/manual/en/html/node37.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/manual/en/html/node37.html Tue Jun 05 18:43:21 2007 +0200 @@ -0,0 +1,118 @@ + + + + + +Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter + + + + + + + + + + + + + + + + + + + + +

+Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter +

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

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

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

+unzip pccard.zip + +

+The configure CanFestival3 providing path to the desired PcanLight +implementation: + +

+export PCAN_INCLUDE=~/Disk/PCAN-Light/Api/ +
+export PCAN_HEADER=Pcan_pcc.h +
+export PCAN_LIB=~/Disk/PCAN-Light/Lib/Visual\ +C++/Pcan_pcc.lib +
+export PCAN2_HEADER=Pcan_2pcc. +
+export PCAN2_LIB=~/Disk/PCAN-Light/Lib/Visual\ +C++/Pcan_2pcc.lib
+ +

+In order to test, just connect together both CAN ports of the PCMCIA +card. Dont forget 120ohms terminator. + +

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

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

+./examples/TestMasterSlave/TestMasterSlave \ + +

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

+Messages are then exchanged between master and slave node, both inside +TestMasterSlaves process. + +

+


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