background image

M68HC05E24/D2

3-5

MOTOROLA

3.3  EVS LIMITATIONS

This paragraph explains the limitations that apply to using your  E24EM  in  an  HC05EVS.
(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 HC05EVS.  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  HC05EVS  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  HC05EVS  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.

 

   

  

Freescale Semiconductor, I

                                               

Freescale Semiconductor, Inc.

For More Information On This Product,

   Go to: www.freescale.com

nc.

..

Содержание HC05E24

Страница 1: ...July 1994 HC05E24 EMULATOR MODULE USER S MANUAL Revision 2 0 MOTOROLA Inc 1994 All Rights Reserved Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www...

Страница 2: ...th 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 affiliat...

Страница 3: ...MCU 2 4 2 2 1 MC68HC705E24 Emulation Limitations 2 5 2 2 2 MC68HC05E24 Emulation Limitations 2 5 2 3 Remaining System Installation 2 6 CHAPTER 3 HC0 5 EVS CON FIGU RATION AN D OPERATION 3 1 3 1 Settin...

Страница 4: ...and P 5 Pin Assignments 1 4 3 1 Connector P 1 Pin Assignments 3 7 TABLES Table Page 2 1 MCUs and Personality F i l e s 2 4 3 2 Logic Analyzer Connector P 1 Signal D e s c r i p t i o n s 3 7 Freescale...

Страница 5: ...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 sta...

Страница 6: ...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 mo...

Страница 7: ...ystem 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 Finally Connectors P4 and P5...

Страница 8: ...ector P4 Connector P5 PA7 PA5 PA3 PE7 PE6 PE4 PA1 PB7 PB5 PB3 PB1 PE3 PE1 PE0 IRQ1 N C CLKOUT XOSC1 N C PC7 PC5 N C PC3 PC1 PD0 PD2 PD4 PD6 PF6 PF4 PF2 VSS PG0 VREFH RESET N C PC6 N C PC4 PC2 PC0 PD1...

Страница 9: ...how to set E24EM 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 E24EM already...

Страница 10: ...eader J2 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 corre...

Страница 11: ...pins 1 and 2 The MMDS OSC command can then be used to select clock frequency Jumper J3 can be used to select between an internal generated clock or a external clock generated by the target system If...

Страница 12: ...nality file for the EM board installed on powerup To manually load a different personality file use the LOADMEM command For more information about the LOADMEM command see the explanation in the MMDS05...

Страница 13: ...build by a PRU The drive capability of this PRU is greater than that of the MCU COP operation is not supported For more information about the MC68HC705E24 see the corresponding technical data books 2...

Страница 14: ...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 If your E24EM already is i...

Страница 15: ...M in an HC05EVS 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 E...

Страница 16: ...et reset The diagram below shows the factory configuration the fabricated jumper between pins 1 and 2 enables your E24EVS to reset the target when you press the user or master reset switch 1 2 3 J2 FA...

Страница 17: ...ce originating from the MMDS05 control board To do so reposition the J4 jumper between pins 1 and 2 The MMDS OSC command can then be used to select clock frequency Jumper J3 can be used to select betw...

Страница 18: ...suitable for emulation of both the MC68HC705E24 and the MC68HC05E16 3 2 2 MC68HC705E24 Emulation Operation of at frequencies above 2 2MHz ECLK is not possible Ports A and B are rebuild by a PRU The dr...

Страница 19: ...e 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...

Страница 20: ...LA10 LA9 LA8 LA7 LA6 LA5 LA4 LA3 LA2 LA1 LA0 LR W NC NC NC VCC RESET GND NC GND LA12 LA13 LA14 NC D7 D6 D5 D4 D3 D2 D1 D0 LIR NC NC E NC 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8...

Страница 21: ...WRITE Active high output signal that 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 start...

Страница 22: ...2 A11 J1 FABRICATED JUMPERS 1 3 5 7 2 4 6 8 To install the E24EM on an HC05EVS platform board fit together EM connectors P3 and P4 on the bottom of the board and platform board connectors P3 and P4 Sn...

Отзывы: