Motorola M68EM05D32 User Manual Download Page 18

HC05EVS CONFIGURATION AND OPERATION

M68EM05D32/D

3-2

MOTOROLA

3.1.1  Clock Source Select Headers (J2 and J3)

Jumper headers J2 and J3 select the source of the clock oscillator for the MCU.  You may
choose between on-board oscillator (EM) or clock from the target system (TOSC).  To select
TRGT you must place the J3 jumper at the (J2) position as well as selecting TRGT on the J2
jumper.  The diagram below shows the factory configuration: the fabricated jumper on J3
between pins 1 and 2 selects the D32EM on-board canned oscillator clock source.

FABRICATED 

JUMPERS

XTAL 

(J2)

J3

1

(2)

(3)

TRGT 

MMDS

J2

1

(2)

(3)

  NOTE

The J2 pins 2-and-3 configuration is not correct for a D32EM that is part of an
HC05EVS system.

Summary of Contents for M68EM05D32

Page 1: ...M68EM05D32 D Nov 1995 M68EM05D32 EMULATOR MODULE USER S MANUAL First Edition MOTOROLA Ltd 1995 All Rights Reserved ...

Page 2: ...roduct 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 expenses and reasonable attorney fees arising out of directly or indirectl...

Page 3: ...evice Selection S1 2 5 2 2 THE EMULATED MCU 2 6 2 2 1 Resident MCU Substitution 2 6 2 2 2 D32 Emulation 2 7 2 2 3 D24 Emulation 2 7 2 2 4 7 05D9 Emulation 2 7 2 3 REMAINING SYSTEM INSTALLATION 2 8 CHAPTER 3 HC05EVS CONFIGURATION AND OPERATION 3 1 3 1 SETTING D32EM JUMPER HEADERS 3 1 3 1 1 Clock Source Select Headers J2 and J3 3 2 3 1 2 Reset Select Header J4 3 3 3 1 3 Configuration switches and ju...

Page 4: ... FIGURE 1 2 CONNECTORS P4 AND P5 PIN ASSIGNMENTS 1 4 FIGURE 3 1 CONNECTOR P1 PIN ASSIGNMENTS 3 9 TABLE OF TABLES Table Page TABLE 2 1 MCUS EMULATION SELECTION 2 5 TABLE 2 2 MCUS AND PERSONALITY FILES 2 6 TABLE 3 2 RESIDENT MCUS 3 6 TABLE 3 3 LOGIC ANALYZER CONNECTOR P1 SIGNAL DESCRIPTIONS 3 10 ...

Page 5: ...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 ...

Page 6: ... debugging and evaluating target systems based on an MC68HC05 MCU A complete HC05EVS consists of 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 D32EM a printed circuit board that enables system functionality for a specific set of MCUs The EM fits onto the PF...

Page 7: ... set to closed Connectors P4 and P5 provide the interface to the target system If you install the D32EM 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 ...

Page 8: ...D NC PA7 PA3 RESET Vdd Detect PD7 PD3 NC GND NC NC PC0 PC2 PC4 PC6 PB4 PB0 NC NC P5 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 NC NC PA5 PA1 GND OSC1 TCAP PD5 PD1 NC NC NC NC GND NC NC PB6 PB2 NC NC NC NC PA4 PA0 NC NC GND PD4 PD0 NC NC NC NC NC NC GND PB7 PB3 GND GND Figure 1 2 Connectors P4 and P5 Pin Assignments As connector P1...

Page 9: ... 2 2 explains considerations pertaining to the MCU you emulate Paragraph 2 3 explains remaining system installation Note that you can configure a D32EM already installed in the MMDS05 station module enclosure To do so switch off station module power remove the panel then follow the guidance of this chapter CAUTION Be sure to switch off power if you reconfigure an installed EM Reconfiguring EM jump...

Page 10: ...rectly selecting the J2 setting The diagram below shows the factory configuration the fabricated jumper on J3 between pins 1 and 2 selects the D32EM on board canned oscillator clock source FABRICATED JUMPERS XTAL J2 J3 1 2 3 TRGT MMDS J2 1 2 3 Alternatively you may use a clock source originating from the control board To do so position the J3 jumper between pins 2 and 3 then use the MMDS05 OSC com...

Page 11: ...the fabricated jumper between pins 1 and 2 enables your software to control resets This is the only correct J4 configuration for a D32EM that is part of an MMDS05 EVS TRGT J4 1 2 3 FABRICATED JUMPER NOTE The J2 pins 2 and 3 configuration is not correct for a D32EM that is part of an MMDS05 system Such a configuration would interfere with correct operation of the RESETIN and RESETOUT commands ...

Page 12: ...header J1 and switch array S2 are required for a different configuration of the printed circuit board For correct D32EM operation Jumper J1 must always be in the C D position and the switch array must have all switches in the closed position as shown below C D CA J1 1 2 3 FABRICATED JUMPER S2 0 1 2 3 4 5 6 7 Open Closed ...

Page 13: ...wing table shows the settings of S1 which are required for each MCU emulated Section 2 2 discusses the MMDS05 personality files to be used with each device and the operation of replacing the resident MCU where this is necessary Table 2 1 MCUs Emulation Selection DEVICE S1 SWITCH S1 SWITCH S1 SWITCH S1 SWITCH 1 2 3 4 M68HC05D9 CLOSED OPEN CLOSED CLOSED M68HC705D9 CLOSED OPEN CLOSED CLOSED M68HC05D2...

Page 14: ...h a different one use the LOADMEM command For more information about the LOADMEM command see the explanation in the MMDS05 operations manual Alternatively you can insert the line LOADMEM 00ZZZVxx MEM in the STARTUP 05 script file This way the system automatically loads the specified personality file as part of system startup For more information about the STARTUP 05 script file see the SCRIPT comm...

Page 15: ...teristics The D24 has single mask option for oscillator selection which has no effect on emulator operation For more information about the MC68HC05D24 see the corresponding technical data books 2 2 4 7 05D9 Emulation To emulate an MC68HC05D9 use an MC68HC 7 05D9 device as the resident MCU The MC68HC05D32 can be used as the resident MCU however writes to the OPTION register require to be made to tw...

Page 16: ...el 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 corners of the EM onto the plastic standoffs Connect the target cable if appropriate Replace the panel If your D32EM already is installed in the station module reconnect the target cable if necessary Replace the panel At this point you are ready to make r...

Page 17: ...raph 3 3 lists limitations on using the D32EM 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 D32EM 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 di...

Page 18: ...om the target system TOSC To select TRGT you must place the J3 jumper at the J2 position as well as selecting TRGT on the J2 jumper The diagram below shows the factory configuration the fabricated jumper on J3 between pins 1 and 2 selects the D32EM on board canned oscillator clock source FABRICATED JUMPERS XTAL J2 J3 1 2 3 TRGT MMDS J2 1 2 3 NOTE The J2 pins 2 and 3 configuration is not correct fo...

Page 19: ...actory configuration the fabricated jumper between pins 1 and 2 enables your D32EVS to reset the target when you press the user or master reset switch EVS TRGT J4 1 2 3 FABRICATED JUMPER Alternatively you may enable the target system to reset the D32EVS To do so Reposition the D32EM J4 jumper between pins 2 and 3 and Insert a fabricated jumper into platform board header J3 ...

Page 20: ...header J1 and switch array S2 are required for a different configuration of the printed circuit board For correct D32EM operation Jumper J1 must always be in the C D position and the switch array must have all switches in the closed position as shown below C D CA J1 1 2 3 FABRICATED JUMPER S2 0 1 2 3 4 5 6 7 Open Closed ...

Page 21: ...ry map available to the MCU and also some device specific features The following table shows the settings of S1 which are required for each MCU emulated Table 2 1 MCUs Emulation Selection DEVICE S1 SWITCH S1 SWITCH S1 SWITCH S1 SWITCH 1 2 3 4 M68HC05D9 CLOSED OPEN CLOSED CLOSED M68HC705D9 CLOSED OPEN CLOSED CLOSED M68HC05D24 CLOSED CLOSED OPEN CLOSED M68HC05D32 OPEN CLOSED OPEN CLOSED S1 1 2 3 4 O...

Page 22: ...M68HC705D9 M68HC05D32 See paragraphs 3 2 1 and 3 2 8 M68HC05D24 M68HC05D32 See paragraphs 3 2 1 and 3 2 8 M68HC05D32 M68HC05D32 See paragraphs 3 2 1 and 3 2 8 Table 3 1 shows the resident MCU appropriate for your emulation with additional information in th reference paragraphs Also note paragraphs 3 2 2 through 3 2 8 below for the information specific to the MCU you emulate 3 2 1 Resident MCU Subs...

Page 23: ...teristics The D24 has single mask option for oscillator selection which has no effect on emulator operation For more information about the MC68HC05D24 see the corresponding technical data books 3 2 4 7 05D9 Emulation To emulate an MC68HC05D9 use an MC68HC 7 05D9 device as the resident MCU The MC68HC05D32 can be used as the resident MCU however writes to the OPTION register require to be made to tw...

Page 24: ...nter 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 s...

Page 25: ... P1 Table 3 2 lists signal descriptions for this connector NC NC LA11 LA10 LA9 LA8 LA7 LA6 LA5 LA4 LA3 LA2 LA1 LA0 LR W NC NC NC VCC RESET GND NC GND LA12 LA13 LA14 NC D7 D6 D5 D4 D3 D2 D1 D0 LIR NC NC E NC P1 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 Figure 3 1 Connector P1 Pin Assignments ...

Page 26: ...S bits 7 0 MCU multiplexed I O data bus 29 LR W LATCHED READ WRITE Active high output signal that indicates the direction of data transferred on the bus 32 LIR LOAD INSTRUCTION REGISTER Open drain active low output signal that indicates an instruction is starting 37 VCC 5 VDC POWER Input voltage 5 Vdc 1 0 A used by EVS logic circuits 38 E EXTERNAL CLOCK Internally generated output clock signal use...

Page 27: ... board Make sure that four fabricated jumpers are installed per the diagram below A14 A13 A12 A11 J1 FABRICATED JUMPERS 1 3 5 7 2 4 6 8 To install the D32EM on an HC05EVS platform board fit together EM connectors P2 and P3 on the bottom of the board and platform board connectors P3 and P4 Snap the corners of the EM onto the plastic standoffs At this point you are ready to make remaining cable conn...

Page 28: ...HC05EVS CONFIGURATION AND OPERATION M68EM05D32 D 3 12 MOTOROLA This page left blank intentionally ...

Reviews: