System Setup
Designer Reference Manual
DRM047 — Rev 0
118
System Setup
MOTOROLA
E.3 Required Software Tools
The application requires the following software development tools:
•
Metrowerks CodeWarrior for HC08 microcontrollers, version 2.1
or later.
•
PEMICRO PROG08SZ Flash/EEprom Programmer HC08
devices using MON08, version 1.68
•
Metrowerks CodeWarrior for HC12 microcontrollers with BDM
support, version 2.0 or later.
•
Microsoft Internet Explorer
•
PC Master software tool
E.4 Building and Uploading the Application
the application software is delivered in the folder
lin_leveller
. The
master software is located in the sub folder
lin_master
. The slave
software is located in the sub folder
lin_stepper
.
E.4.1 LIN Master
The application software is delivered as the
master.mcp
project file with
main C-source
master.c
and main header
master.h
. Using Metrowerks
CodeWarrior for HC12, the executable file can be created. The
executable file is then downloaded into the MCU through the BDM
multilink hardware connected to the parallel port on the PC.
E.4.2 LIN Stepper (Slave) Controller
After successfully loading the master software, as described in the
previous section, configure the system as shown in
and
.
The application software is delivered as the
lin_stepper.mcp
project file
with C-source and header files in the sub folder
lin_stepper
. Using
Metrowerks CodeWarrior, the executable S19 file
lin_stepper.sx
can be
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..