Home

M68ICS08KX - Digi-Key

image

Contents

1. 8 9 5 a T 5 j t 1546 d 45829 on 8 ma 225 XH80SDI HOLV INWIS NI en S0OHvZ WSN SEZ8Z XL NLLSQ V NONNVO WVTTIIM 1059 Swe 1SAS pue T lt 1N0 1su von 0L V TOMOLOSY w E MS 000VtZ 00 eaepdn 3527 MS pon TWIX 4215 JIVH TTNA MOTIV OI ANLAXDOS MSAA mE ES E ZHNFOES 6 lt lt E Fx anyo m SZ11OVYL 1ndino ake SOOHPL e 5 4 E E 5 v Sq I T 5 IT 8Indino 19899 AVIAAKO T 1 leo n ZHNTOCSG XE 85 0 duo gen L MSATA an 0 esu i 90 o MS 20 5 MS 5 se 0 ki um 26 now lt 5 MS e O em 228 S00HvZ WIX mE MS NO H3MOd lt C T 9a vein pi 90 ten y m gan 13988 S18 4 3 Moot SOOHPL SOOHPL Ab MS Sig orn MS O now MS das 5
2. ava 00 unf zz aiva 66 AON 6I WEIL VIOHOLON LN3SNOD 1N0HLIM LHVd NI HO NI SYNLOVANNVW HO IN3W34N90Hd ONIH33NION3 HOS aFsn 38 LON TIVHS VIOHOLON OL AHV 13lHdOud NOILVIAHOHNI SNIV LNOO 00 LI 3521 e E TT ZT 9 1 qoin asin ot E MS e TI n SALW WHVdS NEP mou 3senbez ooATHELT jo ebueyo a a 00aNnrs UO 14544 SIN peppy ISH ebueya vpn Teubrs 3 0841 JIDOW 3 ISA LEq O3 a O0NVDPZ x metasy ubrsaq Apray 53 0 03 ONE ALU Aga SOOHPL PI SOOHPL aun S00HvZ aun S00HtZ oun SOOHbL PI gun ge NOW y 5 ab
3. 50 B 1 2 Target Interface Cable 51 B 1 3 Host Computer KXICS Interconnection J6 51 2 Installing the 52 B 3 Installing the 53 BA Connecting to Target 53 Glossary M681CS08KX In Circuit Simulator User s Manual MOTOROLA Table of Contents 5 Table of Contents User s Manual M681ICSO08KX In Circuit Simulator 6 Table of Contents MOTOROLA List of Figures User s Manual M68ICSO8KX In Circuit Simulator Figure 1 1 2 1 2 3 3 1 M68ICSO8KX In Circuit Simulator List of Figures Title Page Motorola M68ICSOSKX KXICS Board 12 KXICS with SOIC to DIP 23 Host Computer to KXICS Interconnection 28 J2 Power CoDDeetot o E RE Rr E or 28 KXICS Board Layout 44 User s Manual MOTOROLA List of Figures 7 List of Figures User s Manual M681ICSO08KX In Circuit Simulator 8 List of Figures MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator List of Tables List of Tables Table Title Page Table 1 1 KXICS Product Components 15 Table 1 2 Hardware Connector Components
4. 16 Table 1 3 Software 16 Table 1 4 KXICS Board 17 Table 2 1 KXICS Jumper Header 21 Table 2 2 Cable Connector Options for 5 23 Table 2 3 JI Pin Assignments 24 Table 2 4 J5 Pin Assignments 25 Table 2 5 13 Pin Assignments 26 Table 3 1 JI Target Flex Connector Pin Assignments 36 Table 3 2 JS Target Connector Pin Assignments u 38 Table 3 3 J3 MONOS Target Connector Pin Assignments 39 Table 3 4 Power Connector J2 Pin Assignments 39 Table 3 5 RS 232C Communication Connector J6 Pin Assignments 40 Table 3 6 KXICS Parts List Rev 41 Table 4 1 MONOS Target System Connector 3 45 Table 4 2 KXICS Jumper Header 54 Table 4 3 Cable Connector Options for MCUs 55 M68ICS08KX In Circuit Simulator User s Manual MOTOROLA List of Tables 9 List of Tables User s Manual M681ICSO08KX In Circuit Simulator 10 List of Tables MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator 1 1 Introduction Section 1 General Information
5. oon bous av Ana a lak ya kin DI TERR aa eee 38 Monto NI OUE M MOD a ds 27 681 508 In Circuit Simulator User s Manual MOTOROLA Index 67 User s Manual Parts Ti da ede Y 33 POWeL sz cd uU ei d 24 DIRS At fe 25 es una iat we a ar Sas aes 25 R record lengths 2 ae mi kan bn et aa heen A OPES 39 record P See oed Mee seis e 39 asye ra 26 RUS hee ee hee 26 5 STESOKUS ocn ave Lun IUE Scis See Eo Stn ae SO 39 44 Schematics 2 y Ferte oa Mee tpe ed a ege a 36 Serial communications 26 serial port CODE 6 1 0 dB sco eee W A i Pars 14 SIE screens os cu VEDI EN pan reso s t 36 Software support programs assembling e sa aa decade pl ko ea ee Syl eo z PAN 5 5 editmg DRESS NUN 5 emulating 2 25 xv IG ees ki Reg xd ate 5 DEO TAINS cn ee ok kon KOR 5 GAYA AUNT Do Aa
6. Description Manufacturer Part Number Printed Circuit Board Assembly 01 RE10080W01 Test Procedure ICSO8KX 12ASE10080W Test Fixture ICS08KX 81ASE10080W Printed Wiring Board ICS08KX 84 RE10080WO 1 2 2 FASTEX 4009 00 5072 C8 C9 C28 Cap 47 uF Tantalum low ESR 16V AVX TPSD476M016R0150 6 n Ceramic 250 50V AVX 08055E104ZAT2A C1 C17 C18 Cap 10 uF Tantalum 16V AVX TAJC106M016 C10 C29 a a PE Ge OTRON LAU 08055A561KAT2A 03 04 Diode Schottky MBRA130 Motorola ON Semi MBRA130 D1 D5 Diode TVS 1SMA6 OAT3 Motorola ON Semi 15 6 06 Diode Schottky MBRO520 Motorola ON Semi MBRO520 051 LED Green LED 1206 Lumex SML LX1206GC 052 LED Amber LED 1206 Lumex SML LX1206YC F1 Fuse 0 5A 250V 5x20mm Fast Schurter 0034 1523 Je M ELM KETTE PJ 202B J6 Conn DES Socket R A Cinch DEKL 9SATI F J4 W2 W4 3x1 100 JPR 3 3M 2403 6112TB J3 Hdr 8x2 100 SHRD 3M 2516 6002 UG J1 2x20 0 100 SHRD 3M 2540 6002 UG J5 SKT 16 Pin DIP Augat 816 AG11D L2 IND 180uH SMT Murata LQH4N181K04 L1 ind 10uH SMT Murata LQH1N100K04 Q2 XSTR PFET MMFT5P02 SOT223 Motorola ON Semi MMFT5PO2HD M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 41 Support Information Table 3 6 KXICS Parts List Rev F i pl Description Manufacturer Part Number Q3 Q5 6 XSTR NPN MMBT3904 SOT23 Motorol
7. Ovid 155 dpdg Dis 3IHVO NOGEIA Ovid 191 6 ze y abed obed la lt gt 6Nid NOW sara TaS ald SSA 981d 8141260 Si sald NY zr 814 d or dee 56 819 sep SY 199 de I 2819 le Br 1 g 1819 ad abed m dez 978 17018197191 lt gt 0819 9 dez 1 bid abed doz 6 Evid DUI da NO 219 eru 9 Wid LOL se 2814 Wid ge Ovid LOL E 6 Man 814 9 5 3 9819 v wid Zald d BE a wo a pi kay LAWL XITA dpd9 145 LNX 8XM8060H89 User s Manual M68ICSO8KX In Circuit Simulator 4 1 Section 4 Using the MONOS Interface Introduction The MONOS debugging interface may be used to debug and program a target system s MCU directly The target system must be connected to the M68ICSO08KX in circuit simulator board s MONOS interface connector This section explains how to connect to the MONOS interface on the target board 4
8. 18 2 2 5 Applying power to the 19 2 2 6 Target Cable Interface Connection 19 2 3 Target Cable Interface 20 2 3 1 Host Computer KXICS Interconnection J6 23 2 3 2 Power Connector ues cet et 23 24 Connecting the KXICS VY 24 2 5 Connecting the KXICS to the Target System 24 2 6 Installing the 25 681 5 08 In Circuit Simulator User s Manual MOTOROLA Table of Contents 3 Table of Contents Section 3 Support Information 3 1 27 3 2 MCU Subsystem rx eic ARN ance 27 3 3 Level Translation konia 28 3 4 5 Theory of 28 3 4 1 Power SUPP yt es CM lees EVE 28 3 4 2 serial Communications 30 3 4 3 Clock Selection cuc ok bese ete E peace ae AY P pd 30 3 4 4 Start Up in Monitor 31 3 5 KXICS Connector Signal 32 3 5 1 Target Flex Cable Interface Connector JI 32 3 922 Target Ribbon Interface Connector 5 33 2 23 Target MON
9. n ea 26 hardware iHstallatiom cost leas ee REPE ERE MENS 45 Headers ad a eer 37 ma daci Lr e be Aaa a 37 High voltage 1 24 Host Interface cns e ate AR A rak porn t IUDA E EE 24 Host computer requirements kwe vet e ke ban 9 tu uet eta 15 Interface Connection 15 RICK Cables Se eate D SAT C Uo 15 MONOS cables RES SD I ERE 15 Fabboiicables o vos won 08 USOS I5 J Veo ic e oi BERG 27 KXICS COND CHUONS ka e RE a lav e AA E S EE AR REP 3 d script oN Se e eti RE ES py na X 3 vot RD EIER EUR DERE METEO 3 5 M68ICSO8KX In Circuit Simulator 66 Index MOTOROLA Index Hardware components 8 Hardware operator s 7 operation voltage 24 product components 05 ev Dex e utes x WR MES EUR ME SEXE QE 7 PWRLEED exi Rete AGUIRRE 49 SOICG to DIP Socket Adapter sos EX Vx
10. This section provides general information about the Motorola M68ICSOSKX in circuit simulator KXICS The KXICS board Figure 1 1 is a stand alone development and debugging tool It contains the hardware and software needed to develop and simulate source code and to program Motorola s MC68HC908KX8 microcontroller MCU The KXICS and it s software form a complete editor assembler programmer simulator and limited real time input output emulator for the MCU When connection is made between a host PC personal computer and target hardware your prototype product actual inputs and outputs of the target system may be used during code simulation The KXICS can interface with any Windows 959 based computer or later version through connection of a single RS 232 serial port using a DE 9 serial cable Connection to the target system is accomplished by a ribbon cable a Motorola M68CLBOSA flex cable or a MONOS cable The ribbon cable or flex cable is used when an MCU is resident on the KXICS for emulation or simulation and the MONOS cable is used to debug or program a target system s MCU directly when the MCU resides on the target hardware M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA General Information 11 General Information User s Manual A Figure 1 1 Motorola M68ICSO8KX KXICS Board The KXICS is a low cost development system that supports editing assembling
11. and to common until DELAY RESET is asserted is held above Vpp cu 3Vdc during the reset release forcing the KXICS board to power up in the Monitor Mode Following the counter time out the analog switch U7 is toggled so that the and PTB 0 1 pins of the board are connected to the target head connectors Following entry into monitor mode you may switch the IRQ voltage to Vpp mou by setting RTS low The analog switch U14 will switch the connection of MCU pin 9 from the ICS reset circuitry to a connection to the target head connector Be aware that beside disabling the use of external resets of the MCU internal MCU features e g the COP must be serviced properly in this mode M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 35 Support Information 3 5 KXICS Connector Signal Definitions The tables in this section describe the pin assignments for the connectors on the KXICS board 3 5 1 Target Flex Cable Interface Connector J1 User s Manual Table 3 1 J1 Target Flex Connector Pin Assignments Pin Schematic No NET Direction Signal Description 1 N C 2 N C 3 N C 4 PTB7 Bidirectional Port B I O 5 N C 6 PTB6 Bidirectional Port B I O 7 N C 8 PTB5 Bidirectional Port B I O 9 N C 10 PTB4 Bidirectional Port B I O 11 N C 12 N C 13 N C 14 PTB3 Bidirectional Port B I O 15 TGT PTA
12. e With the ICDOSSZ debugging software code can be run directly out of the MCU s internal FLASH at real time speeds Withthe WinIDE CASMOSZ editor simulator and assembler software the function is as a limited real time emulator With the PROGOSSZ software the function is to program MCU FLASH memory With the ICSO8KXZ simulation software the MCU provides the required input output information that lets the host computer simulate code performing all functions except for maintaining port values The internal FLASH memory on the device is downloaded with a program that generates the appropriate port values The ICS08K XZ software on the host computer lets the host computer become a simulator M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA General Information 13 General Information e With using the ICDO8SZ debugging software code can be run directly out of the MCU s internal FLASH at real time speeds e Timing is accomplished with a 9 8304 MHz crystal User s Manual M681ICSO08KX In Circuit Simulator 14 General Information MOTOROLA 1 2 KXICS Components General Information KXICS Components The complete KXICS system includes hardware software and documentation lists the KXICS product components Table 1 1 KXICS Product Components Part Number Description ICSO8KX KXICS software development package ICS08KXZ KXICS software simulator ICDO8SZ KXICS software debugg
13. in circuit simulation in circuit emulation and FLASH memory programming Its features include Editing with WinIDE Assembling with CASMOSW Programming FLASH memory with PROGO8SZ Simulating in circuit and stand alone MC68HC908KX8 MCU with ICSOSKXW software providing Simulation of all instructions memory and peripherals Simulation of pin inputs from the target system Installation of conditional breakpoints script files and logfiles Debugging and emulation limited real time with ICDO8SZ including M68ICSO8KX In Circuit Simulator 12 General Information MOTOROLA General Information Introduction Loading code into RAM Executing real time in or FLASH Placing one hardware breakpoint in FLASH multiple breakpoints in RAM On line help documentation for all software Software integrated into the WinIDE environment allowing function key access to all applications e MONOS emulation connection to the target system allowing In circuit emulation In circuit simulation In circuit programming Four modes of operation Standalone using the KXICS as a standalone system without a target board Simulation using the KXICS as an in circuit simulator emulator with a target cable Evaluation using the KXICS for real time evaluation of the MCU and to debug user developed hardware and software Programming using the KXICS as a programmer
14. 2 5 is used when the MCU 15 mounted on the target Refer to Section 4 Using the MONOS for detailed information Table 2 5 J3 Pin Assignments J4 OUT lle 2 RST IN 4 RST TGT IRQ 5 e 6 IRQ TGT PTAO 7 8 1 9 10 1 12 PTBO PTB1 13 e 14 1 15 16 M68ICS08KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 27 Preparation and Installation 2 3 1 Host Computer KXICS Interconnection J6 The host computer to KXICS interface is via the single system connector J6 which is a 9 pin D type connector Amp part number AMP 9726 A Figure 2 2 mounted on the top side of the board Connection requires the cable assembly supplied with your KXICS kit a DB9 male to female 6 ft 3 m long serial cable RXD 2 TXD 3 7 RTS DTR 4 GND 5 Figure 2 2 Host Computer to KXICS Interconnection 2 3 2 Power Connector J2 Connect 5 Vdc power directly to the KXICS via connector 2 Figure 2 3 using the provided power supply 5 Vdc GND Figure 2 3 J2 Power Connector User s Manual M681ICSO08KX In Circuit Simulator 28 Preparation and Installation MOTOROLA Preparation and Installation Connecting the KXICS 2 4 Connecting the KXICS ESD CAUTION NOTE NOTE The following steps provide instructions for connecting the KXICS to the host PC a
15. Rem d 7 KXICS Software CoIDponents ease es Ske e dave M etes 8 ou qox ose US NER ellas la 7 development 7 Operator SINANUAL s ces ex e 7 SIMULALOR ki kana ca ivi a ao le a kwe kle w 7 L LED amber ka tv baa 25 IC S PONEI mi a ot ER eet aded 15 49 Limitations Bus Erequenoy eiue x de ING 11 Internal Clock Generator 12 Low Voltage Interrupt 12 Port AO S id a Sk Mets 11 MCU internal clock seus fie 21 operatBg Modes 22555 1e ee ad bab 8 0 5 Phase ses 24 ed da a pa a ia detecte 23 SUIS SPERII cat x MES EE SEE ai aa aaa Vi lat QE aliens 23 MINE SOUCCE n da ve ed eed bees 26 address o oka 39 Microcontroller s eaa 7 SOIC reyini eee Do he EE t qa ture ed qi 7 Modes of Operations AR eyes 5 RS EARN EN AG ee i a oa 37 MONOS
16. Simulator 58 Quick Start Hardware Configuration Guide MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Glossary 8 bit MCU A microcontroller whose data is communicated over a data bus made up of eight separate data conductors Members of the MC68HC908 Family of microcontrollers are 8 bit MCUs A An abbreviation for the accumulator of the MC68HC908KX8 MCU accumulator An 8 bit register of the MC68HC908KX8 CPU The contents of this register may be used as an operand of an arithmetic or logical instruction assembler A software program that translates source code mnemonics into opcodes that can then be loaded into the memory of a microcontroller assembly language Instruction mnemonics and assembler directives that are meaningful to programmers and can be translated into an object code program that a microcontroller understands The CPU uses opcodes and binary numbers to specify the operations that make up a computer program Humans use assembly language mnemonics to represent instructions Assembler directives provide additional information such as the starting memory location for a program Labels are used to indicate an address or binary value ASCII American Standard Code for Information Interchange A widely accepted correlation between alphabetic and numeric characters and specific 7 bit binary numbers breakpoint During debugging of a program it is useful to run instructions until
17. When emulating connect the 40 pin M68CLBOSA flex cable to the connector labeled the simulator board Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available e Emulating using a ribbon cable When emulating connect a 16 pin flat ribbon cable to connector J5 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Using a MONOS cable to debug the target system NOTE MCU must be installed in the target system No MCU should on the KXICS Connect the MONOS debug interface cable to the appropriate MONOS debug interface connector J3 for communication with the target system s MCU Attach the other end of the cable to the appropriate connector on the target system NOTE For more detailed information on the MONOS refer to Section 4 of this manual 2 6 Installing the Software For instructions for installing the ICSO8 software refer to P amp E Microcomputer Systems Inc M68ICSO8 68HCOS In Circuit Simulator Operator s Manual Motorola document order number M68ICSOSOM D User s Manual M681ICSO08KX In Circuit Simulator 30 Preparation and Installation MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Section 3 Support Information 3 1 Introduction This section includes data and information that may be useful in the design installation and operation of your application 3 2 MCU Su
18. one Description Manufacturer Part Number U7 U14 IC Triple 2 1 Analog MUX 16SOIC Motorola ON Semi MC74HC4053D U9 IC Quad 14SOIC Motorola ON Semi MC74ACOOD U10 IC Buffer Tri State 14SOIC Fairchild MC74ACT1125D 05 IC DC DC Converter SO 8 Motorola ON Semi MC34063AD U6 a Pewee Linear Tech LT1086CM 012 2222 4 Linear Tech LT1181ACSW U15 16 B 5096 CTR DIP 4 NEC PS2501 1 W1 Hdr 2x6 0 100 JPR 2X6 3M 1412 6122TB XF1 Holder Fuse 5x20 amp 3AG Schurter OGD 0031 8231 XU1 SKT AIP 16 POS DIP Textool 216 3340 00 0602JJ XW1 XW4 Shunt w Handle AMP 881545 1 XY1 SKT 14 pin DIP Augat 814 AG11D Y1 Xtal 9 8304Mhz 1 2 size Epson SG 532P 9 8302MC M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 43 Support Information 3 7 KXICS Board Layout and Schematics Diagrams ii TH alb AN LM T 9 E amp E LIE 8 m E g Ta I3 HM on EE did ou C28 Ec Chien uie s NR Figure 3 1 KXICS Board Layout User s Manual M681CS08KX In Circuit Simulator 44 Support Information MOTOROLA S 0 1995 0800195989 on 8 926 XHA80SDI HOLVINWIS YSN 96282 XL NILSNV 1S3M WVTTIIM 1059 Swa1SAS pue asremyos
19. or descriptive information For Code Data 0 2n compatibility with teletypewriter some programs may limit the number of bytes to as few as 28 56 printable characters in the S record Least significant byte of the one s complement of the sum of the values represented by the pairs of characters making up the record length address and the code data fields Checksum 2 Each record may be terminated with a CR LF NULL Additionally an S record may have an initial field to accommodate other data such as line number generated by some time sharing systems Accuracy of transmission is ensured by the record length byte count and checksum fields A 3 S Record Types User s Manual Eight types of S records have been defined to accommodate the several needs of the encoding transport and decoding functions The various Motorola upload download and other record transport control programs as well as cross assemblers linkers and other file creating or debugging programs utilize only those S records which serve the purpose of the program For specific information on which S records are supported by a particular program consult the user manual for the program M68ICSO8KX In Circuit Simulator 48 S Record Information MOTOROLA S Record Information S Record Creation NOTE The ICSOSRKZ supports only the SO S1 and S9 record types data before the SI record is ignored Thereafter all records must be SI t
20. s Manual M68ICSO8KX In Circuit Simulator A 1 Introduction Appendix A S Record Information The Motorola S record format was devised to encode programs or data files in a printable format for transport between computer platforms The format also provides for editing of the S records and monitoring the cross platform transfer process A 2 S Record Contents Each S record is a character string composed of several fields which identify Record type e Record length e Memory address e Code data e Checksum Each byte of binary data is encoded in the S record as a 2 character hexadecimal number e The first character represents the high order four bits of the byte The second character represents the low order four bits of the byte The five fields that comprise an S record are shown in Table A 1 S Record Fields Record Type Length Address Code Data Checksum The S record fields are described in M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA S Record Information 47 5 Information Table 2 S Record Field Contents Field Printable Contents Characters Type 2 S record type S0 S1 etc Record 2 Character pair count in the record excluding the Length type and record length Address 4 6 0r8 2 3 or 4 byte address at which the data field is to be loaded into memory From 0 to n bytes of executable code memory loadable data
21. the CPU gets to a specific place in the program and then enter a debugger program A breakpoint is established at the desired address by temporarily substituting a software interrupt SWI instruction for the instruction at that address In response to the SWI control is passed to a debugging program byte A set of exactly eight binary bits M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Glossary 59 User s Manual An abbreviation for carry borrow in the condition codes register of the MC68HC908KX8 When adding two unsigned 8 bit numbers the C bit is set if the result is greater than 255 FF CCR An abbreviation for condition code register in the MC68HC908KX8 The CCR has five bits H 1 N Z and C that can be used to control conditional branch instructions The values of the bits in the CCR are determined by the results of previous operations For example after a load accumulator LDA instruction Z will be set if the loaded value was 00 clock A square wave signal that is used to sequence events in a computer command set The command set of a CPU is the set of all operations that the CPU knows how to perform One way to represent an instruction set is with a set of shorthand mnemonics such as LDA meaning load A Another representation of an instruction set is the opcodes that are recognized by the CPU condition codes register The CCR has five bits H I N Z and C that can be used
22. to control conditional branch commands The values of the bits in the CCR are determined by the results of previous operations For example after a load accumulator LDA instruction Z will be set if the loaded value was 00 CPU Central processor unit The part of a computer that controls execution of instructions CPU cycles A CPU clock cycle is one period of the internal bus rate clock Normally this clock is derived by dividing a crystal oscillator source by two or more so the high and low times will be equal The length of time required to execute an instruction is measured in CPU clock cycles CPU registers Memory locations that are wired directly into the CPU logic instead of being part of the addressable memory map The CPU always has direct access to the information in these registers The CPU registers in an MC68HC908 A 8 bit accumulator X 8 bit index register CCR condition code register containing the H I N Z and C bits SP stack pointer and PC program counter M68ICSO8KX In Circuit Simulator 60 Glossary MOTOROLA Glossary cycles See CPU cycles data bus A set of conductors that are used to convey binary information from a CPU to a memory location or from a memory location to a CPU in the MC68HC908KX3 the data bus is 8 bits development tools Software or hardware devices used to develop computer programs and application hardware Examples of software development t
23. 059 129 9 19 95 19 9 69 715 Swa1SAS pue 91 691 951 667 Sl ALIZE w 2 di ws Gan 00 deed o Sol GL anyo anto 120 020 e zeu RM GOA Now eu 109195 E IM S0Z anyo VOSELANW sea ote aed so ee i CNO H3MOd ozv seu l 810 F T um 3 a O y 8v 1noA NIA m A 9801 9 027 104145 NOVITOA z zt MS ELVOOVNS T 820 La MS isa XOL ur vru L 3d 098 7 0 9 pa AGC I anyo A94 3nzy LI a auvanoo Ls zt Yok 540 po 069 YSO 14 814 LMS INANI L mams asNas 109 5 bg AQL 4NOL Yo LOL Yo L OL Yo L OL zu OSL siy E a 0ELVHaW T ISLAK AAA E 11 ea zi 3 7 5 5 D 2 T
24. 08K X8 MCU internal registers and I O ports e Evaluation Host computer is connected to the KXICS and the KXICS is connected to the target system via the flex cable This method provides limited real time evaluation of the MCU and debugging user developed hardware and software Programming Host computer is connected to the KXICS and the KXICS is connected to the target system via the MONOS cable Use the PROGOSSZ exe to program the MCU FLASH module In the programming mode there is limited evaluation ESD CAUTION Ordinary amounts of static electricity from clothing or the work environment can damage or degrade electronic devices and equipment For example the electronic components installed on the printed circuit board are extremely sensitive to electrostatic discharge ESD Wear a grounding wrist strap M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 53 Quick Start Hardware Configuration Guide whenever handling any printed circuit board This strap provides a conductive path for safely discharging static electricity to ground B 1 1 KXICS Configurable Jumper Headers Configure the seven jumper headers on the KXICS for your application according to the tables in this section Table 4 2 KXICS Jumper Header Description sumper po des Description actory Header Default Shown Used to set power for the MCU to match various target voltages No default W
25. 1 PTB6 Bidirectional Clock signal from xtal or MCU Port B I O 11 PTB5 Bidirectional Port I O 12 PTB4 Bidirectional Port 13 PTA2 Bidirectional Port A 14 Bidirectional Port A 15 PTA4 Bidirectional Port A 16 VDD KXICS Supply Voltage User s Manual M68ICSO8KX In Circuit Simulator 38 Support Information MOTOROLA Support Information KXICS Connector Signal Definitions 3 5 3 Target MONOS Interface Connector J3 The MONOS interface connector J3 Table 2 6 is used when the MCU 15 mounted on the target Refer to Section 4 Using the MONOS for detailed information Table 3 3 J3 MONOS Target Connector Pin Assignments Direction Signal Description 1 RST OUT Out To reset target 2 Common 3 IN In From target to reset MCU and Ripple Counters 4 RST Out Forced reset to target 5 TGT_IRQ In Target Interrupt request to MCU 6 IRQ Out Interrupt Request 7 TGT PTAO Bidirectional Port A I O bit O 8 PTAO Bidirectional Port A I O bit O 9 1 Bidirectional Port A I O bit 1 10 PTB1 Bidirectional Port B I O bit 1 11 TGT PTBO Bidirectional Port B I O bit O 12 PTBO Bidirectional Port B I O bit O 13 TGT PTB1 Bidirectional Port B I O bit 1 14 PTB1 Bidirectional Port B I O bit 1 15 No connect 16 No connect 3 5 4 Power Connector Power connector J2 Table 3 4 is used to co
26. 2 Target System Header Placement and Layout Two headers must be placed on the target board e 16 pin header such as Berg Electronics part number 67997 616 e P2 1 header such as Berg Electronics part number 68001 601 Table 4 1 shows the target system interconnections for J3 Table 4 1 MONOSG Target System Connector 43 Pin M68ICSO8KX8 _ Label Direction Target System Connection 1 RST OUT Out to target Connect to logic that is to receive the RST signal 2 GND Ground Connect to common Vss 3 RST IN In from target Connect to all logic that generates resets to RST pin 1 No other target system 5 A logic should be tied to this signal It will swing from 0 to 5 5 TGT IRQ In from target Connect to logic that generates interrupts DA Connect to MCU IRQ pin No other target system logic should be 9 Quro targe tied to this signal It will swing from 0 to 8 6 Connect to user circuit that would normally be connected to 7 TGT PTAO Bidirectional on the MCU This circuit will not be connected to the MCU when the in circuit simulator is being used M681CS08KX In Circuit Simulator User s Manual MOTOROLA Using the MONOS Interface 45 Using the MONOS Interface Table 4 1 08 Target System Connector J3 Continued Pin M68ICSO8KX8 8 No Label Dire
27. 521 SI130000285F245F2212226A00042429008237C2A 511300100002000800082529001853812341001813 51130020412900084 4223430018234200082 44952 5107003000144 492 9030000FC In the example the format consists of An SO header e Four SI code data records e 59 termination record A 5 1 SO Header Record The SO header record is described in Table A 4 SO Header Record S Record dot Field Entry Description Type 50 S record type 50 indicating record Record 06 Hexadecimal 06 decimal 6 indicating six Length character pairs or ASCII bytes follow Address 4 character 2 byte address field zeroes Descriptive information identified these S1 records Code Data 48 ASCII H 44 D 52 R HDR Checksum 1B Checksum of 50 record A 5 2 First S1 Record The first S1 record is described in User s Manual M68ICS08KX In Circuit Simulator 50 S Record Information MOTOROLA S Record Information S Record Example Table A 5 51 Header Record S Record M Field Entry Description Tvpe 51 S record type 51 indicating code data record kl to be loaded verified at a 2 byte address Record Hexadecimal 13 decimal 19 indicating 19 Length 13 character pairs representing 19 bytes of binary data follow 4 character 2 byte address field hexadecimal Address 0000 address 0000 indicates location where the following data is to b
28. 681CS08KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 23 Preparation and Installation 2 2 6 Target Cable Interface Connection Options User s Manual Connect the 5 volt power supply to the round connector on the board J2 Plug the power supply into an ac power outlet using one of the country specific adapters provided The KXICS green power LED on the board lights when switch SW1 is in the ON position There are three ways to connect the KXICS simulator board to your target system Flex cable low noise target interface connection may be ordered separately Ribbon cable low cost target interface connection e MONOS cable target interface connection with MCU FLASH programming and limited emulation Below Table 2 2 is a quick reference for defining the cable connector selection to use with the MC68HC908KX8 Select the option that meets your requirements and connect accordingly Table 2 2 Cable Connector Options for MCUs Ribbon MONO8 MCU Flex Cable Cable Cable MC68HC908KX8 J1 J5 J3 M681ICSO08KX In Circuit Simulator 24 Preparation and Installation MOTOROLA 2 3 Target Cable Interface Connectors Preparation and Installation Target Cable Interface Connectors NOTE Refer to Section 3 Support Information for more detail 2 3 0 1 Target Flex Cable Interface Connector J1 The flex cable is a low noise alternative connection t
29. 8KX In Circuit Simulator 34 Support Information MOTOROLA Support Information KXICS Theory of Operation When the jumper is set for the PTB6 position the MCU runs from it s internal clock and pin PTB6 of the MCU 15 connected to the target connector When the jumper 15 set for CLK position the 1 external clock signal from the KXICS board is applied to the PTB6 pin of the MCU for timing An internal MCU register must be set to control the selection of internal or external clock The external clock Y 1 has an output frequency of 9 8304 MHz to allow the MCU to communicate at 9600 baud It is socketed to allow the use of a full size or half size clock You may change clock frequencies by installing a new clock chip however the serial communication rate proportionally changes W3 may be used to disable the external clock Additionally the on board clock is available as output on the 3 pin header J4 for target or computer host clock synchronization 3 4 4 Start Up in Monitor Mode Following power up the ICS RST is held low for a period of time by 08 When ICS_RST is asserted high the binary ripple counter U3 counts up 1024 clock cycles prior to allowing DELAY RESET to be asserted The delayed reset controls the analog switch U7 connected to PTA1 and PTB O 1 The RTS signal is held high which places the voltage as the high voltage for IRQ Analog switch U7 connects to common PTBO to Vpp mou
30. Figure 2 1 Be sure that the pin 1 orientation of the adapter aligns with the pin 1 location on the DIP socket upper left pin of the DIP socket The SOIC to DIP adapter may be confusing to install It must be placed into the DIP socket XUI with the hinged side of the SOIC shell aligned to the bottom of the KXICS board This positioning will place the SOIC type MCU socket pin 1 in the upper left corner of the SOIC socket 3 Place the pin tension arm of the KXICS socket XUI in the down position to secure the pins of the adapter to the socket 4 Open the hinged access door on the SOIC shell 5 Install the SOIC type MCU into the SOIC socket of the adapter Be sure that the pin 1 orientation of the silkscreened dot on the MCU aligns with the pin 1 location on the SOIC socket upper left pin of the socket 6 Close and secure the hinged access door on the SOIC shell M68ICSO8KX In Circuit Simulator 22 Preparation and Installation MOTOROLA Preparation and Installation Hardware Preparation Figure 2 1 KXICS with SOIC to DIP Adapter 2 2 4 Connecting the KXICS to the host PC Locate the 9 pin connector labeled J6 on the board Using the cable provided connect it to a serial COM port on the host PC 2 2 5 Applying power to the KXICS CAUTION Although applying power is described here do not apply power until all other configuring installing and cable connections are completed Equipment damage can result M
31. M681CS08KXUM D M68lCS08K X In circuit Simulator Board User s Manual Mj MOTOROLA Important Notice to Users While every effort has been made to ensure the accuracy of all information in this document Motorola assumes no liability to any party for any loss or damage caused by errors or omissions or by statements of any kind in this document its updates supplements or special editions whether such errors are omissions or statements resulting from negligence accident or any other cause Motorola further assumes no liability arising out of the application or use of any information product or system described herein nor any liability for incidental or consequential damages arising from the use of this document Motorola disclaims all warranties regarding the information contained herein whether expressed implied or statutory including implied warranties of merchantability or fitness for a particular purpose Motorola makes no representation that the interconnection of products in the manner described herein will not infringe on existing or future patent rights nor do the descriptions contained herein imply the granting or license to make use or sell equipment constructed in accordance with this description Trademarks This document includes these trademarks Motorola and the Motorola logo are registered trademarks of Motorola Inc Windows and Windows 95 are registered trademarks of Microsoft Corporation in the U S and other
32. O Bidirectional Port A I O 16 PTB2 Bidirectional Port B 17 TGT PTA1 Bidirectional Port A I O 18 PTB1 Bidirectional Port B I O 19 PTA2 Bidirectional Port A 20 TGT PTBO Bidirectional Port B I O 21 Bidirectional Port A 22 N C M68ICSO8KX In Circuit Simulator 36 Support Information MOTOROLA Support Information KXICS Connector Signal Definitions NS Direction Signal Description 23 PTA4 Bidirectional Port A 24 N C 25 N C 26 N C 27 N C 28 N C 29 Common 30 Common 31 Common 32 Common 33 Common 34 Common 35 Common 36 Common 37 Common 38 Common 39 Common 40 Common M681CS08KX In Circuit Simulator User s Manual MOTOROLA Support Information 37 Support Information 3 5 2 Target Ribbon Interface Connector J5 The KXICS includes a connector 5 Table 3 2 which allows a convenient connection to the target using a 16 pin ribbon cable Table 3 2 J5 Target Connector Pin Assignments Ne Direction Signal Description 1 Common 2 PTA1 Bidirectional Port A 3 PTAO Bidirectional Port A 4 IRQ In Target interrupt request to MCU 5 PTBO Bidirectional Port B 6 PTB1 Bidirectional Port B 7 PTB2 Bidirectional Port B 8 Bidirectional Port B 9 PTB7 Bidirectional Port I O 10 OSC
33. OS Interface Connector 3 34 3 5 4 Power Connector aa ik ad AR SERE AG d TER UE ERE 35 3 5 5 RS 232C Communication Connector 6 36 3 0 ken Ree e Ta ed AA 37 3 7 KXICS Board Layout and Schematics Diagrams 40 Section 4 Using the MONOS Interface 4 1 Introduction sa a a poa ata aa ada Rd po AEO a katet ke on ae 41 4 2 Target System Header Placement and Layout 41 4 3 Connecting to the In Circuit Simulator 42 Appendix A S Record Information Introduction et e io od Seu ds heb ev bati pe RS 43 A2 Record Contenis css a ape e geti o ae ME MS 43 AUS SsReGOId aes athe dye Da ka on bt eO Ra 44 Ad Record Creauonec sev Dita iara C DE SON MIN 45 AS SsRecord Example 45 5 1 DSU Header Record area uitai e 46 User s Manual M68ICSOS8KX In Circuit Simulator 4 Table of Contents MOTOROLA Table of Contents A 5 2 Record voe oet eb eei 46 A 5 3 59 Termination Record 47 A 5 4 ASCH Charactets i 2542224005 22646 AP Se a ut ie 48 Appendix Quick Start Hardware Configuration Guide Bil Introduction essi ratei PEE 49 B 1 1 KXICS Configurable Jumper
34. _ 2 ES MS Meee Ino xi SOOHPL SOOHPL nod Nea ERR si 5 E ve se lo TP 7 2 5 gen 2 MOL 29 bed MOL szu anyo 929 7 lt lt osy aa 19 A ES 5 311011522 6qned HO103NNOO m lt anro S A MS e NOW VIBLLLT ein anyo 3 5 5 7 5 z 7 us L 5 z n d M080013S8 9 NIS 925 XH80SDI HOLV INWIS NI VSN 5 8 XL NILSNV 1S3M NONNVO IAVITIIM 1099 gt t Swa1SAS pue 9v Z oz V TOMOLOSY w 191 Sl ALZ 5 aed AH lt gt su 1 OA Ki LOL NOW MOL 8 53 70x Pa 9 lt 19899 siy 19599 Aviad 8 v lt TT lt 0 vin MS abed a
35. a eka 5 SOTE ene taenn Uv tex ae ta e Aes 23 SOIC to DIP Socket 7 S record dala s aa 39 Creallhg a a ea a 41 field DeC EI ed 39 E le sta 39 OVELVIEW cs 39 S TECOEQ ann r a 42 SlIrecord dp pL chee an NE DO ha 42 SI TeCOI ds soe ides euentus s 43 termination 43 j PC are de eek bee tea She save 40 Start U poe 27 M68ICSO8KX In Circuit Simulator 68 Index MOTOROLA Index T Target system 10 uere dne et epe a PES Twa ke a oa 49 L idu 25 V VIS E thea ate deer 26 Y AL e a Or 26 27 M681CS08KX In Circuit Simulator User s Manual MOTOROLA Index 69 User s Manual M681ICSO08KX In Circuit Simulator 70 Index MOTOROLA Motorola reserves the right to make changes without further notice to any products herein Motorola makes no warranty representation or guarantee regarding the su
36. a ON Semi MMBT3904 Q1 Q4 XSTR PFET MMBF0201 SOT23 Motorola ON Semi 201 R16 Res 150 ohm 1 0805 Dale CRCW08051500F R34 Res 124 ohm 1 0805 Dale CRCW08051240F R33 Res 205 5 0805 Dale CRCW08052050F R32 Res 75 ohm 1 0805 Dale CRCWO80575R0OF R17 R23 Res 1 21K 196 0805 Dale CRCWO08051211F R29 Res 499 ohm 196 0805 Dale CRCW08054990F R30 Res 169 ohm 196 0805 Dale CRCW08051690F R32 Res 118 ohm 1 0805 Dale CRCW08051180F R1 R13 R15 Res 10 ohm 1 1206 Dale CRCW120610ROF R25 Res 100k 5 0805 Dale CRCW0805104J R26 R38 R49 R51 Res 33 ohm 5 0805 Dale CRCWO8055330J R2 R7 R22 Res 3 3K 5 0805 Dale CRCW0805332J R18 Res 59K ohm 1 0805 Dale CRCW08055902F R4 R6 R8 R12 R14 ae ee keu Res 10 K ohm 596 0805 Dale CRCWO805103J R54 R56 R58 R59 R3 R35 R52 R57 Res 470 ohm 5 0805 Dale CRCW0805471J R53 Res 330 ohm 5 0805 Dale CRCW0805331J R60 Res 33K ohm 5 0805 Dale CRCW0805333J RV1 Res VAR 2K SMT_4MM Bourns 3214W 202W SW1 Switch SPDT RT ANG ETO1MD1AVQE Motorola ON Semi 74 5 08 5V Supervisor SOT 223 Dallas DS1233Z 5 U1 IC Microcontroller KX8 DIP16 Motorola PC68HC908KX8DW U2 IC UHS 2 Input OR SOT23 5 Fairchild NC7SZEWM5 User s Manual M68ICSO8KX In Circuit Simulator 42 Support Information MOTOROLA Table 3 6 KXICS Parts List Rev Support Information Parts List
37. an output to change the level on an external signal M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Glossary 61 User s Manual instructions Instructions are operations that a CPU can perform Instructions are expressed by programmers as assembly language mnemonics A CPU interprets an opcode and its associated operand s as an instruction listing A program listing shows the binary numbers that the CPU needs alongside the assembly language statements that the programmer wrote The listing is generated by an assembler in the process of translating assembly language source statements into the binary information that the CPU needs LSB Least significant bit MCU Microcontroller unit Microcontroller A complete computer system including CPU memory clock oscillator and I O on a single integrated circuit MSB Most significant bit N Abbreviation for negative a bit in the condition code register of the 68 908 8 In two s complement computer notation positive signed numbers have a 0 in their MSB most significant bit and negative numbers have a 1 in their MSB The N condition code bit reflects the sign of the result of an operation After a load accumulator instruction the N bit will be set if the MSB of the loaded value was a 1 object code file A text file containing numbers that represent the binary opcodes and data of a computer program An object code file can be used to load
38. ator 56 Quick Start Hardware Configuration Guide MOTOROLA Quick Start Hardware Configuration Guide Connecting to a Target System B 4 Connecting to a Target System The three ways to connect the M68ICSOSKX simulator board to a target system are via The flex cable The ribbon cable MONOS cable Connect the simulator board to the target system using one of these methods M68ICSO8KX In Circuit Simulator Using a flex cable When emulating an MC68HC908KX MCU connect the 16 pin M68CLBOSA flex cable may be ordered to the connectors labeled JI Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available for the 16 pin SDIP 16 pin DIP and 16 pin SOIC versions of the MCU Using a ribbon cable When emulating an MC68HC908KX MCU connect a 16 pin flat ribbon cable to connector J5 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Using a MONOS cable Connect the MONOS debug interface cable to the MONOS debug interface connector J3 for communication with the target system s MCU The MONOS cable lets you program and debug the target system s MCU FLASH An MCU must be installed in the target system and there should be no MCU installed in the KXICS User s Manual MOTOROLA Quick Start Hardware Configuration Guide 57 Quick Start Hardware Configuration Guide User s Manual M681ICSO08KX In Circuit
39. bed DI 191 Ovid 191 2 LOL OUI LOL abed 15 NL1SH in gt gt iino 1 SONON ozsouan _ a gt SOOHPL ZEZSLON 102048IAW 5 er an YO jan an m veu MS MS 34 095 pa ecd 629 000 MS da L 2 o ai 000 5 L 13538 518 z ozv f Su 9 eu zsu om d 1 siks now i BI MS aT YON MS eziSa on 2 kal pi MS K ISIN LSH em 3 5 5 7 5 z T g jo 5 155945 d MO8001IS9EI on 8 ma 225 XM80S9 HOLV INWIS NI en WSN SE 8 XL NLLSQ V 1S3M NONNVO IAVITIIM 1099 Swa1SAS pue asremyos 1814 SSA a 5 T Ur 2819 DOL m 814 er etd 00 LI a zan I 2819 191 vald 191 Ba 0829 y abed LOUI rdlald Wat S rid v e abed
40. binary information into a computer system Motorola uses the S record file format for object code files operand An input value to a logical or mathematical operation opcode binary code that instructs the CPU to do a specific operation in a specific way The 68 908 8 CPU recognizes 210 unique 8 bit opcodes that represent addressing mode variations of 62 basic instructions OTPROM A non volatile type of memory that can be programmed but cannot be erased An OTPROM is an EPROM MCU that is packaged in an opaque plastic package It is called a one time programmable M681ICSO08KX In Circuit Simulator 62 Glossary MOTOROLA Glossary MCU because there is no way to expose the EPROM to a UV light PC Abbreviation for program counter CPU register of the MC68HC908KX8 program counter The CPU register that holds the address of the next instruction or operand that the CPU will use RAM Random access memory Any RAM location can be read or written by the CPU The contents of a RAM memory location remain valid until the CPU writes a different value or until power is turned off registers Memory locations that are wired directly into the CPU logic instead of being part of the addressable memory map The CPU always has direct access to the information in these registers The CPU registers in the MC68HC908KXS are A 8 bit accumulator X 8 bit index register CCR condition code register containing th
41. bsystem The MCU subsystem consists of the MC68HC908KXS8 microcontroller clock generation and selection monitor mode control logic that places and holds the KXICS in monitor mode the bus voltage level translation buffers and processor operating voltage variable regulator The MCU MC68HC908KXS is available in two different packages e 16 pin SOIC small outline integrated circuit e 16 pin DIP dual inline pack Only one socket may be used at a time M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 31 Support Information Depending on the connection the MCU is used in one of three operating modes Inthe KXICS socket for programming and simple simulation Inthe KXICS socket and connected to the target for emulation On the target for MONOS debug operation 3 3 Level Translation NOTE For the following discussion on the theory of operation of the KXICS refer to the schematic diagrams in Paragraph 3 6 Figures 3 1 to 3 6 of this section The KXICS has an operation voltage range of 2 0 to 5 0 volts while the host development system interface is an RS 232 COM port U12 on the ICS converts 5 volt logic signals to RS 232 levels ICS U10 UI13 translate 5 volt logic levels to the MCU operating voltage 2 0 3 3 volts 3 4 KXICS Theory of Operation NOTE 3 4 1 Power Supply CAUTION User s Manual For the following discussion on the theory of operation of the KXICS re
42. by the host software 2 2 1 2 Port AO Port is used for communications so it is unavailable for emulation M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 19 Preparation and Installation 2 2 1 3 Low Voltage Interrupt L VI The LVI is disabled by default in monitor mode It is enabled by a dummy write to LVISR 2 2 1 4 Internal Clock Generator ICG The ICG is bypassed in monitor mode so it is not available for use 2 2 2 Configuring the KXICS Jumper Headers CAUTION User s Manual The KXICS supports four configuration options standalone simulation evaluation and programming Standalone ICSO8KXZ exe running on the host computer the KXICS is not connected Emulation of the MCU CPU registers and I O ports is done within the host computer environment Simulation Host computer is connected to the KXICS via the RS 232 cable and ICS08KXZ exe runs on the host computer providing access to M68HC 9 08K X MCU CPU internal registers and I O ports Evaluation Host computer is connected to the KXICS and the KXICS is connected to the target system via the flex cable providing limited real time evaluation of the MCU and debugging user developed hardware and software Programming Host computer is connected to the KXICS and the KXICS is connected to the target system via the MONOS cable with PROGOSSZ exe used to program the MCU FLASH module In the program
43. countries Intel is a registered trademark of Intel Corporation Motorola Inc is an Equal Opportunity Affirmative Action Employer For an electronic copy of this book visit Motorola s web site at http mcu motsps com documentation 9 Motorola Inc 2000 Rights Reserved User s Manual M681ICS08KX In circuit Simulator Board 2 MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Table of Contents Table of Contents Section 1 General Information 11 ntroductions n 7 D Components v ai an n panko a a vee eres pow 11 1 2 1 KXICS Hardware ive EIER ke a REY LR 12 1 2 2 ICS Interface Software a ise Sree as BREF amem ees 12 1 3 Hardware and Software 13 14 SSDecHICdHODS pos rele Ev eripi we as 13 1 5 About This 13 1 6 Customer Support re rate ny Poe Berke eae oo 13 Section 2 Preparation and Installation 2 1 Introd ction ue duos sea td al las 15 2 2 15 2 2 1 KXICS Limitations EV ebbe Eas 15 22 2 Configuring the KXICS Jumper Headers 16 2 2 3 Installing an MCU on the KXICS 17 2 2 4 Connecting the KXICS to the host PC
44. ction Target System Connection 8 Bidirectional Connect to MCU PTAO pin No other target system logic should be tied to this signal Host I O present on this pin 9 TGT PTA1 Bidirectional Connect to user circuit that normally would be connected to PTA1 on the MCU Connect to MCU PTA1 pin No other target system logic should be 10 PTA1 Bidirectional tied to this signal Grounded during power on reset and for 256 cycles after reset 11 TGT PTBO Bidirectional Connect to user circuit that normally would be connected to PTBO on the MCU PEN Connect to MCU PTBO pin No other target system logic should be 12 TBO tied to this signal at 5 during power on reset 13 TGT PTB1 Bidirectional Connect to user circuit that normally would be connected to on the MCU 14 1 Bidirectional Connect to MCU PTB1 pin No other target system logic should be tied to this signal Grounded during power on reset 15 NC NC Not connected 16 NC NC Not connected 4 3 Connecting to the In Circuit Simulator User s Manual Using the 16 pin cable provided with the KXICS kit connect one end of the cable to the KXICS board at J3 Connect the other end to connector P1 on the target system board The pin 1 indicators on each cable end must correspond to the pin 1 indicators on the headers P2 is not used when connecting to the KXICS board M68ICSO8KX In Circuit Simulator 46 Using the MONOS Interface MOTOROLA User
45. ding the design or manufacture of the part Motorola and are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer How to reach us USA EUROPE Locations Not Listed Motorola Literature Distribution P O Box 5405 Denver Colorado 80217 1 303 675 2140 or 1 800 441 2447 Customer Focus Center 1 800 521 6274 JAPAN Motorola Japan Ltd SPS Technical Information Center 3 20 1 Minami Azabu Minato ku Tokyo 106 8573 Japan 81 3 3440 8573 ASIA PACIFIC Motorola Semiconductors H K Ltd Silicon Harbour Centre 2 Dai King Street Tai Po Industrial Estate Tai Po N T Hong Kong 852 26668334 Mfax Motorola Fax Back System RMFAXOQemail sps mot com http sps motorola com mfax TOUCHTONE 1 602 244 6609 US and Canada ONLY 1 800 774 1848 HOME PAGE hitp motorola com sps Mfax is a trademark of Motorola Inc Motorola Inc 2000 Mj M68ICSOSKXUM D
46. download of an S record from a host system to a 9 or 16 bit microprocessor based system For example the first 51 record in 15 sent as shown here TYPE LENGTH ADDRESS CODE DATA CHECKSUM S 1 1 3 0 0 0 0 2 8 5 F 2 5 3 3 1 3 10 3 3 3 0 3 3 013 0 3 2 3 8 3 514 6 3 24 4 1 0101 0011 0011 0001 0011 0001 0011 0011 0011 0000 0011 0000 0011 0000 0011 0000 0011 0010 0011 1000 0011 0101 0100 0110 0011 0010 0100 0001 User s Manual M681ICSO08KX In Circuit Simulator 52 S Record Information MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Appendix B Quick Start Hardware Configuration Guide B 1 Introduction This quick start guide explains the e Configuration of the M68ICSOSKX in circuit simulator KXICS board Installation of the hardware e Connection of the board to a target system There are four methods for configuring the KXICS standalone simulation evaluation and programming e Standalone 508 7 is running on the host computer KXICS 15 not connected Emulation of the MC68HC908KX8 MCU CPU registers and I O ports is within the host computer environment e Simulation Host computer is connected to the KXICS the RS 232 cable and the ICSO8KXZ exe is running on the host computer This provides access to the MC68HC9
47. e 1 2 and C bits SP stack pointer and PC program counter Memory locations that hold status and control information for on chip peripherals are called I O and control registers reset Reset is used to force a computer system to a known starting point and to force on chip peripherals to known starting conditions 5 record A Motorola standard format used for object code files simulator A computer program that copies the behavior of a real MCU source code See source program SP Abbreviation for stack pointer CPU register in the MC68HC908K X8 MCU source program text file containing instruction mnemonics labels comments and assembler directives The source file is processed by an assembler to produce a composite listing and an object file representation of the program stack pointer A CPU register that holds the address of the next available storage location on the stack TTL Transistor to transistor logic M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Glossary 63 Vpp The positive power supply to a microcontroller typically 5 volts Vss The O volt dc power supply return for microcontroller Word A group of binary bits Some larger computers consider a set of 16 bits to be a word but this is not a universal standard X Abbreviation for index register a CPU register in the MC68HC908KX8 Z Abbreviation for zero a bit in the condition c
48. e Connect one end of this cable to your host PC and the other end to connector J6 on the KXICS board B 2 Installing the Hardware For installing Motorola development tools the following steps provide installation instructions for the KXICS hardware To prepare the KXICS Figure 2 1 for use with a host PC 1 Install an MCU SOIC into the KXICS board DIP type MCU a Place the pin tension arm of the KXICS DIP socket XUI in the up position b Install the DIP type MCU into the DIP socket XUI Be sure that the pin 1 orientation of the silkscreened dot on the MCU aligns with the pin 1 location on the DIP socket upper left pin of the socket c Place the pin tension arm of the KXICS DIP socket XUI in the down position to secure the pins of the MCU to the socket NOTE The top label side of the MCU package must be visible when looking at the component side of the board SOIC type MCU M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 55 Quick Start Hardware Configuration Guide NOTE CAUTION B 3 Installing the Software User s Manual Installation of a SOIC type MCU requires the use of the SOIC to DIP adapter identified in Table 1 1 of this manual a Place the pin tension arm of the KXICS DIP socket XUI in the up position Install the SOIC to DIP adapter into the DIP socket XUI Be sure that the pin 1 orientation of the adapter aligns with the pi
49. e MCU circuitry if W2 is selected positions 1 and 2 voltage is sent to the MCU along with the reset signal being held low briefly following power up The MCU is forced to power up in the Monitor Mode The source of power for the MCU is selected by jumper2 Refer to Section 2 Table 2 1 The amber LED DS2 lights when there is power to the MCU socket There is no over current protection on the board protecting against catastrophic failures if the MCU is powered from the target Equipment damage can result The power to the MCU is selected by jumper W2 With the jumper in the 5V position the MCU will be powered by the 5V circuitry 1 from the plug in the power supply With W2 in the LO V position the MCU will be powered by the on board low voltage regulator 06 The low voltage is selected by jumper W1 which has preset voltages of 3 3V 3 0V 2 7V 2 2V 2 0V and a poteniometer for adjusting the voltage The MCU may be set to operate at a variety of voltages Ensure the selected voltage matches the voltage of the target Failure to do so can result in equipment damage M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 33 Support Information 3 4 1 2 lt Power Vrgris created by a voltage regulator MC34063 nominally set for 8 6 This keeps the worst case voltage at greater Vpp 3VDC meeting Vrst voltage minimums The voltage may be monitored at test p
50. e loaded Opcode Instruction 28 5F BHCC 0161 24 BCC 0163 Code Data 22 12 0118 22 6A 0172 00 04 24 BRSET 0 04 012F 29 00 BHCS 010D 08 23 7C BRSET 4 23 018C Checksum Checksum of the first 51 record The 16 character pairs shown in the code data field of are the ASCH bytes of the actual program The second and third S1 code data records each also contain 13 19T character pairs and are ended with checksum 13 and 52 respectively The fourth S code data record contains 07 character pairs and has a checksum of 92 A 5 3 S9 Termination Record The S9 termination record is described in Table A 6 S9 Header Record S Record ior Field Entry Description Type S9 S record type S9 indicating a termination record M681CS08KX In Circuit Simulator User s Manual MOTOROLA S Record Information 51 5 Information Table 6 59 Header Record S Record Field Entry Description Record 03 Hexadecimal 04 indicating three character pairs Length three bytes follow Address A 4 character 2 byte address field zeroes Code Data There is no code data in an S9 record Checksum FC Checksum of S9 record A 5 4 ASCII Characters Each printable ASCH character in an 5 record is encoded in binary gives example of encoding for 51 record The binary data 15 transmitted during
51. ea Tozauop pue DUI ISY abea 9 1032euuo 80500 191 4 0 14 LOL 6 abea iemod 0 1 0 1 abea 3exoos NOW ES Xu XI 6qnsa WWOD ADOTOYWAS MOO IH 21907 JO NOIIdSNOXW AHI HLIM SNOIIWDIJAIDYaS ISNV HIIM 022 NI NWVHOVIG IJA4AAINI 7 TWNDIS SALONA 1 TWNDIS MOT SALONIC YOWSN IOHNWAS IVIONdS UHSHOLOVAIONVN AHIL HLIM SHIYVA AJ9NAN AHL HOS SI WHHWNON AdAL c SAWAVJOUDIN NI FAW SHOLIOVdVO NI dav SHOLSISSH AJIJIDAIS WHSIMWHHIO SSHINN I SALON g jo z 19915 E AN08001HSg8 9 8 Bwq 225 X M80SO I HOLV INWIS NI 1 T T T T anyo anto anto anto anto ano ano ano VSN SE8 XL NILSNV NONNVO WVTTIIM 1
52. er emulation MC68HC908KX8CP MCU 16 pin DIP package MC68HC908KX8CDW MCU 16 pin SOIC Package PA16SO 08H 3 SOIC to DIP Socket Adapter M68CLBO5A Flex target cable KRISTA 22 122 Serial cable FRIWO 11 8999 P5 Power supply M68ICSO8SOM D In circuit simulator software operator s manual M68ICSO8KXHOM D In circuit simulator hardware operator s manual M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA General Information 15 General Information 1 2 1 KXICS Hardware lists the KXICS hardware components Table 1 2 Hardware Connector Components Components Description Test socket for the Motorola MC68HC908KX8 MCU 16 pin XU1 DIP dual in line package Ji Two 2 row x 20 pin 0 1 inch spacing connectors to connect the KXICS to a target using the M68CLBO5A flex cable J2 5 input voltage Vpp J3 One 2 row x 8 pin 0 1 inch spacing connector to connect to a remote target via the debug circuit J4 is the clock output that may be used for synchronizing a aki target or test equipment to the KXICS clock One 2 row x 8 pin 0 3 inch spacing dual in line package DIP J5 socket to allow the KXICS to be connected to the target using a ribbon cable RS 232 to interface KXICS to host computer serial connector 2 DEKL 9SAT F 1 2 2 ICS Interface Software Windows optimized software components are referred to collecti
53. et via Wa Select Jumper on position 3 amp 2 disables Xtal clock output which will affect the elec 1 3 power up reset Labeled 1 WA Jumper on position 1 amp 2 MCU s internal clock is supplied to target PTB6 Select cable via 1 3 Jumper on position 382 KXICS Xtal clock is supplied to MCU 2 2 3 Installing an MCU on the KXICS Either of two types of MCUs may be installed on the KXICS board a DIP type or SOIC type 2 2 3 1 DIP type MCU M68ICSO8KX In Circuit Simulator Place the pin tension arm of the KXICS DIP socket XUI in the up position Install the DIP type MCU into the DIP socket XUI Be sure that the pin 1 orientation of the silkscreened dot on the MCU aligns with the pin 1 location on the DIP socket upper left pin of the socket User s Manual MOTOROLA Preparation and Installation 21 Preparation and Installation NOTE 3 Place pin tension arm of the KXICS DIP socket XUI in the down position to secure the pins of the MCU to the socket The top label side of the MCU package must be visible when looking at the component side of the board 2 2 3 2 SOIC type MCU NOTE CAUTION User s Manual Installation of a SOIC type MCU requires the use of the SOIC to DIP adapter identified in Table 1 1 of this manual 1 Place the pin tension arm of KXICS DIP socket XUI Figure 2 1 in the up position 2 Install the SOIC to DIP adapter into the DIP socket XUI
54. fer to the schematic diagrams in Paragraph 3 7 Power input J2 to the KXICS is via a standard DC power receptacle with a 2 5mm center pin Input voltage is 5Vdc provided by a plug in the DC power adapter The power is fused to prevent catastrophic failure by fuse F1 5x20mm or 3AG fuse Always use a fuse of the proper current and voltage rating Failure to do so can result in serious equipment damage In addition the input line has a Transient Voltage Suppression TVS diode to stop high voltage transients including ESD events from damaging the board A green LED is provided to indicate that 5 VDC is being provided to the board with the ON Off switch in the ON position Power however is not available to M68ICSO8KX In Circuit Simulator 32 Support Information MOTOROLA Support Information KXICS Theory of Operation the rest of the board until the signal 15 active high on pin 4 of the serial connector J6 Test points are provided for common TP 1 power input V pp switched main power sw 5 power to the MCU mou and TP2 3 4 1 1 Main Switched Power NOTE CAUTION CAUTION Power to the MCU sockets and circuitry is switched on and off using the DTR signal into the serial interface J6 When 15 low the power to MCU socket is off and the amber LED 15 off When DTR 15 asserted high transistor Q3 will turn on FET Q2 which provides power to th
55. hat may be used to connect to the target Table 2 3 shows the pin assignments for flex cable connector J1 M68ICSO8KX In Circuit Simulator Table 2 3 J1 Pin Assignments N C N C N C N C N C N C N C TGT PTAO 1 2 4 11 13 21 23 25 27 29 31 33 35 37 39 J1 20 22 24 26 28 30 32 34 36 38 40 N C PTB7 PTB6 PTB5 4 2 TGT PTB1 TGT PTBO N C N C IRQ N C Common Common Common Common Common Common User s Manual MOTOROLA Preparation and Installation 25 Preparation and Installation 2 3 0 2 Target Ribbon Interface Connector J5 The KXICS includes a connector J5 Table 2 4 which allows a convenient less expensive connection to the target using a 16 pin ribbon cable Table 2 4 J5 Pin Assignments J5 Common lle e 16 N CPTA1 PTA1 2 e 15 PTA PTAO 3 e 14 PTAS IRQ 4 e 13 2 5 e 12 G e e 1 PTB6 PTB2 7 10 OSCI PTA3 e 9 PTB7 User s Manual M681ICSO08KX In Circuit Simulator 26 Preparation and Installation MOTOROLA Preparation and Installation Target Cable Interface Connectors 2 3 0 3 Target MONOS Interface Connector J3 The MONOS interface connector J3 Table
56. i Jumper on position 1 8 2 3 3 V Jumper on position 3 4 4 3 0 V Low Voltage m Select Jumper on position 5 8 6 2 7V Jumper on position 7 amp 8 22 49 Jumper on position 9 8 10 2 0 V Jumper on position 11 8 12 ADJ Selects voltage powering MCU and related circuitry W2 Jumper on position 1 amp 2 Regulator Lo V as set by W1 is supplied by MCU Voltage MCU Labeled LO V Select 1 3 Jumper on position 3 amp 2 Power supply 5V Switched is supplied by board to MCU Labeled 5V Jumper on position 1 amp 2 supplies KXICS 9 8304 MHz clock to MCU W3 Target Clock and target via W4 Jumper on position 3 amp 2 disables Xtal clock output which will affect the Enable 1 3 power up reset Labeled 0 Jumper on position 1 amp 2 MCU s internal clock is supplied to target PTB6 Select cable PTB6 1 3 Jumper on position 382 KXICS Xtal clock is supplied to MCU User s Manual M681ICSO08KX In Circuit Simulator 54 Quick Start Hardware Configuration Guide MOTOROLA Quick Start Hardware Configuration Guide Installing the Hardware B 1 2 Target Interface Cable Connections Below Table 4 4 is a quick reference for defining the cable connector setup to use with the MC68HC908KX8 Table 4 3 Cable Connector Options for MCUs Ribbon MONO8 MCU Flex Cable Cable Cable MC68HC908KX8 J1 J5 J3 B 1 3 Host Computer KXICS Interconnection J6 Connect the DEO serial cabl
57. itability of its products for any particular purpose nor does 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 Typical parameters which may be provided in Motorola data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Motorola does not 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 applications intended to support or sustain life or for any 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 regar
58. ming mode there is limited evaluation port A0 on the KX8 and port BO and port B1 on the 8 are used for communications so they are unavailable for emulation Four jumper headers Table 2 1 on the KXICS are used to configure the hardware options The KXICS can be set to operate at a variety of voltages When configuring the KXICS jumper headers care must be exercised to ensure that the voltages selected for the board match those of the target device Failure to do so can result in damage to either or both of the pieces of equipment M68ICSO8KX In Circuit Simulator 20 Preparation and Installation MOTOROLA Preparation and Installation Hardware Preparation Table 2 1 KXICS Jumper Header Description SUmper 2 Description Header Default Shown Used to set power for the MCU to match various target voltages No default Wi Jumper on position 1 4 2 3 3 V Low Voltage Jumper on position 3 amp 4 3 0 V Select Jumper on position 5 amp 6 2 7 V Jumper on position 7 amp 8 2 2 V Jumper on position 9 amp 10 2 0 V Jumper on position 11 amp 12 ADJ Selects voltage powering MCU and related circuitry W2 Jumper on position 1 amp 2 Regulator Lo V as set by W1 is supplied by MCU Voltage MCU Labeled LO V Select 1 3 Jumper on position 3 amp 2 Power supply 5V Switched is supplied by board to MCU Labeled 5V W3 Jumper on position 1 amp 2 supplies KXICS 9 8304 MHz clock to MCU Target Clock and targ
59. n 1 location on the DIP socket upper left pin of the DIP socket The SOIC to DIP adapter may be confusing to install It must be placed into the DIP socket with the hinged side of the SOIC shell aligned at the bottom of the KXICS board This positioning will place the SOIC type MCU socket pin 1 in the upper left corner of the SOIC socket f Place the pin tension arm of the KXICS DIP socket XUI in the down position to secure the pins of the adapter to the socket Open the hinged access door on the SOIC shell Install the SOIC type MCU into the SOIC socket of adapter Be sure that the pin 1 of the silkscreened dot on the MCU aligns with the pin 1 location on the SOIC socket upper left pin of the socket Close and secure the hinged access door on the SOIC shell 2 Connect the board to host PC Locate the 9 pin connector labeled J6 on the board Using the cable provided connect it to a serial COM port on the host PC 3 Apply power to the board Connect the 5 volt power supply to the round connector on the board J2 Plug the power supply into an ac power outlet using one of the country specific adapters provided The KXICS green power LED on the board should light when switch SW 1 is in the ON position For instructions for installing the ICSO8 software refer to P amp E Microcomputer Systems Inc MOSICSOSKX In Circuit Simulator Operator s Manual M68ICSO8KX In Circuit Simul
60. nd power connection Ordinary amounts of static electricity from clothing or the work environment can damage or degrade electronic devices and equipment For example the electronic components installed on the printed circuit board are extremely sensitive to electrostatic discharge ESD Wear a grounding wrist strap whenever handling any printed circuit board This strap provides a conductive path for safely discharging static electricity to ground a Configure the jumpers W 1 through W 4 on the KXICS for your application b Install an MCU into the appropriate socket XUI on the KXICS board Observe the pin 1 orientation with the silkscreened dot The top label side of the MCU package must be visible when looking at the component side of the board c Plug the serial cable into J6 on the KXICS d Plug the serial cable into the COM port on the host PC Steps e through g should not be completed until all connections to the target are completed Paragraph 2 5 e Connect the power cable to J2 on the KXICS board f Plug the power cable into an ac power outlet using one of the country specific adapters 2 The KXICS power LED lights green 2 5 Connecting the KXICS to the Target System Connect the KXICS to the target system using one of these methods e Emulating using a flex cable for low noise M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 29 Preparation and Installation
61. nnect to a source power supply for the KXICS Table 3 4 Power Connector J2 Pin Assignments Mnemonic Signal 1 VCC 5 VDC POWER Input voltage 5 1 0 from the provided power supply used by the KXICS logic circuits M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 39 Support Information 3 5 4 Power Connector Power connector J2 Table 3 4 is used to connect to a source power supply for the KXICS Table 3 4 Power Connector J2 Pin Assignments Pin Signal 2 GND Common 3 GND Common 3 5 5 RS 232C Communication Connector J6 The RS 232C Communication Connector J6 Table 3 5 provides connection to the host computer Table 3 5 RS 232C Communication Connector J6 Pin Assignments Pin No Mnemonic Signal 2 RXD RECEIVE DATA Output for sending serial data to the DTE device 3 TXD TRANSMIT DATA Input for receiving serial data output from the DTE device 4 DTR DATA TERMINAL READY Switches the KXICS to apply power to the MCU and related circuitry 5 GND Common 7 RTS Controls whether voltage for IRQ high is Vpp User s Manual M68ICSO8KX In Circuit Simulator 40 Support Information MOTOROLA 3 6 Parts List Table 3 6 KXICS Parts List Rev F Support Information Parts List
62. nual The procedural instructions in this manual assume that the user is familiar with the Windows interface and selection procedures 1 6 Customer Support To obtain information about technical support or ordering parts call the Motorola help desk at 800 521 6274 M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA General Information 17 General Information User s Manual M681ICSO08KX In Circuit Simulator 18 General Information MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Section 2 Preparation and Installation 2 1 Introduction This section provides information and instruction for configuring installing and readying the 681 508 KXICS for use 2 2 Hardware Preparation ESD CAUTION Ordinary amounts of static electricity from clothing or the work environment can damage or degrade electronic devices and equipment For example the electronic components installed on the printed circuit board are extremely sensitive to electrostatic discharge ESD Wear a grounding wrist strap whenever handling any printed circuit board This strap provides a conductive path for safely discharging static electricity to ground 2 2 1 KXICS Limitations These sub paragraphs describe system limitations of the KXICS 2 2 1 1 Bus Frequency The KXICS communicates using the MONOS features which forces the communication rate to f 256 and the bus frequencies are limited by standard baud rates allowed
63. ode register of the MC68HC908KX8 A compare instruction subtracts the contents of the tested value from a register If the values were equal the result of this subtraction would be 0 so the 2 bit would be set after a load accumulator instruction the Z bit will be set if the loaded value was 00 User s Manual M681ICSO08KX In Circuit Simulator 64 Glossary MOTOROLA User s Manual M68ICSO8KX In Circuit Simulator Index ASCII eque DN SS Bill of Materials Board layout see tue e tee aa Cables Clock frequency cuts kwe Sete bes kata gs lock SelECHON 2 123 trad au Configuration Standalone sev x rete MES DENVER XS Configuration options Evaluations iud wae eee ett Jumper Table ie eux Programming SIFI ANT dee Cera ERIT Standalone options Connectors M68ICSO8KX In Circuit Simulator Index nm 19 31 bc eee 27 User s Manual MOTOROLA Index 65 User s Manual D Debugging 1 37 Delay Resets Dwe abe Quin 26 DIP cp fa A blade Ab PRA ELE 23 examples STECOFAS a wi LAG e EIL a 41 H H lf d plex athe dy
64. oint TP2 Vrgr is used during start up to force the MCU into the Monitor Mode 3 4 1 8 Reset on Power up At initial power on to the MCU there is a delay of a few hundred milliseconds during which the signal ICS RST is held low as set by U8 051233 When ICS RST goes high the binary ripple counter U3 begins counting clock cycles at the 9 8304 rate of the clock Y 1 After 1024 clock cycles are counted the DELAY RESET signal toggles and the counter stops counting The delayed reset signal is used to turn on communications to the MCU and to hold several MCU pins in appropriate states to force Monitor Mode on power up 3 4 2 Serial Communications 3 4 3 Clock Selection User s Manual Serial communication in half duplex mode using PTAO for transmit and receive to the MCU is via the DE9 connector J6 Pin 2 is the path for transmit signals and pin 3 1s for receive signals Pin 4 the DTR signal is utilized as an input to provide the software host with the ability to turn MCU power on and off The RTS signal on contact 7 is used as an input to provide the software host with the ability to control the IRQ high voltage Serial communication to the MCU does not occur until DELAY RESET becomes active high 1024 clock cycles after the RESET signal is high para 3 4 1 3 The source of timing for the MCU may be either the KXICS board s clock Y1 or the MCU S internal clock Selection is by jumper header W 4 Table 2 1 M68ICSO
65. ools include text editors assemblers debug monitors and simulators Examples of hardware development tools include simulators logic analyzers and PROM programmers An in circuit simulator combines a software simulator with various hardware interfaces EPROM Erasable programmable read only memory non volatile type of memory that can be erased by exposure to an ultra violet light source MCUS that have EPROM are easily recognized by their packaging a quartz window allows exposure to UV light If an EPROM MCU is packaged in an opaque plastic package it is termed a one time programmable OTP MCU since there is no way to erase and rewrite the EPROM EEPROM Electrically erasable programmable read only memory H Abbreviation for half carry in the condition code register of the MC68HC908K X38 This bit indicates a carry from the low order four bits of an 8 bit value to the high order four bits This status indicator is used during BCD calculations I Abbreviation for interrupt mask bit in the condition code register of the MC68HC908KX8 index register An 8 bit CPU register in the MC68HC908KXS that is used in indexed addressing mode The index register also can be used as a general purpose 8 bit register in addition to the 8 bit accumulator input output I O Interfaces between a computer system and the external world For example a CPU reads an input to sense the level of an external signal and writes to
66. vely as the KXICS software part number ICSO8KX It is a product of PLE Microcomputer Systems Inc and is included in the KXICS kit Table 1 3 Software Components Components Description Integrated development environment IDE software WINIDE EXE interface for editing and performing software or in circuit simulation CASMO8Z EXE 5 087 command line cross assembler In circuit stand alone simulator software for the MC68HC908KX8 MCU PROGOS8SZ EXE FLASH memory programming software 0852 In circuit debugging software for limited real time emulation User s Manual M681CS08KX In Circuit Simulator 16 General Information MOTOROLA General Information Hardware and Software Requirements 1 3 Hardware and Software Requirements The KXICS software requires this minimum hardware and software configuration e Windows 95 or later version operating system Approximately 2 Mbytes of available random access memory RAM and 5 Mbytes of free disk space e serial port for communications between the KXICS and the host computer 1 4 Specifications Table 1 4 summarizes the KXICS hardware specifications Table 1 4 KXICS Board Specifications Characteristic Specification Temperature Operating 0 to 40 C Storage 40 to 85 C Relative humidity 0 to 95 non condensing Power requirement 5 from included ac dc adapter 1 5 About This Ma
67. ype until the S9 record which terminates data transfer An S record format may contain the record types in Table A 3 Record Types Record Type Description Header record for each block of S records The code data field 50 may contain any descriptive information identifying the following block of records The address field is normally 05 Code data record and the 2 byte address at which the code data 51 is to reside 52 58 Not applicable to ICS08RKZ Termination record for a block of S1 records Address field may optionally contain the 2 byte address of the instruction to which S9 control is to be passed If not specified the first interplant specification encountered in the input will be used There is no code data field Only one termination record is used for each block of S records Normally only one header record is used although it is possible for multiple header records to occur A 4 S Record Creation S record format programs may be produced by dump utilities debuggers cross assemblers or cross linkers Several programs are available for downloading a file in the S record format from a host system to an 8 or 16 bit microprocessor based system A 5 S Record Example A typical S record format as printed or displayed is shown in this example Example M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA S Record Information 49 5 Information 500600004844

Download Pdf Manuals

image

Related Search

Related Contents

VTOS DDR (QorIQ P4/P5) Addendum  GreenStar Parallel Tracking & AutoTrac  Kramer Electronics Blank Slot Cover Plate  Caladora HYJS01 - Hyundai Power Products  Manual do Utilizador do Nokia E52  Samsung DIGIMAX UCA4 manual de utilizador  MÁQUINA DE LAVAR ROUPA  SERVICE MANUAL  Indice caviglia-braccio e funzione misurazione simultanea su  the HR File Builder user manual  

Copyright © All rights reserved.
Failed to retrieve file