Download Print this page
Motorola M68ICS08AB User Manual
Motorola M68ICS08AB User Manual

Motorola M68ICS08AB User Manual

In-circuit simulator hardware

Advertisement

Quick Links

M68ICS08ABUM/D
Februrary 2000
M68ICS08AB
IN-CIRCUIT SIMULATOR
HARDWARE
USER'S MANUAL
© MOTOROLA, Inc., 1998-1999; All Rights Reserved

Advertisement

loading

Summary of Contents for Motorola M68ICS08AB

  • Page 1 M68ICS08ABUM/D Februrary 2000 M68ICS08AB IN-CIRCUIT SIMULATOR HARDWARE USER’S MANUAL © MOTOROLA, Inc., 1998-1999; All Rights Reserved...
  • Page 2 Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including, without limitation, consequential or incidental damages.
  • Page 3 INTRODUCTION 1-1 OVERVIEW 1-1 ABICS Product Components 1-2 M68ICS08AB HARDWARE 1-2 Specifications 1-3 ABICS INTERFACE MODULE OVERVIEW 1-4 Board Interface Connectors 1-5 MCU Subsystem 1-6 TARGET CABLES 1-11 FLEX Cable 1-11 MON08 Cable 1-12 ABOUT THIS OPERATOR’S MANUAL 1-12 Chapter Organization 1-12...
  • Page 4 FUNCTIONAL DESCRIPTION A-2 ICS08AB32 Board A-2 TROUBLESHOOTING THE QUICK START A-4 TROUBLESHOOTING MON08 MODE A-7 CONNECTOR PIN ASSIGNMENTS A-11 TARGET-CABLE PIN ASSIGNMENTS A-17 PARTS LIST A-21 BOARD LAYOUT AND SCHEMATIC DIAGRAMS A-23 GLOSSARY B-1 CPU32XIPB/D...
  • Page 5 1-1. ABICS Board Layout ....................1-4 1-2. ICS Functional Overview ................... 1-5 1-3. MC68HC908AB32 In-Circuit Simulator Block Diagram .......... 1-6 1-4. FLEX Cable ......................1-12 3-1. MON08 Target System Connector Layout ..............3-3 3-2. Target System Stand-Alone Connection ..............3-4 A-1.
  • Page 6 CPU32XIPB/D...
  • Page 7 M68ICS08AB Product Components 1-2 M68ICS08AB Specifications 1-3 Target Interface 1-10 FLEX Cable Connectors 1-11 MON08 Cable Connectors 1-12 P9 Configuration Header – DTR switch on-board regulator 2-2 P4 Configuration Header – Target Cable Reset Pin Function 2-2 P6 Configuration Header – Oscillator Source 2-3...
  • Page 8 CPU32XIPB/D...
  • Page 9 The ABICS connects to the target machine via a Motorola M68CLB05C FLEX cable. It connects to the software host via a single RS-232 connection and a standard DB-9 serial cable.
  • Page 10 CHAPTER 1 – INTRODUCTION 1.1.1 ABICS Product Components The complete ABICS system includes hardware, software, and documentation. Table 1-1 shows a list of the M68ICS08AB (ABICS) product components. Table 1-1. M68ICS08AB Product Components Part Number Description ICS08AB Software development package...
  • Page 11 CHAPTER 1 – INTRODUCTION 1.2.1 Specifications Table 1-2 summarizes the M68ICS08AB hardware specifications. Table 1-2. M68ICS08AB Specifications Characteristic Specification Temperature: Operating 0 to 40 C Storage –40 to +85 C Relative humidity 0 to 95% (non-condensing) Power requirement +5 Vdc, from included AC/DC adapter...
  • Page 12 ABICS INTERFACE MODULE OVERVIEW The ABICS includes a single 107 x 109-mm printed circuit board (PCB) (M68ICS08AB). Figure 1-1 shows a diagram of the ABICS board. For an enlarged view of this board, refer to Section A.8 BOARD LAYOUT AND SCHEMATIC DIAGRAMS.
  • Page 13 AMP-9726-A) mounted on the top side of the PCB. The ABICS user target interface is via the target header connector J1, J2, two 40-pin shrouded headers. J1, J2 are positioned to easily interface to a Motorola M68CLB05C FLEX cable. The FLEX cable connects to the host system through the appropriate target head adapter.
  • Page 14 CHAPTER 1 – INTRODUCTION 1.3.2 MCU Subsystem The MCU subsystem consists of the MC68HC908AB32 microcontroller, clock generation , monitor mode control logic that places and holds the ABICS in monitor mode, the bus voltage level translation buffers, and processor operating voltage variable regulator. 1.3.2.1 Block Diagram of Simulator Board Figure 1-3 shows a block diagram of the ABICS simulator board.
  • Page 15 CHAPTER 1 – INTRODUCTION 1.3.2.2 M68HC908AB32 MCU The MCU is an MC68HC908AB32 and is available in one package only: • 64-pin QFP The QFP package mounts in a clam-shell socket. The on-board MCU (the test MCU) simulates and debugs the MCU’s interface to its peripherals and to other devices on the target board through a variety of connections.
  • Page 16 Six commands may be issued by the host software in control of the MCU in monitor mode: read, write, iread, iwrite, readsp, and run. Each command is echoed back through PTA0 for error checking. These commands are described in the M68ICS08AB IN-CIRCUIT SIMULATOR SOFTWARE OPERATOR’S MANUAL. The MCU bus clock is CGMXCLK/2.
  • Page 17 CHAPTER 1 – INTRODUCTION 1.3.2.7 ABICS Operating Voltage, Variable Selector To provide the ABICS with power input that matches your target environment, the ABICS includes a on-board regulator. The ABICS monitors the user’s target system power via the EVDD pin of FLEX cable. EVDD pin is connected to power supply of user’s target system via target adapter.
  • Page 18 CHAPTER 1 – INTRODUCTION 1.3.2.9 Target Interface Connector The user target interface connector is two 40-pin shrouded headers (J1, J2). Table 1-3 shows the target interface pins. Table 1-3. Target Interface J1 Description Description TGT_IRQ* PTC2 TGT_PTC0 PTF1 PTF3 LVDD PTF5 PTD7 PTB7...
  • Page 19 CHAPTER 1 – INTRODUCTION Table 1-4. Target interface J2 Description Description PTC5 PTC4 TGT_PTC3 RST* TGT_PTC1 PTF0 OSC1 PTF2 PTF4 PTF7 VREFH PTD6 PTD0 PTD4 VDDAREF PTH0 PTD2 PTB1 PTB0 PTB3 PTA6 PTB5 PTA5 PTA3 PTA1 PTE0 PTG1 PTE2 EVDD PTE4 PTE6 M68ICS08ABUM/D...
  • Page 20 CHAPTER 1 – INTRODUCTION TARGET CABLES A generic cable (Motorola part number M68CLB05C) connects between the ICS module and target adapter(s) for the different user package targets. 1.4.1 FLEX Cable The FLEX cable connects to the host system through the appropriate target head adapter.
  • Page 21 CHAPTER 1 – INTRODUCTION Table 1-5. FLEX Cable Connectors M68ICS08AB M68ICS08AB Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number PTF4 PTF7 PTF5 LVDD VERFH PTB7 PTD7 PTD0 PTD6 PTD1 PTD5 VDDAREF PTD4 VERFL PTH1...
  • Page 22 CHAPTER 1 – INTRODUCTION Table 1-5. FLEX Cable Connectors M68ICS08AB M68ICS08AB Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number PTA7 PTB3 PTA6 PTB4 PTB5 PTA5 PTB6 PTA4 PTA3 PTA2 PTA1 TGT_PTA0 PTF6 PTG2 PTE0...
  • Page 23 CHAPTER 1 – INTRODUCTION Table 1-5. FLEX Cable Connectors M68ICS08AB M68ICS08AB Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number PTE3 PTE4 PTE5 PTE6 PTE7 M68ICS08ABUM/D 1-15...
  • Page 24 Figure 1-4. FLEX Cable 1.4.2 MON08 Cable The 16-pin MON08 cable connects to header J3 on the M68ICS08AB board and to pin P1 on the target-system board. Refer to CHAPTER 3 – USING THE MON08 INTERFACE Cable Connections Table 1-6 shows the connectivity between the two ends of the MON08 cable and the usage of the lines in this application.
  • Page 25 CHAPTER 1 – INTRODUCTION This manual uses the following conventions to enhance readability: • Filenames, program names, code, and commands are indicated in regular Courier: SETUP.EXE MYPDA.ASM The read and write commands may be issued... • Functions are indicated in small caps: function of the ABICS is both an input and an output.
  • Page 26 CHAPTER 1 – INTRODUCTION HARDWARE QUICK START INSTRUCTIONS For users experienced in installing Motorola or other development tools, the following steps provide a quick start installation procedure for the ABICS hardware and software. For more complete hardware instructions, refer to CHAPTER 2 –...
  • Page 27 The actual inputs and outputs of a target system can be used during simulation of source code. In stand-alone mode, the ABICS is not connected to the PC. The ICS08ABW software can be used as a stand-alone simulator. Refer to the M68ICS08AB IN-CIRCUIT SIMULATOR SOFTWARE OPERATOR’S MANUAL for detailed information.
  • Page 28 CHAPTER 2 – HARDWARE INSTALLATION CONFIGURING THE IN-CIRCUIT SIMULATOR BOARD Three configuration headers provide for jumper-selectable hardware options. Table 2-1, Table 2-2, and Table 2-3 describe these settings. Note: Factory default settings should be used when following the quick start procedure described in Section 1.6 HARDWARE QUICK START INSTRUCTIONS.
  • Page 29 Plug the power supply into an AC power outlet, using one of the country-specific adapters provided. The ICS PWR LED (Yellow) on the board should light. CONNECTING TO A TARGET SYSTEM The two ways to connect the M68ICS08AB simulator board to a target system are: M68ICS08ABUM/D...
  • Page 30 Note: MON08 debug interface is designed for 5-volt operation. To operate MON08 debug interface at low-voltage, connect power from target system to EVDD input (Pin 1 of W10). The on-board regulator will match the power of M68ICS08AB to the target system. M68ICS08ABUM/D...
  • Page 31 The MON08 debugging interface may be used to debug and program a target system’s MCU directly. The target system must be connected to the M68ICS08AB In-circuit simulator board’s MON08 interface connector. This chapter explains how to connect to the MON08 interface on the target board.
  • Page 32 CHAPTER 3 – USING THE MON08 INTERFACE Table 3-1. MON08 Target System Connector P1 M68ICS08AB Pin # Direction Target System Connection Label out to target Connect to logic that is to receive the RST* signal. RST_OUT* ground Connect to ground (V in from target Connect to all logic that generates resets.
  • Page 33 CHAPTER 3 – USING THE MON08 INTERFACE Table 3-2. MON08 Target System Connector P2 M68ICS08AB Pin # Direction Target System Connection Label bi-directional Connect to MCU RST* pin and P2 pin 4. No other target RST* system logic should be tied to this signal. It will swing from 0 to +7.5 Vdc.
  • Page 34 CHAPTER 3 – USING THE MON08 INTERFACE DISABLING THE TARGET-SYSTEM INTERFACE To use the target system in a stand-alone fashion (without the ABICS board connected), jumper the pins on the target board’s connectors, as shown in Figure 3-2. This reconnects the target MCU to the appropriate circuits on the target system.
  • Page 35 APPENDIX A TECHNICAL REFERENCE & TROUBLESHOOTING A.1 OVERVIEW This appendix provides technical support information for the M68ICS08AB in-circuit simulator kit, including: • Functional description of the kit • Troubleshooting the quick-start procedure • Troubleshooting MON08 mode • Connector and cable pin assignments •...
  • Page 36 Motorola THA model number M68TC08ABFU64. When the MCU resides on a target system, the ICS08AB board can communicate with the MCU over a 16-pin MON08 cable (Motorola part number 01-RE91008W01). Either version of the MCU is supported when using the MON08 cable.
  • Page 37 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING connectors or as two pins (one input and one output) when using the MON08 cable. When using the PROG08SZ programming software, the MCU’s FLASH/ EEPROM memory can be programmed. Socket XU1 supports the 64-pin QFP version of the part.
  • Page 38 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING A.3 TROUBLESHOOTING THE QUICK START The quick-start installation procedure in section Section 1.6 HARDWARE QUICK START INSTRUCTIONS describes how to prepare the ICS08AB for use in the instances where the MCU is installed on the ICS08AB board. These instances include: •...
  • Page 39 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING d. Check the MCU PWR at test point TP3 (MCU-VDD). Using the side pin on P1 (DC INPUT jack) as the ground reference, check for 5.0Vdc at TP3. e. Check the ICS08AB board’s V power with the host discon- nected.
  • Page 40 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING (VTST_RST). If these voltages are present, the power is good, but communication problems should be investigated as described in step 5. If the MCU PWR LED comes on and stays on, communication was probably established with the MCU.
  • Page 41 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING h. Make sure the serial data is getting to the MCU’s PTA0 pin. First, exit any ICS08ABZ software that may be running on the host PC. Then disconnect power from the ICS08AB. Ensure that the ICS08AB board is configured for the factory default settings.
  • Page 42 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING and PTC3 are connected to the target connector pins after the rising edge of RST* and are then available for target system connections. The MCU’s PTA0 pin is never connected to the target pins, as it is used for host communication.
  • Page 43 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING power plug from the ICS08AB. Remove any MCU from sockets XU1 . Jumper selections on W4 have no effect when using the MON08 cable. 4. Connect the 16-pin cable from J3 on the ICS08AB to the target sys- tem’s MON08 connector.
  • Page 44 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING 9. Make sure the host PC can communicate with the MCU: a. The MCU’s PTA0 pin is used for host communications. DDRA bit 0 should never be set to 1, as this interrupts monitor-mode communi- cations.
  • Page 45 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING 10. Make sure that the MCU can enter and remain in monitor mode. For this to happen, the following conditions must occur: a. At the rising edge of RST*, the target MCU’s IRQ* pin must be at (8.0 Vdc).
  • Page 46 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING A.5 CONNECTOR PIN ASSIGNMENTS The tables in this section describe the pin assignments for the connector on the ICS08AB board. Table A-1. Target Connector P7 Board Direct to MCU Schematic Signal Description Label Mnemonic Sockets? MCU ground...
  • Page 47 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-1. Target Connector P7 (Continued) Board Direct to MCU Schematic Signal Description Label Mnemonic Sockets? PTB6 PTB6 Bidir Port BI/O – bit 6 PTB6 PTA4 PTA4 Bidir Port A I/O – bit 4 PTA4 None None...
  • Page 48 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-2. Target Connector P8 Board Schematic Direct to MCU Signal Description Label Mnemonic Sockets? PTC5 PTC5 Bidir Port C I/O – bit 5 PTC5 PTC4 PTC4 Bidir Port C I/O – bit 4 PTC4 PTC3 TGT_PTC3...
  • Page 49 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-2. Target Connector P8 (Continued) Board Schematic Direct to MCU Signal Description Label Mnemonic Sockets? ICS/MCU ground PTA3 PTA3 Bidir Port A I/O – bit 3 PTA3 None None No connection PTA1 PTA1 Bidir Port A I/O –...
  • Page 50 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-3. MON08 Connector J2 Board Schematic Direct to MCU Signal Description Label Mnemonic Sockets? None RST_OUT* Reset signal to RST_OUT* target system: 0 to +3.3 Vdc output reflecting state of MCU RST* signal None System ground None...
  • Page 51 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-3. MON08 Connector J2 Board Schematic Direct to MCU Signal Description Label Mnemonic Sockets? PTC1 PTC1 Bidir Port C I/O – bit 1. PTC1 Grounded during reset PTC3, after TGT_PTC3 Yes, after reset Bidir Port C I/O –...
  • Page 52 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING A.6 TARGET-CABLE PIN ASSIGNMENTS The following tables describe the pin assignments for these cables: • FLEX target cable for use with the QFP target head adapters • Target MON08 cable Table A-4. FLEX Target Cable (M68CBL05C) for QFP Target Head Adapters Target Head QFP Package...
  • Page 53 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-4. FLEX Target Cable (M68CBL05C) for QFP Target Head Adapters (Continued) Target Head QFP Package ICS08AB Board ICS08AB Connector ICS08AB Connector Adapter Pin Pin Number Label P1 Pin Number P2 Pin Number Number PTF5 22, 56...
  • Page 54 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-4. FLEX Target Cable (M68CBL05C) for QFP Target Head Adapters (Continued) Target Head QFP Package ICS08AB Board ICS08AB Connector ICS08AB Connector Adapter Pin Pin Number Label P1 Pin Number P2 Pin Number Number PTB5 PTA5...
  • Page 55 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-4. FLEX Target Cable (M68CBL05C) for QFP Target Head Adapters (Continued) Target Head QFP Package ICS08AB Board ICS08AB Connector ICS08AB Connector Adapter Pin Pin Number Label P1 Pin Number P2 Pin Number Number PTE5 21, 56...
  • Page 56 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-5. Target MON08 Cable ICS08AB and ICS08AB and ICS08AB ICS08AB Target Pin Target Pin Board Label Board Label Number Number RSTO* T_PTA0 PTA0 RSTIN* T_PTC0 RST* PTC0 T_IRQ* T_PTC1 IRQ* PTC1 T_PTC3 PTC3 A.7 PARTS LIST The parts list for the ICS08AB board is given in Table A-6.
  • Page 57 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-6. ICS08AB Parts List (Continued) Reference Description Manufacturer Part Number Designator M68ICS08ABUM/D A-23...
  • Page 58 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING Table A-6. ICS08AB Parts List (Continued) Reference Description Manufacturer Part Number Designator A.8 BOARD LAYOUT AND SCHEMATIC DIAGRAMS Figure A-1 shows the ICS08AB board layout and component locations. A-24 M68ICS08ABUM/D...
  • Page 59 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING The ICS08AB schematic diagrams are on the following pages. Figure A-1. IC508AB32 Board Layout M68ICS08ABUM/D A-25...
  • Page 66 APPENDIX A – TECHNICAL REFERENCE & TROUBLESHOOTING A-32 M68ICS08ABUM/D...
  • Page 67 APPENDIX B GLOSSARY —0-9— an object code program that a microcontroller understands. The CPU 8-bit MCU uses opcodes and binary numbers to A microcontroller whose data is specify the operations that make up a communicated over a data bus made up of computer program.
  • Page 68 APPENDIX B – GLOSSARY debugging program. a load accumulator (LDA) instruction, Z will be set if the loaded value was $00. byte A set of exactly eight binary bits. Central processor unit. The part of a —C— computer that controls execution of instructions.
  • Page 69 APPENDIX B – GLOSSARY application hardware. Examples of —I— software development tools include text editors, assemblers, debug monitors, and simulators. Examples of hardware Abbreviation for interrupt mask bit in the development tools include simulators, condition code register of the logic analyzers, and PROM MC68HC908AB32.
  • Page 70 CPU. The contents of a RAM memory can be used to load binary information location remain valid until the CPU into a computer system. Motorola uses writes a different value or until power is the S-record file format for object code turned off.
  • Page 71 —W— —S— Word S-record A group of binary bits. Some larger A Motorola standard format used for computers consider a set of 16 bits to be a object code files. word but this is not a universal standard. simulator —X—...
  • Page 72 APPENDIX B – GLOSSARY M68ICS08ABUM/D...
  • Page 73 board layout 1-4 cables FLEX target 1-11, A-17 connections 1-11 connectors 1-12 MON08 A-21 target head adapter A-2 configuration, jumpers 2-2 connecting the board 1-14 connectors board interface 1-5 MON08 A-15 Target A-13 Target DIP A-11 debuggers MON08 interface 2-4, 3-1 document conventions 1-13 electrostatic discharge A-1 FLASH memory 2-4, A-2, A-7, A-8...
  • Page 74 configuration 2-2 W2 2-2 W5 2-3 ICS power 2-3, A-8 MCU power A-4, A-6, A-8, A-9 system power 1-14 M68ICS08RK in-circuit simulator components 1-2 description 1-1 hardware 1-2 hardware specifications 1-3 quick-start 1-14 MC68HC908RK2 MCU 1-2 MCU 1-1, 1-2, 1-6 MCU subsystem block diagram 1-6 board reset 1-7...
  • Page 75 power connector 2-3 quick start 1-14 relative humidity 1-3 RS-232 serial connector 2-3 security feature 1-8 serial port connector 1-14, 2-3 specifications, hardware 1-3 stand-alone mode 2-1 supply voltages, ICS08RK2 1-5 SYSTEM POWER LED 1-14 target system cables A-2, A-17–A-20, A-21 connecting to 1-1, 2-3, 3-1, 3-4, A-2 connectors 3-1, A-11–A-16 description 1-1...