Purchase Agreement
P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any
products herein to improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not
assume any liability arising out of the application or use of any product or circuit described herein.
This software and accompanying documentation are protected by United States Copyright law and
also by International Treaty provisions. Any use of this software in violation of copyright law or the
terms of this agreement will be prosecuted.
All the software described in this document is copyrighted by P&E Microcomputer Systems, Inc.
Copyright notices have been included in the software.
P&E Microcomputer Systems authorizes you to make archival copies of the software and
documentation for the sole purpose of back-up and protecting your investment from loss. Under no
circumstances may you copy this software or documentation for the purpose of distribution to others.
Under no conditions may you remove the copyright notices from this software or documentation.
This software may be used by one person on as many computers as that person uses, provided that
the software is never used on two computers at the same time. P&E expects that group programming
projects making use of this software will purchase a copy of the software and documentation for each
user in the group. Contact P&E for volume discounts and site licensing agreements.
P&E Microcomputer Systems does not assume any liability for the use of this software beyond the
original purchase price of the software. In no event will P&E Microcomputer Systems be liable for
additional damages, including any lost profits, lost savings or other incidental or consequential
damages arising out of the use or inability to use these programs, even if P&E Microcomputer Systems
has been advised of the possibility of such damage.
By using this software, you accept the terms of this agreement.
© 2009 P&E Microcomputer Systems, Inc. “MS-DOS” and “Windows” are registered trademarks of
Microsoft Corporation. “Freescale” and “ColdFire” are registered trademarks of Freescale, Inc. “IBM”
and “PowerPC” are registered trademarks of IBM corporation.
P&E Microcomputer Systems, Inc.
98 Galen St.
Watertown, MA 02472
617-923-0053
http://www.pemicro.com
Manual version 1.03
1
INTRODUCTION ............................................................................................ 1
1.1
1.2
1.3
1.4
1.5
Overview ........................................................................................................ 1
Package Contents .......................................................................................... 1
Supported Devices ......................................................................................... 1
Recommended Materials On DEMO9S08QB8 Resources CD...................... 1
Handling Precautions ..................................................................................... 2
DEMOQE Base Board Features .................................................................... 2
On-Board Logic Analyzer ............................................................................... 4
On-Board Virtual Serial Port........................................................................... 4
DEMOQE Daughter Card Features................................................................ 5
DC9S08QB8 Specific Connections ................................................................ 5
Signal Mapping of DC9S08QB8 to MCU_PORT............................................ 6
Overview ........................................................................................................ 8
Operating System Requirements ................................................................... 8
Software Setup............................................................................................... 8
Quick Startup.................................................................................................. 9
Hardware Setup ........................................................................................... 10
Overview ...................................................................................................... 13
Debug Mode................................................................................................. 13
Run Mode..................................................................................................... 14
External BDM Mode ..................................................................................... 14
DEMOQE Logic Analyzer Application .......................................................... 14
DEMOQE Terminal Application.................................................................... 16
DEMOQE Unsecure Application .................................................................. 16
DEMOQE Accelerometer Demo Application ................................................ 17
DEMOQE Serial Grapher Application .......................................................... 18
2
HARDWARE FEATURES............................................................................... 2
2.1
2.2
2.3
2.4
2.5
2.6
3
SYSTEM SETUP ............................................................................................ 8
3.1
3.2
3.3
3.4
3.5
4
OPERATING MODES................................................................................... 13
4.1
4.2
4.3
4.4
5
DEMOQE TOOLKIT PC APPLICATIONS .................................................... 14
5.1
5.2
5.3
5.4
5.5
6
DEMONSTRATION MICROCONTROLLER APPLICATIONS...................... 21
ii
DEMO9S08QB8 User Manual
6.1
6.2
Quick Start Application .................................................................................21
Serial Accelerometer Application ..................................................................22
System Power...............................................................................................22
RS232 Communications ...............................................................................24
LED Display Port ..........................................................................................26
Input and Reset Switches .............................................................................27
3-Axis Accelerometer Jumper Settings.........................................................28
Buzzer...........................................................................................................30
IIC Pull-up .....................................................................................................31
Analog Input Potentiometer ..........................................................................31
Optional External Crystal Circuitry Jumper Enable.......................................31
Optional Jumpers For Various VDD And VSS ..............................................32
Using CodeWarrior With The DEMO9S08QB8.............................................32
Using P&E Software With The DEMO9S08QB8...........................................33
Hardware Solutions At A Glance ..................................................................33
Working With P&E’s USB Multilink ...............................................................34
Working With P&E’s Cyclone PRO ...............................................................35
DEMO9S08QB8 Is Undetected ....................................................................36
CodeWarrior Installation Fails (WinDriver Error)...........................................38
7
JUMPER SETTINGS .................................................................................... 22
7.1
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9
7.10
8
DEMO9S08QB8 CODE DEVELOPMENT SOFTWARE............................... 32
8.1
8.2
9
TRANSITIONING TO YOUR OWN TARGET ............................................... 33
9.1
9.2
9.3
10
TROUBLESHOOTING.................................................................................. 36
10.1
10.2
iii
DEMO9S08QB8 User Manual
1
1.1
INTRODUCTION
Overview
The DEMO9S08QB8 is a low-cost development system designed for
demonstrating, evaluating, and debugging the Freescale MC9S08QB8
microcontroller. P&E’s Embedded Multilink circuitry on the DEMO9S08QB8
board allows the processor on the DEMO9S08QB8 to be debugged and
programmed via USB from the PC. In addition, the demo board can be
powered using the USB bus.
Note:
Freescale has an older device called 908QB8. 908QB8 is different from this
new 9S08QB8 device. When searching for “QB8” online resources, make
sure that the resources pertain to the 9S08QB8 device and NOT the 908QB8
device.
1.2
Package Contents
The DEMO9S08QB8 package includes the following items:
•
•
•
•
•
DEMOQE Base Board with a MC9S08QB8 Daughter Card installed
2-cell AAA battery package
USB Cable
Quick Start Guide
Freescale Warranty Card
1.3
Supported Devices
The DEMO9S08QB8 supports the MC9S08QB8CWL device.
1.4
Recommended Materials On DEMO9S08QB8 Resources CD
•
DEMO9S08QB8 Embedded Multilink hardware interface driver
DEMO9S08QB8 User Manual
1