CML12C32SLK Freescale Semiconductor, CML12C32SLK Datasheet - Page 8

no-image

CML12C32SLK

Manufacturer Part Number
CML12C32SLK
Description
KIT STUDENT LEARNING 16BIT HCS12
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheet

Specifications of CML12C32SLK

Contents
*
For Use With/related Products
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
C M L - 1 2 C 3 2
J U L Y
2 6 ,
2 0 0 4
Support Software
There are many programs and documents on the included HC12 support CD that support the
CML-12C32 board. Install any desired applications from the CD main menu. Documentation
and example code may be copied directly from the CD.
AT minimum, the AxIDE terminal program should be installed. AxIDE provides a simple termi-
nal interface between the host PC and the CML-12C32 development board. The program in-
tegrates an assembler, a flash programming utility, and a serial communication interface.
Also on the disk are free assemblers AS12 and MCU-EZ, the open source GNU C/C++ com-
piler tools for HC11/12, example source code, and other useful software. The introductory tu-
torial in this manual uses the free AS12 assembler integrated into the AxIDE program. This is
a simple assembler with limited capability. For a more powerful assembly tool, install the Mo-
torola MCUez program from the CD.
Software Development
Software development on the CML-12C32 can be performed using either the embedded
monitor installed in the MCU internal FLASH, a third party debugger (Debug12, NoICE,
CodeWarrior, etc.) or a Background Debug Module (BDM) connected to the BDM PORT con-
nector. Any of these tools can be used to assist in creating and debugging programs stored in
RAM (see Memory Map).
After satisfactory operation running under a debugger, the program can be written to internal
Flash Memory using the included programming utilities. The embedded monitor relocates the
interrupt vectors to RAM memory and provides an AUTOSTART feature to launch applications.
Loaded programs will then run automatically whenever the board is powered or RESET is ap-
plied.
TUTORIAL
This section was written to help the user get started developing software for the CML-12C32
development board. Read rest of this User’s Guide and additional documentation on the CD
for further information.
The following sections illustrate the complete development cycle for a simple "hello world" pro-
gram. This program sends the text string "Hello World" to the serial port. The following exam-
ple assumes the use of the AxIDE interface and the free assembler, AS12. Both utilities are
provided on the software CD.
Creating Source Code
TM
Source code may be created using any ASCII text editor, such as Windows
Notepad. Note,
the source file must be simple ASCII text with no document formatting. After the source code
is written and saved, the file must be assembled to a Motorola S-Record (hex) format. This
type of output file usually has a .MOT, .HEX or .S19 file extension and is in a format that can
8

Related parts for CML12C32SLK