m68ics08somd_v_1_05.pdf

(1557 KB) Pobierz
M68ICS08SOM/D
June 2000
M68ICS08
68HC08 In-Circuit Simulator
Operator’s Manual
©P&E Microcomputer Systems, Inc., 1999; All Rights Reserved
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.
Portions of this manual are reprinted with permission, from M68ICS08RKSOM/D, Copyright 1999; Motorola, Inc.
MS-DOS & Windows are registered trademarks of Microsoft Corporation. Motorola is a registered trademark of
Motorola, Inc. IBM is a registered trademark of IBM corporation.
P&E Microcomputer Systems, Inc.
P.O. Box 2044
Woburn, MA 01888
617-353-9206
www.pemicro.com
Manual version 1.05
P&E
CHAPTER 1
1.1
1.2
1.3
1.4
Microcomputer
Systems, Inc.
INTRODUCTION
OVERVIEW ................................................................................................................. 1-1
ICS08 INTERFACE SOFTWARE PACKAGE........................................................... 1-2
1.2.1
Software Requirements............................................................................................................... 1-2
ICS08 PACKAGE FEATURES ................................................................................... 1-2
ABOUT THIS OPERATOR’S MANUAL................................................................... 1-4
1.4.1
1.4.2
Chapter Organization.................................................................................................................. 1-4
Document Conventions .............................................................................................................. 1-5
1.5
1.6
1.7
SOFTWARE QUICK START INSTRUCTIONS........................................................ 1-5
MC68HC908 SECURITY FEATURE ......................................................................... 1-8
CUSTOMER SUPPORT ............................................................................................ 1-10
CHAPTER 2
2.1
2.2
SOFTWARE INSTALLATION AND INITIALIZATION
OVERVIEW ................................................................................................................. 2-1
THE ICS08 SOFTWARE COMPONENTS................................................................. 2-1
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
WinIDE Editor............................................................................................................................ 2-1
CASM08Z Assembler ................................................................................................................ 2-2
ICS08Z In-Circuit Simulator Software....................................................................................... 2-2
ICD08SZ In-Circuit Debugger ................................................................................................... 2-3
PROG08SZ FLASH Programmer .............................................................................................. 2-3
2.3
INSTALLING THE ICS08 SOFTWARE PACKAGE ................................................ 2-3
2.3.1
2.3.2
Installation Steps......................................................................................................................... 2-3
Starting the ICS08 Software ....................................................................................................... 2-4
2.4
TARGET CONNECTION AND SECURITY DIALOG ............................................. 2-5
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
TARGET HARDWARE TYPE ................................................................................................. 2-5
PC SERIAL PORT CONFIGURATION ................................................................................. 2-11
TARGET MCU SECURITY BYTES ...................................................................................... 2-11
STATUS ................................................................................................................................... 2-12
ADDITIONAL DIALOG BUTTONS...................................................................................... 2-15
CHAPTER 3
3.1
3.2
3.3
THE WinIDE USER INTERFACE
OVERVIEW ................................................................................................................. 3-1
WINDOWS INTEGRATED DEVELOPMENT ENVIRONMENT ........................... 3-1
WinIDE MAIN WINDOW........................................................................................... 3-2
M68ICS08SOM/D
iii
P&E
3.3.1
3.3.2
Microcomputer
Systems, Inc.
Main Window Functions ............................................................................................................ 3-2
Main Window Components ........................................................................................................ 3-3
3.4
GETTING STARTED .................................................................................................. 3-4
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
Prerequisites for Starting the WinIDE Editor ............................................................................. 3-4
Starting the WinIDE Editor ........................................................................................................ 3-4
Opening Source Files.................................................................................................................. 3-4
Navigating in the WinIDE Editor ............................................................................................... 3-5
Using Markers............................................................................................................................. 3-6
3.5
3.6
3.7
3.8
COMMAND-LINE PARAMETERS ........................................................................... 3-8
WinIDE TOOLBAR ..................................................................................................... 3-8
WinIDE MENUS ........................................................................................................ 3-10
WinIDE FILE OPTIONS............................................................................................ 3-12
3.8.1
3.8.2
3.8.3
3.8.4
3.8.5
3.8.6
3.8.7
3.8.8
New File.................................................................................................................................... 3-12
Open File................................................................................................................................... 3-13
Save File ................................................................................................................................... 3-13
Save File As .............................................................................................................................. 3-14
Close File .................................................................................................................................. 3-14
Print File ................................................................................................................................... 3-14
Print Setup................................................................................................................................. 3-15
Exit............................................................................................................................................ 3-15
3.9
WinIDE EDIT OPTIONS ........................................................................................... 3-15
3.9.1
3.9.2
3.9.3
3.9.4
3.9.5
3.9.6
3.9.7
Undo.......................................................................................................................................... 3-16
Redo .......................................................................................................................................... 3-16
Cut............................................................................................................................................. 3-17
Copy.......................................................................................................................................... 3-17
Paste .......................................................................................................................................... 3-17
Delete ........................................................................................................................................ 3-17
Select All................................................................................................................................... 3-17
3.10 WinIDE ENVIRONMENT OPTIONS....................................................................... 3-18
3.10.1
3.10.2
3.10.3
3.10.4
3.10.5
3.10.6
3.10.7
3.10.8
3.10.9
Open Project ............................................................................................................................. 3-19
Save Project .............................................................................................................................. 3-19
Save Project As ......................................................................................................................... 3-20
Close/New Project .................................................................................................................... 3-20
Setup Environment ................................................................................................................... 3-20
Setup Fonts ............................................................................................................................... 3-31
WinIDE SEARCH OPTIONS .................................................................................................. 3-33
Find ........................................................................................................................................... 3-33
Replace...................................................................................................................................... 3-34
iv
M68ICS08SOM/D
P&E
Microcomputer
Systems, Inc.
3.10.10 Find Next .................................................................................................................................. 3-35
3.10.11 Go to Line ................................................................................................................................. 3-35
3.11 WinIDE WINDOW OPTIONS .................................................................................. 3-36
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
Cascade ..................................................................................................................................... 3-37
Tile............................................................................................................................................ 3-38
Arrange Icons ........................................................................................................................... 3-39
Minimize All............................................................................................................................. 3-40
Split........................................................................................................................................... 3-41
CHAPTER 4
4.1
4.2
4.3
4.4
CASM08Z ASSEMBLER INTERFACE
OVERVIEW ................................................................................................................. 4-1
CASM08Z ASSEMBLER USER INTERFACE.......................................................... 4-2
ASSEMBLER PARAMETERS ................................................................................... 4-3
ASSEMBLER OUTPUTS ............................................................................................ 4-4
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
Object Files................................................................................................................................. 4-4
Map Files .................................................................................................................................... 4-4
Listing Files ................................................................................................................................ 4-4
Error Files ................................................................................................................................... 4-5
Files from Other Assemblers ...................................................................................................... 4-6
4.5
ASSEMBLER OPTIONS ............................................................................................. 4-6
4.5.1
4.5.2
Operands and Constants ............................................................................................................. 4-6
Comments ................................................................................................................................... 4-7
4.6
ASSEMBLER DIRECTIVES....................................................................................... 4-8
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
BASE .......................................................................................................................................... 4-8
Cycle Adder ................................................................................................................................ 4-8
Conditional Assembly .............................................................................................................. 4-10
INCLUDE................................................................................................................................. 4-10
MACRO.................................................................................................................................... 4-11
4.7
LISTING DIRECTIVES............................................................................................. 4-12
4.7.1
4.7.2
Listing Files .............................................................................................................................. 4-12
Labels........................................................................................................................................ 4-14
4.8
PSEUDO OPERATIONS ........................................................................................... 4-15
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
Equate (EQU) ........................................................................................................................... 4-15
Form Constant Byte (FCB)....................................................................................................... 4-16
Form Double Byte (FDB)......................................................................................................... 4-16
Originate (ORG) ....................................................................................................................... 4-16
Reserve Memory Byte (RMB) ................................................................................................. 4-16
M68ICS08SOM/D
v
Zgłoś jeśli naruszono regulamin