Technical information
AN2317/D
Low-Cost MON08 Software
Low-Cost Programming and Debugging Options for M68HC08 MCUs 23
a great bargain for serious programmers. This powerful tool combines a
high-performance Integrated Development Environment with:
• Full-chip simulation and FLASH programming from P&E Microcomputer
Systems
• A highly optimized ANSI C compiler and C source level debugger
• Automatic C code generation with Processor Expert from Unis
Launching a programming or debug session with the project-based
CodeWarrior IDE is as simple as double-clicking on the project name (format is
projectname.mcp) from your file storage. Starting a new project is a little more
challenging, but the tutorials, FAQs, and Quick Start Guides are easy to follow
and have you building a new project, using pre-built templates, in a short time.
(See www.Metrowerks.com/MW/Develop/ and select “CodeWarrior
Development Studio for HC08 for Microcontrollers”.)
The following example illustrates how to program and debug an M68HC908
MCU from within the CodeWarrior IDE.
Here are the main steps in programming the FLASH with CodeWarrior in
normal monitor mode and starting a debug session. This example was built with
PEDebug as the project stationery and QT4 absolute assembly. This example
also uses the low-cost MON08 circuit from Figure 7 as the MON08 pod.
1. a. Launch the CodeWarrior CW08 software and create a new project, or
b. Double-click on your project file (projectname.mcp)
The Project Manager window appears. See Figure 14.
Figure 14. CodeWarrior Project Window
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc
.
..