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
Source code may be created using any ASCII text editor, such as Windows TM 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
相关PDF资料
CMR-8040 RACK CABLE MANAGMNT OPEN ASSMBLY
COP8SG-EPU BOARD PROTOTYPE/TARGET COP8
CORE1553-DEV-KIT KIT DEVELOPMENT FOR IP CORE1553
CP131-AG LNR PWR SUP 5V 8A, +/-12V 1.7A
CPC1590P MOSFET GATE DVR ISO 8-FLATPACK
CPC5002G ISOLAT DGTL 3.75KVRMS 2CH 8-DIP
CPCI-D-3U-300C PWR SUPLY DC/DC CPCI 300W 3UX8HP
CPD250-4530G PWR SUP 250W 3.3/5/12/-12V QUAD
相关代理商/技术参数
CML12GC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN CLEAR
CML12GS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, GREEN, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V GREEN SATIN
CML12RC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED CLEAR
CML12RS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, RED, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V RED SATIN
CML12WC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE CLEAR
CML12WS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, WHITE, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V WHITE SATIN
CML12YC 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW CLEAR
CML12YS 制造商:Visual Communications Company (VCC) 功能描述:ACSENTIO ACCENT LIGHTING, YELLOW, 12V 制造商:CML Innovative Technologies 功能描述:LED LAMP GX53 12V YELLOW SATIN