doc/manual/en/html/node37.html
changeset 249 d328d0d9b88e
parent 248 7fedc55c14d5
child 250 39e22f84ce6e
equal deleted inserted replaced
248:7fedc55c14d5 249:d328d0d9b88e
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
       
     2 
       
     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 -->
       
     8 <HTML>
       
     9 <HEAD>
       
    10 <TITLE>Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter</TITLE>
       
    11 <META NAME="description" CONTENT="Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter">
       
    12 <META NAME="keywords" CONTENT="manual">
       
    13 <META NAME="resource-type" CONTENT="document">
       
    14 <META NAME="distribution" CONTENT="global">
       
    15 
       
    16 <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
       
    17 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
       
    18 
       
    19 <LINK REL="STYLESHEET" HREF="manual.css">
       
    20 
       
    21 <LINK REL="previous" HREF="node36.html">
       
    22 <LINK REL="up" HREF="node35.html">
       
    23 <LINK REL="next" HREF="node38.html">
       
    24 </HEAD>
       
    25 
       
    26 <BODY >
       
    27 
       
    28 <DIV CLASS="navigation"><!--Navigation Panel-->
       
    29 <A NAME="tex2html626"
       
    30   HREF="node38.html">
       
    31 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
       
    32  SRC="/usr/share/latex2html/icons/next.png"></A> 
       
    33 <A NAME="tex2html622"
       
    34   HREF="node35.html">
       
    35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
       
    36  SRC="/usr/share/latex2html/icons/up.png"></A> 
       
    37 <A NAME="tex2html618"
       
    38   HREF="node36.html">
       
    39 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
       
    40  SRC="/usr/share/latex2html/icons/prev.png"></A> 
       
    41 <A NAME="tex2html624"
       
    42   HREF="node1.html">
       
    43 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
       
    44  SRC="/usr/share/latex2html/icons/contents.png"></A>  
       
    45 <BR>
       
    46 <B> Next:</B> <A NAME="tex2html627"
       
    47   HREF="node38.html">Visual Studio C++</A>
       
    48 <B> Up:</B> <A NAME="tex2html623"
       
    49   HREF="node35.html">Cygwin configuration and compilation</A>
       
    50 <B> Previous:</B> <A NAME="tex2html619"
       
    51   HREF="node36.html">A single node with</A>
       
    52  &nbsp; <B>  <A NAME="tex2html625"
       
    53   HREF="node1.html">Contents</A></B> 
       
    54 <BR>
       
    55 <BR></DIV>
       
    56 <!--End of Navigation Panel-->
       
    57 
       
    58 <H4><A NAME="SECTION00072220000000000000">
       
    59 Two nodes with PcanLight and Peak dual PCMCIA-CAN adapter</A>
       
    60 </H4>
       
    61 Download the PCAN-Light Zip file for your HW ( URL from download page
       
    62 ): 
       
    63 
       
    64 <P>
       
    65 <TT>wget http://www.peak-system.com/files/pccard.zip</TT>
       
    66 
       
    67 <P>
       
    68 Extract its content into your cygwin home (it will create a ``Disk''
       
    69 directory):
       
    70 
       
    71 <P>
       
    72 <TT>unzip pccard.zip</TT>
       
    73 
       
    74 <P>
       
    75 The configure CanFestival3 providing path to the desired PcanLight
       
    76 implementation:
       
    77 
       
    78 <P>
       
    79 <TT>export PCAN_INCLUDE=~/Disk/PCAN-Light/Api/
       
    80 <BR>
       
    81 export PCAN_HEADER=Pcan_pcc.h
       
    82 <BR>
       
    83 export PCAN_LIB=~/Disk/PCAN-Light/Lib/Visual&#92;
       
    84 C++/Pcan_pcc.lib
       
    85 <BR>
       
    86 export PCAN2_HEADER=Pcan_2pcc.
       
    87 <BR>
       
    88 export PCAN2_LIB=~/Disk/PCAN-Light/Lib/Visual&#92;
       
    89 C++/Pcan_2pcc.lib</TT>
       
    90 
       
    91 <P>
       
    92 In order to test, just connect together both CAN ports of the PCMCIA
       
    93 card. Dont forget 120ohms terminator.
       
    94 
       
    95 <P>
       
    96 <TT>cp ~/Disk/PCAN-Light/Pcan_pcc.dll .</TT>
       
    97 
       
    98 <P>
       
    99 <TT>cp ~/Disk/PCAN-Light/Pcan_2pcc.dll .</TT>
       
   100 
       
   101 <P>
       
   102 <TT>./examples/TestMasterSlave/TestMasterSlave &#92;</TT>
       
   103 
       
   104 <P>
       
   105 <TT>  -l drivers/can_peak_win32/cygcan_peak_win32.dll</TT>
       
   106 
       
   107 <P>
       
   108 Messages are then exchanged between master and slave node, both inside
       
   109 TestMasterSlaves process.
       
   110 
       
   111 <P>
       
   112 <BR><HR>
       
   113 <ADDRESS>
       
   114 epimerde
       
   115 2007-06-08
       
   116 </ADDRESS>
       
   117 </BODY>
       
   118 </HTML>