Home

M68EM05J3 Manual

image

Contents

1. As mentioned your J3EM gives the MMDSOS5 the ability to emulate the MC68HC 7 05J3 MCUs By substituting a different EM you can enable your MMDSO5 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 J3EM as part of an MMDSO5 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 M68HCOS5EVS Evaluation System HCO5EVS An HCOSEVS is an economical two board tool for designing debugging and evaluating target systems based on an MC68HCO05 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 e an emulator module EM such as the J3EM a printed circuit board that enables system functionality for a specific set of MCUs The EM fits onto the PFB The EM has connectors for a target cable and for a cable to a logic analyzer e an RS 232 serial cable the cable that connects the PFB to the host computer RS 232 port e system software software on 3 1 2 inch diskettes e HCOSEVS documentation an HCOSEVS operations manual HCOSEVSOM D and the appropriate EM user s manual As mentioned your HC05J3 EVS emulates t
2. 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 J3EM JUMPER HEADERS Your J3EM has three jumper headers J1 through J3 Paragraphs 3 1 1 through 3 1 2 explain how to configure these headers For More Information On This Product M68HCO5 3EM D Go to wwy frgescale com MOTOROLA Freescale Semiconductor Inc 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 J3EM canned oscillator clock source To use a clock source originating from the target system reposition the J1 jumper between pins 2 and 3 and the J2 jumper between pins 2 and 3 FABRICATED SH J1 a J2 P A 1 XTAL 1 MMDS 2 2 3 J2 3 TRGT NOTE The J2 pins 1 and 2 configuration is not correct for a J3EM that is part of an HCOSEVS system 3 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 J3EVS to reset the target when you press the user or master reset switch J3 FABRICATED 1 EVS JUMPER 2 3 TRGT Alternatively you may enable the target system to reset the J3EVS To do so e Reposition the J3EM J3 jumper between pins 2 and 3 and e Insert a fabricated jumper into
3. 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 For More Information On This Product M68HCO5 3EM D Go to wwy frgescale com MOTOROLA 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 NC 1 2 GND NC 3 4 NC LA11 5 6 GND LA10 7 8 NC Lag 9 10 NC LA8 11 12 NC LA7 13 14 NC LA6 15 16 AD7 LA5 17 18 AD6 LA4 19 20 AD5 LA3 21 22 AD4 LA2 23 24 AD3 LA1 25 26 AD2 LAO 27 28 ADI LR W 29 30 ADO NC 31 32 LIR NC 33 34 NC NC 35 36 NC VCC 37 38 E RESET 39 40 NC Figure 3 1 Connector P1 Pin Assignments For More Information On This Product M68HCO5 3EM D Go to www frgescale com MOTOROLA Freescale Semiconductor Inc Table 3 2 Logic Analyzer Connector P1 Signal Descriptions av 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 dat
4. platform board header J3 For More Information On This Product M68HCO5 3EM D Go to www frgescale com MOTOROLA Freescale Semiconductor Inc 3 2 THE EMULATED MCU The MCU device at J3EM location U2 contains the resident MCU The factory ships the J3EM with an MC68HC705J3 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 EMULATED MCU RESIDENT MCU COMMENTS M68HCO5 3 M68HCO5 3 See paragraph 3 2 1 M68HC705 3 M68HCO5 3 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 specific to the MCU you emulate 3 2 1 J3 Emulation To emulate an MC68HC05J3 use the MC68HC705J3 for the resident MCU The installed 705J3 allows the user to select COP and IRQ mask options under software control These selections are mask programmable in the MC68HC05J3 See the appropriate data book for further information To replace the supplied MC68HC705J3 device with an MC68HCO05J3 device a Motorola supplied adaptor is required 3 2 2 705J3 Emulation The MC68HC705J3 MCU contains additional registers to allow programming of the internal EPROM and selection of mask options An M68HCO05J3 device does not support these features For More Information On This Product M68HCO5 3EM D Go to wwy frge
5. Freescale Semiconductor Inc M68HCO5J3EM D March 1995 M68EM05J3 EMULATOR MODULE USER S MANUAL First Edition MOTOROLA Inc 1995 All Rights Reserved For More Information On This Product M68HCO5 3EM D Go to www fneescale com MOTOROLA 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 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 re
6. MMDS05 enclosure containing the control board and the internal power supply Most system cables connect to the MMDS0S 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 e an emulator module EM such as the J3EM 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 For More Information On This Product M68HCO5 3EM D Go to www frpescale com MOTOROLA Freescale Semiconductor Inc e 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 e a 9 lead RS 232 serial cable the cable that connects the station module to the host computer RS 232 port e a 9 to 25 pin adapter a molded assembly that lets you connect the 9 lead cable to a 25 pin serial port e system software software on 3 1 2 inch diskettes e MMDS05 documentation an MMDS05 operations manual MMDS050M D and the appropriate EM user s manual
7. a 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 1 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 For More Information On This Product M68HCO5 3EM D Go to wwy frgescale com MOTOROLA Freescale Semiconductor Inc 3 5 REMAINING SYSTEM INSTALLATION When you have configured headers J1 through J3 you are through with J3EM configuration The Platform Board PFB requires a special monitor to use the J3EM The PFB will not operate with the standard monitor Contact Motorola to receive the J3EM monitor 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 J3EM on an HCOSEVS 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 connections as necessary and restore power For instructions consult the HCOSEVS operations manual HCOSEVSOM D F
8. ale com MOTOROLA Freescale Semiconductor Inc FIGURES Figure 1 1 HCO5J3 Emulator Module eee 1 2 Connector PA Pin Assignments cece eee eee ee 3 1 Connector Pl Pin Assignments TABLES Table 2 2 MCUsand Personality Files eee eee ees 32l Resident MC Eeer ek 3 2 Logic Analyzer ConnectorP1 SignalDescriptions For More Information On This Product M68HCO5 3EM D Go to www freescale com Page 1 OW LA ising sis Mdina 3 5 Page LA OW MOTOROLA Freescale Semiconductor Inc CHAPTER 1 INTRODUCTION This user s manual explains connection configuration and operation information specific to the 68EMO05J3 Emulator Module J3EM The J3EM makes possible emulation and debugging of target systems based on these microcontroller units MCUs MC68HC05J3 MC68HC705J3 The J3EM can be part of two development systems This chapter describes those systems and explains the layout of the J3EM 1 1 DEVELOPMENT SYSTEMS Your J3EM can be part of two Motorola development tools the HCO5 Motorola Modular Development System MMDS05 or the M68HCOSEVS Evaluation System HCOSEVS 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 MMDSO05 consists of e a station module the metal
9. d For more information about the LOADMEM command see the explanation in the MMDSO5 operations manual Alternatively you can insert the line LOADMEM O00ZZZVxx 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 MMDS0O5 operations manual 2 2 1 J3 Emulation To emulate an MC68HC05J3 use the MC68HC705J3 for the resident MCU The installed 705J3 allows the user to select COP and IRQ mask options under software control These selections are mask programmable in the MC68HCO05J3 See the online CHIPINFO MMDS05 only or the appropriate data book for further information To replace the supplied MC68HC705J3 device with an MC68HCO05J3 device a Motorola supplied adaptor is required 2 2 2 705J3 Emulation The MC68HC705J3 MCU contains additional registers to allow programming of the internal EPROM and selection of mask options An M68HCO05J3 device does not support these features For More Information On This Product M68HCO5 3EM D Go to www frgescale com MOTOROLA Freescale Semiconductor Inc 2 3 REMAINING SYSTEM INSTALLATION When you have configured headers J1 through J3 you are through with J3EM configuration e To install the J3EM in an MMDS0O5 station module remove the panel from the station module top Fit together EM connectors P2 and P3 on t
10. ectors P2 and P3 connect together the EM and the control board for an MMDS05 or the EM and the platform board for an EVS DD P3 P4 MC68HC 7 05J3 go J4 Figure 1 1 HC05J3 Emulator Module For More information On This Product M68HC05J 3EM D Go to www freescale com MOTOROLA Freescale Semiconductor Inc 1 3 CONNECTOR P4 PIN ASSIGNMENTS Figure 1 2 shows the pin assignments for connector P4 For signal descriptions consult the technical data book for the specific MCU RESET IRQ PAO PAI PA2 PA3 PA4 PAS PAG PAT GND GND GND GND GND GND GND GND GND GND P4 OSC1 NC TCAP PB5 TCMP PB4 PB3 PB2 PB1 PBO VDD GND GND GND GND GND GND GND GND GND GND GND Figure 1 2 Connector P4 Pin Assignments As connector P1 has more importance to an HCOSEVS than to an MMDSOS5 pin assignments for connector P1 are in Chapter 3 To configure your J3EM for use as part of an MMDSO5 follow the instructions of Chapter 2 To configure your J3EM for use as part of an HCOSEVS follow the instructions of Chapter 3 For More Information On This Product M68HCO5 3EM D Go to www fgescale com MOTOROLA Freescale Semiconductor Inc CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION This chapter explains how to configure and use your J3EM as part of an MMDSOS For other parts of system installation or configuration see the MMDSO5 operations manual MMDSO0S50M D If you will use your J3EM a
11. gistered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer For More Information On This Product M68HCO5 3EM D Go to www fpeescale com MOTOROLA Freescale Semiconductor Inc CONTENTS CHAPTER 1 INTRODUCTION beeen e tees 1 1 1 1 Development Systems is assoc nse ANN E a 1 1 1 1 1 Motorola Modular Development System MMDS05 1 1 1 1 2 M68HCOSEVS EvaluationSystem HCOSEVS we 1 2 Le ENE bayou Cer Atel 7 Maes ebe Sa 1 3 1 3 Connector P4 Pin Assignments EE 1 4 CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION 2 1 2 1 Setting J3EM JumperHeader s es Eed Se 2 1 2 1 1 Clock Source Select Headers land 2 2 2 1 2 Reset Select Header in 2 2 2 2 TheEm lated M CU tege See en eelere 2 3 22d JS Rou A018 Wie healisiueiasies dad nae EEN Aen oe 2 3 Pd 2 USES Emula COU aise ade Sau dh erate 2 3 2 3 Remaining System instal lar ON eesse iastinichesses 2 4 CHAPTER 3 HCOS5EVS CONFIGURATION AND OPERATION 3 1 3 1 Setting J3EM JumperHeader s es ee 3 1 3 1 1 Clock Source Select Headers land 3 2 3 1 2 Reset Select Header in 3 2 3 2 EN EE DR EEN 3 3 S22 E E E ENEE EEN 3 3 Ge GUS LSA Ul Art 1 OT nenese nea Aan EnGen 3 3 3 3 BVS 131001 CAT1 ODS crccdiiewdGedawils EAR ERAN Se 3 4 3 4 LogtcAnalvzerConnectorbl eee beet etaeeeee eae 3 5 3 5 Remaining System ilnstallariodascenceneaey ieeleteis 3 7 For More Information On This Product M68HCO5 3EM D Go to www frpesc
12. he MC68HC 7 05J3 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 J3EM 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 For More Information On This Product M68HCO5 3EM D Go to www fg escale com MOTOROLA Freescale Semiconductor Inc 1 2 EM LAYOUT Figure 1 1 shows the layout of the J3EM Jumper headers J1 and J2 let the user select the clock source on board oscillator target oscillator or MMDS05 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 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 the J3EM 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 MMDSO5 system includes a bus analyzer Expansion header conn
13. he 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 e If your J3EM 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 MMDSO05 operations manual MMDSOS5OM D For More Information On This Product M68HCO5 3EM D Go to www freescale com MOTOROLA Freescale Semiconductor Inc CHAPTER 3 HCOSEVS CONFIGURATION AND OPERATION This chapter explains how to configure your J3EM for use as part of an HCOSEVS For other parts of system installation or configuration see the HCO5EVS operations manual HCOSEVSOM D If you will use your J3EM as part of an MMDSO5 system go to Chapter 2 for configuration information Paragraph 3 1 explains how to set J3EM jumper headers Paragraph 3 2 explains considerations pertaining to the MCU you emulate Paragraph 3 3 lists limitations on using the J3EM 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 J3EM already installed on the HCOSEVS platform board To do so disconnect platform board power then follow the guidance of this chapter CAUTION
14. mper between pins 2 and 3 with the J1 jumper between 2 and 3 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 and 2 enables your software to control resets This is the only correct J3 configuration for a J3EM that is part of an MMDSOS J3 FABRICATED 1 EVS JUMPER 2 3 TRGT NOTE The J3 pins 2 and 3 configuration is not correct for a J3EM that is part of an MMDSO5 system Such a configuration would interfere with correct operation of the RESETIN and RESETOUT commands For More information On This Product M68HC05J 3EM D Go to wwy frgescale com MOTOROLA Freescale Semiconductor Inc 2 2 THE EMULATED MCU Your MMDS05 system uses a specific personality file for the MCU type being emulated For example to emulate an MC68HCO05J3 or MC68HC705J3 MCU the system uses personality file 00207 Vxx MEM Table 2 1 lists the personality files that pertain to the J3EM Note that personality file names follow the pattern OOZZZVxx MEM where ZZZis the EM identifier or MCU name and XX is the version of the file Table 2 1 MCUs and Personality Files EMULATED MCU PERSONALITY FILE COMMENTS M68HCOS 3 00206V01 MEM See paragraph 2 2 1 M68HC705 3 00206V01 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 comman
15. or More Information On This Product M68HCO5 3EM D Go to wwy frgescale com MOTOROLA Freescale Semiconductor Inc This page is left blank intentionally For More Information On This Product M68HCO5 3EM D Go to www frgescale com MOTOROLA
16. s part of an HCOSEVS system go to Chapter 3 for corresponding information Paragraph 2 1 explains how to set J3EM 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 a J3EM already installed in the MMDSO5 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 MMDS05 circuits 2 1 SETTING J3EM JUMPER HEADERS Your J3EM has three jumper headers J1 through J3 Paragraphs 2 1 1 and 2 1 2 explain how to configure these headers For More Information On This Product M68HCO5 3EM D Go to www frpescale com MOTOROLA Freescale Semiconductor Inc 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 J3EM canned oscillator clock source FABRICATED Ha J1 f J2 Le A 1 XTAL 1 MMDS 2 2 3 J2 3 TRGT Alternatively you may use a clock source originating from the control board To do so reposition the J1 jumper between pins 2 and 3 then use the MMDS05 OSC command to select a frequency To use a clock source originating from the target system reposition the J2 ju
17. scale com MOTOROLA Freescale Semiconductor Inc 3 3 EVS LIMITATIONS This paragraph explains the limitations that apply to using your J3EM in an HCOSEVS These limitations except 5 apply regardless of the resident MCU 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 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 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 To recover from such a failure which occurs very infrequently statistically press the master reset switch SW3 Limitation 4 Memory Map You must be

Download Pdf Manuals

image

Related Search

Related Contents

analyse des risques chimiques dans une PME - perssane  端末機器の技術基準適合認定・設計認証業務規程  Samsung HW-C700 Brugervejledning  Harbor Freight Tools Fixed Dual Head Halogen Shop Light Product manual  Keystone View Visionary 2013 Software  pdf 574 KB  HP A7A56UAR#ABA User's Manual  Panasonic DMC-FH2  Frigidaire 316135924 Range User Manual  Canon D1 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file