# HG changeset patch # User etisserant # Date 1186415767 -7200 # Node ID d328d0d9b88e32c75eac9071bad08a93e68151b3 # Parent 7fedc55c14d55d48d6622245acf6e365176dee64 Some cleanup in latex manual diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/Makefile --- a/doc/manual/Makefile Thu Aug 02 14:20:52 2007 +0200 +++ b/doc/manual/Makefile Mon Aug 06 17:56:07 2007 +0200 @@ -34,5 +34,5 @@ pdflatex manual.tex && \ pdflatex manual.tex && \ cp manual.pdf ../../../objdictgen/doc/manual_en.pdf && \ - latex2html -dir html manual.tex && \ + latex2html -split 0 -dir html manual.tex && \ xpdf manual.pdf diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/.cvsignore --- a/doc/manual/en/html/.cvsignore Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -*.pl -WARNINGS diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/100000000000006D000000A31EC8CB54.png Binary file doc/manual/en/html/100000000000006D000000A31EC8CB54.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000000000000AA0000006014F74635.png Binary file doc/manual/en/html/10000000000000AA0000006014F74635.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000000000000AB000000C88F594413.png Binary file doc/manual/en/html/10000000000000AB000000C88F594413.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000000000000AC000000C9C3F53FA6.png Binary file doc/manual/en/html/10000000000000AC000000C9C3F53FA6.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000000000000B6000000DF1EDD1E73.png Binary file doc/manual/en/html/10000000000000B6000000DF1EDD1E73.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/100000000000022C000000DEDAD2140C.png Binary file doc/manual/en/html/100000000000022C000000DEDAD2140C.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/1000000000000396000000FFC42573DA.png Binary file doc/manual/en/html/1000000000000396000000FFC42573DA.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000000B7000000C66AF89CD5.png Binary file doc/manual/en/html/10000201000000B7000000C66AF89CD5.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000001010000011DA724D25C.png Binary file doc/manual/en/html/10000201000001010000011DA724D25C.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/100002010000013A0000004A96B0C1FF.png Binary file doc/manual/en/html/100002010000013A0000004A96B0C1FF.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000001C4000000DD129D4661.png Binary file doc/manual/en/html/10000201000001C4000000DD129D4661.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000001C40000010766961D7F.png Binary file doc/manual/en/html/10000201000001C40000010766961D7F.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000001CB0000015F4FC09B68.png Binary file doc/manual/en/html/10000201000001CB0000015F4FC09B68.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000001FC000001E5D65E8766.png Binary file doc/manual/en/html/10000201000001FC000001E5D65E8766.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/1000020100000258000000832C6FFAB4.png Binary file doc/manual/en/html/1000020100000258000000832C6FFAB4.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000002DE000001D82D89C224.png Binary file doc/manual/en/html/10000201000002DE000001D82D89C224.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000002F30000020B23ED7F67.png Binary file doc/manual/en/html/10000201000002F30000020B23ED7F67.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000003440000025ACC3FD2F1.png Binary file doc/manual/en/html/10000201000003440000025ACC3FD2F1.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000003CA0000016604E6A5EF.png Binary file doc/manual/en/html/10000201000003CA0000016604E6A5EF.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000003E7000001C7B0296577.png Binary file doc/manual/en/html/10000201000003E7000001C7B0296577.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000003F9000002CF880931E7.png Binary file doc/manual/en/html/10000201000003F9000002CF880931E7.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/10000201000003F9000002CF8B0CDAEA.png Binary file doc/manual/en/html/10000201000003F9000002CF8B0CDAEA.png has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/index.html --- a/doc/manual/en/html/index.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,348 +0,0 @@ - - - - - -Documentation - - - - - - - - - - - - - - - - - -
- -
CanFestival3. Version 3.0 -
-The CANOpen stack manual -
-

- - -

-ContentsTable of contents -


- - - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/manual.css --- a/doc/manual/en/html/manual.css Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ -.MATH { font-family: "Century Schoolbook", serif; } -.MATH I { font-family: "Century Schoolbook", serif; font-style: italic } -.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } - -/* implement both fixed-size and relative sizes */ -SMALL.XTINY { font-size : xx-small } -SMALL.TINY { font-size : x-small } -SMALL.SCRIPTSIZE { font-size : smaller } -SMALL.FOOTNOTESIZE { font-size : small } -SMALL.SMALL { } -BIG.LARGE { } -BIG.XLARGE { font-size : large } -BIG.XXLARGE { font-size : x-large } -BIG.HUGE { font-size : larger } -BIG.XHUGE { font-size : xx-large } - -/* heading styles */ -H1 { } -H2 { } -H3 { } -H4 { } -H5 { } - -/* mathematics styles */ -DIV.displaymath { } /* math displays */ -TD.eqno { } /* equation-number cells */ - - -/* document-specific styles come next */ -DIV.navigation { } -SPAN.bfseries { } -DIV.center { } -SPAN.upshape { } -SPAN.mdseries { } -SPAN.alph { } -SPAN.arabic { } -SPAN.textbf { font-weight: bold } -SPAN.roman { } -#hue725 { color: #000000; } diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/manual.html --- a/doc/manual/en/html/manual.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,348 +0,0 @@ - - - - - -Documentation - - - - - - - - - - - - - - - - - -
- -
CanFestival3. Version 3.0 -
-The CANOpen stack manual -
-

- - -

-ContentsTable of contents -


- - - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node1.html --- a/doc/manual/en/html/node1.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,181 +0,0 @@ - - - - - -Contents - - - - - - - - - - - - - - - - - - - - -
- -

-Contents -

- - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node10.html --- a/doc/manual/en/html/node10.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ - - - - - -How to start - - - - - - - - - - - - - - - - - - - - - -

-How to start -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node100.html --- a/doc/manual/en/html/node100.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Elektronikladen HCS12 T-board - - - - - - - - - - - - - - - - - - - - - -

-Elektronikladen HCS12 T-board -

-http://www.elektronikladen.de/en_hcs12tb.htmlhttp://www.elektronikladen.de/en_hcs12tb.html - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node101.html --- a/doc/manual/en/html/node101.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Gnu gcc compiler for HC12 - - - - - - - - - - - - - - - - - - - - - -

-Gnu gcc compiler for HC12 -

-http://m68hc11.serveftp.org/m68hc11_port.phphttp://m68hc11.serveftp.org/m68hc11_port.php - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node102.html --- a/doc/manual/en/html/node102.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Motorola documentation on HC12 - - - - - - - - - - - - - - - - - - - - - -

-Motorola documentation on HC12 -

-http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP256http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP256 - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node103.html --- a/doc/manual/en/html/node103.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Lauterbach debugger for HC12 - - - - - - - - - - - - - - - - - - - - - -

-Lauterbach debugger for HC12 -

-http://www.lauterbach.com/http://www.lauterbach.com - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node104.html --- a/doc/manual/en/html/node104.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ - - - - - -Python language - - - - - - - - - - - - - - - - - - - - -

-Python language -

-http://www.python.org/http://www.python.org - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node105.html --- a/doc/manual/en/html/node105.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ - - - - - -About the project - - - - - - - - - - - - - - - - - - - - - -

-About the project -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node106.html --- a/doc/manual/en/html/node106.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,162 +0,0 @@ - - - - - -Contributors - - - - - - - - - - - - - - - - - - - - - -

-Contributors -

-
-Image 1000020100000258000000832C6FFAB4 - -
- -

-Unité mixte de recherche INRETS-LCPC - -

-sur les Interractions Véhicule-Infrastructure-Conducteur - -

-14, route de la minière - -

-78000 Versailles - -

-FRANCE - -

-Tel : +33 1 40 43 29 01 - -

-http://www.inrets.fr/ur/livichttp://www.inrets.fr/ur/livic - -

-Contributors : Francis DUPIN - -

-Camille BOSSARD - -

-Laurent ROMIEUX - -

- -

-
- -

-

-Image 100002010000013A0000004A96B0C1FF - -
- -

-LOLITECH - -

-204, rue du Haut du Pin - -

-88470 Saint-Michel sur Meurthe - -

-FRANCE - -

-Tel : +33 3 29 52 95 67 - -

-http://www.lolitech.fr/http://www.lolitech.fr - -

-Contributors : Edouard TISSERANT (Original author) - -

-Laurent BESSARD - -

- -

-
- -

-Many thanks to the other contributors for their great work: - -

-Raphael ZULLIGER - -

-David DUMINY (sté A6R) - -

-Zakaria BELAMRI - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node107.html --- a/doc/manual/en/html/node107.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - - - - - -Getting support - - - - - - - - - - - - - - - - - - - - - -

-Getting support -

-Send your feedback and bug reports to -mailto:canfestival-devel@lists.sourceforge.netcanfestival-devel@lists.sourceforge.net. - -

-For commercial support, and specific integration and -developments, please ask LOLITECH (see contributors). - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node108.html --- a/doc/manual/en/html/node108.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ - - - - - -Contributing - - - - - - - - - - - - - - - - - - - - - -

-Contributing -

-You are free to contribute your specific interfaces back to the project. -This way, you can hope to get support from CanFestival users community. - -

-Please send your patch to -mailto:canfestival-devel@lists.sourceforge.netcanfestival-devel@lists.sourceforge.net. - -

-Feel free to create some new predefined DS-4xx profiles (*.prf) in -objdictgen/config, as much as possible respectful to the official -specifications. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node109.html --- a/doc/manual/en/html/node109.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,132 +0,0 @@ - - - - - -License - - - - - - - - - - - - - - - - - - - - -

-License -

-All the project is licensed with LGPL. This mean you can link -CanFestival with any code without being obliged to publish it. - -

-#This file is part of CanFestival, a library implementing CanOpen -Stack.
-#
-#Copyright (C): Edouard TISSERANT, Francis DUPIN and Laurent BESSARD -
-#
-#See COPYING file for copyrights details.
-#
-#This library is free software; you can redistribute it and/or
-#modify it under the terms of the GNU Lesser General Public
-#License as published by the Free Software Foundation; either
-#version 2.1 of the License, or (at your option) any later version. -
-#
-#This library is distributed in the hope that it will be useful, -
-#but WITHOUT ANY WARRANTY; without even the implied warranty of -
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. the GNU -
-#Lesser General Public License for more details.
-#
-#You should have received a copy of the GNU Lesser General Public -
-#License along with this library; if not, write to the Free Software -
-#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -2111-1307
- -

- -

-
- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node11.html --- a/doc/manual/en/html/node11.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -Host requirements - - - - - - - - - - - - - - - - - - - - - -

-Host requirements -

-What you need on your development workstation. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node110.html --- a/doc/manual/en/html/node110.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - - - -About this document ... - - - - - - - - - - - - - - - - - - - -

-About this document ... -

- Documentation

-This document was generated using the -LaTeX2HTML translator Version 2002-2-1 (1.71) -

-Copyright © 1993, 1994, 1995, 1996, -Nikos Drakos, -Computer Based Learning Unit, University of Leeds. -
-Copyright © 1997, 1998, 1999, -Ross Moore, -Mathematics Department, Macquarie University, Sydney. -

-The command line arguments were:
- latex2html -dir html manual.tex -

-The translation was initiated by epimerde on 2007-06-08 -


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node12.html --- a/doc/manual/en/html/node12.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ - - - - - -Object Dictionary Editor GUI - - - - - - - - - - - - - - - - - - - - - -

-Object Dictionary Editor GUI -

- -
    -
  1. Python, with -
  2. -
  3. wxPyhon modules installed (at least version 2.6.3). -
  4. -
  5. Gnosis xml tools. (Optional can also be installed locally to the -project automatically will the help of a Makefile. Please see -a91UsingDictionaryEditorGUIoutline9.1) Using Dictionary -Editor GUI ) -
  6. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node13.html --- a/doc/manual/en/html/node13.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -and Unix-likes - - - - - - - - - - - - - - - - - - - - - -

-and Unix-likes -

- -
    -
  1. Linux, FreeBSD, Cygwin or any Unix environment with GNU toolchain. -
  2. -
  3. The GNU C compiler (gcc) or any other ANSI-C compiler for your -target platform. -
  4. -
  5. Xpdf, and the official 301_v04000201.pdf file in order to get GUI -context sensitive help. Download the ds301 at -http://www.can-cia.org/downloads/ciaspecifications/?1390http://www.can-cia.org/downloads/ciaspecifications/?1390. -
  6. -
  7. GNU Make -
  8. -
  9. Bash and sed -
  10. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node14.html --- a/doc/manual/en/html/node14.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - - - - - -Windows (for native win32 target) - - - - - - - - - - - - - - - - - - - - -

-Windows (for native win32 target) -

- -
    -
  1. Visual Studio Express 2005 or worst. -
  2. -
  3. Microsoft platform SDK (requires Genuine Advantage) -
  4. -
  5. Cygwin (for configuration only) -
  6. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node15.html --- a/doc/manual/en/html/node15.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - - -How to get CanFestival - - - - - - - - - - - - - - - - - - - - -

-How to get CanFestival -

-Please always use CVS, this is the best way to get the most reactive -support from the developer community : - -

-cvs -d:pserver:anonymous@lolitech.dyndns.org:/canfestival -login -
-(type return, without entering a password) - -

-Then, enter :
-cvs -z3 -d:pserver:anonymous@lolitech.dyndns.org:/canfestival co --P CanFestival-3 - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node16.html --- a/doc/manual/en/html/node16.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ - - - - - -Understanding Canfestival - - - - - - - - - - - - - - - - - - - - - -

-Understanding Canfestival -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node17.html --- a/doc/manual/en/html/node17.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,135 +0,0 @@ - - - - - -CanFestival Project tree layout - - - - - - - - - - - - - - - - - - - - - -

-CanFestival Project tree layout -

-Simplified directory structure. - -

-./src ANSI-C source of CANOpen stack - -

-include Exportables Header files - -

-./drivers Interfaces to specific platforms/HW - -

-./drivers/unix Linux and Cygwin OS interface - -

-./drivers/win32 Native Win32 OS interface - -

-./drivers/timers_xeno Xenomai timers/threads (Linux only) - -

-./drivers/timers_unix Posix timers/threads (Linux, Cygwin) - -

-./drivers/can_peak_linux PeakSystem CAN library interface - -

