PK-HCS08GB60
Starter Kit for
Motorola
MC9S08GB60
User’s Manual
Copyright © 2003 SofTec Microsystems
DC00684
®
We want your feedback!
SofTec Microsystems is always on the look-out for new ways to improve its Products and
Services. For this reason feedback, comments, suggestions or criticisms, however small,
are always welcome.
SofTec Microsystems
E-mail (general information): info@softecmicro.com
E-mail (marketing department): marketing@softecmicro.com
E-mail (technical support): support@softecmicro.com
Web: http://www.softecmicro.com
Important
SofTec Microsystems reserves the right to make improvements to the PK Series of Starter Kits, their documentation and
software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec
Microsystems assumes no responsibility for its use; nor for any infringements of rights of third parties which may result
from its use.
SOFTEC MICROSYSTEMS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS,
USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY
THEREOF.
Trademarks
Motorola and DigitalDNA are trademarks or registered trademarks of Motorola, Inc.
Metrowerks and CodeWarrior are trademarks or registered trademarks of Metrowerks Corp.
Microsoft and Windows are trademarks or registered trademarks of Microsoft Corporation.
PC is a registered trademark of International Business Machines Corporation.
Other products and company names listed are trademarks or trade names of their respective companies.
Written by Paolo Xausa
PK-HCS08GB60 User's Manual
Contents
1. Overview
What is the PK-HCS08GB60 Starter Kit?
Background Debug Module (BDM)
PK-HCS08GB60 Board Layout
CodeWarrior Integrated Development Environment
Recommended Reading
Software Upgrades
5
5
7
7
8
9
9
2. Getting Started
PK-HCS08GB60 Components
Host System Requirements
Installing the Software
Installing Metrowerks CodeWarrior IDE
Installing SofTec Microsystems Additional Components
Installing the Hardware
Application Tutorial
Additional Examples
11
11
11
12
12
12
13
13
17
3. Hardware Features
Introduction
MCU Section
USB to BDM Interface
Demo Section
Prototype Area
19
19
19
20
20
21
4. Debugging Features
Creating Your Own Application
Using the Project Wizard to Create Your Application Skeleton
Starting your first Debugging Session
Using Existing Projects with PK-HCS08GB60
Breakpoints and Trace
23
23
23
23
24
26
Contents
Notes and Tips
Entering Debug Session with CodeWarrior
Reading Peripheral Status
Breakpoints and BGND Instruction
STOP Assembly Instruction
Real-Time Memory Update
FLL Usage
Hardware Breakpoints and Software Breakpoints
Advanced Debugging Features
DataBlaze Programming Utility
DataBlaze Notes
27
27
27
27
28
28
28
28
29
29
31
5. Troubleshooting
Common Problems and Solutions
Communication Can’t Be Established with PK-HCS08GB60
Stepping Execution is Slow
STOP Assembly Instruction Causes a Microcontroller Reset
Communication Lost During Debugging
Getting Technical Support
33
33
33
34
34
34
34
Appendix A. Electrical and Physical Specifications
37