1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 <!--Converted with LaTeX2HTML 2002-2-1 (1.71)
4 original version by: Nikos Drakos, CBLU, University of Leeds
5 * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6 * with significant contributions from:
7 Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10 <TITLE>A single node with PcanLight and Peak CAN-USB adapter</TITLE>
11 <META NAME="description" CONTENT="A single node with PcanLight and Peak CAN-USB adapter">
12 <META NAME="keywords" CONTENT="manual">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
16 <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
17 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19 <LINK REL="STYLESHEET" HREF="manual.css">
21 <LINK REL="next" HREF="node37.html">
22 <LINK REL="previous" HREF="node35.html">
23 <LINK REL="up" HREF="node35.html">
24 <LINK REL="next" HREF="node37.html">
29 <DIV CLASS="navigation"><!--Navigation Panel-->
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 SRC="/usr/share/latex2html/icons/next.png"></A>
36 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 SRC="/usr/share/latex2html/icons/up.png"></A>
40 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 SRC="/usr/share/latex2html/icons/prev.png"></A>
44 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 SRC="/usr/share/latex2html/icons/contents.png"></A>
47 <B> Next:</B> <A NAME="tex2html617"
48 HREF="node37.html">Two nodes with PcanLight</A>
49 <B> Up:</B> <A NAME="tex2html613"
50 HREF="node35.html">Cygwin configuration and compilation</A>
51 <B> Previous:</B> <A NAME="tex2html607"
52 HREF="node35.html">Cygwin configuration and compilation</A>
53 <B> <A NAME="tex2html615"
54 HREF="node1.html">Contents</A></B>
57 <!--End of Navigation Panel-->
59 <H4><A NAME="SECTION00072210000000000000">
60 A single node with PcanLight and Peak CAN-USB adapter</A>
62 Download the PCAN-Light Zip file for your HW ( URL from download page
66 <TT>wget http://www.peak-system.com/files/usb.zip</TT>
69 Extract its content into your cygwin home (it will create a ``Disk''
73 <TT>unzip usb.zip</TT>
76 Configure CanFestival3 providing path to the desired PcanLight
80 <TT>cd CanFestival-3</TT>
83 <TT>export PCAN_INCLUDE=~/Disk/PCAN-Light/Api/</TT>
86 <TT>export PCAN_HEADER=Pcan_usb.h</TT>
89 <TT>export PCAN_LIB=~/Disk/PCAN-Light/Lib/Visual\
93 <TT>./configure --can=peak_win32</TT>
99 In order to test, you have to use another CanFestival node, connect with
103 <TT>cp ~/Disk/PCAN-Light/Pcan_usb.dll .</TT>
106 <TT>./examples/TestMasterSlave/TestMasterSlave \</TT>
109 <TT> -l drivers/can_peak_win32/cygcan_peak_win32.dll
113 <TT> -S 500K -M none</TT>
116 Then, on the other node :
119 <TT>./TestMasterSlave -l my_driver.so -S none -M 500K</TT>
122 Now messages are beeing exchanged between master and slave node.