doc/manual/en/html/node44.html
author lbessard
Wed, 25 Jul 2007 08:48:08 +0200
changeset 243 7fcc129a06ce
parent 215 f49e5a6b7804
permissions -rw-r--r--
Some bugs fixed
210
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     2
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     3
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     4
original version by:  Nikos Drakos, CBLU, University of Leeds
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     6
* with significant contributions from:
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     8
<HTML>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     9
<HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    10
<TITLE>Motorola HCS12</TITLE>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    11
<META NAME="description" CONTENT="Motorola HCS12">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    12
<META NAME="keywords" CONTENT="manual">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    13
<META NAME="resource-type" CONTENT="document">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    14
<META NAME="distribution" CONTENT="global">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    15
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    18
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    19
<LINK REL="STYLESHEET" HREF="manual.css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    20
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    21
<LINK REL="next" HREF="node52.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    22
<LINK REL="previous" HREF="node31.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    23
<LINK REL="up" HREF="manual.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    24
<LINK REL="next" HREF="node45.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    25
</HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    26
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    27
<BODY >
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    28
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    29
<DIV CLASS="navigation"><!--Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    30
<A NAME="tex2html710"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    31
  HREF="node45.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    33
 SRC="/usr/share/latex2html/icons/next.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    34
<A NAME="tex2html706"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    35
  HREF="manual.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    37
 SRC="/usr/share/latex2html/icons/up.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    38
<A NAME="tex2html700"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    39
  HREF="node43.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    41
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    42
<A NAME="tex2html708"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    43
  HREF="node1.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    46
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    47
<B> Next:</B> <A NAME="tex2html711"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    48
  HREF="node45.html">Running a HCS12 node</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    49
<B> Up:</B> <A NAME="tex2html707"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    50
  HREF="manual.html">Documentation</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    51
<B> Previous:</B> <A NAME="tex2html701"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    52
  HREF="node43.html">Testing</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    53
 &nbsp; <B>  <A NAME="tex2html709"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    54
  HREF="node1.html">Contents</A></B> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    55
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    56
<BR></DIV>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    57
<!--End of Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    58
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    59
<H1><A NAME="SECTION00080000000000000000">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    60
Motorola HCS12</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    61
</H1>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    62
The examples have been tested on a MC9S12DG255 mounted on a
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    63
Elektronikladen HCS12 T-board.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    64
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    65
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    66
Beware that there are a few differences in the MSCAN module of the
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    67
68HC12 and HCS12 microcontroller. For a HC12, you must adapt the driver
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    68
that we provide for HCS12.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    69
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    70
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    71
For the difference MSCAN HC12/HCS12, see the Motorola application note
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    72
AN2011/D.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    73
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    74
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    75
Configure switch:
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    76
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    77
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    78
<TT> -target=hcs12</TT>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    79
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    80
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    81
To do a CANopen node running on a microncontroller Motorola MC9S12DP256,
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    82
you need :
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    83
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    84
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    85
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    86
<OL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    87
<LI>The compiler GNU gcc for HC11, HC12, HCS12 : m6811-elf. <BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    88
Download the <SPAN  CLASS="textbf">release 3.1</SPAN> at :
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    89
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    90
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    91
hrefhttp://m68hc11.serveftp.org/m68hc11_pkg_rpm.phphttp://m68hc11.serveftp.org/m68hc11_pkg_rpm.php
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    92
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    93
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    94
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    95
<LI>A board with this chip. We are using the T-board from
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    96
Electronikladden. 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    97
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    98
<LI>At least about 40 kBytes of program memory.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    99
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   100
<LI>A tool to flash the memory. (We are using the hight cost
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   101
Lauterbach debugger).
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   102
</LI>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   103
</OL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   104
<BR><HR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   105
<!--Table of Child-Links-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   106
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   107
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   108
<UL CLASS="ChildLinks">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   109
<LI><A NAME="tex2html712"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   110
  HREF="node45.html">Running a HCS12 node</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   111
<UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   112
<LI><A NAME="tex2html713"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   113
  HREF="node46.html">Compiling Canfestival:</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   114
<LI><A NAME="tex2html714"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   115
  HREF="node47.html">Compiling and building an example</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   116
<LI><A NAME="tex2html715"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   117
  HREF="node48.html">Flashing the memory :</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   118
<LI><A NAME="tex2html716"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   119
  HREF="node49.html">Connecting to a serial RS232 console :</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   120
<LI><A NAME="tex2html717"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   121
  HREF="node50.html">Connecting to the CAN network :</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   122
<LI><A NAME="tex2html718"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   123
  HREF="node51.html">starting the node :</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   124
</UL></UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   125
<!--End of Table of Child-Links-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   126
<BR><HR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   127
<ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   128
epimerde
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 211
diff changeset
   129
2007-06-08
210
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   130
</ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   131
</BODY>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   132
</HTML>