nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210: nico@210:

nico@210: Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter nico@210:

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

nico@210: wget http://www.peak-system.com/files/pccard.zip nico@210: nico@210:

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

nico@210: unzip pccard.zip nico@210: nico@210:

nico@210: The configure CanFestival3 providing path to the desired PcanLight nico@210: implementation: nico@210: nico@210:

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

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

nico@210: cp ~/Disk/PCAN-Light/Pcan_pcc.dll . nico@210: nico@210:

nico@210: cp ~/Disk/PCAN-Light/Pcan_2pcc.dll . nico@210: nico@210:

nico@210: ./examples/TestMasterSlave/TestMasterSlave \ nico@210: nico@210:

nico@210: -l drivers/can_peak_win32/cygcan_peak_win32.dll nico@210: nico@210:

nico@210: Messages are then exchanged between master and slave node, both inside nico@210: TestMasterSlaves process. nico@210: nico@210:

nico@210:


nico@210:
nico@210: epimerde nico@211: 2007-06-06 nico@210:
nico@210: nico@210: