Home

M68EM05X4 EMULATOR MODULE USER`S MANUAL

image

Contents

1. 13 ui eer EVDD 27 28 GND en 14 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 has more importance to an HCOSEVS than to an 505 pin assignments for connector are in Chapter 3 To configure your X4EM for use as part of an MMDSOS follow the instructions of Chapter 2 To configure your X4EM for use as part of an HCOSEVS follow the instructions of Chapter 3 HCO5EVS CONFIGURATION AND OPERATION 1 4 COP WATCHDOG EMULATION CONSIDERATIONS Both of the devices emulated by this system include on chip COP watchdogs These watchdogs are configurable in the emulator according to the following procedures The COP watchdog is disabled by default when the emulator is reset To enable the watchdog you must first enable the watchdog mask option bit and then override the COP disable bit in register 001F You can enable the mask option bit in the MOR at address 1F00 by programming bit 0 to 0 see the data book for more details Alternatively you can override the MOR bit by the following procedure emulator only 1 Set bit 7 of register 001C to 1 2 Set bit 0 of 1F00 to 0 by writing as if it were a RAM location In either case you must then enable the watchdog by writing bit 2 of address 001F to 1 NOTE Do not attempt to write any other bit at address 001F Attempting to do so will cause the emulator to ma
2. BIT 6 PORT B BIT 7 NOTE Diagram shows J3 configured for WOI on Port B bit 0 3 2 THE EMULATED MCU The factory ships the XAEM with an MC68HC705XA resident MCU which is appropriate for emulating MC68HC 7 05X4 MCUs 3 2 1 MC68HC 7 05X4 Emulation When emulating a MC68HC05X4 using X4EM you should not to write to location 001F as this may cause a system malfunction Also S records downloads should avoid this location or write 0 into it The Computer Operating Properly COP is currently not supported Fixed pull downs of 100K are connected to all Port A B lines When the WOI registers obtained by setting bit 0 of register 3 are viewed they will read incorrectly until written In the actual chip these registers are reset on power up however on the EVS only the output is reset The division ratio on the oscillator is programmed to divide by two To allow faster CAN operation the 705X4 part would have to be erased and the oscillator module replaced For more information about the MC68HCO5X4 and MC68HC705X4 features see the corresponding technical data books HCO5EVS CONFIGURATION AND OPERATION 3 3 EVS LIMITATIONS This paragraph explains the limitations that apply to using your XAEM in an HCOSEVS 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 th
3. For more information about the LOADMEM command see the explanation in the MMDSOS5 operations manual Alternatively you can insert the line LOADMEM 00ZZZV xx 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 STARTUP 05 script file see the SCRIPT command explanation in the MMDSOS5 operations manual 2 2 1 MC68HC 7 05X4 Emulation When emulating a MC68HC05X4 using the XAEM you should not to write to location 001F as this may cause a system malfunction Also S records downloads should avoid this location or write O into it The Computer Operating Properly COP is currently not supported Fixed pull downs of 100K are connected to all Port A B lines When the WOI registers obtained by setting bit 0 of register 3 are viewed they will read incorrectly until written In the actual chip these registers are reset on power up however on the EVS only the output is reset The division ratio on the oscillator is programmed to divide by two To allow faster CAN operation the 705X4 part would have to be erased and the oscillator module replaced For more information about the MC68HCO5X4 and MC68HC705XA features see the corresponding technical data books HCO5EVS CONFIGURATION AND OPERATION 2 3 REMAINING SYSTEM INSTALLATION When you have configured headers J1 to J3 you are through with XAEM configuration To install t
4. OPERATION CONTENTS CHAPTER 5555555555 5552 55 54 5 55 0 6 666006 6 6666 6 1 2 1 1 DEVELOPMENT SYSTEMS esee erred ci ER NY pea eda 1 3 1 1 1 Motorola Modular Development System 805 22200020200000000000012 Hee 1 3 1 1 2 M68HCOSEVS Evaluation System 5 5 0 ehe 1 4 1 2 PM EAM OUT a c tete ec RM REIN wie ne nens RI RP eee RS 1 5 1 3 CONNECTOR P4 PIN 5 5 65 1 6 1 4 COP WATCHDOG EMULATION CONSIDERATIONS 1 eene hene 1 7 1 5 68HC705X4 MASK SET 5 5 1 7 CHAPTER 2 MMDS05 CONFIGURATION AND 2 8 2 1 SETTING X4EM JUMPER 5 1 00 e he 00000 2 9 2 1 1 Target Reset Header J1 eee eet ee lene ese verat ye ERE YR RES OVER Re Re LEONE ede 2 10 251 2 Clock Select Header 12 iio a OR ER E eee ge tus eese d BALI 2 10 213 Port B WOI Header J3 slt lawn gere e ev ORA ERO de dd 2 11 2 2 ere tetas e eR 2 12 2 2 1 MC68HC 7 05X4 i ER do Deu e e cete eren P E REUS 2 12 2 3 REMAINING SYSTEM 5 2 13 CHAPTER 3 HCOSEVS C
5. the enclosure top The EM has a connector for the target cable 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 HCO5EVS CONFIGURATION AND OPERATION 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 X4EM gives the MMDSOS the ability to emulate both the MC68HC705X4 MC68HC05 X4 series MCUs By substituting a different EM you can enable your MMDS5S0 5 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 X4EM as part of an MMDSO5 system For information about MMDS05 software or the station module see the MMDSOS5 operations manual For layout and configuration information pertaining to a different EM see the corresponding EM
6. user s manual 1 1 2 M68HCOSEVS Evaluation System HCOSEVS An HCOSEVS is an economical two board tool for designing debugging and evaluating target systems based 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 an emulator module EM such as the X4EM 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 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 HCOSEVS documentation an HCOSEVS operations manual HCOSEVSOM D and the appropriate EM user s manual As mentioned your HC05X4 EVS emulates both the MC68HC705X4 and MC68HC05 X4 series 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 X4EM 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 HCO5EVS CONFIGURATIO
7. ER 1 INTRODUCTION This user s manual explains connection configuration and operation information specific to the HCOS5X4EM Emulator Module X4EM X4EM makes possible emulation and debugging of target systems based on these microcontroller units MCUs MC68HC705X4 MC68HC05X4 The X4EM can be part of two development systems This chapter describes those systems and explains the layout of the XAEM The MC68HC705X4 is the resident MCU in the X4 EM 1 1 DEVELOPMENT SYSTEMS Your X4EM can be part of two Motorola development tools the HC05 Motorola Modular Development System MMDS095 or the M68HCOSEVS 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 505 consists of a station module the metal MMDSO5 enclosure containing the control board and the internal power supply Most system cables connect to the MMDSOS 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 X4EM 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
8. M68bEMO5X4 D Rev 2 January 1996 68 05 4 EMULATOR MODULE USER S MANUAL Third Edition MOTOROLA Ltd 1993 1995 1996 All Rights Reserved 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 HCO5EVS CONFIGURATION AND
9. N AND OPERATION 1 2 EM LAYOUT Figure 1 1 shows the layout of the XAEM Connector P4 is for a cable assembly this provide the interface to the target system If you install the XAEM in the MMDSOS 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 MMDSOS 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 Figure 1 1 HC05X4 Emulator Module HCO5EVS CONFIGURATION AND OPERATION 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 in 28 pin DIL For signal descriptions consult the technical data book for the specific MCU P4 28 PB6 1 2 PB7 TCOMP 1 27 PERSE PB5 3 4 2 26 es PB4 5 Sore 3 Pay tees PB3 7 8 No Connect 22 2 9 10 5 29 11 12 6 229 PBO 13 14 7 VDDH 15 I6 DAD 8 RXI 17 06 ues 9 WP RXO 19 10 VSS 21 22 BAS ee 11 QUI MORS TX1 23 24 6 12 TXO 25 26 PAT
10. ONFIGURATION AND 3 14 3 1 SETTING X4EM JUMPER 5 2 2 000000000000 000000 rre ee 3 15 3L Target Reset Header 3 16 3 1 2 Clock Select Header 12 iio re RR Fee ge tede ge DIES 3 16 3 1 3 Port WOI Header 13 isse eere rue pun ea ice ERER 3 17 3 2 THE EMULATED MCVU 5 eer ker oda Nodes eee er deed 3 17 3 2 1 MC68HC 7 05X4 2 00000000000000 00000000000 3 17 3 3 BVS EDMEPEPACEIONS 5 eet to OREM 3 18 3 4 LOGIC ANALYZER 2 0 00 000000000000 2 enns 3 19 3 5 REMAINING SYSTEM 3 21 HCO5EVS CONFIGURATION AND OPERATION FIGURES LS Prag ur rr CLERICI Page FIGURE 1 1 HC05X4 EMULATOR ere se eter se 1 5 FIGURE 1 2 CONNECTOR P4 PIN 85 9 esent nnne 1 6 FIGURE 3 1 CONNECTOR PIN 85 3 19 TABLES Verve ARP Dr nn sie LA EIN ERU A TUER ETRAS bas e E TRA masse Re Page TABLE 2 1 MCUS AND PERSONALITY 5 12 TABLE 3 1 LOGIC ANALYZER CONNECTOR P1 SIGNAL 8 20 HCO5EVS CONFIGURATION AND OPERATION CHAPT
11. e 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 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 COP is not supported by the current platform board Limitation 6 Pull downs on Ports A and B Fixed 100K pull downs are connected to Ports A and B Limi
12. e to disconnect power if you reconfigure an installed EM Reconfiguring EM jumper headers with power left on can damage HCOSEVS circuits 3 1 SETTING X4EM JUMPER HEADERS Your X4EM has three jumper headers J1 to J3 Paragraphs 3 1 1 and 3 1 3 explain how to configure these headers HCO5EVS CONFIGURATION AND OPERATION 3 1 1 Target Reset Header J1 Jumper header J1 controls the path of a target reset The diagram below shows the factory configuration the fabricated jumper between pins 1 and 2 enables the EVS to control the target reset The fabricated jumper between pins 2 and 3 enables the target hardware to generate the reset TARGET RESET DRIVEN FROM FABRICATED JUMPER 1 EVS 2 TARGET 3 J1 3 1 2 Clock Select Header J2 Jumper header J2 determines the source of the clock signal The diagram below shows the factory configuration the fabricated jumper between pins 1 and 2 selects the XAEM canned oscillator clock source 2 3 J2 XTAL MMDS FABRICATED JUMPER HCO5EVS CONFIGURATION AND OPERATION 3 1 3 Port B WOI Header J3 Jumper header J3 allows the user to select the Port B lines that are to be configured as inputs Fabricated jumpers should be inserted in the rows corresponding to these inputs This is not required if the WOI function is not used on Port B J3 PORT B BIT 0 i PORT B BIT 1 p N FABRICATED JUMPER PORT B BIT 2 PORT B BIT 3 PORT B BIT 4 PORT B BIT 5 PORT B
13. gure a X4EM 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 0505 circuits 2 1 SETTING X4EM JUMPER HEADERS Your X4EM has three jumper headers J1 to J3 Paragraphs 2 1 1 and 2 1 3 explain how to configure these headers HCO5EVS CONFIGURATION AND OPERATION 2 1 1 Target Reset Header J1 Jumper header J1 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 J1 configuration for a XAEM that is part of an MMDSOS TARGET RESET DRIVEN FROM FABRICATED JUMPER 1 EVS 2 TARGET 3 Ji NOTE The J1 pins 2 and 3 configuration is not correct for a XAEM 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 Select Header J2 Jumper header J2 determines the source of the clock signal The diagram below shows the factory configuration the fabricated jumper between pins 1 and 2 selects the XAEM canned oscillator clock source J2 XTAL MMDS FABRICATED JUMPER Alternatively you may use a clock source originating from the control board To do so reposi
14. he X4EM 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 stand offs Connect the target cable if appropriate Replace the panel At this point you are ready to make remaining cable connections as necessary and restore power For instructions consult the MMDSO5 operations manual MMDS05OM D HCO5EVS CONFIGURATION AND OPERATION This page is left blank intentionally HCO5EVS CONFIGURATION AND OPERATION CHAPTER 3 HCOSEVS CONFIGURATION AND OPERATION This chapter explains how to configure your X4EM 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 X4EM as part of an MMDSOS system go to Chapter 2 for configuration information Paragraph 3 1 explains how to set X4EM jumper headers Paragraph 3 2 explains considerations pertaining to the MCU you emulate Paragraph 3 3 lists limitations on using the X4EM 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 XAEM already installed on the HCOSEVS platform board To do so disconnect platform board power then follow the guidance of this chapter CAUTION Be sur
15. he 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 OSC1 pin 5 VDC POWER Input voltage 5 Vdc 1 0 A used by EVS logic circuits Fac RESET RESET Active low bi directional signal for starting an EVS reset HCO5EVS CONFIGURATION AND OPERATION 3 5 REMAINING SYSTEM INSTALLATION When you have configured headers J1 to J3 you are through with XAEM configuration Find jumper header J1 of the HCOSEVS platform board Make sure that two fabricated jumpers are installed per the diagram below A14 2 A13 4 A12 6 A11 8 FABRICATED JUMPERS To install the XAEM 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 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 HCO5EVS CONFIGURATION AND OPERATION This page is left blank intentionally
16. lfunction 1 5 68HC705X4 MASK SET CONSIDERATIONS Different mask sets for the 705X4 require different oscillator inputs The following paragraphs describe the differences Please note that the reference to the oscillator module also applies to external or MMDSO5 clocks if they are in use e On the 1F88B mask set of the 705X4 the mask option register MOR is programmed to select the divide by ten option For this reason it is necessary to install a 20Mhz oscillator module to achieve a bus speed of 2MHz on Emulator Modules with this mask set installed On the OF88B mask set of the 705X4 the MOR is programmed to select the divide by two option For this reason it is necessary to install a 4Mhz oscillator module to achieve a bus speed of 2MHz on Emulator Modules with this mask set installed HCO5EVS CONFIGURATION AND OPERATION This page is left blank intentionally HCO5EVS CONFIGURATION AND OPERATION CHAPTER 2 MMDS05 CONFIGURATION AND OPERATION This chapter explains how to configure and use your X4EM as part of an MMDSOS5 For other parts of system installation or configuration see the MMDSO5 operations manual MMDS050OM D If you will use your XAEM as part of an HCOSEVS system go to Chapter 3 for corresponding information Paragraph 2 1 explains how to set X4EM jumper headers Paragraph 2 2 explains considerations pertaining to the MCU you emulate Paragraph 2 3 explains remaining system installation Note that you can confi
17. tation 7 At slow E clock rates the MCU will be unable to load S records correctly This is due to communication overruns due to the inability of the MCU to service the communication chip fast enough To avoid this problem you can slow the transmission rate not baud rate or use a faster clock to load the MCU and then slow the clock down 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 P1 NC 1 2 GND NC 3 4 NC 11 5 6 GND 10 7 8 LA12 LA9 9 10 NC 11 12 NC LA7 13 14 NC LAG 15 16 AD7 5 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 HCO5EVS CONFIGURATION AND OPERATION Table 3 1 Logic Analyzer Connector P1 Signal Descriptions OPN MNEMONIC SIGNAL 1 3 4 12 14 No connection 31 33 36 40 26 GND GROUND 5 7 9 11 13 LA11 LAO LATCHED ADDRESSES bits 11 0 MCU latched output 15 17 19 21 address bus 23 25 27 LA12 LATCHED ADDRESS bit 12 MCU latched output address bus 16 18 20 22 AD7 A DATA BUS bits 7 0 MCU multiplexed I O data bus 24 26 28 30 LR W LATCHED READ WRITE Active high output signal that indicates the direction of data transferred on t
18. tion the J2 jumper between pins 2 and 3 then use the MMDS05 OSC command to select a frequency HCO5EVS CONFIGURATION AND OPERATION 2 1 3 Port B WOI Header J3 Jumper header J3 allows the user to select the Port B lines that are to be configured as inputs Fabricated jumpers should be inserted in the rows corresponding to these inputs This is not required if the WOI function is not used on Port B J3 PORT B BIT 0 i p ad FABRICATED JUMPER PORT B BIT 1 PORT B BIT 2 PORT B BIT 3 PORT B BIT 4 PORT B BIT 5 PORT B BIT 6 PORT B BIT 7 NOTE Diagram shows J3 configured for WOI on Port B bit 0 HCO5EVS CONFIGURATION AND OPERATION 2 2 THE EMULATED MCU Your MMDSO5 system uses a specific personality file for the MCU type being emulated For example to emulate an MC68HC705X4 or MC68HCO05XA the system uses personality file 00202Vxx MEM Table 2 1 lists all the personality files that pertain to the X4EM Note that personality file names follow the pattern 00 ZZZVxx MEM where 222 is the EM identifier or MCU name and xx 1s the version of the file Table 2 1 MCUs and Personality Files EMULATED PERSONALITY RESIDENT MCU FILE MCU COMMENTS MC68HC 7 05X4 00202 68 705 4 See paragraph 2 2 1 MMDSO5 software loads the personality file upon powerup the default personality file is 00202Vxx MEM for the X4 To replace the default personality file with a different one use the LOADMEM command

Download Pdf Manuals

image

Related Search

Related Contents

FACETS ITAs - Canadian Science Publishing  Blanco 157-138 User's Manual  Kidde 1012 Brochure    ETL - MANUALE abbattitore GB_ANONIMO  Lenox Blower elite 12 User's Manual  HOLESHOT Manual    Interface Control Document  CD100 CD200 CD300 - 2011 - Issue 1.3.cdr  

Copyright © All rights reserved.
Failed to retrieve file