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.01
1
INTRODUCTION ............................................................................................ 1
1.1
1.2
1.3
1.4
1.5
Overview ........................................................................................................ 1
Package Contents .......................................................................................... 1
Supported Devices ......................................................................................... 1
Recommended Materials On The Getting Started DVD-ROM ....................... 1
Handling Precautions ..................................................................................... 2
DEMOJM Base Board Features..................................................................... 2
On-Board Logic Analyzer ............................................................................... 4
On-Board Virtual USB Port............................................................................. 4
DEMO9S08JM16 Daughter Card Features.................................................... 5
DEMOJM Board Jumper/Connector Quick Reference................................... 5
2
HARDWARE FEATURES............................................................................... 2
2.1
2.2
2.3
2.4
2.5
3
4
GETTING STARTED WITH THE DEMO9S08JM16....................................... 7
SYSTEM SETUP ............................................................................................ 8
4.1
4.2
4.3
4.4
4.5
Overview ........................................................................................................ 8
Operating System Requirements .................................................................. 8
Software Setup............................................................................................... 8
Quick Startup.................................................................................................. 9
Hardware Setup ............................................................................................. 9
Overview ...................................................................................................... 13
Debug Mode................................................................................................. 13
Run Mode..................................................................................................... 14
External BDM Mode ..................................................................................... 14
Logic Analyzer Application ........................................................................... 14
Terminal Application..................................................................................... 15
DEMO9S08JM16 Unsecure Application ...................................................... 16
Accelerometer Demo Application ................................................................. 17
Serial Grapher Application ........................................................................... 19
5
OPERATING MODES................................................................................... 13
5.1
5.2
5.3
5.4
6
P&E EMBEDDED MULTILINK TOOLKIT PC APPLICATIONS .................... 14
6.1
6.2
6.3
6.4
6.5
DEMO9S08JM16 User Manual
ii
7
DEMONSTRATION MICROCONTROLLER APPLICATIONS...................... 22
7.1
7.2
Logic Analyzer Application............................................................................22
Serial Accelerometer Application ..................................................................22
System Power...............................................................................................23
Virtual Serial Port ..........................................................................................23
CAN Port.......................................................................................................24
Mini-USB Port ...............................................................................................25
LED Display Port ..........................................................................................29
Input and Reset Switches .............................................................................29
3-Axis Accelerometer Jumper Settings.........................................................31
Buzzer...........................................................................................................33
IIC Pull-up .....................................................................................................34
Analog Input Potentiometer ..........................................................................34
Optional Jumpers For Various VDD And VSS ..............................................34
Using CodeWarrior With The DEMO9S08JM16 ...........................................35
P&E Software Tools for HCS08 Microcontrollers..........................................35
Hardware Solutions At A Glance ..................................................................36
Working With P&E’s USB Multilink ...............................................................37
Working With P&E’s Cyclone PRO ...............................................................38
DEMOJM Board Is Undetected ....................................................................39
CodeWarrior Installation Fails (WinDriver Error)...........................................40
8
JUMPER SETTINGS .................................................................................... 23
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
8.10
8.11
9
DEMO9S08JM16 CODE DEVELOPMENT SOFTWARE ............................. 35
9.1
9.2
10
TRANSITIONING TO YOUR OWN TARGET ............................................... 36
10.1
10.2
10.3
11
TROUBLESHOOTING.................................................................................. 39
11.1
11.2
iii
DEMO9S08JM16 User Manual
1
1.1
INTRODUCTION
Overview
The DEMO9S08JM16 is a low cost development system supporting
Freescale MC9S08JM16 microcontrollers. It consists of a DEMOJM Base
Board and a DC9S08JM16 Daughter Card. P&E’s Embedded Multilink
circuitry on the DEMOJM board allows the processor connected to the
DEMOJM to be debugged and programmed via USB from a PC. In addition,
the demo board can be powered using the USB bus.
1.2
Package Contents
The DEMO9S08JM16 package includes the following items:
•
•
•
•
•
•
DEMOJM Base Board with a DC9S08JM16 Daughter Card installed
Getting Started DVD - Getting started with the series of
microcontrollers
USB A-to-B Cable
Mini-AB USB Kit
Quick Start Guide
Freescale Warranty Card
1.3
Supported Devices
The DEMO9S08JM16 supports the following devices:
•
MC9S08JM16CGT
1.4
Recommended Materials On The Getting Started DVD-ROM
•
Freescale MC9S08JM16 reference manual and datasheet
DEMO9S08JM16 User Manual
1