Freescale Semiconductor HC05P3 User Manual Download Page 12

M68HC05P3EM/D

3-12

MOTOROLA

2.2  THE EMULATED MCU

Your MMDS05 system uses a specific personality file for the MCU type being emulated.  For
example, to emulate an MC68HC05P3 or MC68HC705P3 MCU, the system uses personality
file 00207Vxx.MEM.  Table 2-1 lists the personality files that pertain to the P3EM.  Note that
personality file names follow the pattern 

00ZZZVxx.MEM

, where 

ZZZ

 is 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

M68HC05P3

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 MMDS05 operations manual.)

Alternatively, you can insert the line LOADMEM 00ZZZVxx.MEM in the STARTUP.05 script
file.  This way, the system automatically loads the specified personality file as part of system
startup.  (For more information about the STARTUP.05 script file, see the SCRIPT command
explanation in the MMDS05 operations manual.)

2.2.1  P3 Emulation

To emulate an MC68HC05P3 use the 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  MC68HC05P3.    See  the  online  CHIPINFO
(MMDS05only), or the appropriate data book for further information.

To replace the supplied MC68HC705P3 device with  an  MC68HC05P3  device  a  Motorola
supplied adaptor is required.  Do not attempt to insert an MC68HC05P3 device directly into
socket U2.

2.2.2  705P3 Emulation

The MC68HC705P3 MCU contains additional registers to allow programming of the internal
EPROM and selection of mask options.    An  M68HC05P3  device  does  not  support  these
features.  

 

   

  

Freescale Semiconductor, I

                                               

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

nc.

..

Summary of Contents for HC05P3

Page 1: ...05P3EM D Rev 1 August 1994 HC05P3 EMULATOR MODULE USER S MANUAL Second Edition MOTOROLA Inc 1994 All Rights Reserved Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Page 2: ... 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 associ...

Page 3: ...e Emulated M C U 2 4 2 2 1 P 3 E m u l a t i o n 2 4 2 2 2 705P3 E m u l a t i o n 2 4 2 3 Remaining System I n s t a l l a t i o n 2 5 CHAPTER 3 HC0 5 EVS CON FIGU RATION AN D OPERATION 3 1 3 1 Setting P3EM Jumper H e a d e r s 3 1 3 1 1 Clock Source Select Headers J1 and J 2 3 2 3 1 2 Reset Select Header J 3 3 3 3 1 3 Resident MCU Select Header J 4 3 3 3 2 The Emulated M C U 3 4 3 2 1 P 3 E m u ...

Page 4: ...s 1 5 3 1 Connector P 1 Pin Assignments 3 6 TABLES Table Page 2 2 MCUs and Personality F i l e s 2 4 3 1 Resident M C U s 3 4 3 2 Logic Analyzer Connector P 1 Signal D e s c r i p t i o n s 3 7 Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Page 5: ...stem 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 MMDS05 consists of a station module the metal MMDS05 enclosure containing the control board and the internal power supply Most system cables connect to the MMDS05 station module The cable to an optional target...

Page 6: ...he corresponding EM user s manual 1 1 2 M68HC05EVS Evaluation System HC05EVS An HC05EVS is an economical two board tool for designing debugging and evaluating target systems based on an MC68HC05 MCU A complete HC05EVS consists of a platform board PFB the bottom board which supports the emulator module The platform board has connectors for power and for the terminal or host computer an emulator mod...

Page 7: ...arget 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 P3EM in the MMDS05 station module the target cable passes through the slit in the station module enclosure Connector P1 connects to a logic analyzer Connector P1 has more significance for an EVS system as an MMDS05 system includes a bus analyzer...

Page 8: ...B0 PC5 PC4 GND GND GND GND GND GND P4 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 Figure 1 2 Connector P4 Pin Assignments As connector P1 has more importance to an HC05EVS than to an MMDS05 pin assignments for connector P1 are in Chapter 3 To configure your P3EM for use as part of an MMDS05 follow the instructions of Chapter 2 To c...

Page 9: ...emulate Paragraph 2 3 explains remaining system installation Note that you can configure a P3EM already installed in the MMDS05 station module enclosure To do so switch off station module power remove the panel then follow the guidance of this chapter CAUTION Be sure to switch off power if you reconfigure an installed EM Reconfiguring EM jumper headers with power left on can damage MMDS05 circuits...

Page 10: ...TRGT MMDS J2 1 2 3 FABRICATED JUMPERS J2 XTAL J1 1 2 3 Alternatively you may use a clock source originating from the control board To do so reposition the J1 jumper between pins 1 and 2 then use the MMDS05 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 Freescale Semiconductor I Freescale Semiconductor Inc For...

Page 11: ...MDS05 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 jump...

Page 12: ...ADMEM 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 MMDS05 operations manual 2 2 1 P3 Emulation To emulate an MC68HC05P3 use the MC68HC705P3 for the resident MCU The installed 705P3 allows the user to select CO...

Page 13: ...connectors P11 and P12 Snap the corners of the EM onto the plastic standoffs Connect the target cable if appropriate Replace the panel If your 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 MMDS05 operations manual MM...

Page 14: ...M68HC05P3EM D 3 14 MOTOROLA THIS PAGE LEFT BLANK INTENTIONALLY Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc ...

Page 15: ...05EVS 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 HC05EVS 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 Recon...

Page 16: ...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 TRGT MMDS J2 1 2 3 FABRICATED JUMPERS J2 XTAL J1 1 2 3 NOTE The J2 pins 2 and 3 configuration is not correct for a P3EM that is part of an HC05EVS system Freescale Semiconductor I Freescale Semiconductor Inc For More Information On Th...

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

Page 18: ...ic to the MCU you emulate 3 2 1 P3 Emulation To emulate an MC68HC05P3 use the 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 MC68HC05P3 See the appropriate data book for further information To replace the supplied MC68HC705P3 device with an MC68HC05P3 device a Motorola supp...

Page 19: ...a G command while the PC points to this type of instruction as long as the instruction is not a breakpoint address Limitation 3 IRQ SWI Whenever possible avoid mixing interrupt requests IRQs and user software interrupts SWIs This prevents a possible IRQ SWI timing problem a concurrent hardware interrupt and SWI could cause an HC05EVS failure that could stop program execution To recover from such a...

Page 20: ...9 LA8 LA7 LA6 LA5 LA4 LA3 LA2 LA1 LA0 LR W NC NC NC VCC RESET GND NC GND NC NC NC NC AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 LIR NC NC E NC P1 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 Figure 3 1 Connector P1 Pin Assignments Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com...

Page 21: ...at indicates the direction of data transferred on the bus 32 LIR LOAD INSTRUCTION REGISTER Open drain active low output signal that indicates an instruction is starting 37 VCC 5 VDC POWER Input voltage 5 Vdc 1 0 A used by EVS logic circuits 38 E EXTERNAL CLOCK Internally generated output clock signal used as a timing reference The frequency of E clock is 1 2 the input frequency of the signal on th...

Page 22: ...UMPER 1 3 5 7 2 4 6 8 To install the P3EM on an HC05EVS platform board fit together EM connectors P2 and P3 on the bottom of the board and platform board connectors P3 and P4 Snap the corners of the EM onto the plastic standoffs At this point you are ready to make remaining cable connections as necessary and restore power For instructions consult the HC05EVS operations manual HC05EVSOM D Freescale...

Reviews: