Home

M68EM05P3 MANUAL

image

Contents

1. iden 3 4 Logic Analyzer Connector P l nin ee 3 5 Remaining system 0 aO up W Lm 1 E 1 b2 b2 b2 1 1 1 1 ONMB gt M68HCO5P3EM D 3 3 MOTOROLA FIGURES Figure Page 1 1 HCOSP3 Emulator Module 0 tii p ue ReY Tus 1 3 1 2 Connector P4 Pin Assignments 1 5 3 1 onnectorPJ PinSSIEmmeniSoiconessesg esee seKtxeu e c Mund 3 6 TABLES Table Page 2 2 MCUs and Personality File s s E Ead 2 4 3 1 Resident M C B LL ERR SANE UNE 3 4 3 2 Logic Analyzer ConnectorPl1 Signal Descriptions 3 7 M68HCO05P3EM D 3 4 MOTOROLA CHAPTER 1 INTRODUCTION This user s manual explains connection configuration and operation information specific to the HCOSP3EM Emulator Module P3EM P3EM makes possible emulation and debugging of target systems based on these microcontroller units MCUs MC68HCO05P3 MC68HC705P3 The P3EM can be part of two development systems This chapter describes those systems and explains the layout of the P3EM 1 4 DEVELOPMENT SYSTEMS Your P3EM can be part of two Motorola development tools the 5 Motorola Modular Development System MMDS05 or the M68HC
2. 9 to 25 pin adapter a molded 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 MMDS050M D and the appropriate EM user s manual As mentioned your P3EM gives the MMDSOS the ability to emulate the MC68HC 7 05P3 MCUs By substituting a different EM you can enable your MMDSOS5 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 P3EM as part of an MMDSOS system For information about MMDS05 software or the station module see the MMDSO5 operations manual For layout and configuration information pertaining to a different EM see the corresponding EM user s manual 1 1 2 M68HCOSEVS Evaluation System HCO0SEVS An HCOSEVS is an economical two board tool for designing debugging and evaluating target systems based an 68 05 MCU A complete HCOSEVS 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 P3EM a printed circuit board that enables system functionality for a specific set of MCUs The EM fits onto the The EM has connectors for a target cable and for a cable to a logic analyzer an RS 232 serial cabl
3. you are ready to make remaining cable connections as necessary and restore power For instructions consult the HCOSEVS operations manual HCOSEVSOM D M68HCO05P3EM D 3 22 MOTOROLA
4. D 3 2 MOTOROLA CONTENTS CHAPTER 1 INTRODUCTION cse e Rok ee Ee re SEL 1 1 Development Systems tac exe 002 e ise Els 1 1 1 Motorola Modular Development System 05 1 1 2 M68HCOSEVS Evaluation System H COS EV TIE NIA VOU RE 1 3 Connector P4 Pin Assignments xxiv n e RR EDS CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION 2 1 Setting P3EM Iuimpetl eadedeu epe RS eA ER RS 2 1 1 Clock Source Select Headers J1 72 2 1 2 Reset Select Header J 3 isses esee 2 1 3 Resident MCU 1 4 2 2 The Bimulated M CU ues RAS 2 2 1 OPS 2 Ded TOS PS BAM ClO Wh lm shades 2 9 RemanmingsystemImnstalldtlOod O ex DRE Ra CHAPTER 3 HCOSEVS CONFIGURATION AND OPERATION 3 1 SettimgPS3EMIumperHeadersi uenesncdasere 3 1 1 Clock Source Select Headers J1 2 3 1 2 Reset Select Header 3 02020 4 3 1 3 Resident MCU 1 4 02200 4 52 COU tav PUR M Seld Sad 23 TOUSPS Emula
5. between pins 1 and 2 then use the MMDSO05 OSC command to select a frequency To use a clock source originating from the target system reposition the J3 jumper between pins 1 and 2 M68HCO05P3EM D 3 10 MOTOROLA 2 1 2 Reset Select Header J3 Jumper header J3 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 J3 configuration for a P3EM that is part of an MMDSO5 FABRICATED JUMPER B p 1 EVS 2 3 TRGT NOTE The J3 pins 2 and 3 configuration is not correct for a P3EM that is part of an 505 system Such a configuration would interfere with correct operation of the RESETIN and RESETOUT commands 2 1 3 Resident MCU Select Header J4 Jumper header J4 selects the correct EM operation for each of the possible resident MCUs The diagram below shows the factory configuration the fabricated jumper between pins 2 and 3 selects the correct LIR operation for an MC68HC705P3 Reposition the jumper between pins 1 and 2 when an MC68HCO05P3 MCU adaptor assembly is installed in socket U2 FABRICATED JUMPER 4 p 1 05P3 3 705P3 M68HCO05P3EM D 3 11 MOTOROLA 2 0 THE EMULATED MCU Your MMDSOS system uses a specific personality file for the MCU type being emulated For example to emulate an MC68HCO05P3 MC68HC705P3 MCU the system uses personality file 00207Vxx MEM Table 2 1 lists
6. 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 HCOSEVS failure that could stop program execution recover from such a failure which occurs very infrequently statistically press the master reset switch SW3 Limitation 4 Memory Map You must be aware of the memory map of the MCU being simulated be sure to use only valid ROM locations The HCOSEVS does not provide protection to limit user programs to the exact amount of MCU ROM available For information about memory maps consult the technical data book for the MCU Limitation 5 COP The resident MCU installed on the P3EM does not support COP operation To emulate the COP function please contact Motorola for further information M68HCO05P3EM D 3 19 MOTOROLA 3 4 LOGIC ANALYZER CONNECTOR P1 Figure 3 1 shows the pin assignments for logic analyzer connector Table 3 2 lists signal descriptions for this connector Figure 3 1 Connector P1 Pin Assignments M68HCO05P3EM D 3 20 MOTOROLA Table 3 2 Logic Analyzer Connector P1 Signal D
7. reset The diagram below shows the factory configuration the fabricated jumper between pins 1 and 2 enables your P3EVS to reset the target when you press the user or master reset switch FABRICATED JUMPER J3 1 EVS 2 3 TRGT Alternatively you may enable the target system to reset the P3EVS To do so Reposition the P3EM J3 jumper between pins 2 and 3 and Insert a fabricated jumper into platform board header J3 3 1 3 Resident MCU Select Header J4 Jumper header J4 selects the correct EM operation for each of the possible resident MCUs The diagram below shows the factory configuration the fabricated jumper between pins 2 and 3 selects the correct LIR operation for an MC68HC705P3 Reposition the jumper between pins 1 and 2 when MC68HCO05P3 MCU adaptor assembly is installed in socket U2 FABRICATED JUMPER 4 1 05P3 3 705P3 M68HCO5P3EM D 3 17 MOTOROLA 3 2 THE EMULATED MCU The MCU device at P3EM location U2 contains the resident MCU The factory ships the P3EM with an MC68HC705P3 resident MCU which is appropriate for emulating a number of MCUS with some qualifications as described in the following paragraphs 3 Table 3 1 Resident MCUs M68HCO05P3 M68HCO05P3 See paragraph 3 2 1 M68HC705P3 M68HCO05P3 See paragraph 3 2 2 Table 3 1 shows the resident MCU appropriate for your emulation with additional information in the reference paragraphs Also note paragraph 3 2 2 below for the information spe
8. 05P3 Emulation The MC68HC705P3 MCU contains additional registers to allow programming of the internal EPROM and selection of mask options M68HCOSP3 device does not support these features M68HCO05P3EM D 3 12 MOTOROLA 2 3 REMAINING SYSTEM INSTALLATION When you have configured headers J1 through 14 you are through with P3EM configuration To install the PSEM in an MMDSOS 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 corners of the EM onto the plastic standoffs Connect the target cable if appropriate Replace the panel f your P3EM already is installed in the station module reconnect the target cable if necessary Replace the panel At this point you are ready to make remaining cable connections as necessary and restore power For instructions consult the MMDSOS5 operations manual MMDS05OM D M68HCO05P3EM D 3 13 MOTOROLA THIS PAGE LEFT BLANK INTENTIONALLY M68HCO05P3EM D 3 14 MOTOROLA CHAPTER 3 HCOSEVS CONFIGURATION AND OPERATION This chapter explains how to configure your P3EM for use as part of an HCOSEVS For other parts of system installation or configuration see the HCOSEVS operations manual HCOSEVSOM D If you will use your P3EM as part of an MMDSOS5 system go to Chapter 2 for configuration information Paragraph 3 1 explains how to set P3EM jumper headers Paragra
9. 5 CONFIGURATION AND OPERATION This chapter explains how to configure and use your P3EM as part of an MMDSOS5 For other parts of system installation or configuration see the MMDSO05 operations manual MMDS050M D If you will use your P3EM as part of an HCOSEVS system go to Chapter 3 for corresponding information Paragraph 2 1 explains how to set P3EM jumper headers Paragraph 2 2 explains considerations pertaining to the MCU you emulate Paragraph 2 3 explains remaining system installation Note that you can configure P3EM already installed in the MMDSOS 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 jumper headers with power left on can damage MMDSOS circuits 2 1 SETTING P3EM JUMPER HEADERS Your P3EM has four jumper headers J1 through J4 Paragraphs 2 1 1 2 1 2 and 2 1 3 explain how to configure these headers M68HCO5P3EM D 3 9 MOTOROLA 2 1 1 Clock Source Select Headers J1 and J2 Jumper headers J1 and J2 determine the source of the clock signal The diagram below shows the factory configuration the fabricated jumpers select the P3EM canned oscillator clock source FABRICATED JUMPERS P 1 J2 1 TRGT 2 2 3 XTAL 3 MMDS Alternatively you may use a clock source originating from the control board To do so reposition the J1 jumper
10. M68HCO5P3EM D Rev 1 August 1994 HC05P3 EMULATOR MODULE USER S MANUAL Second Edition MOTOROLA Inc 1994 Rights Reserved M68HCO05P3EM D 3 1 MOTOROLA 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 expenses 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 M68HCO05P3EM
11. OSEVS Evaluation System HCOSEVS 1 1 1 Motorola Modular Development System MMDS05 The MMDSOS 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 MMDSO05 consists of e a station module the metal MMDSOS5 enclosure containing the control board and the internal power supply Most system cables connect to the MMDSOS5 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 P3EM a printed circuit board that enables system functionality for a specific set of MCUs The EM fits into the station module through a sliding panel in the enclosure top The EM has a connector for the target cable M68HCO5P3EM D 3 5 MOTOROLA two logic clip cable 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 or 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
12. cific to the MCU you emulate 3 2 1 P3 Emulation To emulate an MC68HCO5P3 use the MC68HC705P3 for the resident MCU The installed 705P3 allows the user to select and IRQ mask options under software control These selections are mask programmable in the MC68HCO5P3 See the appropriate data book for further information To replace the supplied MC68HC705P3 device with an MC68HCOS5P3 device a Motorola supplied adaptor is required Do not attempt to insert an MC68HCOSP3 device directly into socket U2 3 2 2 705P3 Emulation The MC68HC705P3 MCU contains additional registers to allow programming of the internal EPROM and selection of mask options M68HCOSP3 device does not support these features M68HCO05P3EM D 3 18 MOTOROLA 3 3 EVS LIMITATIONS This paragraph explains the limitations that apply to using your P3EM in an HCOSEVS These limitations except 5 apply regardless of the resident MCU Limitation 1 CLURTI 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 HCOSEVS User breakpoints remain in the user map as SWI instructions you must remove such SWI instructions Limitation 2 Branch Do not trace a conditional branch instruction such as BRCLR that branches to itself As the monitor places an SWI instruction
13. e the cable that connects the PFB to the host computer RS 232 port system software software on 3 1 2 inch diskettes HCOSEVS documentation an HCOSEVS operations manual HCOSEVSOM D and the appropriate EM user s manual As mentioned your HC05P3 EVS emulates the MC68HC 7 05P3 MCU s By substituting a different EM you can enable your HCOSEVS 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 P3EM as part of an HCOSEVS system For information about HCOSEVS software or the platform board see the HCOSEVS operations manual For layout and configuration information pertaining to a different EM see the corresponding EM user s manual M68HCO5P3EM D 3 6 MOTOROLA 1 2 EM LAYOUT Figure 1 1 shows the layout of the P3EM Jumper headers J1 and J2 let the user select the clock source on board oscillator target oscillator or MMDSOS oscillator Note that the target oscillator requires a single clock supply it is not suitable to connect a crystal external to the EM board Jumper J3 determines the logic direction of the RESET signal at the target connector Jumper J4 selects the correct sense of the CPU LIR signal depending on the resident MCU Connector P4 is the interface to a target system This connector can either use a separately supplied target cable from Motorola or a user supplied ribbon cable to DIP head If you install
14. escriptions sm MNEMONIC SIGNAL 1 3 4 8 10 No connection 12 14 31 33 36 40 5 7 9 11 LA11 LAO LATCHED ADDRESSES bits 11 0 MCU latched 13 15 17 output address bus 19 21 23 25 27 16 18 20 AD7 ADO DATA BUS bits 7 0 MCU multiplexed I O data 22 24 26 28 30 LR W LATCHED READ WRITE Active high output signal that indicates the direction of data transferred on the bus LOAD INSTRUCTION REGISTER Open drain active low output signal that indicates an instruction is starting 37 VCC 5 VDC POWER Input voltage 5 Vdc 91 0 A used by EVS logic circuits 38 E EXTERNAL CLOCK Internally generated output clock signal used as a timing reference The frequency of E clock is 1 2 the input frequency of the signal on the OSC2 pin 39 RESET RESET Active low bidirectional signal for starting an EVS reset M68HCO05P3EM D 3 21 MOTOROLA 3 5 REMAINING SYSTEM INSTALLATION When you have configured headers J1 through J4 you are through with P3EM configuration Find jumper header J1 of the HCOSEVS platform board Make sure that two fabricated jumpers are installed per the diagram below J1 A14 A13 A12 A11 FABRICATED JUMPER To install the on an HCOSEVS platform board fit together EM connectors P2 and 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
15. ph 3 2 explains considerations pertaining to the MCU you emulate Paragraph 3 3 lists limitations on using the P3EM in an HCOSEVS 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 P3EM already installed on the HCOSEVS 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 HCOSEVS circuits 3 1 SETTING P3EM JUMPER HEADERS Your P3EM has four jumper headers J1 through J4 Paragraphs 3 1 1 through 3 1 3 explain how to configure these headers M68HCO05P3EM D 3 15 MOTOROLA 3 1 1 Clock Source Select Headers J1 and J2 Jumper headers J1 and J2 determines the source of the clock signal The diagram below shows the factory configuration the fabricated jumpers select the P3EM canned oscillator clock source To use a clock source originating from the target system reposition the J1 jumper between pins 1 and 2 and the J2 jumper between pins 1 and 2 FABRICATED JUMPERS J1 J2 P 1 J2 1 TRGT 2 2 3 XTAL 3 MMDS NOTE The J2 pins 2 and 3 configuration is not correct for a P3EM that is part of an HCOSEVS system M68HCO05P3EM D 3 16 MOTOROLA 3 1 2 Reset Select Header J3 Jumper header J3 controls the path of a target
16. the P3EM in the MMDSOS5 station module the target cable passes through the slit in the station module enclosure Connector connects to a logic analyzer Connector has more significance for an EVS system as an MMDSOS system includes a bus analyzer Expansion header connectors P2 and connect together the EM and the control board for an MMDSO05 or the EM and the platform board for an EVS J2 MC68HC 7 05P3 Figure 1 1 HC05P3 Emulator Module M68HCO05P3EM D 3 7 MOTOROLA 1 3 CONNECTOR P4 PIN ASSIGNMENTS Figure 1 2 shows the pin assignments for connector P4 The italic numbers correlate the P4 pins with the pins of your MCU For signal descriptions consult the technical data book for the specific MCU P4 GND 1 2 RQ Vdd Detect 3 4 RESET PAO 5 6 OSC1 PA1 7 8 2 9 10 PB7 PA3 11 12 PB6 4 13 14 PB5 15 16 PB4 PA6 17 18 PB3 PA7 19 20 PB2 PCO TCAP 21 22 PBI PC1 TCMP 23 24 PBO PC2 25 26 PC5 PC3 27 28 4 GND 29 30 GND GND 31 32 GND GND 33 34 GND GND 35 36 GND GND 37 38 GND GND 39 40 GND Figure 1 2 Connector P4 Pin Assignments As connector P1 has more importance to an HCOSEVS than to an MMDSOS pin assignments for connector P1 are in Chapter 3 To configure your P3EM for use as part of an MMDSOS follow the instructions of Chapter 2 To configure your P3EM for use as part of an HCOSEVS follow the instructions of Chapter 3 M68HCO5P3EM D 3 8 MOTOROLA CHAPTER 2 MMDS0
17. the personality files that pertain to the Note that personality file names follow the pattern O0 ZZZV xx M EM where ZZZis the EM identifier or MCU name and XX is the version of the file Table 2 1 MCUS and Personality Files EMULATED PERSONALITY MCU FILE COMMENTS M68HCO05P3 00207V01 MEM See paragraph 2 2 1 M68HC705P3 00207V01 MEM See paragraph 2 2 2 MMDS05 software loads the personality file upon powerup To replace the default personality file with a different one use the LOADMEM command For more information about the LOADMEM command see the explanation in the MMDSO5 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 command explanation in the MMDSOS5 operations manual 2 2 1 P3 Emulation To emulate an MC68HCO05P3 use MC68HC705P3 for the resident MCU The installed 705P3 allows the user to select COP and IRQ mask options under software control These selections are mask programmable in the MC68HCO05P3 See the online CHIPINFO MMDSO5only or the appropriate data book for further information To replace the supplied MC68HC705P3 device with an MC68HCO5P3 device a Motorola supplied adaptor is required Do not attempt to insert MC68HCO5P3 device directly into socket U2 2 2 2 7

Download Pdf Manuals

image

Related Search

Related Contents

LAVARROPAS Totalmente Automático  G3 Ferrari Prisma Univers 25  Intrastat - Wings Software  User Manual  取扱説明書 - CASIO  CP-1050  取扱説明書(PDF)  B&K 4011A Manual  

Copyright © All rights reserved.
Failed to retrieve file