-./drivers/can_peak_win32 PeakSystem PCAN-Light interface - -

-./drivers/can_uvccm_win32 Acacetuss RS232 -``CAN-uVCCM'' interface - -

-./drivers/can_virtual Fake CAN network (Linux, Cygwin) - -

-./drivers/hcs12 HCS12 full target interface - -

-./examples Examples - -

-./examples/TestMasterSlave 2 nodes, NMT SYNC SDO PDO, win32+unix - -

-./examples/TestMasterMicroMod 1 node, control Peak I/O Module, unix - -

-./examples/gene_SYNC_HCS12 Just send periodic SYNC on HCS12 - -

-./examples/win32test Ask some DS301 infos to a node (win32) - -

-./objdictgen Object Dictionary editor GUI - -

-./objdictgen/config Pre-defined OD profiles - -

-./objdictgen/examples Some examples/test OD - -

-./doc Project and CanOpen doc - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node18.html --- a/doc/manual/en/html/node18.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -Implement CanFestival in your application - - - - - - - - - - - - - - - - - - - - - -

-Implement CanFestival in your application -

- -

-

-Image 10000201000003F9000002CF880931E7 - -
- -

- -

-
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node19.html --- a/doc/manual/en/html/node19.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,101 +0,0 @@ - - - - - -CanFestival CAN interfaces - - - - - - - - - - - - - - - - - - - - - -

-CanFestival CAN interfaces -

-Because most CAN controllers and drivers implement FIFOs, CanFestival -consider sending message as a non bloking operation. - -

-In order to prevent reentrent calls to the stack, messages reception is -implemented differently on µC and OS.: - -

- -

    -
  1. µC must provide interuption masking for timer and can -receive IT -
    -
    -Image 10000201000003CA0000016604E6A5EF - -
    -
  2. -
  3. OS must provide a receive thread, a timer thread and a mutex. CAN -reception is a bloking operation. -
    -
    -Image 10000201000003F9000002CF8B0CDAEA - -
    -
  4. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node2.html --- a/doc/manual/en/html/node2.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ - - - - - -Introduction - - - - - - - - - - - - - - - - - - - - - -

-Introduction -

-This document describe the CANOpen layer.CanFestival is an OpenSource -(LGPL) CANOpen framework. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node20.html --- a/doc/manual/en/html/node20.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ - - - - - -CanFestival events scheduling - - - - - - - - - - - - - - - - - - - - -

-CanFestival events scheduling -

-A CanOpen node must be able to take delayed actions. - -

-As exemples, periodic sync emission, heartbeat production or SDO timeout -need to set some alarms that will be called later and do the job. - -

-µC generaly do not have enough free timers to handle all the -CanOpen needs directly. Moreover, CanFestival internal data may be -corrupt by reentrant calls. - -

-CanFestival implement a micro-scheduler (timer.c). It uses only one -timer to mimic many timers. It manage an alarm table, and call alarms -at desired time. - -

-

-Image 100000000000022C000000DEDAD2140C - -
- -

-Scheduler can handle short clock value ranges limitation found on some -µC. As an example, value range for a 16bit clock counter with -4µs tick is crossed within 0.26 seconds... Long alarms must be -segmented. - -

-Chronogram illustrate a long alarm (A) and a short periodic alarm (B), -with a A value > clock range > B value. -Values t0...t8 are successive setTimer call parameter values. t1 -illustrates an intermediate call to TimeDispatch, caused by a delay -longer than clock range. Because of long alarm segmentation, at the end -of t1, TimeDispatch call will not trig any alarm callback. - -

-

-Image 1000000000000396000000FFC42573DA - -
- -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node21.html --- a/doc/manual/en/html/node21.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,101 +0,0 @@ - - - - - -Linux Target - - - - - - - - - - - - - - - - - - - - - -

-Linux Target -

-Linux target is default configure target. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node22.html --- a/doc/manual/en/html/node22.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,106 +0,0 @@ - - - - - -Linux Compilation and installation - - - - - - - - - - - - - - - - - - - - - -

-Linux Compilation and installation -

-Call ./configure -help to see all available compile time options. - -

-After invoking ./configure with your platform specific switches, just -type make. - -

-./configure [options] - -

-make - -

-make install - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node23.html --- a/doc/manual/en/html/node23.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - - - -Standard Linux node - - - - - - - - - - - - - - - - - - - - - -

-Standard Linux node -

-Configure switch: - -

- -timers=unix - -

-To do a CANopen node running on PC-Linux, you need : - -

- -

    -
  1. A working linux distribution -
  2. -
  3. One or more Peak system PC CAN interface and the last Peak Linux -driver installed. -
  4. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node24.html --- a/doc/manual/en/html/node24.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - - - -Real-Time Linux node - - - - - - - - - - - - - - - - - - - - - -

-Real-Time Linux node -

-Configure switch: - -

- -timers=xeno - -

-To do a CANopen node running on PC-Linux, you need : - -

- -

    -
  1. A working Linux distribution patched with XENOMAI 2.1 or greater. -
  2. -
  3. One or more Peak system PC CAN interface and the last Peak Real -Time Linux driver installed. -
  4. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node25.html --- a/doc/manual/en/html/node25.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - - - -CAN devices - - - - - - - - - - - - - - - - - - - - -

-CAN devices -

-Curently supported CAN devices and corresponding configure switch: - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node26.html --- a/doc/manual/en/html/node26.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,83 +0,0 @@ - - - - - -Peak systems - - - - - - - - - - - - - - - - - - - - - -

-Peak systems -

-Configure switch: - -

--can=peak_linux - -

-PeakSystems CAN interface is automatically chosen as default CAN -interface if libpcan is present in the system. - -

-Please download driver at -http://www.peak-system.com/linuxhttp://www.peak-system.com/linux -and follow instructions in order to install driver on your system. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node27.html --- a/doc/manual/en/html/node27.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -Socket-Can (http://socketcan.berlios.de) - - - - - - - - - - - - - - - - - - - - - -

-Socket-Can (http://socketcan.berlios.de) -

-Configure switch: - -

--can=socket - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node28.html --- a/doc/manual/en/html/node28.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -LinCan - - - - - - - - - - - - - - - - - - - - - -

-LinCan -

-Configure switch: - -

--can=lincan - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node29.html --- a/doc/manual/en/html/node29.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Virtual CAN interfaces (for test/debug) - - - - - - - - - - - - - - - - - - - - -

-Virtual CAN interfaces (for test/debug) -

-Configure switch: - -

--can=virtual - -

-Virtual CAN interface use Unix pipes to emulate a virtual CAN network. -Each message issued from a node is repeat to all other nodes. Currently -only works with nodes running in the same process, and does not support -work with Xenomai. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node3.html --- a/doc/manual/en/html/node3.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ - - - - - -The CanFestival project - - - - - - - - - - - - - - - - - - - - - -

-The CanFestival project -

-This project, initiated by Edouard TISSERANT in 2001, as grown thanks to -Francis DUPIN and other contributors. - -

-Today, CanFestival focuses on providing an ANSI-C platform independent -CANOpen stack that can be implemented as master or slave nodes on PCs, -Real-time IPCs, and Microcontrollers. - -

-CanFestival is a project supported by Lolitech. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node30.html --- a/doc/manual/en/html/node30.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,87 +0,0 @@ - - - - - -Testing your CanFestival installation - - - - - - - - - - - - - - - - - - - - -

-Testing your CanFestival installation -

-Sample provided in /example/TestMasterSlave is installed into your -system during installation. - -

-TestMasterSlave - -

-Default can driver library is libcanfestival_can_virtual.so., which -will simply pass CAN messages through Unix pipes between Master and -Slave. - -

-You may also want to specify different can interface and define some CAN -ports. An other example using Peaks dual PCMCIA -(configure and install with -can=peak) : - -

-TestMasterSlave -l libcanfestival_can_peak.so -s 40 -m 41 - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node31.html --- a/doc/manual/en/html/node31.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,111 +0,0 @@ - - - - - -Windows Targets - - - - - - - - - - - - - - - - - - - - - -

-Windows Targets -

-CanFestival can be compiled and run on Windows platform. It is possible -to use both Cygwin and win32 native runtime environment. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node32.html --- a/doc/manual/en/html/node32.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - -Object Dictionary Editor GUI installation. - - - - - - - - - - - - - - - - - - - - - -

-Object Dictionary Editor GUI installation. -

-Please refer to -a821UsingDictionaryEditorGUIoutline8.2.1)Using Dictionary -Editor GUI - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node33.html --- a/doc/manual/en/html/node33.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -CYGWIN - - - - - - - - - - - - - - - - - - - - - -

-CYGWIN -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node34.html --- a/doc/manual/en/html/node34.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ - - - - - -Requirements - - - - - - - - - - - - - - - - - - - - - -

-Requirements -

-Cygwin have to be installed with those packages : - -

- -

    -
  1. gcc -
  2. -
  3. unzip -
  4. -
  5. wget -
  6. -
  7. make -
  8. -
-Currently, the only supported CAN devices are PeakSystems ones, with -PcanLight driver and library. - -

-Please download driver at -http://www.peak-system.com/themen/download_gb.htmlhttp://www.peak-system.com/themen/download_gb.html - - follow instructions in order to install driver on your system. - -

-Install Cygwin as required, and the driver for your Peak CAN device. - -

-Open a Cygwin terminal, and follow those instructions: - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node35.html --- a/doc/manual/en/html/node35.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - - - -Cygwin configuration and compilation - - - - - - - - - - - - - - - - - - - - -

-Cygwin configuration and compilation -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node36.html --- a/doc/manual/en/html/node36.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,131 +0,0 @@ - - - - - -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-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node37.html --- a/doc/manual/en/html/node37.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,118 +0,0 @@ - - - - - -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-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node38.html --- a/doc/manual/en/html/node38.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,87 +0,0 @@ - - - - - -Visual Studio C++ - - - - - - - - - - - - - - - - - - - - -

-Visual Studio C++ -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node39.html --- a/doc/manual/en/html/node39.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - - - -Requirements - - - - - - - - - - - - - - - - - - - - - -

-Requirements -

-Minimal Cygwin installation is required at configuration time in order -to create specific header files (config.h and cancfg.h). Once this -files created, cygwin is not necessary any more. - -

-Project and solution files have been created and tested with Visual -Studio Express 2005. Be sure to have installed Microsoft Platform SDK, -as recommended at the end of Visual Studio installation. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node4.html --- a/doc/manual/en/html/node4.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ - - - - - -What is CANopen - - - - - - - - - - - - - - - - - - - - -

-What is CANopen -

-CANopen is a CAN based high level protocol. It defines some protocols to -: - -

- -

    -
  1. Configure a CAN network. -
  2. -
  3. Transmit data to a specific node or in broadcast. -
  4. -
  5. Administrate the network. For example detecting a not responding -node. -
  6. -
-The documentation can be found in the Can in automation website : - -

-http://www.can-cia.de/canopenhttp://www.can-cia.de/canopen - -

-The most important document about CANopen is the normative CiA Draft -Standard 301, version 4.02. You can now download with no cost the -specification in Can in automation website. - -

-To continue reading this document, let us assume that you have read some -papers introducing CANopen. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node40.html --- a/doc/manual/en/html/node40.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ - - - - - -Configuration with cygwin - - - - - - - - - - - - - - - - - - - - - -

-Configuration with cygwin -

-Follow instructions given at -a422Cygwinconfigurationandcompilationoutline4.2.2)Cygwin -configuration and compilation, but do neither call make nor do tests, -just do configuration steps. This will create headers files accordingly -to your configuration parameters, and the desired CAN hardware. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node41.html --- a/doc/manual/en/html/node41.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - - - -Compilation with Visual Studio - - - - - - - - - - - - - - - - - - - - - -

-Compilation with Visual Studio -

-You can either load independents ``*.vcproj'' project files along your -own projects in your own solution or load the provided -``CanFestival-3.vc8.sln'' solution files directly. - -

-Build CanFestival-3 project first. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node42.html --- a/doc/manual/en/html/node42.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - -PcanLight and the can_peak_win32 project. - - - - - - - - - - - - - - - - - - - - -

-PcanLight and the can_peak_win32 project. -

-Chosen Pcan_xxx.lib and eventually Pcan_2xxx.lib files must be added -to can_peak_win32 -
-project before build of the DLL. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node43.html --- a/doc/manual/en/html/node43.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -Testing - - - - - - - - - - - - - - - - - - - - -

-Testing -

-Copy eventually needed dlls (ie : Pcan_Nxxx.lib) into Release or Debug -directory, and run the test program: - -

-TestMasterSlave.exe -l can_peak_win32.dll - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node44.html --- a/doc/manual/en/html/node44.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,132 +0,0 @@ - - - - - -Motorola HCS12 - - - - - - - - - - - - - - - - - - - - - -

-Motorola HCS12 -

-The examples have been tested on a MC9S12DG255 mounted on a -Elektronikladen HCS12 T-board. - -

-Beware that there are a few differences in the MSCAN module of the -68HC12 and HCS12 microcontroller. For a HC12, you must adapt the driver -that we provide for HCS12. - -

-For the difference MSCAN HC12/HCS12, see the Motorola application note -AN2011/D. - -

-Configure switch: - -

- -target=hcs12 - -

-To do a CANopen node running on a microncontroller Motorola MC9S12DP256, -you need : - -

- -

    -
  1. The compiler GNU gcc for HC11, HC12, HCS12 : m6811-elf.
    -Download the release 3.1 at : - -
    -hrefhttp://m68hc11.serveftp.org/m68hc11_pkg_rpm.phphttp://m68hc11.serveftp.org/m68hc11_pkg_rpm.php - -

    -

  2. -
  3. A board with this chip. We are using the T-board from -Electronikladden. -
  4. -
  5. At least about 40 kBytes of program memory. -
  6. -
  7. A tool to flash the memory. (We are using the hight cost -Lauterbach debugger). -
  8. -
-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node45.html --- a/doc/manual/en/html/node45.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,86 +0,0 @@ - - - - - -Running a HCS12 node - - - - - - - - - - - - - - - - - - - - -

-Running a HCS12 node -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node46.html --- a/doc/manual/en/html/node46.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Compiling Canfestival: - - - - - - - - - - - - - - - - - - - - - -

-Compiling Canfestival: -

-./configure -target=hcs12 - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node47.html --- a/doc/manual/en/html/node47.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -Compiling and building an example - - - - - - - - - - - - - - - - - - - - - -

-Compiling and building an example -

-Enter in the folder of an HCS12 example, - -

-make all - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node48.html --- a/doc/manual/en/html/node48.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - -Flashing the memory : - - - - - - - - - - - - - - - - - - - - - -

-Flashing the memory : -

-Use your prefered loader ! If you are using a debugger Lauterbach, you -can load the bash file : trace32_flash_programmer.cmm. It loads -directly the elf file. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node49.html --- a/doc/manual/en/html/node49.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -Connecting to a serial RS232 console : - - - - - - - - - - - - - - - - - - - - - -

-Connecting to a serial RS232 console : -

-Connect the portS(TxD0) of the HCS12 to a console configured at 19200 -bauds 8N1, via a Max232 chip to adapt the electricals levels. On Linux, -you can use minicom. Connecting to a console is usefull to read the -messages, but not required. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node5.html --- a/doc/manual/en/html/node5.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -CanFestival Features - - - - - - - - - - - - - - - - - - - - - -

-CanFestival Features -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node50.html --- a/doc/manual/en/html/node50.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ - - - - - -Connecting to the CAN network : - - - - - - - - - - - - - - - - - - - - - -

-Connecting to the CAN network : -

-Connect the port CAN0 (pin PM0, PM1) to the network via a CAN -controller. On our board, the CAN controler is a PCA82C250 chip. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node51.html --- a/doc/manual/en/html/node51.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ - - - - - -starting the node : - - - - - - - - - - - - - - - - - - - - -

-starting the node : -

-Press the reset of your HCS12 board. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node52.html --- a/doc/manual/en/html/node52.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,85 +0,0 @@ - - - - - -Example and test program: - - - - - - - - - - - - - - - - - - - - - -

-Example and test program: -

-The ``examples'' directory contains some test program you can use as -example for your own developments. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node53.html --- a/doc/manual/en/html/node53.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,642 +0,0 @@ - - - - - -TestMasterSlave - - - - - - - - - - - - - - - - - - - - - -

-TestMasterSlave -

-************************************************************** - -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* simple example for PC. It does implement 2 CanOpen -
-
&sstarf#star;
- -

-* in the same process. A master and a slave. Both -
-
*
- -

-* together, exchanging periodically NMT, SYNC, &sstarf#star; - -

-* and PDO. Master configure heartbeat producer time -
-
*
- -

-* @1000 ms for slave node-id 0x02 by concise DCF. - -
-
-
-
*
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-Usage: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
./TestMasterSlave OPTIONS] - -
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-OPTIONS: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
-
-l : Can library -[libcanfestival_can_virtual.so] - -
-
*
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-
-s : bus name [0] - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-
-S : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) &sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
-
-m : bus name [1] - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-
-M : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) &sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-************************************************************** - -

- -

-
- -

-Notes for Concise DCF : - -

- -

-
- -

- In this example, Master configure producer time at 1000 ms -for slave node-id 0x02 by concise DCF according DS-302 profile. - -

- - -

- Index 0x1F22 , sub-index 0x00 of the master OD, correspond to the -number of entries. This equal to the maximum possible nodeId (127). -Each sub-index points to the Node-ID of the device, to which the -configuration belongs. - -

- -

-
- -

- To add more parameters configurations to the slave, the value at -sub-index 0x02 must be a binary stream (little-endian) following -this structure : - -

- - -

-[ nb of entries / index parameter 1 / sub-index parameter 1 size -data parameter 1 data parameter 1 / index parameter n / ...] - -

- -
-
-
(UNS32) -
-
-
-
-
-
(UNS16) (UNS8) - -
-
-
-
-
-UNS32) -
-DOMAIN)
- -

- - -

- So the binary value stream to configure heartbeat producer time must be -: - -

- -

-
- -

- 0100000017100002000000e803 - -

- -

-
- -

-The slave node is configured just before the Master entering in -Pre_operational state. - -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node54.html --- a/doc/manual/en/html/node54.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ - - - - - -gene_SYNC_HCS12 : - - - - - - - - - - - - - - - - - - - - - -

-gene_SYNC_HCS12 : -

-This is a simple CanOpen node that only send cyclic SYNC message. It -demonstrate implementation on HCS12 based board. - -

- -

-
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node55.html --- a/doc/manual/en/html/node55.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,678 +0,0 @@ - - - - - -TestMasterMicroMod - - - - - - - - - - - - - - - - - - - - -

-TestMasterMicroMod -

-************************************************************** - -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* simple example for PC. - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* CanOpen master that control a MicroMod module: - -
-
-
-
&sstarf#star;
- -

-* #417#>- setup module TPDO 1 transmit type - -
-
-
-
-
-
-
-
-
-
-
*
- -

-* #418#>- setup module RPDO 1 transmit type - -
-
-
-
-
-
-
-
-
-
-
*
- -

-* #419#>- setup module hearbeatbeat period - -
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* #420#>- disable others TPDOs - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* #421#>- set state to operational - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* #422#>- send periodic SYNC - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* #423#>- send periodic RPDO 1 to Micromod (digital output) -
-
-
*
- -

-* #424#>- listen Micromods TPDO 1 (digital input) - -
-
-
-
-
-
-
&sstarf#star;
- -

-* #426#>- Mapping RPDO 1 bit per bit (digital input) - -
-
-
-
-
-
&sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-Usage: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
./TestMasterMicroMod OPTIONS] - -
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-OPTIONS: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
-
-l : Can library -[libcanfestival_can_virtual.so] - -
-
*
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-
-i : Slave Node id format [0x01 , 0x7F] - -
-
-
-
-
-
-
&sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
: - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
*
- -

-* -
-
-m : bus name [1] - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-* -
-
-M : 1M,500K,250K,125K,100K,50K,20K,10K - -
-
-
-
-
-
-
&sstarf#star;
- -

-* - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
&sstarf#star;
- -

-************************************************************** - -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node56.html --- a/doc/manual/en/html/node56.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,118 +0,0 @@ - - - - - -Developing a new node - - - - - - - - - - - - - - - - - - - - - -

-Developing a new node -

-Using provided examples as a base for your new node is generally a good -idea. You can also use the provided *.od files as a base for your node -object dictionary. - -

-Creating a new CanOpen node implies to define the Object Dictionary of -this node. For that, developer have to provide a C file. This C file -contains the definition of all dictionary entries, and some kind of -index table that helps the stack to access some entries directly. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node57.html --- a/doc/manual/en/html/node57.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,99 +0,0 @@ - - - - - -Using Dictionary Editor GUI - - - - - - - - - - - - - - - - - - - - - -

-Using Dictionary Editor GUI -

-The Object Dictionary Editor is a WxPython based GUI that is used to -create the C file needed to create a new CanOpen node. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node58.html --- a/doc/manual/en/html/node58.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -Installation and usage on Linux - - - - - - - - - - - - - - - - - - - - - -

-Installation and usage on Linux -

-You first have to download and install Gnosis XML modules. This is -automated by a Makefile rule. - -

-cd objdictgen - -

-make - -

-Now start the editor. - -

-python objdictedit.py [od files...] - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node59.html --- a/doc/manual/en/html/node59.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,102 +0,0 @@ - - - - - -Installation and usage on Windows - - - - - - - - - - - - - - - - - - - - - -

-Installation and usage on Windows -

-Install Python (at least version 2.4) and wxPython (at least version -2.6.3.2). - -

-Cygwin users can install Gnosis XML utils the same as Linux use. Just -call make. - -

-cd objdictgen - -

-make - -

-Others will have to download and intall Gnosis XML by hand : - -

-Gnosis Utils: - -

-http://freshmeat.net/projects/gnosisxml/ - -

-http://www.gnosis.cx/download/Gnosis_Utils.More/Gnosis_Utils-1.2.1.win32-py24.exe - -

-Get latest version. - -

-Download CanFestival archive and uncompress it. Use windows file -explorer to go into CanFestival3\objdicgten, and -double-click on objdictedit.py. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node6.html --- a/doc/manual/en/html/node6.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -Tools - - - - - - - - - - - - - - - - - - - - - -

-Tools -

-The CANopen library is coming with some tools : - -

- -

    -
  1. Object Dictionary editor GUI. WxPython Model-View-Controler -based GUI, that help a lot in generating object dictionary source code -for each node. -
  2. -
  3. A configure script, that let you chose compile time options such -as target CPU/HOST, CAN and TIMER drivers. -
    -This script have not been generated with autoconf, it have been made -keeping micro-controller target in mind. -
  4. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node60.html --- a/doc/manual/en/html/node60.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - - -About - - - - - - - - - - - - - - - - - - - - - -

-About -

-The Object Dictionary editor GUI is a python application that use the -Model-View-Controller design pattern. It depends on WxPython to -display view on any supported platform. - -

-

-Image 10000201000001FC000001E5D65E8766 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node61.html --- a/doc/manual/en/html/node61.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,112 +0,0 @@ - - - - - -Main view - - - - - - - - - - - - - - - - - - - - - -

-Main view -

-Top list let you choose dictionary section, bottom left list is the -selected index in that dictionary, and bottom right list are edited -sub-indexes. - -

-

-Image 10000201000003E7000001C7B0296577 - -
- -

-

-Image 10000000000000B6000000DF1EDD1E73 - -
-
-Image 10000000000000AC000000C9C3F53FA6 - -
-
-Image 100000000000006D000000A31EC8CB54 - -
-
-Image 10000000000000AA0000006014F74635 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node62.html --- a/doc/manual/en/html/node62.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ - - - - - -New node - - - - - - - - - - - - - - - - - - - - - -

-New node -

-Edit your node name, ID and type. Choose your inherited specific -profile. - -

-

-Image 10000201000001CB0000015F4FC09B68 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node63.html --- a/doc/manual/en/html/node63.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ - - - - - -Node info - - - - - - - - - - - - - - - - - - - - - -

-Node info -

-Edit your node name, ID and type. - -

-

-Image 10000201000001010000011DA724D25C - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node64.html --- a/doc/manual/en/html/node64.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,90 +0,0 @@ - - - - - -Profile editor - - - - - - - - - - - - - - - - - - - - - -

-Profile editor -

-Chose the used profile to edit. -
-
-Image 10000000000000AB000000C88F594413 - -
- -

-Pick up optional chosen profile entries. -
-

-Image 10000201000002DE000001D82D89C224 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node65.html --- a/doc/manual/en/html/node65.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -User types - - - - - - - - - - - - - - - - - - - - - -

-User types -

-Use User Types to implement value boundaries, and string lentgth -
-
-Image 10000201000001C40000010766961D7F - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node66.html --- a/doc/manual/en/html/node66.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ - - - - - -Mapped variable - - - - - - - - - - - - - - - - - - - - - -

-Mapped variable -

-Add your own specific dictionary entries and associated mapped -variables. -
-
-Image 10000201000001C4000000DD129D4661 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node67.html --- a/doc/manual/en/html/node67.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ - - - - - -Integrated help - - - - - - - - - - - - - - - - - - - - -

-Integrated help -

-Using F1 key, you can get context sensitive help. -
-
-Image 10000201000002F30000020B23ED7F67 - -
- -

-In order to do that, official 301_v04000201.pdf file must be placed -into doc/ directory, and xpdf must be present on your system. - -

-F2 key open HTML CanFestival help. -
-

-Image 10000201000003440000025ACC3FD2F1 - -
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node68.html --- a/doc/manual/en/html/node68.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - - -Generating the object Dictionary - - - - - - - - - - - - - - - - - - - - -

-Generating the object Dictionary -

-Once object dictionary has been edited and saved, you have to generate -object dictionary C code for your CanFestival node. - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node69.html --- a/doc/manual/en/html/node69.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -With GUI - - - - - - - - - - - - - - - - - - - - - -

-With GUI -

-Menu entry ``File/Build Dictionary''. - -

-

-Image 10000201000000B7000000C66AF89CD5 - -
- -

-Choose C file to create or overwrite. Header file will be also created -with the same prefix as C file. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node7.html --- a/doc/manual/en/html/node7.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Standard conformance - - - - - - - - - - - - - - - - - - - - -

-Standard conformance -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node70.html --- a/doc/manual/en/html/node70.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ - - - - - -With command line - - - - - - - - - - - - - - - - - - - - -

-With command line -

-Usage of objdictgen.py : -
-python objdictgen.py XMLFilePath CfilePath
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node71.html --- a/doc/manual/en/html/node71.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,143 +0,0 @@ - - - - - -FAQ - - - - - - - - - - - - - - - - - - - - - -

-FAQ -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node72.html --- a/doc/manual/en/html/node72.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,81 +0,0 @@ - - - - - -General - - - - - - - - - - - - - - - - - - - - - -

-General -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node73.html --- a/doc/manual/en/html/node73.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - - - - - -Does the code compiles on Windows ? - - - - - - - - - - - - - - - - - - - - - -

-Does the code compiles on Windows ? -

-Yes, with both Cygwin and Visual Studio C++. - -

-Because CANopen layer is coded with C, put a compilation option /TC or -/TP if you plan to mix C++ files. See the MSDN documentation about -that. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node74.html --- a/doc/manual/en/html/node74.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - -How to fit the library to an other microcontrôler ? - - - - - - - - - - - - - - - - - - - - - -

-How to fit the library to an other microcontrôler ? -

-First, be sure that you have at least 40K bytes of program memory, and -about 2k of RAM. - -

-You have to create target specific interface to HW resources. Take model -on bundled interfaces provided in drivers/ and create your own -interface. You also have to update Makefile.in files for target -specific cflags and options. Chose -targer= configure switch to -compile your specific interface. - -

-You are welcome to contribute-back your own interfaces ! Other -Canfestival users will use it and provide feedback, tests and -enhancements. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node75.html --- a/doc/manual/en/html/node75.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,76 +0,0 @@ - - - - - -Is CanFestival3 conform to DS301 v.4.02 ? - - - - - - - - - - - - - - - - - - - - -

-Is CanFestival3 conform to DS301 v.4.02 ? -

-Thanks to Philippe Foureys (IUT of Valence), a slave node have been -tested with the National Instrument CanOpen Conformance Test. It passed -the test with success. - -

-Some very small unconformity have been found in very unusual situations, -for example in the SDO code response to wrong messages. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node76.html --- a/doc/manual/en/html/node76.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -LINUX - - - - - - - - - - - - - - - - - - - - - -

-LINUX -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node77.html --- a/doc/manual/en/html/node77.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ - - - - - -How to use a Peaksystem CAN board ? - - - - - - - - - - - - - - - - - - - - - -

-How to use a Peaksystem CAN board ? -

-Just install peak driver and then compile and install Canfestival. Peak -driver is detected at compile time. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node78.html --- a/doc/manual/en/html/node78.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - - - -How to use an unsupported CAN board ? - - - - - - - - - - - - - - - - - - - - -

-How to use an unsupported CAN board ? -

-You have to install the specific driver on your system, with necessary -libs and headers. - -

-Use can_peak.c/h or can_virtual.c/h as an example, and adapt it to -your driver API. - -

-Execute configure script and choose -can=mydriver - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node79.html --- a/doc/manual/en/html/node79.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,106 +0,0 @@ - - - - - -Win32 - - - - - - - - - - - - - - - - - - - - - -

-Win32 -

-Compatibility: - -

- -

    -
  1. Code was compiled MS VisualStudio 2003.NET and VisualStudio -2005.NET for WindowsXP ANSI and UNICODE configurations and for -WindowsCE 5.0. -
  2. -
  3. Some preliminary testing was done, but not enough to be used in -mission critical projects. -
  4. -
-Additional Features: - -

- -

    -
  1. Non-integral integers support implementation UNS24, UNS40, UNS48 -etc. -
  2. -
  3. When enable debug output with DEBUG_WAR_CONSOLE_ON or -DEBUG_ERR_CONSOLE_ON, you can navigate in CanFestival source code by -double clicking at diagnostic lines in VisualStudio.NET 200X Debug -Output Window. -
  4. -
-Custom size integral types such as INTEGER24, UNS40, INTEGER56 etc. have -been defined as 64 bits integers. You will need to replace sizeof(TYPE) -operators to sizeof_TYPE definitions in generated code, i.e. replace -sizeof(UNS40) with sizeof_UNS40. - -

- -

-
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node8.html --- a/doc/manual/en/html/node8.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Multi-Platform - - - - - - - - - - - - - - - - - - - - - -

-Multi-Platform -

- -
    -
  1. Library source code is C-ANSI. -
  2. -
  3. Driver and examples coding conventions merely depend on target -specific contributor/compiler. -
  4. -
  5. Unix compatible interfaces and examples should compile and run on -any Unix system (tested on GNU/Linux and GNU/FreeBSD). -
  6. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node80.html --- a/doc/manual/en/html/node80.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,119 +0,0 @@ - - - - - -HCS12 - - - - - - - - - - - - - - - - - - - - -

-HCS12 -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node81.html --- a/doc/manual/en/html/node81.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Which board are you using ? - - - - - - - - - - - - - - - - - - - - - -

-Which board are you using ? -

-A T-board from elektronikladen with a MC9S12DP256 or MC9S12DG256. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node82.html --- a/doc/manual/en/html/node82.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ - - - - - -Does the code compile with an other compiler than GNU gcc -? - - - - - - - - - - - - - - - - - - - - - -

-Does the code compile with an other compiler than GNU gcc -? -

-It is known to work with Metrowerks CodeWarrior. Here are some tips from -Philippe Foureys. : - -

-


- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node83.html --- a/doc/manual/en/html/node83.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Interrupt functions - - - - - - - - - - - - - - - - - - - - - -

-Interrupt functions -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node84.html --- a/doc/manual/en/html/node84.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ - - - - - -Code for GCC: - - - - - - - - - - - - - - - - - - - - - -
-Code for GCC: -
- // prototype -
-void __attribute__((interrupt))timer3Hdl(void): -
- // function -
-void __attribute__((interrupt))timer3Hdl(void){...}
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node85.html --- a/doc/manual/en/html/node85.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,82 +0,0 @@ - - - - - -Code for CodeWarrior - - - - - - - - - - - - - - - - - - - - -
-Code for CodeWarrior -
- // protoype -
-void interrupt timer3Hdl(void); -
- // function -
-pragma CODE_SEG__NEAR_SEG_NON_BANKED -
-void interrupt timer3Hdl(void) -
- {...} -
-pragma CODE_SEG_DEFAULT
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node86.html --- a/doc/manual/en/html/node86.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Interrupt lock, unlock - - - - - - - - - - - - - - - - - - - - - -

-Interrupt lock, unlock -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node87.html --- a/doc/manual/en/html/node87.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ - - - - - -Code for GCC - - - - - - - - - - - - - - - - - - - - - -
-Code for GCC -
- void unlock (void) -
- { -
- -
-__asm__ -__volatile__(cli); -
- } -
-void lock (void) -
- { -
-short mask; -
- -
-__asm__ -__volatile__(tpa\n\tsei:=d(mask)); -
- }
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node88.html --- a/doc/manual/en/html/node88.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ - - - - - -Code for CodeWarrior - - - - - - - - - - - - - - - - - - - - -
-Code for CodeWarrior -
-void unlock (void) -
- { -
- -
-__asm(cli); -
- } -
-void lock (void) -
- { -
-short mask; -
- -
-__asm -
- { -
- :tsei:=d(mask); -
- } -
- }
- -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node89.html --- a/doc/manual/en/html/node89.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ - - - - - -Initialize function - - - - - - - - - - - - - - - - - - - - -

-Initialize function -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node9.html --- a/doc/manual/en/html/node9.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,117 +0,0 @@ - - - - - -CanOpen conformance - - - - - - - - - - - - - - - - - - - - -

-CanOpen conformance -

DS-301 - -

- -

    -
  1. Should conform to DS301. V.4.02 13 february 2002. -
  2. -
  3. Master and Slave functionality implemented. -
  4. -
  5. Sending SYNC implemented. -
  6. -
  7. 1 SDO server per node. (update: more than one possible. To be more -tested) -
  8. -
  9. Unlimited SDO client. -
  10. -
  11. SDO transmission mode : normal, expedited download and upload. -
  12. -
  13. Unlimited PDO receive. -
  14. -
  15. Unlimited PDO transmit. -
  16. -
  17. Object Data type implemented : 8, 16, 32 bits values, and fixed -length strings. -
  18. -
  19. Slave state full implemented. -
  20. -
  21. NMT to change slaves state implemented. -
  22. -
  23. PDO transmission mode : on request, every reception of 0 to n -SYNC, on event. -
  24. -
  25. NMT Heartbeat implemented : A node can be either heartbeat -producer or receiver. -
  26. -
  27. NMT NodeGuard implemented : Not fully implemented. -
  28. -
  29. TIME (time Stamp) : Not implemented. -
  30. -
  31. EMCY (emergency objects) : Not implemented. -
  32. -
  33. PDO Mapping bit per bit implemented. -
  34. -
DS-302 - -

- -

    -
  1. Concise : implemented. -
  2. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node90.html --- a/doc/manual/en/html/node90.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,269 +0,0 @@ - - - - - -Code for GCC - - - - - - - - - - - - - - - - - - - - - -
