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