ETC HC05BD7EMUM

Freescale Semiconductor, Inc.
MOTOROLA
SEMICONDUCTOR
Freescale Semiconductor, Inc...
USER’S MANUAL
HC05BD7EMUM/D
July, 1996
HC05BD7
EMULATOR MODULE
USER’S MANUAL
Preliminary Edition
c
MOTOROLA INC., 1996; All Rights Reserved
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc...
Freescale Semiconductor, Inc.
Motorola reserves the right to make changes without further notice to any products herein to
improve reliability, function, or design. Motorola does not assume any liability arising out of the
application or use of any product or circuit described herein; neither does it convey any license
under its patent rights nor the rights of others. Motorola products are not designed, intended, or
authorized for use as components in systems intended for surgical implant into the body, or other
application in which the failure of the Motorola product could create a situation where personal
injury or death may occur. Should buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers,
employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages,
and expanses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim
alleges that Motorola was negligent regarding the design or manufacture of the part.
Motorola and the Motorola logo are registered trademarks of Motorola Inc.
Motorola Inc. is an Equal Opportunity/Affirmative Action Employer.
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
CONTENTS
CHAPTER 1
Freescale Semiconductor, Inc...
1.1
1.1.1
1.1.2
1.2
1.3
2.1
2.1.1
2.1.2
2.2
2.2.1
2.2.2
2.2.3
2.3
2.4
1-1
1-1
1-2
1-3
1-4
MMDS05 CONFIGURATION AND OPERATION .................... 2-1
Setting BD7EM Jumper Headers .................................................................
Reset Select Header (P4) ...................................................................
Clock Source Select Header (P6) ......................................................
The Emulated MCU And Personality And Help Files ................................
Personality File ..................................................................................
Help File ............................................................................................
Resident MCU Substitution ...............................................................
MMDS05 Limitations...................................................................................
Remaining System Installation ....................................................................
CHAPTER 3
3.1
3.1.1
3.1.2
3.2
3.3
3.4
3.5
INTRODUCTION ........................................................................ 1-1
Development Systems ..................................................................................
Motorola Modular Development System (MMDS05) ......................
M68HC05EVS Evaluation System (HC05EVS) ...............................
EM Layout ...................................................................................................
Target Connectors And Cable Information...................................................
CHAPTER 2
1
2-1
2-2
2-2
2-3
2-3
2-3
2-4
2-5
2-5
HC05EVS CONFIGURATION AND OPERATION ................... 3-1
Setting BD7EM Jumper Headers .................................................................
Reset Select Header (P4) ...................................................................
Clock Source Select Header (P6) ......................................................
Resident MCU Substitution ..........................................................................
EVS Limitations .........................................................................................
Logic Analyzer Connector P1 ......................................................................
Remaining System Installation ...................................................................
HC05BD7EM USER”S MANUAL
For More Information On This Product,
Go to: www.freescale.com
3-1
3-2
3-2
3-3
3-4
3-5
3-7
MOTOROLA
i
Freescale Semiconductor, Inc.
1
FIGURES
Figure
Freescale Semiconductor, Inc...
1-1
1-2
1-3
3-1
Page
HC05BD7 Emulator Module .......................................................................
Connectors P7 P8 Pin Assignments .............................................................
A Generic Representation Target Cable Assembly ......................................
Connector P1 Pin Assignment .....................................................................
1-3
1-4
1-6
3-5
TABLES
Table
1-1
2-1
3-1
3-2
Page
Parts required to form a target cable assemble for BD7EM ........................
MCUs and Personality Files ........................................................................
Resident MCUs ............................................................................................
Logic Analyzer Connector P1 Signal Descriptions .....................................
MOTOROLA
ii
1-5
2-3
3-3
3-6
HC05BD7EM USER”S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
CHAPTER 1
INTRODUCTION
1
This user’s manual explains connection, configuration, and operation
information specific to the M68EM05BD7 Emulator Module (hereafter
referred to as BD7EM). The BD7EM makes possible emulation and
debugging of target systems based on these microcontroller units
(MCUs):
MC68HC05BD2
MC68HC(7)05BD3
MC68HC05BD5
Freescale Semiconductor, Inc...
MC68HC(7)05BD7
The BD7EM can be part of two development systems. This chapter
describes those systems and explains the layout of the BD7EM.
The factory installs an MC68HC705BD7 resident MCU in the P9EM,
then ships the BD7EM with an extra MC68HC705BD3 MCU. Chapter
2 and 3 explain when it is appropriate to use this substitute residents
MCU.
1.1
DEVELOPMENT SYSTEMS
Your BD7EM can be part of two Motorola development tools: the HC05
Motorola Modular Development System (MMDS05) or the
M68HC05EVS Evaluation System (HC05EVS).
1.1.1
Motorola Modular Development System (MMDS05)
The MMDS05 is an emulator system that provides a bus state analyzer
and real-time memory windows. The unit’s integrated design environment includes an editor, an assembler, user interface, and source-level
debug. A complete MMDS05 consists of:
•
a station module -- the metal MMDS05 enclosure, containing the
control board and the internal power supply. Most system cables
connect to the MMDS05 station module. (The cable to an optional
target system, however, runs through an aperture in the station module enclosure to connect directly to the emulator module.)
•
an emulator module (EM) -- such as the BD7EM: a printed circuit
board that enables system functionality for a set of specific MCUs.
The EM fits into the station module through a sliding panel in the
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
1-1
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
1
enclosure top. The EM has connectors for the target cable.
•
two logic clip assemblies -- twisted-pair cables that connect the station module to your target system, a test fixture, a clock, or any other
circuitry useful for evaluation or analysis. One end of each cable
assembly has a molded connector, which fits into station module pod
A and pod B. Leads at the other end of each cable terminate in
female probe tips. Ball clips come with the cable assemblies.
•
a 9-lead RS-232 serial cable -- the cable that connects the station
module to the host computer RS-232 port.
•
a 9 to 25-pin adapter -- a moulded assembly that lets you connect
the 9-lead cable to a 25-pin serial port.
•
system software -- software, on 3-1/2 inch diskettes.
•
MMDS05 documentation -- an MMDS05 operations manual
(MMDS05OM/D) and the appropriate EM user’s manual.
As mentioned, your BD7EM gives the MMDS05 the ability to emulate
several MC68HC(7)05BD-series MCUs. By substituting a different
EM, you can enable your MMDS05 to emulate an MCU of a different
series. (Your Motorola representative can explain all the EMs available.)
Chapter 2 explains how to configure and use your BD7EM as part of an
MMDS05 system. For information about MMDS05 software or the station module, see the MMDS05 operations manual. For layout and configuration information pertaining to a different EM, see the
corresponding EM user’s manual.
1.1.2
M68HC05EVS Evaluation System (HC05EVS)
An HC05EVS is an economical, two-board tool for designing, debugging, and evaluating target systems based on an MC68HC05 MCU. A
complete HC05EVS consists of:
MOTOROLA
1-2
•
a platform board (PFB) -- the bottom board, which supports the
emulator module. The platform board has connectors for power and
for the terminal or host computer.
•
an emulator module (EM) -- such as the BD7EM: a printed circuit
board that enables system functionality for a set of specific MCUs.
The EM fits onto the PFB. The EM has connectors for a target cable
and a cable to a logic analyzer.
•
an RS-232 serial cable -- the cable that connects the PFB to the host
computer RS-232 port.
•
system software -- software, on 3-1/2 inch diskettes.
•
HC05EVS documentation -- an HC05EVS operations manual and
the appropriate EM user’s manual.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
As mentioned, your BD7EM emulates several MC68HC05BD-series
MCUs. By substituting a different EM, you can enable your HC05EVS
to emulate an MCU of a different series. (Your Motorola representative
can explain all the EMs available.)
Chapter 3 explains how to configure and use your BD7EM as part of an
HC05EVS system. For information about HC05EVS software or the
platform board, see the HC05EVS operations manual. For layout and
configuration information pertaining to a different EM, see the corresponding EM user’s manual.
Freescale Semiconductor, Inc...
1.2
EM LAYOUT
Figure 1-1 shows the layout of the BD7EM. Jumper header P4 controls
the path of a target reset. Jump header P6 lets you select the clock-signal
source. .
Connectors P7 and P8, for a 40-pin DIP or a 42-pin SDIP cable assembly, (purchased separately from the BD7EM.) provide an interface to
your target system. If you install the BD7EM in the MMDS05 station
module, the target cable passes through the slit in the station module
enclosure. Connector P1 connects to a logic analyzer. (Connector P1 has
more significance for an EVS system, as an MMDS05 system includes
a bus analyzer.) Expansion header connectors P2 and P3 connect
together the EM and the control board (for an MMDS05) or the EM and
the platform board (for an EVS).
P8
P7
P1
P3
P2
P6
P4
Figure 1-1 HC05BD7 Emulator Module
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
1-3
1
Freescale Semiconductor, Inc.
1
1.3
TARGET CONNECTORS AND CABLE INFORMATION
Figure 1-2 shows the pin assignments for connectors P7 and P8. For signal descriptions, consult the technical data book for the M68HC05BD7
MCU.
Freescale Semiconductor, Inc...
To configure your BD7EM for use as part of an MMDS05, follow the
instructions of Chapter 2. To configure your BD7EM as part of an
HC05EVS, follow the instructions of Chapter 3.
P7
P8
GND
VSYNC
PWM2
PWM1
PWM0
1
3
5
7
9
2
4
6
8
10
GND
GND
GND
GND
GND
EVDD
PWM3
PWM5
PWM6
GND
1
3
5
7
9
2
4
6
8
10
HSYNC
PWM4
PD2
GND
GND
/RESET
GND
PB5
PB4
GND
PB3
11
13
15
17
19
21
12
14
16
18
20
22
PD3
GND
GND
GND
GND
GND
PWM7
PC7
PC6
PC5
PC4
PC3
11
13
15
17
19
21
12
14
16
18
20
22
GND
GND
GND
GND
GND
GND
PB2
PB1
PB0
/IRQ
PA7
23
25
27
29
31
24
26
28
30
32
GND
GND
GND
GND
GND
PC2
PC1
GND
PC0
PD1
23
25
27
29
31
24
26
28
30
32
GND
GND
GND
GND
GND
PA6
PA5
PA4
PA3
33
35
37
39
34
36
38
40
GND
GND
GND
GND
PD0
PA0
PA1
PA2
33
35
37
39
34
36
38
40
GND
GND
GND
GND
Figure 1-2 Connectors P7 P8 Pin Assignments
MOTOROLA
1-4
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
To connect your BD7EM to your target system via a separately purchased, target cable and head assembly, follow the instructions below.
Figure 1-3 is a generic representation of a Motorola supplied target
cable assembly, which consists of a flexible cable and a DIP/SDIP target
head. Emulation of a DIP/SDIP device is achieved by fitting the DIP/
SDIP target head into the MCU socket of the target system. Table 1-1
shows the target cable and head part numbers required to form a 40-pin
DIP and a 42-pin SDIP target cable assembly for the BD7EM.
Freescale Semiconductor, Inc...
Table 1-1. Parts required to form a target cable assembly for BD7EM
Cable No.
M68CBL05B
M68CBL05B
Target Head No.
Notes
M68TB05BD7P40 40-pin DIP cable assembly
M68TB05BD7B42 42-pin SDIP cable assembly
To use a DIP/SDIP target cable, connect the large cable terminator of
M68CLB05B to M68TB05BD7P40/M68TB05BD7B42. They should
be connected in such a way that the arrow marked on the target head is
pointing to the target cable. Next, connect the small cable terminator to
the BD7EM target connectors P7 and P8. The connector at the far end
of the cable should be connected to P7 and the other to P8. Plug the target head into the MCU socket of your target system.
If you install the BD7EM in the MMDS05 station module, run the target
cable through the slit in the station module enclosure.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
1-5
1
Freescale Semiconductor, Inc.
1
Emulator
Terminator
Head
Terminator
(connects to
target head)
Freescale Semiconductor, Inc...
Target
Cable
(Connects to EM
target connectors)
Target Head
(Plugs to target system MCU
socket or surface mount adapter)
Figure 1-3 A Generic Representation of Target Cable assembly
MOTOROLA
1-6
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
CHAPTER 2
MMDS05 CONFIGURATION AND OPERATION
This chapter explains how to configure and use your BD7EM as part of
an MMDS05. For other parts of system installation or configuration, see
the MMDS05 operations manual (MMDS05OM/D). (If you will use
your BD7EM as part of an HC05EVS system, go to Chapter 3 for corresponding information.)
Freescale Semiconductor, Inc...
Paragraph 2.1 explains how to set BD7EM jumper headers. Paragraph
2.2 explains how to install personality and help files pertaining to the
MCU you emulate. Paragraph 2.3 lists the limitations on using the
BD7EM in an MMDS05. Paragraph 2.4 explains remaining system
installation.
Note that you can configure a BD7EM already installed in the MMDS05
station module enclosure. To do so, switch off station-module power,
remove the hatch, then follow the guidance of this chapter.
CAUTION
Be sure to switch off power if you reconfigure an
installed EM. Reconfiguring EM jumper headers with
power left on can damage MMDS05 circuits.
2.1
SETTING BD7EM JUMPER HEADERS
Your BD7EM has two jumper headers, P4 and P6. Paragraphs
2.1.1.through 2.1.2 explain how to configure these headers.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
2-1
2
Freescale Semiconductor, Inc.
2
2.1.1
Reset Select Header (P4)
Jumper header P4 controls the path of a target reset. The diagram below
shows the factory configuration: the fabricated jumper between pins 1
and 2 enables your software to control resets. This is the only correct P4
configuration for a BD7EM that is part of an MMDS05.
P4
EVS
Freescale Semiconductor, Inc...
1
2
3
TARGET
NOTE
The P4 pins 2 and 3 configuration is not correct for a
BD7EM that is part of an MMDS05 system. Such a configuration would interfere with correct operation of the
RESETIN and RESETOUT commands.
2.1.2
Clock Source Select Header (P6)
Jumper header P6 determines the source of the clock signal. The diagram below shows the factory configuration: the fabricated jumper
between pins 2 and 3 selects the BD7EM canned oscillator clock source.
P6
1
MMDS
2
3
XTAL
Alternatively, you may use a clock source originating from the control
board. To do so, reposition the P6 jumper between pins 1 and 2, then use
the MMDS05 OSC command to select a frequency.
MOTOROLA
2-2
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
2.2
THE EMULATED MCU AND PERSONALITY AND HELP FILES
Your MMDS05 system uses a specific personality file for the MCU type
being emulated. For example, to emulate an MC68HC05BD7 or
MC68HC705BD7 MCU, the system uses personality file
00308V02.MEM. Table 2-1 lists all the personality files that pertain to
the BD7EM. To replace this file with a different one, use the LOADMEM command. (For more information ablout the LOADMEM command, see the explanation in the MMDS05 operations manual.)
Freescale Semiconductor, Inc...
Table 2-1 MCUs and Personality Files
Emulated MCU
EM Resident MCU
Personality File
MC68HC(7)05BD7
MC68HC05BD2
MC68HC05BD5
MC68HC(7)05BD7
MC68HC)7)05BD7
MC68HC05BD5/
MC68HC(7)05BD3
MC68HC05BD5/
MC68HC(7)05BD3
MC68HC05BD5/
MC68HC(7)05BD3
00308V02.MEM
05BD2V01.MEM
05BD5V01.MEM
MC68HC705BD3
MC68HC05BD3
2.2.1
75BD3V01.MEM
05BD3V01.MEM
Personality File
Installation of the personality files consist of copying the files from the
distribution diskette to a hard disk. Personality files are usually installed
in the directory from which the MMDS05 software is executed. If a personality file is not located in that directory, the MMDS05 software displays a window with which the user can search the directory structure to
find the correct file.
More than one personality file can be installed; the MMDS05 operating
software automatically loads the personality file that corresponds to the
currently connected EM board upon powerup, the default personality
file is 00308V02.MEM.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
2-3
2
Freescale Semiconductor, Inc.
2
2.2.2
Help File
Installation of the help files (e.g. 00308V02.HLP) consists of copying
the files from the distribution diskette to a hard disk. Help files must be
installed in the directory from which the MMDS05 software is executed.
If it is not located in that directory, no help information pertaining to the
emulated MCU will be displayed when the CHIPSINFO command is
used.
Freescale Semiconductor, Inc...
2.2.3
Resident MCU Substitution
The socket at BD7EM location U5 contains the resident MCU. The factory ships the BD7EM with an MC68HC705BD7 resident MCU, which
is appropriate for emulating MC68HC05BD2, MC68HC05BD7, or
MC68HC705BD7 MCUs.
The factory also ships a substitute MC68HC705BD3 resident MCU
with the BD7EM. This MCU is appropriate for emulating
MC68HC05BD5, MC68HC05BD3, or MC68HC705BD3.
Table 2-1 shows the resident MCU appropriate for your emulation.
Before you install a substitute MCU, turn off MMDS05 and make sure
that you are grounded. Then remove the MCU from BD7EM location
U5, insert the new resident MCU, and restore power.
2.3
MMDS05 LIMITATIONS
This paragraph explains the limitations that apply to using your BD7EM
in an MMDS05 system.
•
Limitation 1. ILAR Reset:
With the use of appropriate personality file the MMDS05 can provides
protection to limit user programs to the exact amount of MCU ROM
available. But during emulation of a particular MCU if an illegal address
is accessed during an opcode fetch the emulator will not be notified and
generated an internal reset. Consult the specific MCU technical data for
ILAR.
2.4
REMAINING SYSTEM INSTALLATION
When you have configured headers P4 and P6, you are through with
BD7EM configuration:
MOTOROLA
2-4
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
•
To install the BD7EM in an MMDS05 station module, remove the
panel from the station-module top. Fit together EM connectors P2
and P3 (on the bottom of the board) and control-board connectors
P11 and P12. Snap the mounting holes of the EM onto the plastic
standoffs. Connect the target cable, if appropriate. Replace the
panel.
•
If your BD7EM already is installed in the station module, reconnect
the target cable, (if necessary). Replace the panel.
Freescale Semiconductor, Inc...
At this point, you are ready to make remaining cable connections, as
necessary, and restore power. For instructions, consult the MMDS05
operations manual (MMDS05OM/D).
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
2-5
2
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
2
MOTOROLA
2-6
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
CHAPTER 3
HC05EVS CONFIGURATION AND OPERATION
This chapter explains how to configure and use your BD7EM as part of
an HC05EVS. For other parts of system installation or configuration, see
the HC05EVS operations manual. (If you will use your BD7EM as part
of an MMDS05 system, go to Chapter 2 for corresponding information.)
Freescale Semiconductor, Inc...
Paragraph 3.1 explains how to set BD7EM jumper headers. Paragraph
3.2 explans MCU substitution for various MCU emulations. Paragraph
3.3 lists limitations on using the BD7EM in an HC05EVS. Paragraph
3.4 explains pin assignments and signal descriptions for the logic analyzer connector (P1). Paragraph 3.5 explains remaining system configuration.
Note that you can configure a BD7EM already installed on the
HC05EVS platform board. To do so, disconnect platform-board power,
then follow the guidance of this chapter.
CAUTION
Be sure to disconnect power if you reconfigure an
installed EM. Reconfiguring EM jumper headers with
power left on can damage HC05EVS circuits.
3.1
SETTING BD7EM JUMPER HEADERS
Your BD7EM has two jumper headers, P4 and P6. Paragraphs 3.1.1.
through 3.1.2 explain how to configure these headers.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3-1
3
Freescale Semiconductor, Inc.
3
3.1.1
Reset Select Header (P4)
Jumper header P4 controls the path of a target reset. The diagram below
shows the factory configuration: the fabricated jumper between pins 1
and 2 enables your BD7EM to reset the target when you press the user
or master reset switch.
P4
EVS
1
Freescale Semiconductor, Inc...
2
3
TARGET
Alternatively, you may enable the target system to reset the BD7EVS.
To do so:
3.1.2
•
Reposition the BD7EM P4 jumper between pins 2 and 3, and
•
Insert a fabricated jumper into platform-board header J3.
Clock Source Select Header (P6)
Jumper header P6 determines the source of the clock signal. The diagram below shows the factory configuration: the fabricated jumper
between pins 2 and 3 selects the BD7EM canned oscillator clock source.
This is the only correct configuration for a BD7EM that is part of an
HC05EVS.
P6
1
MMDS
2
3
XTAL
NOTE
The P6 pins 1 and 2 configuration is not correct for a BD7EM that is part
of an HC05EVS system.
MOTOROLA
3-2
HC05BD3EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
3.2
RESIDENT MCU SUBSTITUTION
The socket at BD7EM location U5 contains the resident MCU. The factory ships the BD7EM with an MC68HC705BD7 resident MCU, which
is appropriate for emulating MC68HC05BD2, MC68HC05BD7, or
MC68HC705BD7 MCUs.
Freescale Semiconductor, Inc...
The factory also ships a substitute MC68HC705BD3 resident MCU
with the BD7EM. This MCU is appropriate for emulating
MC68HC05BD5, MC68HC05BD3, or MC68HC705BD3.
Table 3-1 shows the resident MCU appropriate for your emulation.
Before you install a substitute MCU, turn off HC05EVS and make sure
that you are grounded. Then remove the MCU from BD7EM location
U5, insert the new resident MCU, and restore power.
Table 3-1 Resident MCUs
Emulated MCU
EM Resident MCU
MC68HC(7)05BD7
MC68HC05BD2
MC68HC05BD5
MC68HC705BD7
MC68HC705BD7
MC68HC05BD5/
MC68HC(7)05BD3
MC68HC05BD5/
MC68HC(7)05BD3
MC68HC(7)05BD3
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3-3
3
Freescale Semiconductor, Inc.
3
3.3
EVS LIMITATIONS
This paragraph explains the limitations that apply to using your BD7EM
in an HC05EVS.
•
Limitation 1. CLI/RTI:
You may not trace a clear interrupt mask (CLI) or return from interrupt
(RTI) instruction with an interrupt enabled and pending, due to MCU
interrupt handling. Attempting such a trace causes an interrupt in the
monitor map; this forces a software reset of the HC05EVS. User breakpoints remain in the user map as SWI instructions; You must remove
such SWI instructions.
Freescale Semiconductor, Inc...
•
Limitation 2. Branch:
Do not trace a conditional branch instruction (such as BRCLR) that
branches to itself. As the monitor places an SWI instruction on the
object of the branch, the system never would execute the instruction.
However, it would appear to you that the instruction had executed. You
may enter a G command while the PC points to this type of instruction
as long as the instruction is not a breakpoint address.
•
Limitation 3. IRQ/SWI:
Whenever possible, avoid mixing interrupt requests (IRQs) and user
software interrupts (SWIs). This prevents a possible IRQ-SWI timing
problem: a concurrent hardware interrupt and SWI could cause an
HC05EVS failure that could stop program execution. To recover from
such a failure (which occurs very infrequently, statistically), press the
master reset switch (SW3).
•
Limitation 4. Memory Map/ILAR:
You must be aware of the memory map of the MCU being simulated; be
sure to use only valid ROM locations. The HC05EVS does not provide
protection to limit user programs to the exact amount of MCU ROM
available and during emulation of a particular MCU if an illegal address
is accessed during an opcode fetch the emulator will not be notified and
generated an internal reset. Consult the specific MCU technical data for
ILAR. (For information about memory maps/illegal address reset, consult the technical data book for the MCU.)
MOTOROLA
3-4
HC05BD3EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
3.4
LOGIC ANALYZER CONNECTOR P1
Figure 3-1 shows the pin assignments for logic analyzer connector P1.
Table 3-2 lists signal descriptions for this connector.
P1
GND
Freescale Semiconductor, Inc...
AD7
AD6
AD5
AD4
AD3
AD2
AD1
AD0
/LIR
R/W
PHI2
ECLK
GND
GND
GND
GND
GND
/IRQ
5V
1
3
5
7
9
2
4
6
8
10
GND
LA13
LA12
LA11
LA10
11
13
15
17
19
21
12
14
16
18
20
22
LA9
LA8
LA7
LA6
LA5
LA4
23
25
27
29
31
24
26
28
30
32
LA3
LA2
LA1
LA0
GND
33
35
37
39
34
36
38
40
GND
GND
/RESET
GND
Figure 3-1 Connector P1 Pin Assignment
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3-5
3
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
3
Table 3-2 Logic Analyzer Connector P1 Signal Descriptions
Pin Number
Signal Mnemonic
3, 5, 7, 9, 11, 13,
15, 17
AD7-AD0
Data bus:- MCU bidirectional data bus.
4, 6, 8, 10, 12, 14,
16, 18, 20, 22, 24,
26, 28, 30
LA13-LA0
Address bus:- MCU output address bus.
19
/LIR
Load Instruction Register:- Active-low output
signal, asserted when an instruction starts.
21
R/W
Read/Write:- Output signal that indicates the
direction of data transfer.
37
/IRQ
MCU Interrupt Request:- Active-low input signal from the target that asynchronously applied
an MCU interrupt.
38
/RESET
Reset:- Active-low bidirectional signal for starting an EVS reset.
23
PHI2
PHI2 clock:- Internally generated output clock
signal used as a timing reference.
25
ECLK
ECLK clock:- Internally generated output clock
signal used as a timing reference.
1, 2, 27, 29, 31, 32,
33, 34, 35, 36, 40
GND
Ground
39
Vdd
+5Vdc power:- Input voltage (+5Vdc @
1A(max)) used by the EVS logic circuits.
MOTOROLA
3-6
Signal Name and Description
HC05BD3EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
3.5
REMAINING SYSTEM INSTALLATION
When you have configured headers P4 and P6, you are through with
BD7EM configuration.
Find jumper header J1 of the HC05EVS platform board. Make sure that
three fabricated jumpers are installed, per the diagram below.
Freescale Semiconductor, Inc...
J1
A14 1
2
A13 3
4
A12 5
6
A11 7
8
To install the BD7EM on an HC05EVS platform, fit together EM connectors P2 and P3 (on the bottom of the board) and platform-board connectors P3 and P4. Snap the mounting holes of the EM onto the plastic
standoffs.
At this point, you are ready to make remaining cable connections, as
necessary, and restore power. For instructions, consult the HC05EVS
operations manual.
HC05BD7EM USER’S MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3-7
3