Home

M68EM05F4 EMULATOR MODULE USER`S MANUAL F re e s c a le

image

Contents

1. Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION Table 3 2 Logic Analyzer Connector P4 Signal Descriptions pin mnemonic SIGNAL 1 3 4 12 No connection 14 31 33 36 40 5 7 9 11 13 LA11 LAO LATCHED ADDRESSES bits 11 0 MCU latched 15 17 19 output address bus 21 23 25 27 8 10 LA12 13 LATCHED ADDRESSES bit 12 13 MCU latched output address bus 16 18 20 AD7 ADO DATA BUS bits 7 0 MCU multiplexed I O data 22 24 26 bus 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 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 5 VDC POWER Input voltage 5 Vdc 1 0 A used by EVS logic circuits RESET RESET Active low bidirectional signal for starting an EVS reset For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION 3 5 REMAINING SYSTEM INSTALLATION When you have configured headers Jlto J4 and made sure that the resident MCU is appropriate you are through with F4EM configuration Find jumper header J1 of the HCOSEVS platform board Make sure that three fabrica
2. EM and the control board for an MMDSO05 or the EM and the platform board for an EVS Finally Connectors P4 and P5 allow for connection of a target cable that is available separately If you install the F4EM board in the MMDSOS the target cable passes through a slit in the MMDSO5 enclosure J1 os j2 es J3 Bea Pl P2 P3 P4 P5 E M6SEM05F4 Figure 1 1 HC05F4 Emulator Module For More Information On This Product Go to www freescale com Freescale Semiconductor Inc INTRODUCTION 1 3 CONNECTORS P4 AND P5 PIN ASSIGNMENTS Figure 1 2 shows the pin assignments for connectors P4 and P5 For signal descriptions consult the technical data book for the specific MCU P4 P5 GND 1 2 PC2 PC 1 2 PAO TNX 3 4 GND TNO 3 4 GND TCAP2 5 6 GND TCMP2 5 6 GND TCAP1 7 8 GND TCMP1 7 8 GND PC3 9 10 GND GND 9 10 GND pcs 11 12 GND PC4 11 12 GND PC7 13 14 GND PC6 13 14 GND PB7 15 16 GND EVDD 15 16 GND PB4 17 18 PB3 PB6 17 18 PB5 GND 19 20 PB2 PD7 19 20 GND PD5 21 22 PBO PD6 21 22 PBI TOSCI 23 24 GND IRQ 23 24 RESET GND 25 26 PD4 NC 25 26 GND GND 27 28 PD2 GND 27 28 PD3 GND 29 30 PDO GND 29 30 PDI GND 31 32 PAT GND 31 32 GND GND 33 34 PAS GND 33 34 PAG PA3 35 36 PA2 GND 35 36 PA4 PAI 37 38 GND PCO 37 38 GND GND 39 40 GND GND 39 40 GND Figure 1 2 Target Connector As connector Pl has more importance to an HCOSEVS than to an MMDSOS5 pin assignments for connector P1 are in Chapter 3 To configure your F4EM for use as part of an MMD
3. Freescale Semiconductor Inc M68EMO05F4 D Rev 1 March 1995 M68EMO05F4 EMULATOR MODULE USER S MANUAL Second Edition MOTOROLA Ltd 1994 1995 All Rights Reserved For More Information On This Product Go to www freescale com 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 registered tra
4. SOS follow the instructions of Chapter 2 To configure your F4EM for use as part of an HCOS5EVS follow the instructions of Chapter 3 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION This chapter explains how to configure and use your F4EM as part of an MMDSOS5 For other parts of system installation or configuration see the MMDSO5 operations manual MMDS050M D If you intend to use your F4EM as part of an HCOSEVS system go to Chapter 3 for corresponding information Paragraph 2 1 explains how to set F4EM 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 F4EM already fitted in the MMDSO5 station module enclosure To do so switch off station module power remove the top 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION 2 1 SETTING F4EM JUMPER HEADERS Your F4EM has four jumper headers J1 to J4 This section explains how to configure these headers 2 1 1 Clock Source Select Headers J1 J2 Jumpe
5. ceee beeen eenneeeeeeees 3 3 3 2 The Em lated MCU occ ccm neacppieirgramyaesee ai N Er uE eves 3 3 3a 22 MC68HC705F4 Emulation Limitations 2 eee 3 3 323 MC68HC05F4 Emulation Limitations 2 0 0 0 eee eee eee 3 3 Sd SEW eT mitat LO WS acy usnceddeweemsencee ER A EE EEE 3 4 3 4 Logic Analyzer Connector P 1 4225 27 2osinaneecgesetsGawtiar Seanwedteeedes 3 5 3 5 Remaining SystemInstallation wees tee eeeeeeeeeeeees 3 7 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc FIGURES Figure 1 1 HCOSF4 Emulator Module eee 1 2 Connectors P2 and P3 Pin Assignments cece 3 1 ConnectorP1 Pin Assignments TABLES Table 2 1 MCUs and Personality File snese 3 2 Logic Analyzer ConnectorP 1 SignalDescriptions For More Information On This Product Go to www freescale com CONTENTS Freescale Semiconductor Inc INTRODUCTION CHAPTER 1 INTRODUCTION This user s manual explains connection configuration and operation information specific to the M68EMO5F4 Emulator Module F4EM The F4EM makes possible emulation and debugging of target systems based on these microcontroller units MCUs MC68HC705F4 MC68HCO05F4 The F4EM can be part of two development systems This chapter describes those systems and explains the layout of the F4EM The factory installs an MC68HC705F4 resident MCU in the F4EM 1 1 DEVELOPMENT SYSTEMS Your F4EM can be part of two Motorola de
6. demarks 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 CONTENTS CHAPTER 1 INTRODUCTION o erreen 1 1 1 1 Development Systems 22 20 02 itteeinees deed Peds cece sedate 1 1 1 1 1 Motorola Modular Development System MMDS0O5 ee 1 1 1 1 2 M68HCOSEVS EvaluationSystem HCOSEVS wee 1 2 e2 EM Lay Out inini aeiee oe Peele eee eae eed 1 3 1 3 Connectors P2 and P3 Pin Assignments ceeeecee eee eeneeeee 0 teens 1 4 CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION 2 1 2 1 Setting FARM Jumper Head ef Sip acwktinniienwaas lt Gidddesaasegalids 2 2 2al Clock Source Select Headers Jl and J 2 eee 2 2 2 1 2 Clock Stretch Select Header J 3 ccc cc ececeees teen ee 2 3 2 1 3 Reset Select Header J 4 wc ccc ccccceneee udeur ideti 2 3 2 2 Loe Bmalated MCU 1 034 esrsdachelaoerttseaked ehea e eai 2 4 pie aa MC68HC705F4 Emulation Limitations eee cece eee eee 2 4 Dis Je MC68HCOSF4 Emulation Limitations 2 0 0 0 eee eee eee 2 4 2 3 Remaining System Installation cuvette eevee 2 5 CHAPTER 3 HCOS5EVS CONFIGURATION AND OPERATION 3 1 3 1 Setting F4EM Jumper Headers eneee Meeeiie ede tabeus 3 2 3 1 1 Clock Source Select Headers Jl andJ 2 cece 3 2 3 1 2 Clock Stretch Select Header J 3 ccc cceceeees teen es 3 2 3 1 3 Reset Select Header J 4 wc ccc ccccce
7. g to the MCU you emulate Paragraph 3 3 lists limitations on using the F4EM 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 F4EM 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION 3 1 SETTING F4EM JUMPER HEADERS Your F4EM has FIVE jumper headers J1 to J5 Sections 3 1 explain how to configure these headers 3 1 1 Clock Source Select Headers J1 J2 Jumper headers J1 and J2 determines the source of the clock signal The diagram below shows the factory configuration of these jumpers the fabricated jumper between pins 2 and 3 selects the F4EM canned oscillator clock source 1 2 6 0 MMDS EM FABRICATED JUMPERS La oy r TOSC1 J1 Jumper J2 can be used to select between an internal generated clock or a external clock generated by the target system If the target clock is selected by placing the jumper on J2 between pins 1 and 2 the position of the fabricated jumper on J1 does not matter NOTE The only val
8. he station module to the host computer RS 232 port e a 9 to 25 pin adapter a moulded 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc INTRODUCTION e MMDS05 documentation an MMDS05 operations manual MMDS0O50OM D and the appropriate EM user s manual As mentioned your F4EM gives the MMDS05 the ability to emulate the MC68HC 7 05F4 MCU 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 F4EM as part of an MMDSO5 system For information about MMDS0O5 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 M68HCOS5EVS Evaluation System HCOSEVS 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 F4EM a printed circuit board that enables system functionalit
9. id position of the J1 fabricated jumper is between pins 2 and 3 when using the F4EM as part of an EVS system 3 1 2 Clock Stretch Select Header J3 Jumper header J3 determines the source of clock stretching if required By default board is shipped from the factory with no jumper installed ie with the clock stretch funxtion disabled To enable clock stretch add jumper between pins 1 and 2 for DACIA cycle stretching affects locations 3FEO 3FE3 or between pin 2 and 3 for monitor map cycle stretching For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION 3 1 3 Reset Select Header J4 Jumper header J4 controls the path of a target reset The diagram below shows the factory configuration the fabricated jumper between pins and 2 enables your F4EVS to reset the target when you press the user or master reset switch FABRICATED JUMPER Alternatively you may enable the target system to reset the F4EVS To do so e Reposition the F4EM J4 jumper between pins 2 and 3 and e Insert a fabricated jumper into platform board header J3 3 2 The Emulated MCU The factory ships the F4EM with an MC68HC705F4 resident MCU This MCU is suitable for emulation of both the MC68HC705F4 and the MC68HCOS5F4 3 2 2 MC68HC705F4 Emulation For more information about the MC68HC705F4 features see the corresponding technical data books 3 2 3 MC68HCO5F4 Emulation For
10. more information about the MC68HCOS5F4 features see the corresponding technical data books For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION 3 3 EVS LIMITATIONS This paragraph explains the limitations that apply to using your F4EM in an HCOSEVS These limitations 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 e
11. n power up To manually load a different personality file use the LOADMEM command For more information about the LOADMEM command see the explanation in the MMDS0O5 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 start up For more information about the STARTUP 05 script file see the SCRIPT command explanation in the MMDSO05 operations manual Note For correct operation you must install the personality file in the same directory as the MMDS05 software place only the latest versions of these files in this directory If the personality file required for the EM board is not in the same directory the MMDSO5 will prompt you for one You may select one anywhere on the drive on which the MMDSO5 software resides 2 2 1 MC68HC705F4 Emulation Limitations The open drain outputs on the port pins PBO and PB1 will not match the silicon precisely The COP reset circuitry will function correctly but only if bit X of location 1F equals 1 For more information about the MC68HC705F4 see the corresponding technical data books 2 2 2 MC68HCO05F4 Emulation Limitations Limitations are as per 2 2 1 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION 2 3 REMAINING SYSTEM INSTALLATION When you have configured header
12. r headers J1 and J2 determine the source of the clock signal The diagram below shows the factory configuration of these jumpers the fabricated jumper between pins 2 and 3 selects the F4EM canned oscillator clock source 1 2 6 0 MMDS EM FABRICATED JUMPERS La oy n TOSC1 J1 Alternatively you may use a clock source originating from the MMDS05 control board To do so reposition the J1 jumper between pins 1 and 2 Then use the MMDS OSC command to select clock frequency Use Jumper J2 to select between an internal generated clock and an external clock generated by the target system If the jumper on J2 is between pins 1 and 2 selecting external clock the position of J1 is not important For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION 2 1 2 Clock Stretch Select Header J3 Jumper header J3 determines the source of clock stretching if required The factory ships this board with no jumper installed that is with the clock stretch function disabled To enable clock stretch place a jumper between pins 1 and 2 for DACIA cycle stretching affects locations 3FEO 3FE3 or between pin 2 and 3 for monitor map cycle stretching Note Do not install a pre fabricated jumper on this header when using the board as part of an MMDS05 system 2 1 3 Reset Select Header J4 Jumper header J4 controls the path of a target reset The diagram below sho
13. s J1 to J4 and made sure that the resident MCU is appropriate you are through with F4EM configuration To install the F4EM in an MMDS0O5 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 stand offs Connect the target cable if appropriate Replace the panel If your F4EM 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 MMDS050M D For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION This page intentionally left blank For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION CHAPTER 3 HCOSEVS CONFIGURATION AND OPERATION This chapter explains how to configure your F4EM 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 F4EM as part of an MMDSO5 system go to Chapter 2 for configuration information Paragraph 3 1 explains how to set F4EM jumper headers Paragraph 3 2 explains considerations pertainin
14. ted jumpers are installed per the diagram below J1 aia 1 2 A13 3 4 o e a FABRICATED Al2 5 6 0 6 a JUMPERS an 7 O s To install the F4EM on an HCOSEVS platform board fit together EM connectors P3 and P4 on the bottom of the board and platform board connectors P3 and P4 Snap the corners of the EM onto the plastic stand offs 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION This page left blank intentionally For More Information On This Product Go to www freescale com
15. velopment tools the HCO5 Motorola Modular Development System MMDS05 or the M68HCOSEVS Evaluation System HCOS5EVS 1 1 1 Motorola Modular Development System MMDS05 The MMDS0OS5 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 MMDSO5 consists of e a station module the metal MMDS0S5 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 e an emulator module EM such as the F4EM 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 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 moulded 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 t
16. ws the factory configuration the fabricated jumper between pins 1 and 2 enables your software to control resets This is the only correct J4 configuration for a F4EM that is part of an MMDSO5 FABRICATED JUMPER ly 2 6 e eo j OUT IN NOTE Using the F4EM with the fabricated jumper installed between pins 2 and 3 will interfere with correct operation of the RESETIN and RESETOUT commands The J4 pins 2 and 3 configuration is not correct for a F4EM that is part of an MMDSO5 system For More Information On This Product Go to www freescale com Freescale Semiconductor Inc MMDSO5 CONFIGURATION AND OPERATION 2 2 THE EMULATED MCU Your MMDS05 system uses a specific personality file for the MCU type being emulated For example to emulate an MC68HCOSF4 or MC68HC705F4 MCU the system uses personality file 00220Vxx MEM this file contains device specific information such as memory map required by the MMDSO5 for correct operation Table 2 1 lists all the personality files that pertain to the F4EM 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 PERSONALITY RESIDENT MCU COMMENTS MCU FILE MC68HC705F4 00220Vxx MEM MC68HC705F4 See paragraphs 2 2 1 MC68HCO5F4 00220Vxx MEM MC68HC705F4 See paragraphs 2 2 2 MMDS05 software loads the default personality file for the EM board installed o
17. xecution To 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 computer operating properly COP update register serves as an EPROM location for the resident MCU Accordingly the platform board write protect jumper header must enable write protection Otherwise any writes to the COP update register change the value stored in user pseudo ROM For More Information On This Product Go to www freescale com Freescale Semiconductor Inc HCO5EVS CONFIGURATION AND OPERATION 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 Note indicates an active low signal LOGIC ANALYZER CONNECTOR NC 1 2 GND NC 3 4 NC LAI 5 6 GND LA1O 7 8 LAI2 LA9 9 10 LAI3 LA8 11 12 NC LA7 13 14 NC LA6 15 16 D7 LAS 17 18 D6 LA4 19 20 D5 LA3 21 22 D4 LA2 23 24 D3 LAI 25 26 D2 LAO 27 28 DI LR W 29 30 DO 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
18. y 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 HCOS5F4 EVS emulates the MC68HC705F4 and the MC68HCO5F4 MCUs 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 F4EM 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 Go to www freescale com Freescale Semiconductor Inc INTRODUCTION 1 2 EM LAYOUT Figure 1 1 shows the layout of the F4EM Use jumpers J1 and J2 to select the clock source for the emulator Jumper header J3 lets you select clock stretching if required J4 controls the path of a target reset Connector P1 is for 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 the

Download Pdf Manuals

image

Related Search

Related Contents

meter of network parameters nd20 type user`s manual  EXSYS EX-6003 printer switch  WinTRiLOGI - Triangle Research International    K2 Dyno S Replay Controller Installation & Service Manual v 3.0  

Copyright © All rights reserved.
Failed to retrieve file