-Code for GCC -
-void initCanHCS12 (void) -
- { -
-newline - /Init the HCS12 microcontroler for CanOpen
-12(); -
- -
// Init the HCS12 driver -
-canBusInit bi0 = { -
- -
, -
* no low power -
-
-
-
-
-
-
-
*/ -
- -
, -
* no time stamp - -
-
-
-
-
-
-
&sstarf#star;/ -
- -
, -
* enable MSCAN - -
-
-
-
-
-
-
-
*/ -
- -
, -
* clock source : oscillator (In fact, it is not used) - -
*/ -
- -
, -
* no loop back - -
-
-
-
-
-
-
-
*/ -
- -
, -
* no listen only - -
-
-
-
-
-
-
*/ -
- -
, -
* no low pass filter for wk up */ -
-_Baudrates[CAN_BAUDRATE_250K], -
- -
-
{ -
- -
-
-x00, -
* Filter on 16 bits. -
- -
-
-
-
-
-
-
-
-Motorola Block Guide V02.14 fig -4-3 */ -
- -
-
-x00, 0xFF, /* filter 0 hight accept all msg - -
-
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 0 low accept all msg - -
-
-
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 1 hight filter all of -&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 1 low filter all of - -
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 2 hight filter most of -*/ -
- -
-
-x00, 0xFF, /* filter 2 low filter most of - -
*/ -
- -
-
-x00, 0xFF, /* filter 3 hight filter most of -*/ -
- -
-
-x00, 0xFF, /* filter 3 low filter most of - -
*/ -
- -
-
} -
- -
};
- -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node91.html --- a/doc/manual/en/html/node91.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,307 +0,0 @@ - - - - - -Code for CodeWarrior - - - - - - - - - - - - - - - - - - - - -
-Code for CodeWarrior -
-void initCanHCS12 (void) -
- { -
-newline - /Init the HCS12 microcontroler for CanOpen
-12(); -
- -
// Init the HCS12 driver -
-canBusInit bi0 = { -
- -
, -
* no low power -
-
-
-
-
-
-
-
*/ -
- -
, -
* no time stamp - -
-
-
-
-
-
-
&sstarf#star;/ -
- -
, -
* enable MSCAN - -
-
-
-
-
-
-
-
*/ -
- -
, -
* clock source : oscillator (In fact, it is not used) - -
*/ -
- -
, -
* no loop back - -
-
-
-
-
-
-
-
*/ -
- -
, -
* no listen only - -
-
-
-
-
-
-
*/ -
- -
, -
* no low pass filter for wk up */ -
- -
-
{ -
- -
-
-1, /* clksrc */ -
- -
-
-3, /* brp -
&sstarf#star;/ -
- -
-
-0, /* sjw -
&sstarf#star;/ -
- -
-
-0, /* samp -
*/ -
- -
-
-1, /* tseg2 &sstarf#star;/ -
- -
-
-12,/* tseg1 &sstarf#star;/ -
- -
-
}, -
- -
-
{ -
- -
-
-x00, -
* Filter on 16 bits. -
- -
-
-
-
-
-
-
-
-See Motorola Block Guide V02.14 fig -4-3 */ -
- -
-
-x00, 0xFF, /* filter 0 hight accept all msg - -
-
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 0 low accept all msg - -
-
-
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 1 hight filter all of -&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 1 low filter all of - -
&sstarf#star;/ -
- -
-
-x00, 0xFF, /* filter 2 hight filter most of -*/ -
- -
-
-x00, 0xFF, /* filter 2 low filter most of - -
*/ -
- -
-
-x00, 0xFF, /* filter 3 hight filter most of -*/ -
- -
-
-x00, 0xFF, /* filter 3 low filter most of - -
*/ -
- -
-
} -
- -
};
- -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node92.html --- a/doc/manual/en/html/node92.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -Who to use warnings and errors messages ? - - - - - - - - - - - - - - - - - - - - - -

-Who to use warnings and errors messages ? -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node93.html --- a/doc/manual/en/html/node93.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,219 +0,0 @@ - - - - - -Warnings messages - - - - - - - - - - - - - - - - - - - - - -

-Warnings messages -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DEBUG_WAR_CONSOLE _ONDEBUG _CANPrintMsg-WarTo-Console

- -

-

Printing long message on console Printing short message on console. (number and value only)Sending number and value in a PDO., only if the node is a -slave, in operational state.
       
DEFDEF1

- -

-

- -

-

yes

- -

-

DEFDEF0

- -

-

yes

- -

-

- -

-

DEFUNDEF1

- -

-

- -

-

- -

-

- -

-

DEFUNDEF0

- -

-

- -

-

- -

-

- -

-

UNDEFXX

- -

-

- -

-

- -

-

- -

-

- -

- -

-
- -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node94.html --- a/doc/manual/en/html/node94.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,231 +0,0 @@ - - - - - -Errors messages - - - - - - - - - - - - - - - - - - - - -

-Errors messages -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DEBUG_ERR_CONSOLE _ONDEBUG _CANPDO _ERROR PrintMsg-ErrTo-Console

- -

-

Printing long message on consolePrinting short message on console. (number and value only)Sending number and value in a PDO., only if the node is a -slave, in operational state.
        
DEFDEFX1

- -

-

- -

-

yesyes
DEFDEFX0

- -

-

yes

- -

-

yes
DEFUNDEFX1

- -

-

- -

-

- -

-

yes
DEFUNDEFX0

- -

-

- -

-

- -

-

yes
UNDEFXDEFX

- -

-

- -

-

- -

-

yes
UNDEFXUNDEFX

- -

-

- -

-

- -

-

- -

-

- -

- -

-
- -

- -

- -
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node95.html --- a/doc/manual/en/html/node95.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,72 +0,0 @@ - - - - - -Does the code works in banked memory ? - - - - - - - - - - - - - - - - - - - - - -

-Does the code works in banked memory ? -

-No. Today it seems that the port of gcc is bogged for using the banked -memory. So, unfortunately, we are limited to 48 Kbytes of memory code. - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node96.html --- a/doc/manual/en/html/node96.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,79 +0,0 @@ - - - - - -What GCC version are you using ? - - - - - - - - - - - - - - - - - - - - -

-What GCC version are you using ? -

-We are using the stable RPM release 2.2 : - -

- -

    -
  1. GNU Gcc 3.0.4. Build 20030501 -
  2. -
  3. Newlib 1.10.0 Build 20030421 -
  4. -
  5. GNU Binutils 2.12.1 Build 20030427 -
  6. -
-

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node97.html --- a/doc/manual/en/html/node97.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,91 +0,0 @@ - - - - - -Documentation resources - - - - - - - - - - - - - - - - - - - - - -

-Documentation resources -

-

- -Subsections - - - -

-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node98.html --- a/doc/manual/en/html/node98.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ - - - - - -CIA : Can in Automation - - - - - - - - - - - - - - - - - - - - - -

-CIA : Can in Automation -

-Many documentation on CANopen. - -

-http://www.can-cia.de/http://www.can-cia.de - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/html/node99.html --- a/doc/manual/en/html/node99.html Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ - - - - - -Resources and training in CANopen - - - - - - - - - - - - - - - - - - - - - -

-Resources and training in CANopen -

-http://www.esacademy.com/http://www.esacademy.com - -

-


-
-epimerde -2007-06-08 -
- - diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/manual.aux --- a/doc/manual/en/manual.aux Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,146 +0,0 @@ -\relax -\catcode`:\active -\catcode`;\active -\catcode`!\active -\catcode`?\active -\ifx\hyper@anchor\@undefined -\global \let \oldcontentsline\contentsline -\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} -\global \let \oldnewlabel\newlabel -\gdef \newlabel#1#2{\newlabelxx{#1}#2} -\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} -\AtEndDocument{\let \contentsline\oldcontentsline -\let \newlabel\oldnewlabel} -\else -\global \let \hyper@last\relax -\fi - -\select@language{english} -\@writefile{toc}{\select@language{english}} -\@writefile{lof}{\select@language{english}} -\@writefile{lot}{\select@language{english}} -\@writefile{toc}{\contentsline {section}{\numberline {1 -}Introduction}{2}{section.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {1.1)}The CanFestival project}{2}{subsection.1.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {1.2)}What is CANopen}{2}{subsection.1.2}} -\@writefile{toc}{\contentsline {section}{\numberline {2 -}CanFestival Features}{2}{section.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {2.1)}Tools }{2}{subsection.2.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {2.2)}Standard conformance}{3}{subsection.2.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}Multi{}-Platform}{3}{paragraph.2.2.0.1}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}CanOpen conformance}{3}{paragraph.2.2.0.2}} -\@writefile{toc}{\contentsline {section}{\numberline {3 -}How to start}{3}{section.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.1)}Host requirements}{3}{subsection.3.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.1)}Object Dictionary Editor GUI}{4}{subsubsection.3.1.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.2)}\ Linux and Unix{}-likes}{4}{subsubsection.3.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.1.3)}Windows (for native win32 target)}{4}{subsubsection.3.1.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2)}How to get CanFestival}{4}{subsection.3.2}} -\@writefile{toc}{\contentsline {section}{\numberline {4 -}Understanding Canfestival}{4}{section.4}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.1)}CanFestival Project tree layout}{4}{subsection.4.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.2)}Implement CanFestival in your application}{5}{subsection.4.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3)}CanFestival CAN interfaces}{5}{subsection.4.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.4)}CanFestival events scheduling}{6}{subsection.4.4}} -\@writefile{toc}{\contentsline {section}{\numberline {5 -}Linux Target}{7}{section.5}} -\@writefile{toc}{\contentsline {subsection}{\numberline {5.1)}Linux Compilation and installation}{7}{subsection.5.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.1)}Standard Linux node}{7}{subsubsection.5.1.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.2)}Real{}-Time Linux node}{8}{subsubsection.5.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.3)}CAN devices}{8}{subsubsection.5.1.3}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}Peak systems}{8}{paragraph.5.1.3.1}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}Socket{}-Can (http://socketcan.berlios.de)}{8}{paragraph.5.1.3.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {c)}LinCan}{8}{paragraph.5.1.3.3}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {d)}Virtual CAN interfaces (for test/debug)}{8}{paragraph.5.1.3.4}} -\@writefile{toc}{\contentsline {subsection}{\numberline {5.2)}Testing your CanFestival installation}{8}{subsection.5.2}} -\@writefile{toc}{\contentsline {section}{\numberline {6 -}Windows Targets}{8}{section.6}} -\@writefile{toc}{\contentsline {subsection}{\numberline {6.1)}Object Dictionary Editor GUI installation.}{8}{subsection.6.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {6.2)}CYGWIN}{9}{subsection.6.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.1)}Requirements}{9}{subsubsection.6.2.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.2)}Cygwin configuration and compilation}{9}{subsubsection.6.2.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}A single node with PcanLight and Peak CAN{}-USB adapter}{9}{paragraph.6.2.2.1}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}Two nodes with PcanLight and Peak dual PCMCIA{}-CAN adapter}{9}{paragraph.6.2.2.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {6.3)}Visual Studio C++}{10}{subsection.6.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.1)}Requirements}{10}{subsubsection.6.3.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.2)}Configuration with cygwin}{10}{subsubsection.6.3.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.3)}Compilation with Visual Studio}{10}{subsubsection.6.3.3}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}PcanLight and the can\_peak\_win32 project.}{10}{paragraph.6.3.3.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.4)}Testing}{10}{subsubsection.6.3.4}} -\@writefile{toc}{\contentsline {section}{\numberline {7 -}Motorola HCS12}{10}{section.7}} -\@writefile{toc}{\contentsline {subsection}{\numberline {7.1)}Running a HCS12 node}{11}{subsection.7.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.1)}Compiling Canfestival:}{11}{subsubsection.7.1.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.2)}Compiling and building an example}{11}{subsubsection.7.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.3)}Flashing the memory :}{11}{subsubsection.7.1.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.4)}Connecting to a serial RS232 console :}{11}{subsubsection.7.1.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.5)}Connecting to the CAN network :}{11}{subsubsection.7.1.5}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.6)}starting the node :}{11}{subsubsection.7.1.6}} -\@writefile{toc}{\contentsline {section}{\numberline {8 -}Example and test program:}{11}{section.8}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.1)}TestMasterSlave}{11}{subsection.8.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2)}gene\_SYNC\_HCS12 :}{12}{subsection.8.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3)}TestMasterMicroMod }{12}{subsection.8.3}} -\@writefile{toc}{\contentsline {section}{\numberline {9 -}Developing a new node}{13}{section.9}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.1)}Using Dictionary Editor GUI}{13}{subsection.9.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.1)}Installation and usage on Linux}{13}{subsubsection.9.1.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.2)}Installation and usage on Windows}{13}{subsubsection.9.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.3)}About}{14}{subsubsection.9.1.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.4)}Main view}{14}{subsubsection.9.1.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.5)}New node}{15}{subsubsection.9.1.5}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.6)}Node info}{15}{subsubsection.9.1.6}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.7)}Profile editor}{16}{subsubsection.9.1.7}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.8)}User types}{16}{subsubsection.9.1.8}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.9)}Mapped variable}{17}{subsubsection.9.1.9}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.10)}Integrated help}{17}{subsubsection.9.1.10}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2)}Generating the object Dictionary}{19}{subsection.9.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.2.1)}With GUI}{19}{subsubsection.9.2.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.2.2)}With command line}{19}{subsubsection.9.2.2}} -\@writefile{toc}{\contentsline {section}{\numberline {10 -}FAQ}{19}{section.10}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.1)}General}{19}{subsection.10.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.1.1)}Does the code compiles on Windows ?}{19}{subsubsection.10.1.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.1.2)}How to fit the library to an other microcontr\^oler ?}{19}{subsubsection.10.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.1.3)}Is CanFestival3 conform to DS301 v.4.02 ?}{19}{subsubsection.10.1.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.2)}LINUX}{20}{subsection.10.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.2.1)}How to use a Peaksystem CAN board ?}{20}{subsubsection.10.2.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.2.2)}How to use an unsupported CAN board ?}{20}{subsubsection.10.2.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.3)}Win32}{20}{subsection.10.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {10.4)}HCS12}{20}{subsection.10.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.4.1)}Which board are you using ?}{20}{subsubsection.10.4.1}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.4.2)}Does the code compile with an other compiler than GNU gcc ?}{20}{subsubsection.10.4.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}Interrupt functions}{20}{paragraph.10.4.2.1}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {i)}Code for GCC:}{20}{subparagraph.10.4.2.1.1}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{21}{subparagraph.10.4.2.1.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}Interrupt lock, unlock}{21}{paragraph.10.4.2.2}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {i)}Code for GCC}{21}{subparagraph.10.4.2.2.1}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{21}{subparagraph.10.4.2.2.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {c)}Initialize function}{21}{paragraph.10.4.2.3}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {i)}Code for GCC}{21}{subparagraph.10.4.2.3.1}} -\@writefile{toc}{\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{22}{subparagraph.10.4.2.3.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.4.3)}Who to use warnings and errors messages ?}{22}{subsubsection.10.4.3}} -\gdef \LT@i {\LT@entry - {1}{66.95064pt}\LT@entry - {1}{61.78313pt}\LT@entry - {1}{79.90135pt}\LT@entry - {1}{5.69052pt}\LT@entry - {1}{80.75488pt}\LT@entry - {1}{94.20406pt}\LT@entry - {1}{90.69179pt}} -\gdef \LT@ii {\LT@entry - {1}{66.95064pt}\LT@entry - {1}{58.82004pt}\LT@entry - {1}{52.74937pt}\LT@entry - {1}{62.5352pt}\LT@entry - {1}{5.69052pt}\LT@entry - {1}{64.13971pt}\LT@entry - {1}{77.63962pt}\LT@entry - {1}{91.39314pt}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}Warnings messages}{23}{table.1}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}Errors messages}{23}{table.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.4.4)}Does the code works in banked memory ?}{23}{subsubsection.10.4.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {10.4.5)}What GCC version are you using ?}{24}{subsubsection.10.4.5}} -\@writefile{toc}{\contentsline {section}{\numberline {11 -}Documentation resources}{24}{section.11}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {a)}CIA : Can in Automation}{24}{paragraph.11.0.5.1}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {b)}Resources and training in CANopen}{24}{paragraph.11.0.5.2}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {c)}Elektronikladen HCS12 T{}-board}{24}{paragraph.11.0.5.3}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {d)}Gnu gcc compiler for HC12}{24}{paragraph.11.0.5.4}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {e)}Motorola documentation on HC12}{24}{paragraph.11.0.5.5}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {f)}Lauterbach debugger for HC12}{24}{paragraph.11.0.5.6}} -\@writefile{toc}{\contentsline {paragraph}{\numberline {g)}Python language}{24}{paragraph.11.0.5.7}} -\@writefile{toc}{\contentsline {section}{\numberline {12 -}About the project}{25}{section.12}} -\@writefile{toc}{\contentsline {subsection}{\numberline {12.1)}Contributors }{25}{subsection.12.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {12.2)}Getting support}{25}{subsection.12.2}} -\@writefile{toc}{\contentsline {subsection}{\numberline {12.3)}Contributing}{25}{subsection.12.3}} -\@writefile{toc}{\contentsline {subsection}{\numberline {12.4)}License}{26}{subsection.12.4}} diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/manual.out --- a/doc/manual/en/manual.out Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ -\BOOKMARK [1][-]{section.1}{Introduction}{} -\BOOKMARK [2][-]{subsection.1.1}{The CanFestival project}{section.1} -\BOOKMARK [2][-]{subsection.1.2}{What is CANopen}{section.1} -\BOOKMARK [1][-]{section.2}{CanFestival Features}{} -\BOOKMARK [2][-]{subsection.2.1}{Tools }{section.2} -\BOOKMARK [2][-]{subsection.2.2}{Standard conformance}{section.2} -\BOOKMARK [1][-]{section.3}{How to start}{} -\BOOKMARK [2][-]{subsection.3.1}{Host requirements}{section.3} -\BOOKMARK [2][-]{subsection.3.2}{How to get CanFestival}{section.3} -\BOOKMARK [1][-]{section.4}{Understanding Canfestival}{} -\BOOKMARK [2][-]{subsection.4.1}{CanFestival Project tree layout}{section.4} -\BOOKMARK [2][-]{subsection.4.2}{Implement CanFestival in your application}{section.4} -\BOOKMARK [2][-]{subsection.4.3}{CanFestival CAN interfaces}{section.4} -\BOOKMARK [2][-]{subsection.4.4}{CanFestival events scheduling}{section.4} -\BOOKMARK [1][-]{section.5}{Linux Target}{} -\BOOKMARK [2][-]{subsection.5.1}{Linux Compilation and installation}{section.5} -\BOOKMARK [2][-]{subsection.5.2}{Testing your CanFestival installation}{section.5} -\BOOKMARK [1][-]{section.6}{Windows Targets}{} -\BOOKMARK [2][-]{subsection.6.1}{Object Dictionary Editor GUI installation.}{section.6} -\BOOKMARK [2][-]{subsection.6.2}{CYGWIN}{section.6} -\BOOKMARK [2][-]{subsection.6.3}{Visual Studio C++}{section.6} -\BOOKMARK [1][-]{section.7}{Motorola HCS12}{} -\BOOKMARK [2][-]{subsection.7.1}{Running a HCS12 node}{section.7} -\BOOKMARK [1][-]{section.8}{Example and test program:}{} -\BOOKMARK [2][-]{subsection.8.1}{TestMasterSlave}{section.8} -\BOOKMARK [2][-]{subsection.8.2}{gene\137SYNC\137HCS12 :}{section.8} -\BOOKMARK [2][-]{subsection.8.3}{TestMasterMicroMod }{section.8} -\BOOKMARK [1][-]{section.9}{Developing a new node}{} -\BOOKMARK [2][-]{subsection.9.1}{Using Dictionary Editor GUI}{section.9} -\BOOKMARK [2][-]{subsection.9.2}{Generating the object Dictionary}{section.9} -\BOOKMARK [1][-]{section.10}{FAQ}{} -\BOOKMARK [2][-]{subsection.10.1}{General}{section.10} -\BOOKMARK [2][-]{subsection.10.2}{LINUX}{section.10} -\BOOKMARK [2][-]{subsection.10.3}{Win32}{section.10} -\BOOKMARK [2][-]{subsection.10.4}{HCS12}{section.10} -\BOOKMARK [1][-]{section.11}{Documentation resources}{} -\BOOKMARK [1][-]{section.12}{About the project}{} -\BOOKMARK [2][-]{subsection.12.1}{Contributors }{section.12} -\BOOKMARK [2][-]{subsection.12.2}{Getting support}{section.12} -\BOOKMARK [2][-]{subsection.12.3}{Contributing}{section.12} -\BOOKMARK [2][-]{subsection.12.4}{License}{section.12} diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/manual.pdf Binary file doc/manual/en/manual.pdf has changed diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/manual.tex --- a/doc/manual/en/manual.tex Thu Aug 02 14:20:52 2007 +0200 +++ b/doc/manual/en/manual.tex Mon Aug 06 17:56:07 2007 +0200 @@ -1,4 +1,4 @@ -\documentclass[12pt,twoside]{article} +\documentclass[a4paper,12pt]{book} \usepackage[ascii]{inputenc} \usepackage[T1]{fontenc} \usepackage[french,english]{babel} @@ -13,26 +13,13 @@ \DeclareGraphicsExtensions{.png} \hypersetup{colorlinks=true, linkcolor=blue, filecolor=blue, pagecolor=blue, urlcolor=blue} -\newenvironment{changemargin}[2]{\begin{list}{}{% -\setlength{\topsep}{0pt}% -\setlength{\leftmargin}{0pt}% -\setlength{\rightmargin}{0pt}% -\setlength{\listparindent}{\parindent}% -\setlength{\itemindent}{\parindent}% -\setlength{\parsep}{0pt plus 1pt}% -\addtolength{\leftmargin}{#1}% -\addtolength{\rightmargin}{#2}% -}\item }{\end{list}} - - %%%%\%%%%%%%% titre, auteurs, date, etc...%%%%%%%%%%%%%%%%%% - -\title{\Huge Documentation} +\title{\Huge The CanFestival CANOpen stack manual} \author{Edouard TISSERANT} \date{\today} % Text styles -\newcommand\textstyleTeletype[1]{\texttt{#1}} +%\newcommand\textstyleTeletype[1]{\texttt{#1}} % Outline numbering \setcounter{secnumdepth}{5} \renewcommand\thesection{\arabic{section} -} @@ -119,33 +106,16 @@ \renewcommand\labelitemiii{{\textbullet}} \renewcommand\labelitemiv{{\textbullet}} } -% Pages styles (master pages) -\makeatletter -\newcommand\ps@Standard{% -\renewcommand\@oddhead{}% -\renewcommand\@evenhead{}% -\renewcommand\@oddfoot{}% -\renewcommand\@evenfoot{\@oddfoot}% -\setlength\paperwidth{8.2673in}\setlength\paperheight{11.6925in}\setlength\voffset{-1in}\setlength\hoffset{-1in}\setlength\topmargin{0.1965in}\setlength\headheight{12pt}\setlength\headsep{0cm}\setlength\footskip{12pt+0.1965in}\setlength\textheight{11.6925in-0.1965in-0.7874in-0cm-12pt-0.1965in-12pt}\setlength\oddsidemargin{0.3937in}\setlength\textwidth{8.2673in-0.3937in-0.3937in} -\renewcommand\thepage{\arabic{page}} -\setlength{\skip\footins}{0.0398in}\renewcommand\footnoterule{\vspace*{-0.0071in}\noindent\textcolor{black}{\rule{0.25\columnwidth}{0.0071in}}\vspace*{0.0398in}} -} -\makeatother -\pagestyle{Standard} -\setlength\tabcolsep{1mm} -\renewcommand\arraystretch{1.3} + \begin{document} -{\centering\sffamily -CanFestival3. Version 3.0\newline -The CANOpen stack manual -\par} - + +{\centering\sffamily\Huge The CanFestival CANOpen stack manual.} + +\renewcommand\contentsname{CanFestival v3.0 Manual} \setcounter{tocdepth}{2} -\renewcommand\contentsname{Table of contents} \tableofcontents \section{Introduction} -This document describe the CANOpen layer.CanFestival is an OpenSource -(LGPL) CANOpen framework. +CanFestival is an OpenSource (LGPL and GPL) CANOpen framework. \subsection{The CanFestival project} This project, initiated by Edouard TISSERANT in 2001, as grown thanks to @@ -236,7 +206,7 @@ \liststyleLiv \begin{enumerate} -\item Concise \ DFC : implemented. +\item Concise \space DFC : implemented. \end{enumerate} \section{How to start} \subsection{Host requirements} @@ -252,14 +222,14 @@ \hyperlink{a91UsingDictionaryEditorGUIoutline}{9.1) Using Dictionary Editor GUI} ) \end{enumerate} -\subsubsection[\ Linux and Unix{}-likes]{\ Linux and Unix{}-likes} +\subsubsection[\space Linux and Unix{}-likes]{\space Linux and Unix{}-likes} \liststyleLv \begin{enumerate} \item Linux, FreeBSD, Cygwin or any Unix environment with GNU toolchain. \item The GNU C compiler (gcc) or any other ANSI{}-C compiler for your target platform. \item Xpdf, and the official 301\_v04000201.pdf file in order to get GUI -context sensitive help. Download the ds301 at +context sensitive help. Download the ds301 at\newline \href{http://www.can-cia.org/downloads/ciaspecifications/?1390}{http://www.can{}-cia.org/downloads/ciaspecifications/?1390}. \item GNU Make \item Bash and sed @@ -291,7 +261,7 @@ ./src ANSI{}-C source of CANOpen stack} {\ttfamily\bfseries -\ /include Exportables Header files} +\space /include Exportables Header files} {\ttfamily\bfseries ./drivers Interfaces to specific platforms/HW} @@ -354,7 +324,7 @@ \subsection{Implement CanFestival in your application} \begin{center} - \includegraphics[width=20cm]{Pictures/10000201000003F9000002CF880931E7.png} + \includegraphics[width=12cm]{Pictures/10000201000003F9000002CF880931E7.png} \end{center} \bigskip @@ -371,12 +341,12 @@ \item {\textmu}C must provide interuption masking for timer and can receive IT\newline \begin{center} - \includegraphics[width=16cm]{Pictures/10000201000003CA0000016604E6A5EF.png} + \includegraphics[width=12cm]{Pictures/10000201000003CA0000016604E6A5EF.png} \end{center} \item OS must provide a receive thread, a timer thread and a mutex. CAN reception is a bloking operation.\newline \begin{center} - \includegraphics[width=16cm]{Pictures/10000201000003F9000002CF8B0CDAEA.png} + \includegraphics[width=12cm]{Pictures/10000201000003F9000002CF8B0CDAEA.png} \end{center} \end{enumerate} \subsection{CanFestival events scheduling} @@ -394,7 +364,7 @@ at desired time. \begin{center} - \includegraphics[width=13cm]{Pictures/100000000000022C000000DEDAD2140C.png} + \includegraphics[width=12cm]{Pictures/100000000000022C000000DEDAD2140C.png} \end{center} Scheduler can handle short clock value ranges limitation found on some @@ -410,7 +380,7 @@ of t1, TimeDispatch call will not trig any alarm callback. \begin{center} - \includegraphics[width=18cm]{Pictures/1000000000000396000000FFC42573DA.png} + \includegraphics[width=12cm]{Pictures/1000000000000396000000FFC42573DA.png} \end{center} \section{Linux Target} @@ -429,7 +399,7 @@ make} {\ttfamily -\textstyleTeletype{make install}} +make install} \subsubsection{Standard Linux node} Configure switch: @@ -541,7 +511,7 @@ Please download driver at \href{http://www.peak-system.com/themen/download_gb.html}{http://www.peak{}-system.com/themen/download\_gb.html} -\ and follow instructions in order to install driver on your system. +\space and follow instructions in order to install driver on your system. Install Cygwin as required, and the driver for your Peak CAN device. @@ -660,8 +630,8 @@ as recommended at the end of Visual Studio installation. \subsubsection{Configuration with cygwin} -Follow instructions given at -\hyperlink{a422Cygwinconfigurationandcompilationoutline}{4.2.2)Cygwin +Follow instructions given at +\hyperlink{Cygwin configuration and compilation}{Cygwin configuration and compilation}, but do neither call make nor do tests, just do configuration steps. This will create headers files accordingly to your configuration parameters, and the desired CAN hardware. @@ -675,7 +645,7 @@ \paragraph{PcanLight and the can\_peak\_win32 project.} Chosen Pcan\_xxx.lib and eventually Pcan\_2xxx.lib files must be added -to can\_peak\_win32 \ \ project before build of the DLL. +to can\_peak\_win32 \space \space project before build of the DLL. \subsubsection{Testing} Copy eventually needed dlls (ie : Pcan\_Nxxx.lib) into Release or Debug @@ -690,7 +660,7 @@ Beware that there are a few differences in the MSCAN module of the 68HC12 and HCS12 microcontroller. For a HC12, you must adapt the driver -that we provide for \ the HCS12. +that we provide for \space the HCS12. For the difference MSCAN HC12/HCS12, see the Motorola application note AN2011/D. @@ -707,7 +677,7 @@ \begin{enumerate} \item The compiler GNU gcc for HC11, HC12, HCS12 : m6811{}-elf. \newline Download the \textbf{release 3.1} at : -\ \href{http://m68hc11.serveftp.org/m68hc11_pkg_rpm.php}{http://m68hc11.serveftp.org/m68hc11\_pkg\_rpm.php} +\space \href{http://m68hc11.serveftp.org/m68hc11_pkg_rpm.php}{http://m68hc11.serveftp.org/m68hc11\_pkg\_rpm.php} \item A board with this chip. We are using the T{}-board from Electronikladden. @@ -750,90 +720,90 @@ \subsection{TestMasterSlave} {\ttfamily -**************************************************************} - -{\ttfamily -* \ TestMasterSlave -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +**************************************************************\space} + +{\ttfamily +* \space TestMasterSlave +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ A simple example for PC. It does implement 2 CanOpen \ \ \ \ \ *} - -{\ttfamily -* \ nodes in the same process. A master and a slave. Both \ \ \ \ *} - -{\ttfamily -* \ communicate together, exchanging periodically NMT, SYNC, \ *} - -{\ttfamily -* \ SDO and PDO. Master configure heartbeat producer time \ \ \ \ *} - -{\ttfamily -* \ at 1000 ms for slave node{}-id 0x02 by concise DCF. -\ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space A simple example for PC. It does implement 2 CanOpen \space \space \space \space \space *} + +{\ttfamily +* \space nodes in the same process. A master and a slave. Both \space \space \space \space *} + +{\ttfamily +* \space communicate together, exchanging periodically NMT, SYNC, \space *} + +{\ttfamily +* \space SDO and PDO. Master configure heartbeat producer time \space \space \space \space *} + +{\ttfamily +* \space at 1000 ms for slave node{}-id 0x02 by concise DCF. +\space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ Usage: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ ./TestMasterSlave \ [OPTIONS] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space Usage: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space ./TestMasterSlave \space [OPTIONS] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ OPTIONS: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-l : Can library +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space OPTIONS: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-l : Can library [{\textquotedbl}libcanfestival\_can\_virtual.so{\textquotedbl}] -\ \ \ \ *} +\space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ Slave: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-s : bus name [{\textquotedbl}0{\textquotedbl}] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-S : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space Slave: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-s : bus name [{\textquotedbl}0{\textquotedbl}] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-S : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ Master: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-m : bus name [{\textquotedbl}1{\textquotedbl}] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-M : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space Master: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-m : bus name [{\textquotedbl}1{\textquotedbl}] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-M : 1M,500K,250K,125K,100K,50K,20K,10K,none(disable) \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily **************************************************************} @@ -848,7 +818,7 @@ \bigskip {\sffamily - In this example, Master configure \ heartbeat producer time at 1000 ms + In this example, Master configure \space heartbeat producer time at 1000 ms for slave node{}-id 0x02 by concise DCF according DS{}-302 profile. } {\sffamily @@ -866,35 +836,30 @@ {\sffamily To add more parameters configurations to the slave, the value at sub{}-index 0x02 must be a binary stream (little{}-endian) following -this structure :} - -{\sffamily - } - -{\sffamily -[ nb of entries / index parameter 1 / sub{}-index parameter 1 \ / size -data parameter 1 \ / data parameter 1 / index parameter n / ...]} - -{\sffamily -\ \ \ \ \ \ (UNS32) \ \ \ \ \ \ \ \ \ \ \ \ (UNS16) (UNS8) -\ \ \ \ \ \ \ \ \ \ \ (UNS32) \ \ \ (DOMAIN)} - -{\sffamily - } +this structure :\newline +\{ +(UNS32) nb of entries\newline +(UNS16) index parameter 1\newline +(UNS8) sub{}-index parameter 1\newline +(UNS32) size data parameter 1\newline +(DOMAIN) data parameter 1\newline +(UNS16) index parameter 2\newline +(UNS8) sub{}-index parameter 2\newline +(UNS32) size data parameter 2\newline +(DOMAIN) data parameter 2\newline +\space \space \space \space \space ....\newline +(UNS16) index parameter n\newline +(UNS8) sub{}-index parameter n\newline +(UNS32) size data parameter n\newline +(DOMAIN) data parameter n\newline +\} +} {\sffamily So the binary value stream to configure heartbeat producer time must be -: } - - -\bigskip - -{\sffamily +:\newline 0100000017100002000000e803} - -\bigskip - {\sffamily The slave node is configured just before the Master entering in Pre\_operational state.} @@ -911,112 +876,112 @@ **************************************************************} {\ttfamily -* \ TestMasterMicroMod -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +* \space TestMasterMicroMod +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ A simple example for PC. -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ A CanOpen master that control a MicroMod module: -\ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- setup module TPDO 1 transmit type -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- setup module RPDO 1 transmit type -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- setup module hearbeatbeat period -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- disable others TPDOs -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- set state to operational -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- send periodic SYNC -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- send periodic RPDO 1 to Micromod (digital output) \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- listen Micromod{\textquotesingle}s TPDO 1 (digital input) -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ {}- Mapping RPDO 1 bit per bit (digital input) -\ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space A simple example for PC. +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space A CanOpen master that control a MicroMod module: +\space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- setup module TPDO 1 transmit type +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- setup module RPDO 1 transmit type +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- setup module hearbeatbeat period +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- disable others TPDOs +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- set state to operational +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- send periodic SYNC +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- send periodic RPDO 1 to Micromod (digital output) \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- listen Micromod{\textquotesingle}s TPDO 1 (digital input) +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space {}- Mapping RPDO 1 bit per bit (digital input) +\space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ Usage: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ ./TestMasterMicroMod \ [OPTIONS] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space Usage: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space ./TestMasterMicroMod \space [OPTIONS] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ OPTIONS: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-l : Can library +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space OPTIONS: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-l : Can library [{\textquotedbl}libcanfestival\_can\_virtual.so{\textquotedbl}] -\ \ \ \ *} +\space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ Slave: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-i : Slave Node id format [0x01 , 0x7F] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space Slave: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-i : Slave Node id format [0x01 , 0x7F] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ Master: -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-m : bus name [{\textquotedbl}1{\textquotedbl}] -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} - -{\ttfamily -* \ \ \ \ {}-M : 1M,500K,250K,125K,100K,50K,20K,10K -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space Master: +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-m : bus name [{\textquotedbl}1{\textquotedbl}] +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} + +{\ttfamily +* \space \space \space \space {}-M : 1M,500K,250K,125K,100K,50K,20K,10K +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily * -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *} +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space *} {\ttfamily **************************************************************} @@ -1096,7 +1061,7 @@ sub{}-indexes. \begin{center} - \includegraphics[width=14cm]{Pictures/10000201000003E7000001C7B0296577.png} + \includegraphics[width=12cm]{Pictures/10000201000003E7000001C7B0296577.png} \end{center} \begin{center} @@ -1154,7 +1119,7 @@ \subsubsection{Integrated help} Using F1 key, you can get context sensitive help.\newline \begin{center} - \includegraphics[width=15cm]{Pictures/10000201000002F30000020B23ED7F67.png} + \includegraphics[width=12cm]{Pictures/10000201000002F30000020B23ED7F67.png} \end{center} In order to do that, official 301\_v04000201.pdf file must be placed @@ -1162,7 +1127,7 @@ F2 key open HTML CanFestival help.\newline \begin{center} - \includegraphics[width=15cm]{Pictures/10000201000003440000025ACC3FD2F1.png} + \includegraphics[width=12cm]{Pictures/10000201000003440000025ACC3FD2F1.png} \end{center} \subsection{Generating the object Dictionary} @@ -1235,7 +1200,7 @@ \liststyleLxi \begin{enumerate} \item Code was compiled MS VisualStudio 2003.NET and VisualStudio -2005.NET for WindowsXP \ with ANSI and UNICODE configurations and for +2005.NET for WindowsXP \space with ANSI and UNICODE configurations and for WindowsCE 5.0. \item Some preliminary testing was done, but not enough to be used in mission critical projects. @@ -1291,13 +1256,13 @@ {\ttfamily void unlock (void)\newline \{\newline - \ \_\_asm\_\_ + \space \_\_asm\_\_ \_\_volatile\_\_({\textquotedbl}cli{\textquotedbl});\newline \}\newline void lock (void)\newline \{\newline - \ unsigned short mask;\newline - \ \_\_asm\_\_ + \space unsigned short mask;\newline + \space \_\_asm\_\_ \_\_volatile\_\_({\textquotedbl}tpa{\textbackslash}n{\textbackslash}tsei{\textquotedbl}:{\textquotedbl}=d{\textquotedbl}(mask));\newline \}} @@ -1305,14 +1270,14 @@ {\ttfamily void unlock (void)\newline \{\newline - \ \_\_asm({\textquotedbl}cli{\textquotedbl});\newline + \space \_\_asm({\textquotedbl}cli{\textquotedbl});\newline \}\newline void lock (void)\newline \{\newline - \ unsigned short mask;\newline - \ \_\_asm\newline + \space unsigned short mask;\newline + \space \_\_asm\newline \{\newline - \ tpa:tsei:{\textquotedbl}=d{\textquotedbl}(mask);\newline + \space tpa:tsei:{\textquotedbl}=d{\textquotedbl}(mask);\newline \}\newline \}} @@ -1320,360 +1285,99 @@ \subparagraph{Code for GCC} {\ttfamily void initCanHCS12 (void)\newline - \{ \ \newline - \ //Init the HCS12 microcontroler for CanOpen \newline - \ initHCS12();\newline - \ \ // Init the HCS12 \ CAN driver\newline - \ const canBusInit bi0 = \{\newline - \ \ \ 0, \ \ \ /* no low power \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */ + \{ \space \newline + \space //Init the HCS12 microcontroler for CanOpen \newline + \space initHCS12();\newline + \space \space // Init the HCS12 \space CAN driver\newline + \space const canBusInit bi0 = \{\newline + \space \space \space 0, \space \space \space /* no low power \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */ \newline - \ \ \ 0, \ \ \ /* no time stamp -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 1, \ \ \ /* enable MSCAN -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* clock source : oscillator (In fact, it is not used) -\ \ */\newline - \ \ \ 0, \ \ \ /* no loop back -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* no listen only -\ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* no low pass filter for wk up */\newline - \ CAN\_Baudrates[CAN\_BAUDRATE\_250K],\newline - \ \ \ \{\newline - \ \ \ \ \ 0x00, \ \ \ /* Filter on 16 bits.\newline - \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ See Motorola Block Guide V02.14 fig + \space \space \space 0, \space \space \space /* no time stamp +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 1, \space \space \space /* enable MSCAN +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* clock source : oscillator (In fact, it is not used) +\space \space */\newline + \space \space \space 0, \space \space \space /* no loop back +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* no listen only +\space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* no low pass filter for wk up */\newline + \space CAN\_Baudrates[CAN\_BAUDRATE\_250K],\newline + \space \space \space \{\newline + \space \space \space \space \space 0x00, \space \space \space /* Filter on 16 bits.\newline + \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space See Motorola Block Guide V02.14 fig 4{}-3 */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 0 hight accept all msg -\ \ \ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 0 low accept all msg -\ \ \ \ \ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 1 hight filter all of \ msg -\ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 1 low filter all of \ msg -\ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 2 hight filter most of \ msg + \space \space \space \space \space 0x00, 0xFF, /* filter 0 hight accept all msg +\space \space \space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 0 low accept all msg +\space \space \space \space \space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 1 hight filter all of \space msg +\space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 1 low filter all of \space msg +\space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 2 hight filter most of \space msg */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 2 low filter most of \ msg -\ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 3 hight filter most of \ msg + \space \space \space \space \space 0x00, 0xFF, /* filter 2 low filter most of \space msg +\space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 3 hight filter most of \space msg */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 3 low filter most of \ msg -\ \ */\newline - \ \ \ \}\newline - \ \};} + \space \space \space \space \space 0x00, 0xFF, /* filter 3 low filter most of \space msg +\space \space */\newline + \space \space \space \}\newline + \space \};} \subparagraph{Code for CodeWarrior} {\ttfamily void initCanHCS12 (void)\newline - \{ \ \newline - \ //Init the HCS12 microcontroler for CanOpen \newline - \ initHCS12();\newline - \ \ // Init the HCS12 \ CAN driver\newline - \ const canBusInit bi0 = \{\newline - \ \ \ 0, \ \ \ /* no low power \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */ + \{ \space \newline + \space //Init the HCS12 microcontroler for CanOpen \newline + \space initHCS12();\newline + \space \space // Init the HCS12 \space CAN driver\newline + \space const canBusInit bi0 = \{\newline + \space \space \space 0, \space \space \space /* no low power \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */ \newline - \ \ \ 0, \ \ \ /* no time stamp -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 1, \ \ \ /* enable MSCAN -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* clock source : oscillator (In fact, it is not used) -\ \ */\newline - \ \ \ 0, \ \ \ /* no loop back -\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* no listen only -\ \ \ \ \ \ \ \ \ \ \ \ \ \ */\newline - \ \ \ 0, \ \ \ /* no low pass filter for wk up */\newline - \ \ \ \{\newline - \ \ \ \ 1, /* clksrc */\newline - \ \ \ \ 3, /* brp \ \ \ */\newline - \ \ \ \ 0, /* sjw \ \ \ */\newline - \ \ \ \ 0, /* samp \ \ */\newline - \ \ \ \ 1, /* tseg2 \ */\newline - \ \ \ \ 12,/* tseg1 \ */\newline - \ \ \ \},\newline - \ \ \ \{\newline - \ \ \ \ \ 0x00, \ \ \ /* Filter on 16 bits.\newline - \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ See Motorola Block Guide V02.14 fig + \space \space \space 0, \space \space \space /* no time stamp +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 1, \space \space \space /* enable MSCAN +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* clock source : oscillator (In fact, it is not used) +\space \space */\newline + \space \space \space 0, \space \space \space /* no loop back +\space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* no listen only +\space \space \space \space \space \space \space \space \space \space \space \space \space \space */\newline + \space \space \space 0, \space \space \space /* no low pass filter for wk up */\newline + \space \space \space \{\newline + \space \space \space \space 1, /* clksrc */\newline + \space \space \space \space 3, /* brp \space \space \space */\newline + \space \space \space \space 0, /* sjw \space \space \space */\newline + \space \space \space \space 0, /* samp \space \space */\newline + \space \space \space \space 1, /* tseg2 \space */\newline + \space \space \space \space 12,/* tseg1 \space */\newline + \space \space \space \},\newline + \space \space \space \{\newline + \space \space \space \space \space 0x00, \space \space \space /* Filter on 16 bits.\newline + \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space \space See Motorola Block Guide V02.14 fig 4{}-3 */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 0 hight accept all msg -\ \ \ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 0 low accept all msg -\ \ \ \ \ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 1 hight filter all of \ msg -\ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 1 low filter all of \ msg -\ \ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 2 hight filter most of \ msg + \space \space \space \space \space 0x00, 0xFF, /* filter 0 hight accept all msg +\space \space \space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 0 low accept all msg +\space \space \space \space \space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 1 hight filter all of \space msg +\space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 1 low filter all of \space msg +\space \space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 2 hight filter most of \space msg */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 2 low filter most of \ msg -\ \ */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 3 hight filter most of \ msg + \space \space \space \space \space 0x00, 0xFF, /* filter 2 low filter most of \space msg +\space \space */\newline + \space \space \space \space \space 0x00, 0xFF, /* filter 3 hight filter most of \space msg */\newline - \ \ \ \ \ 0x00, 0xFF, /* filter 3 low filter most of \ msg -\ \ */\newline - \ \ \ \}\newline - \ \};} - -\subsubsection{Who to use warnings and errors messages ?} -\paragraph{Warnings messages} -\begin{longtable}[c]{|p{0.8476598in}|p{0.7761598in}|p{1.0268599in}|p{-0.026640158in}|p{1.0386599in}|p{1.2247599in}|p{1.1761599in}|} -\hline -{\bfseries -DEBUG\_WAR\_CONSOLE \_ON} -& -{\bfseries -DEBUG \_CAN} -& -{\bfseries -PrintMsg{}-WarTo{}-Console} -& - -\bigskip -& -{\bfseries -Printing long message on console } -& -\textbf{Printing short message on console.} (number and value only) -& -\textbf{Sending number and value in a PDO}., only if the node is a -slave, in operational state. -\\\hline -\endhead -DEF -& -DEF -& -1 -& - -\bigskip -& - -\bigskip -& -yes -& - -\bigskip -\\\hline -DEF -& -DEF -& -0 -& - -\bigskip -& -yes -& - -\bigskip -& - -\bigskip -\\\hline -DEF -& -UNDEF -& -1 -& - -\bigskip -& - -\bigskip -& - -\bigskip -& - -\bigskip -\\\hline -DEF -& -UNDEF -& -0 -& - -\bigskip -& - -\bigskip -& - -\bigskip -& - -\bigskip -\\\hline -UNDEF -& -X -& -X -& - -\bigskip -& - -\bigskip -& - -\bigskip -& - -\bigskip -\\\hline -\end{longtable} - -\bigskip - -\paragraph{Errors messages} -\begin{longtable}[c]{|p{0.8476598in}|p{0.7351598in}|p{0.6511598in}|p{0.7865598in}|p{-0.026640158in}|p{0.8087598in}|p{0.9955599in}|p{1.1858599in}|} -\hline -{\bfseries -DEBUG\_ERR\_CONSOLE \_ON} -& -{\bfseries -DEBUG \_CAN} -& -{\bfseries -PDO \_ERROR } -& -{\bfseries -PrintMsg{}-ErrTo{}-Console} -& - -\bigskip -& -{\bfseries -Printing long message on console} -& -\textbf{Printing short message on console.} (number and value only) -& -\textbf{Sending number and value in a PDO}., only if the node is a -slave, in operational state. -\\\hline -\endhead -DEF -& -DEF -& -X -& -1 -& - -\bigskip -& - -\bigskip -& -yes -& -yes -\\\hline -DEF -& -DEF -& -X -& -0 -& - -\bigskip -& -yes -& - -\bigskip -& -yes -\\\hline -DEF -& -UNDEF -& -X -& -1 -& - -\bigskip -& - -\bigskip -& - -\bigskip -& -yes -\\\hline -DEF -& -UNDEF -& -X -& -0 -& - -\bigskip -& - -\bigskip -& - -\bigskip -& -yes -\\\hline -UNDEF -& -X -& -DEF -& -X -& - -\bigskip -& - -\bigskip -& - -\bigskip -& -yes -\\\hline -UNDEF -& -X -& -UNDEF -& -X -& - -\bigskip -& - -\bigskip -& - -\bigskip -& - -\bigskip -\\\hline -\end{longtable} - -\bigskip + \space \space \space \space \space 0x00, 0xFF, /* filter 3 low filter most of \space msg +\space \space */\newline + \space \space \space \}\newline + \space \};} \subsubsection{Does the code works in banked memory ?} No. Today it seems that the port of gcc is bogged for using the banked @@ -1688,28 +1392,27 @@ \item Newlib 1.10.0 Build 20030421 \item GNU Binutils 2.12.1 Build 20030427 \end{enumerate} -\section{Documentation resources} -\paragraph{CIA : Can in Automation} -Many documentation on CANopen. - +\section{Documentation resources\newline} +\paragraph{CIA : Can in Automation\newline} +Many documentation on CANopen.\newline \href{http://www.can-cia.de/}{http://www.can{}-cia.de} -\paragraph{Resources and training in CANopen} +\paragraph{Resources and training in CANopen\newline} \href{http://www.esacademy.com/}{http://www.esacademy.com} -\paragraph{Elektronikladen HCS12 T{}-board} +\paragraph{Elektronikladen HCS12 T{}-board\newline} \href{http://www.elektronikladen.de/en_hcs12tb.html}{http://www.elektronikladen.de/en\_hcs12tb.html} -\paragraph{Gnu gcc compiler for HC12} +\paragraph{Gnu gcc compiler for HC12\newline} \href{http://m68hc11.serveftp.org/m68hc11_port.php}{http://m68hc11.serveftp.org/m68hc11\_port.php} -\paragraph{Motorola documentation on HC12} +\paragraph{Motorola documentation on HC12\newline} \href{http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP256}{http://www.freescale.com/webapp/sps/site/prod\_summary.jsp?code=MC9S12DP256} -\paragraph{Lauterbach debugger for HC12} +\paragraph{Lauterbach debugger for HC12\newline} \href{http://www.lauterbach.com/}{http://www.lauterbach.com} -\paragraph{Python language} +\paragraph{Python language\newline} \href{http://www.python.org/}{http://www.python.org} \clearpage\section{About the project} @@ -1778,7 +1481,7 @@ Send your feedback and bug reports to \href{mailto:canfestival-devel@lists.sourceforge.net}{canfestival{}-devel@lists.sourceforge.net}. -For commercial support, \ training and specific integration and +For commercial support, \space training and specific integration and developments, please ask LOLITECH (see contributors). \subsection{Contributing} @@ -1815,7 +1518,7 @@ \newline \#but WITHOUT ANY WARRANTY; without even the implied warranty of \newline -\#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \ See the GNU +\#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \space See the GNU \newline \#Lesser General Public License for more details. \newline \# \newline @@ -1824,8 +1527,9 @@ \#License along with this library; if not, write to the Free Software \newline \#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -\ 02111{}-1307 \ USA } +\space 02111{}-1307 \space USA } \bigskip + \end{document} diff -r 7fedc55c14d5 -r d328d0d9b88e doc/manual/en/manual.toc --- a/doc/manual/en/manual.toc Thu Aug 02 14:20:52 2007 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ -\select@language {english} -\contentsline {section}{\numberline {1 -}Introduction}{2}{section.1} -\contentsline {subsection}{\numberline {1.1)}The CanFestival project}{2}{subsection.1.1} -\contentsline {subsection}{\numberline {1.2)}What is CANopen}{2}{subsection.1.2} -\contentsline {section}{\numberline {2 -}CanFestival Features}{2}{section.2} -\contentsline {subsection}{\numberline {2.1)}Tools }{2}{subsection.2.1} -\contentsline {subsection}{\numberline {2.2)}Standard conformance}{3}{subsection.2.2} -\contentsline {paragraph}{\numberline {a)}Multi{}-Platform}{3}{paragraph.2.2.0.1} -\contentsline {paragraph}{\numberline {b)}CanOpen conformance}{3}{paragraph.2.2.0.2} -\contentsline {section}{\numberline {3 -}How to start}{3}{section.3} -\contentsline {subsection}{\numberline {3.1)}Host requirements}{3}{subsection.3.1} -\contentsline {subsubsection}{\numberline {3.1.1)}Object Dictionary Editor GUI}{4}{subsubsection.3.1.1} -\contentsline {subsubsection}{\numberline {3.1.2)}\ Linux and Unix{}-likes}{4}{subsubsection.3.1.2} -\contentsline {subsubsection}{\numberline {3.1.3)}Windows (for native win32 target)}{4}{subsubsection.3.1.3} -\contentsline {subsection}{\numberline {3.2)}How to get CanFestival}{4}{subsection.3.2} -\contentsline {section}{\numberline {4 -}Understanding Canfestival}{4}{section.4} -\contentsline {subsection}{\numberline {4.1)}CanFestival Project tree layout}{4}{subsection.4.1} -\contentsline {subsection}{\numberline {4.2)}Implement CanFestival in your application}{5}{subsection.4.2} -\contentsline {subsection}{\numberline {4.3)}CanFestival CAN interfaces}{5}{subsection.4.3} -\contentsline {subsection}{\numberline {4.4)}CanFestival events scheduling}{6}{subsection.4.4} -\contentsline {section}{\numberline {5 -}Linux Target}{7}{section.5} -\contentsline {subsection}{\numberline {5.1)}Linux Compilation and installation}{7}{subsection.5.1} -\contentsline {subsubsection}{\numberline {5.1.1)}Standard Linux node}{7}{subsubsection.5.1.1} -\contentsline {subsubsection}{\numberline {5.1.2)}Real{}-Time Linux node}{8}{subsubsection.5.1.2} -\contentsline {subsubsection}{\numberline {5.1.3)}CAN devices}{8}{subsubsection.5.1.3} -\contentsline {paragraph}{\numberline {a)}Peak systems}{8}{paragraph.5.1.3.1} -\contentsline {paragraph}{\numberline {b)}Socket{}-Can (http://socketcan.berlios.de)}{8}{paragraph.5.1.3.2} -\contentsline {paragraph}{\numberline {c)}LinCan}{8}{paragraph.5.1.3.3} -\contentsline {paragraph}{\numberline {d)}Virtual CAN interfaces (for test/debug)}{8}{paragraph.5.1.3.4} -\contentsline {subsection}{\numberline {5.2)}Testing your CanFestival installation}{8}{subsection.5.2} -\contentsline {section}{\numberline {6 -}Windows Targets}{8}{section.6} -\contentsline {subsection}{\numberline {6.1)}Object Dictionary Editor GUI installation.}{8}{subsection.6.1} -\contentsline {subsection}{\numberline {6.2)}CYGWIN}{9}{subsection.6.2} -\contentsline {subsubsection}{\numberline {6.2.1)}Requirements}{9}{subsubsection.6.2.1} -\contentsline {subsubsection}{\numberline {6.2.2)}Cygwin configuration and compilation}{9}{subsubsection.6.2.2} -\contentsline {paragraph}{\numberline {a)}A single node with PcanLight and Peak CAN{}-USB adapter}{9}{paragraph.6.2.2.1} -\contentsline {paragraph}{\numberline {b)}Two nodes with PcanLight and Peak dual PCMCIA{}-CAN adapter}{9}{paragraph.6.2.2.2} -\contentsline {subsection}{\numberline {6.3)}Visual Studio C++}{10}{subsection.6.3} -\contentsline {subsubsection}{\numberline {6.3.1)}Requirements}{10}{subsubsection.6.3.1} -\contentsline {subsubsection}{\numberline {6.3.2)}Configuration with cygwin}{10}{subsubsection.6.3.2} -\contentsline {subsubsection}{\numberline {6.3.3)}Compilation with Visual Studio}{10}{subsubsection.6.3.3} -\contentsline {paragraph}{\numberline {a)}PcanLight and the can\_peak\_win32 project.}{10}{paragraph.6.3.3.1} -\contentsline {subsubsection}{\numberline {6.3.4)}Testing}{10}{subsubsection.6.3.4} -\contentsline {section}{\numberline {7 -}Motorola HCS12}{10}{section.7} -\contentsline {subsection}{\numberline {7.1)}Running a HCS12 node}{11}{subsection.7.1} -\contentsline {subsubsection}{\numberline {7.1.1)}Compiling Canfestival:}{11}{subsubsection.7.1.1} -\contentsline {subsubsection}{\numberline {7.1.2)}Compiling and building an example}{11}{subsubsection.7.1.2} -\contentsline {subsubsection}{\numberline {7.1.3)}Flashing the memory :}{11}{subsubsection.7.1.3} -\contentsline {subsubsection}{\numberline {7.1.4)}Connecting to a serial RS232 console :}{11}{subsubsection.7.1.4} -\contentsline {subsubsection}{\numberline {7.1.5)}Connecting to the CAN network :}{11}{subsubsection.7.1.5} -\contentsline {subsubsection}{\numberline {7.1.6)}starting the node :}{11}{subsubsection.7.1.6} -\contentsline {section}{\numberline {8 -}Example and test program:}{11}{section.8} -\contentsline {subsection}{\numberline {8.1)}TestMasterSlave}{11}{subsection.8.1} -\contentsline {subsection}{\numberline {8.2)}gene\_SYNC\_HCS12 :}{12}{subsection.8.2} -\contentsline {subsection}{\numberline {8.3)}TestMasterMicroMod }{12}{subsection.8.3} -\contentsline {section}{\numberline {9 -}Developing a new node}{13}{section.9} -\contentsline {subsection}{\numberline {9.1)}Using Dictionary Editor GUI}{13}{subsection.9.1} -\contentsline {subsubsection}{\numberline {9.1.1)}Installation and usage on Linux}{13}{subsubsection.9.1.1} -\contentsline {subsubsection}{\numberline {9.1.2)}Installation and usage on Windows}{13}{subsubsection.9.1.2} -\contentsline {subsubsection}{\numberline {9.1.3)}About}{14}{subsubsection.9.1.3} -\contentsline {subsubsection}{\numberline {9.1.4)}Main view}{14}{subsubsection.9.1.4} -\contentsline {subsubsection}{\numberline {9.1.5)}New node}{15}{subsubsection.9.1.5} -\contentsline {subsubsection}{\numberline {9.1.6)}Node info}{15}{subsubsection.9.1.6} -\contentsline {subsubsection}{\numberline {9.1.7)}Profile editor}{16}{subsubsection.9.1.7} -\contentsline {subsubsection}{\numberline {9.1.8)}User types}{16}{subsubsection.9.1.8} -\contentsline {subsubsection}{\numberline {9.1.9)}Mapped variable}{17}{subsubsection.9.1.9} -\contentsline {subsubsection}{\numberline {9.1.10)}Integrated help}{17}{subsubsection.9.1.10} -\contentsline {subsection}{\numberline {9.2)}Generating the object Dictionary}{19}{subsection.9.2} -\contentsline {subsubsection}{\numberline {9.2.1)}With GUI}{19}{subsubsection.9.2.1} -\contentsline {subsubsection}{\numberline {9.2.2)}With command line}{19}{subsubsection.9.2.2} -\contentsline {section}{\numberline {10 -}FAQ}{19}{section.10} -\contentsline {subsection}{\numberline {10.1)}General}{19}{subsection.10.1} -\contentsline {subsubsection}{\numberline {10.1.1)}Does the code compiles on Windows ?}{19}{subsubsection.10.1.1} -\contentsline {subsubsection}{\numberline {10.1.2)}How to fit the library to an other microcontr\^oler ?}{19}{subsubsection.10.1.2} -\contentsline {subsubsection}{\numberline {10.1.3)}Is CanFestival3 conform to DS301 v.4.02 ?}{19}{subsubsection.10.1.3} -\contentsline {subsection}{\numberline {10.2)}LINUX}{20}{subsection.10.2} -\contentsline {subsubsection}{\numberline {10.2.1)}How to use a Peaksystem CAN board ?}{20}{subsubsection.10.2.1} -\contentsline {subsubsection}{\numberline {10.2.2)}How to use an unsupported CAN board ?}{20}{subsubsection.10.2.2} -\contentsline {subsection}{\numberline {10.3)}Win32}{20}{subsection.10.3} -\contentsline {subsection}{\numberline {10.4)}HCS12}{20}{subsection.10.4} -\contentsline {subsubsection}{\numberline {10.4.1)}Which board are you using ?}{20}{subsubsection.10.4.1} -\contentsline {subsubsection}{\numberline {10.4.2)}Does the code compile with an other compiler than GNU gcc ?}{20}{subsubsection.10.4.2} -\contentsline {paragraph}{\numberline {a)}Interrupt functions}{20}{paragraph.10.4.2.1} -\contentsline {subparagraph}{\numberline {i)}Code for GCC:}{20}{subparagraph.10.4.2.1.1} -\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{21}{subparagraph.10.4.2.1.2} -\contentsline {paragraph}{\numberline {b)}Interrupt lock, unlock}{21}{paragraph.10.4.2.2} -\contentsline {subparagraph}{\numberline {i)}Code for GCC}{21}{subparagraph.10.4.2.2.1} -\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{21}{subparagraph.10.4.2.2.2} -\contentsline {paragraph}{\numberline {c)}Initialize function}{21}{paragraph.10.4.2.3} -\contentsline {subparagraph}{\numberline {i)}Code for GCC}{21}{subparagraph.10.4.2.3.1} -\contentsline {subparagraph}{\numberline {ii)}Code for CodeWarrior}{22}{subparagraph.10.4.2.3.2} -\contentsline {subsubsection}{\numberline {10.4.3)}Who to use warnings and errors messages ?}{22}{subsubsection.10.4.3} -\contentsline {paragraph}{\numberline {a)}Warnings messages}{23}{table.1} -\contentsline {paragraph}{\numberline {b)}Errors messages}{23}{table.2} -\contentsline {subsubsection}{\numberline {10.4.4)}Does the code works in banked memory ?}{23}{subsubsection.10.4.4} -\contentsline {subsubsection}{\numberline {10.4.5)}What GCC version are you using ?}{24}{subsubsection.10.4.5} -\contentsline {section}{\numberline {11 -}Documentation resources}{24}{section.11} -\contentsline {paragraph}{\numberline {a)}CIA : Can in Automation}{24}{paragraph.11.0.5.1} -\contentsline {paragraph}{\numberline {b)}Resources and training in CANopen}{24}{paragraph.11.0.5.2} -\contentsline {paragraph}{\numberline {c)}Elektronikladen HCS12 T{}-board}{24}{paragraph.11.0.5.3} -\contentsline {paragraph}{\numberline {d)}Gnu gcc compiler for HC12}{24}{paragraph.11.0.5.4} -\contentsline {paragraph}{\numberline {e)}Motorola documentation on HC12}{24}{paragraph.11.0.5.5} -\contentsline {paragraph}{\numberline {f)}Lauterbach debugger for HC12}{24}{paragraph.11.0.5.6} -\contentsline {paragraph}{\numberline {g)}Python language}{24}{paragraph.11.0.5.7} -\contentsline {section}{\numberline {12 -}About the project}{25}{section.12} -\contentsline {subsection}{\numberline {12.1)}Contributors }{25}{subsection.12.1} -\contentsline {subsection}{\numberline {12.2)}Getting support}{25}{subsection.12.2} -\contentsline {subsection}{\numberline {12.3)}Contributing}{25}{subsection.12.3} -\contentsline {subsection}{\numberline {12.4)}License}{26}{subsection.12.4} diff -r 7fedc55c14d5 -r d328d0d9b88e objdictgen/doc/manual_en.pdf Binary file objdictgen/doc/manual_en.pdf has changed