Home
M68ICS08KX In-Circuit Simulator Board Users Manual.
Contents
1. an pi 1818 SSA or 981d Sarg mr 81d er etd 8ld ge za 9 tald 191 0 0814 191 gi 9e T H rdlald 161 Wd un ud Wig rr 614 cda zvid Ir olvia lt is P Ovid dpdg Dis abe 3IHVO NOGEIA Ovid 191 ZHINPOES 6 gt ki nu 719 lt gt 6Nid NOW Said 10 195 9814 1814 SSA 9 98147080 vu ory Se ee ES ES D H3avaH SAN zr 814 or ra ____ oe ee s E 1 SHIM Jr ep 74 1 900 uie p udi V doe 60 18 Bed dsez pb me yo gaz 2 q re c oaa e dzz 12 Wid fou dez 1 vid K 08 der Lib obed ae ee 49 9 Wild LOL E OL ak gt gr Vid eald der Me abed Wid T 0 6 Ovid LOL Evld 0 6 Evld vr i e l nro 9 a g eri ET 2619 de Lb ED e m Wu MUS pi 019 GOA Hyr WIgJVO ILADAVI XATA pe abed Ip OlvLd lt e are DIS WX now 8XM8060H89 For More Information On This Product Freescale Semiconductor Inc User s Manual M68ICSO8KX In Circuit Simulator Section 4 Using the MONOS Interface 4 1 Introduction The MONOS debugging interf
2. 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 TGT PTA1 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 connect to a source power supply for the KXICS Table 3 4 Power Connector J2 Pin Assignments i 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 A No Mnemonic Signal 2 GND Common 3 GND Common 3 5 5 RS
3. gt oT ok 7 7 101 now dca ET 5 89 o lt r CRX Eg a m NOW bed abed a 9 lt 19899 siy 19599 avage a v Hr S lt 8 na eSOPOHPL vin n MS 5 S e abed 5 D vid LOL M Oald LOL g Wid Wid LOL Ovid LOL SO vid LOL YIK 1 OUI soul LOL abed 1584 NI ISH 3 3XinoisH f D S0NOW Ef gt 5 4 L _ SOOHPL TT SOOHPL ZEZSLON 102048IAW vo 5 aen MOL aen a ES T veu MS MS Gan AEE Jd 098 pa ecd 629 O0DVrL MS da TT 102048 105254 aed ei oun z c4 k 1asav 814 z ka Su ou m 1 were L sy anyo NOW 1H 210 e e u MS a F 1109269 YON MS 7 2150 en eT kal MS z eDed L hat MS T amp 181 Sin 8 mae li i NOT ie TY ame 756 B z T S 1990 0800195989 ON 925 YOLV INNIS LINDYID NI YSN SEZ8 XL NLLSNV Swa1SAS pue asremyos NONNVOWVITIM 1099 W 00 LT eaepdn ase p bed Ke p bed 191 c
4. Connectors M68ICSO8KX In Circuit Simulator Index vb dede 19 31 Vet E AS 27 User s Manual MOTOROLA Index For More Information On This Product Go to www freescale com 65 Freescale Semiconductor Inc D Debugging 1 37 Delay Resets Dwe ee ae es e n Quin 26 d Be ei ke bean AA SSeS ek kek tan kan ke 23 E examples S TECOFAS iii ki ank Laps toda iP koka e ie thse a 41 H Halt duplex modes v cues s vade eS rab eek ak 26 hardware haa ve eae be he E hea ans 45 Headers Ne EXPE M CES 37 e e 37 High voltage transients Re evra GA PG E LAUS 24 Host Interface cu uai Eel EE ges tre bI ENG 24 Host computer requirements 42259 kwe vet e ke e EE 9 TESPWR LED etd aa veu a 15 Interface Connection 15 ae a BR nee SAM E UE OL YOn 15 MONOS cable vi erui eme own eaves Peas dc Re REIS 15 Ribbori cable s osx YO ERE ORIS DOR ENT 15 J Tao i siete PEU EU RN ed eme Nb 27 K KXICS Connections is adeb iru havo ae Rinse hve dae ULL Re baba 3 d script oN Se operta RE
5. 2 3 J2 Power 3 1 KXICS Board Layout M68ICS08KX In Circuit Simulator List of Figures Page User s Manual MOTOROLA List of Figures For More Information On This Product Go to www freescale com 7 Freescale Semiconductor Inc List of Figures User s Manual M681ICSO08KX In Circuit Simulator 8 List of Figures MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc List of Tables User s Manual M681CS08KX In Circuit Simulator List of Tables Table Title Page Table 1 1 KXICS Product Components 15 Table 1 2 Hardware Connector Components 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 J3 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
6. 8059 1 1 NI 2 SEO 66 AON 61 HWuM VSN Ssezez XL NILSOV 4S3M NONNVO IAVITIIM L059 ava NMVHG Swa1SAS pue a1eMjos SOGUOTDHIOHTRSSNOS LHVd NI HO NI JYNLOVANNYW HO AN3Wauno9OHud N9SIS3Q ONIH33NION3 HOS aFsn 38 LON TIVHS Y1OHOLOW OL AUVLIlYdOUd NOLLVWYOANI SNIV LNOO 1 SIHL 00 LT 3527 Ge to www a 5 5 o abea Sis pue 1 15 8 on jn jn Siisvsz SOOHPL SOOHPL a TT zr 9 1 9 1 qoin abeq ALLO y ebed ni 3 20309000 BONON e o E R 1 SODHPL SOODHPL LOL ni c a T OWLd LOL g 2 MS TT T TT H abeg abeq abeg gen aun s1032euuoj 3exoos NAN P gansa moa moo FT la a did 1 sessng e o SOODHPL S0DHPL TI t aein aun f 5 sult SOOHPL 2 SALW WHVdS oun FD E SOOHPL ooATneLT a F E gun ZH F
7. 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 ohm 5 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 ey Motorola ON Semi MC74HCO5D U8 IC 5V Supervisor SOT 223 Dallas Semi 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Table 3 6 KXICS Parts List Rev F Support Information Parts List nae Description Manufacturer Part Number U7 U14 IC Triple 2 1 Analog MUX 16SOIC Motorola ON Semi MC74HC4053D U9 IC Quad Nand 14SOIC Motorola ON Semi MC74ACOOD U10 IC Buffer Tri State 14SOIC Fairchild MC74ACT1125D U5 IC DC DC Converter SO 8 Motorola ON Semi MC34063AD Us Pewee Linear Tech LT1086CM U12 co le Linear Tech LT1181 ACSW U15 16 B 5096 CTR DIP 4 N
8. 8 g E __ gt gt 1 3 E S jo 19905 925 MO800L3S8E9 E XHA80SD1 YOLV INNIS LINDYID NI For More Information On This Product SOOHPL WSN SEZ8Z NLLSNW NONNVO WVTTIIM 1099 v ed SWwa1SAS pue asremyos T lt sino 188 von XOL VTOMOLOSY w E 6u MS 000v 00 LT eaepdn 3527 MS TWIX AZIS JIVH 1 TTNA MOTIV OI ANLAXDOS Ti E MS TOA eK san9 anro x E S0OHvZ 6 2 g FINE 1ndlno 20 5 8 ES 5 v abed Sq T 5 IT 8Indino 19599 AVI3aK TI Fr 0 0 ZHINVOES 6 TA 60 gen MS arn TI 80 anto OEE k se 10 DI 449 90 MS 50 6 MS 5 W 0 E EE ko NOW lt 3 MS e m O MOL E o 0 Lay S00HvZ NE TVIX MS ozsoyan NO u3M0d K 9a MS T wee vein POSE LEWIN Y 90 _ d
9. 40 to 85 C Relative humidity 0 to 95 non condensing Power requirement 5 from included ac dc adapter 1 5 About This Manual 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information User s Manual M681ICSO08KX In Circuit Simulator 18 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 M68ICSO8KX 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 f
10. Freescale Semiconductor Inc Preparation and Installation NOTE 3 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 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 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 DIP 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 location on the SOIC socket upper left pin of the socket 6
11. 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 PTAO 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 For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Support Information KXICS Connector Signal Definitions NS Sen 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 M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 37 For More Information On This Product Go to www freescale com 3 5 2 Target Ri
12. be used 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 are 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 User s Manual M68ICSO8KX In Circuit Simulator 60 Glossary MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 o
13. 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 For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc 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 that 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 TGT PTA1 TGT PTA2 TGT PTA3 TGT PTA4 N C N C Common Common Common Common Common Common 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 PTB4 N
14. 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 For More Information On This Product Go to www freescale com 15 Freescale Semiconductor Inc General Information 1 2 1 KXICS Hardware lists the KXICS hardware components Table 1 2 Hardware Connector Components Components Description XU1 Test socket for the Motorola MC68HC908KX8 MCU 16 pin DIP dual in line package J1 Two 2 row x 20 pin 0 1 inch spacing connectors to connect the KXICS to a target using the M68CLBOBA flex cable J2 5 Vdc input voltage Vpp J3 One 2 row x 8 pin 0 1 inch spacing connector to connect to a remote target via debug circuit J4 J4 is the clock output that may be used for synchronizing a target or test equipment to the KXICS clock J5 One 2 row x 8 pin 0 3 inch spacing dual in line package DIP socket to allow the KXICS to be connected to the target using a ribbon cable J6 RS 232 to interface KXICS to host computer serial connector DEKL 9SAT F 1 2 2 ICS Interface Software Windows optimized software components are refer
15. 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 M681CS08KX In Circuit Simulator User s Manual MOTOROLA List of Tables 9 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc List of Tables User s Manual M681ICSO08KX In Circuit Simulator 10 List of Tables MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8KX In Circuit Simulator 1 1 Introduction Section 1 General Information This section provides general information about the Motorola M68ICSO8KX 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 person
16. ES py ke na X tah ge 3 HEIC EIER EUR DERE METEO 3 5 User s Manual M681CS08KX In Circuit Simulator 66 Index MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Index Hardware components 8 Hardware operator s 7 operation voltage 24 product coniponents orb SE Y pea Lex nov e E EQ 7 PWRLEEBD iiyzcr ete RENI Rp RR RUNE OUR 49 SOIC to DIP Socket 7 KXICS Software COMPONEN sia vers epe bent uy eh eee aie 8 de DWE 20e Y ox qus Us pue us S te A Pe kn es la 7 development 7 Operator snanual sry V e e ERES RE NE MES M 7 SIN ATON L ae kt ao e Fa RO weed e I kwe kle ik 7 L LED amber ee kr ale eee Bae ka tv GN baa 25 IOS DOWOF mi a ot ER Ede eet aded 15 49 Limitations Bus Erequenoy 222 3 d e ba e e n uc xd sd TER eiue x de ING 11 Internal Clock Generator 12 Low Voltage Interrupt 12 POPE e S e a Sk 11 M MCU internal Clock seus Ee e a 27 operatBg Modes 533 ooo 1e ee a a
17. Interface Table 4 1 MONOSG Target System Connector J3 Continued Pin M68ICSO8KX8 8 No Label Direction 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 RN Connect to MCU PTBO pin No other target system logic should be 12 in Ona tied to this signal Held at 5 Vdc during power on reset 13 TGT PTB1 Bidirectional Connect to user circuit that normally would be connected to PTB1 on the MCU 14 PTB1 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
18. SUPP yt es Oe alee CM AM pde lees EVE 28 serial Communications 30 Clock Selection cuc ok bese ete E peace ae AY P pd 30 Start Up in Monitor 31 KXICS Connector Signal 32 Target Flex Cable Interface Connector JI 32 Target Ribbon Interface Connector 5 33 Target MONOS Interface Connector 3 34 Power Connector baw Eee ed sashes nee hes 35 RS 232C Communication Connector J6 36 Parts LAS sevo Lo Eve Do eee Bese Athy of Sale EE 37 KXICS Board Layout and Schematics Diagrams 40 Section 4 Using the MONOS Interface Introduction eee p Rd po ata a katet ke on ae 41 Target System Header Placement and Layout 41 Connecting to the In Circuit Simulator 42 Appendix A S Record Information hb Eb ere ris hber Ace fs 43 S Record Contents c veo e e xvn a a e poo ie ENS 43 5 TYpeSss ke olde tae ak RU eg Ree 44 S Record Creation s s obs V v eta peti Ba ae tree eee 45 SsRecord Example ak ko ia S Ga ee y 45 DSU Header Record area St 46 M6G8ICSO8KX In Circuit Simulator 4 Table of Contents MOTOROLA For More Information On Thi
19. not used when connecting to the KXICS board M68ICS08KX In Circuit Simulator 46 Using the MONOS Interface MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8KX In Circuit Simulator Appendix A S Record Information A 1 Introduction 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 5 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 5 Information Table 2 S Record Field Contents F
20. ons sea oes idera cC 15 Hardware 15 KXICS Limitations wees ede EV ee Eas 15 Configuring the KXICS Jumper Headers 16 Installing an MCU on the 17 Connecting the KXICS to the host PC 18 Applying power to the 19 Target Cable Interface Connection Options 19 Target Cable Interface Connectors 20 Host Computer KXICS Interconnection J6 23 Power Connector w aou od need wove ee ied eee pad 23 Connecting tbe KXICS strese oi w ey za e ai Ve s 24 Connecting the KXICS to the Target System 24 Installing the Software 25 User s Manual MOTOROLA Table of Contents 3 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc 5 3 1 3 2 3 3 3 4 3 4 1 3 4 2 3 4 3 3 4 4 3 5 3 5 1 3 5 2 3 5 3 3 5 4 3 5 5 3 6 3 7 4 1 4 2 4 3 A2 4 5 5 1 Section 3 Support Information e koi w e n ek i RES 27 MCU Subsystem ed rx eic Besta EE A EL ance 27 Level Translation 248 Vox ute oed gk e E PEU ES 28 KXICS Theory of 28 Power
21. the external world For example a CPU reads an input to sense the level of an external signal and writes to an output to change the level on an external signal M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Glossary 61 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 MC68HC908KX8 In two s complement computer notation positive signed numbers have a 0 in their MSB most significant bit and negative numbers have 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
22. 09H OL E gan 1538 594 A 0 SOOHPL SOOHPL seu Gan ao MS T _ 514 YHN ovn MS now MS B _ 2 ES THN HL gano MS MS yp MEBE dccus INO SOOHPL SOOHPL 80 1 5 ma S2LLOWeL T T ENO DH Heg Nx Ovid E n HELI ba 42 MOL MOL 29 X LLo S p bed XOL szy 99H 34nro ozo e osy aa 49 ES S 5 anvollszo HO1O3NNOO or lt anyo l tzo Fa a MS e NOW VISLILT ein anyo ezo Gan g 2 __ gt I E S jo p 19905 0800195989 925 YOLV INNIS LINDYID NI YSN 9 8 NLLSNV NONNVOWVITIM 1099 Swa1SAS pue 9v Z ko a Fe 0 EE ME Tala 15r Sl MIEL n Gabeg LA j T 15 00 LT
23. 15 low the power to MCU socket is off and the amber LED 15 off When 15 asserted high transistor Q3 will turn on FET 02 which provides power to the 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 i e 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 U6 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support I
24. 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 or Vpp mcu User s Manual M681ICSO08KX In Circuit Simulator 40 Support Information MOTOROLA For More Information On This Product Go to www freescale com 3 6 Parts List Freescale Semiconductor Inc Table 3 6 KXICS Parts List Rev F Support Information Parts List 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 T FASTEX 4009 00 5072 C8 C9 C28 Cap 47 uF Tantalum low ESR 16V AVX TPSD476M016R0150 Mee 6 n Ceramic 250 50V AVX 08055E104ZAT2A C1 C17 C18 Cap 10 uF Tantalum 16V AVX TAJC106M016 C10 C29 PE Corano LAU 08055 561 2 03 04 Diode Schottky MBRA130 Motorola ON Semi MBRA130 D1 D5
25. 304 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 W4 cable via PTB6 PTB6 Select 1 3 Jumper on position 3 amp 2 KXICS Xtal clock is supplied to MCU User s Manual M681CS08KX In Circuit Simulator 54 Quick Start Hardware Configuration Guide MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 DE9 serial cable 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 DIP SOIC into the KXICS board DIP type MCU a Place the pin tension arm of the KXICS DIP socket XUI in the up
26. C PTB3 PTB2 TGT PTB1 TGT PTBO N C N C IRQ N C Common Common Common Common Common Common User s Manual MOTOROLA Preparation and Installation For More Information On This Product Go to www freescale com 25 Freescale Semiconductor Inc 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 e 15 4 PTAO 3 e 14 IRQ 4 e e 13 2 PTBO 5 e e 12 4 PTB1 G e e 1 PTB6 PTB2 7 e e 10 OSCI PTA3 PTB3 8 e e 9 PTB7 User s Manual M681ICSO08KX In Circuit Simulator 26 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation Target Cable Interface Connectors 2 3 0 3 Target MONOS Interface Connector J3 The MONOS interface connector J3 Table 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 Sje 4 RST TGT_IRQ ole e 6 IRQ TGT PTAO 8 TGT PTA1 9 e e 10 TGT PTBO 11 e e 12 PTBO TGT_PTB1 13 e e 14 _ 1 NC 15 eo 16 NC M68I
27. CSO8KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 27 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 1815 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 J2 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 and 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 cir
28. Close and secure the hinged access door on the SOIC shell M68ICSO8KX In Circuit Simulator 22 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 Freescale Semiconductor Inc 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 M681CS08KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 23 For More Information On This Product Go to www freescale com 2 2 6 Target Cable Interface Connection Options User s Manual Freescale Semiconductor Inc Preparation and Installation 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
29. Diode TVS 1SMA6 OAT3 Motorola ON Semi 1SMA6 OAT3 D2 D6 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 Hdr 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 MMFT5P02HD M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information 41 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information Table 3 6 KXICS Parts List Rev F dan Description Manufacturer Part Number Q3 Q5 6 XSTR NPN MMBT3904 SOT23 Motorola ON Semi MMBT3904 Q1 Q4 XSTR PFET MMBF0201 SOT23 Motorola ON Semi MMBFO201 R16 Res 150 ohm 1 0805 Dale CRCW08051500F R34 Res 124 ohm 1 0805 Dale CRCW08051240F R33 Res 205 ohm 5 0805 Dale CRCW08052050F R32 Res 75 ohm 1 0805 Dale CRCW080575ROF R17 R23 Res 1 21K 1 0805 Dale CRCW08051211F R29 Res 499 ohm 1 0805 Dale CRCW08054990F R30 Res 169 ohm 196 0805 Dale CRCW08051690F R32 Res 118 ohm 1
30. EC 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 3M 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 DIP Epson SG 532P 9 8302MC M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Support Information For More Information On This Product Go to www freescale com 43 Freescale Semiconductor Inc Support Information 3 7 KXICS Board Layout and Schematics Diagrams SR B I pen i ki TA LE TT n 1 KB AB i Si r ole 2 m m du cS cm E H m TE m 14 Ei an nn BIN a san E ke r FL d a Jee GSE cg ti P ru i J a m 2 cm n oun ince Li E JE m b L am 2 om mi ars zz JE oun li l z 8 morona n 310 Figure 3 1 KXICS Board Layout User s Manual M68ICSO8KX In Circuit Simulator 44 Support Information MOTOROLA For More Information On This Product Go to www freescale com S yo S d AMO80013FSE 9 8 9215 0 22
31. Freescale Semiconductor Inc M68ICSOSKXUM D M68lCS08K X In circuit Simulator Board User s Manual Mj MOTOROLA i oduct For More Information On This Pr Go to www freescale Freescale Semiconductor Inc 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
32. N08001HSg8 9 8 29215 XH80SDI YOLVININIS LINDUIO NI T T T T T T anyo anyo anro anro anyo anyo anyo anyo VSN SEZ8Z XL NILSNV NONNVOWVITIM 1099 129 9 L 99 19 2 9 715 Swa1SAS pue 9 a A8 L BLL 691 667 anzi g w l dis MS 00 Li eaepdo asen i SL anyo anro 120 020 ie i is NOW leu 109195 3OV L10 MOT E IM Yl S0z anto OGE LAN i L sea 2m aed so ee 2l NO u3Mod 02 sey ao Sb veh H 4001 9 4 810 E Tiy 3 o1 O y 8v 1noA LNOA NIA m 6 a as sa ZM 980117 v IDITAS NOVITOA z a t Mi AQL 4127 MS Fa DEEVBEN ELVOOVNS T 820 GHEOdS LIN zo SdL MS GGA isa CgHOLIMS 5 t E vH L 3d 098 010 SONSHH4HH AGZ I ES anyo ANLY 10 80 m z auvawoo zt AN MO T po 1 MO 6S pi 99 by Poe kl MS 3SN3S IMS MOVE Gn ii ovr uMd 109 ms 10940 bg a Jes koki E9OPEOW Melk HL OLS M L OL e 9 091 siy NI OGAS Y di oeivyan Bed Hn 081 S ISLAK AAA E 11 ea
33. O abueyo a T ADOTOYWAS MOOTA DJIDOT JO NOILAJDXA preoq ooannrs uo 3534 a now aa HHI HLIM SNOILIVOI4IOSdS ISNV HLIM XONVQHOOOV NI NWVHOVIG 1 v IASI SIN peppy TWNDIS SALONA ISY vpn Teubrs andur 00 2Detas OAI AJTPON 2 IWNDIS MOT HAILOW 6 YJOVSN IOHWNAS IVIOWdS E 00 158 44 O3 UDITMS a JTANLIVJANYN v x JHL HLIM SHIYVA HHI aseertey TeTITUI v HOS SI HSHWON AdAL ADIAYA E AOS SQVHVIOHOIN NI SHOLIOVdVO 00 ubtTseq 103 Apesy MOI T 6 SWHO NI AHY SHOLSISSH AYJIJIDAIGS ASIMAYJHIO SSYINN L Gal sadeouoj o oa 1 SALON ONS 5 Aga 5 z __ 4 Ge to www freescale com For More Information On This Product D T 5 5 D z T g jo Z 19915 E A
34. SH 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 ICSO8KXZ software on the host computer lets the host computer become a simulator M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA General Information 13 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 ICSO8KXZ KXICS software simulator ICDO8SZ KXICS software debugger emulation MC68HC908KX8CP MCU 16 pin DIP package MC68HC908KX8CDW MCU 16 pin SOIC Package PA16SO
35. Y 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 M68ICSO8KX In Circuit Simulator 34 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 Y1 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 an 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 U8 When ICS_RST is asse
36. ace 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 2 Target System Header Placement and Layout Two headers must be placed on the target board e PI 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 J3 o S rene 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 RST Bidirectional should be tied to tis signal It wil swing from 0 fo 8 Vde 5 TGT IRQ In from target Connect to logic that generates interrupts ZEE NEUE ee Connect to user circuit that would normally be connected to PTAO 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Using the MONOS
37. al 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 IBM 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 MONO8 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Ti TITITITI Figure 1 1 Motorola M68ICSO8KX KXICS Board The KXICS is a low cost development system that supports editing assembling in circuit simulation in circuit emulation and FLASH memory programming Its features include ar W e User s Manual 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 Insta
38. 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 M681CS08KX In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 53 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 110 9 default Wi Jumper on position 1 8 2 3 3 V Jumper on position 3 amp 4 3 0 V Low Voltage m Select Jumper on position 5 amp 6 2 7V Jumper on position 7 amp 8 2 2 V 25 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 Jumper on position 1 amp 2 supplies KXICS 9 8
39. bbon Interface Connector J5 Freescale Semiconductor Inc Support Information The KXICS includes a connector J5 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 PE Direction Signal Description 1 Common 2 PTA1 Bidirectional Port A I O 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 PTB3 Bidirectional Port B 9 PTB7 Bidirectional Port B 10 OSC1 PTB6 Bidirectional Clock signal from xtal or MCU Port B I O 11 PTB5 Bidirectional Port B 12 PTB4 Bidirectional Port 13 PTA2 Bidirectional Port A I O 14 PTA3 Bidirectional Port A 15 PTA4 Bidirectional Port A 16 VDD KXICS Supply Voltage User s Manual M68ICSO8KX In Circuit Simulator 38 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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
40. buggers 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 5 Information 00600004844521B 1130000285F245F2212226A00042429008237C2A 511300100002000800082529001853812341001813 51130020412900084 4223430018234200082 44952 5107003000144 492 S9030000FC In the example the format consists of An SO header e Four SI code data records An S9 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 a header 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 Circu
41. cuit 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 g 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation When emulating connect the 40 pin M68CLBOSA flex cable to the connector labeled the simulator board Attach the ot
42. d 24 ou pod ed da a pa eedem detecte 23 SUIS uso Sex x MES EE SEE a ir NUM Vi MN QE aliens 23 MINE soUICe irn ss E ne ao pd bye ve SE eed ev sw 26 memory address ee ate ae A 39 Microcontroller DU eon rd te a leg oes DNA aE ak NAT EUR 7 SOIC ei t Re OR IER A QULA OE 7 Modes of Operations ede eyes 5 kk taa enki o ii kek vale Yo kk Ae ORE E E man Rd ou wate 37 MONOSCODNECHON oon uerb RE rr eed DI eae ee aa eee 38 Monto NI OUE M ut Le Oo at ke ds 27 M681CS08KX In Circuit Simulator User s Manual Index 67 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Parts list molor ka a IE e 33 POWeL sz dos S 24 DIRS Ate 28 5 oa tal 25 sese t ss A EN SM ash WOL 25 R record length brates da Ap bon ek afon Leen A kob 39 record type noe Se oen 39 Staff crete eh hrs 26 RUS Bau hee ee hee alee 26 5 STOGOLAS je saaa fas Donn des tal Wea 39 44 Schematics 2 y os
43. e flex cable e The ribbon cable The MONOS cable Connect the simulator board to the target system using one of these methods e 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 e 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 M68ICSO8KX In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 57 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Quick Start Hardware Configuration Guide User s Manual M681ICSO08KX In Circuit Simulator 58 Quick Start Hardware Configuration Guide MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc U
44. er 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 I 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
45. 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 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 Close and secure the hinged access door on the SOIC shell 2 Connect the board 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 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 SW1 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 Simulator 56 Quick Start Hardware Configuration Guide MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Quick Start Hardware Configuration Guide Connecting to a Target System B 4 Connecting to a Target System The three ways to connect the M68ICSO8KX simulator board to a target system are via e Th
46. her 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 75 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 An 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 Subsystem The MCU subsyste
47. ield 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 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 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 prog
48. it Simulator 50 S Record Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc S Record Information S Record Example Table 5 51 Header Record S Record Field Entry Description Type 51 S record type S1 indicating a 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 be 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 2 Checksum of the first S1 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 59 termination record is described in Table A 6 S9 Header Record S Record Yole Field Entry Description Type 59 S record type 59 indicating termination
49. l 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 regarding 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 L
50. le Semiconductor Inc 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 e Installation of the hardware Connection of the board to a target system There are four methods for configuring the KXICS standalone simulation evaluation and programming e Standalone ICSO8KXZ exe is running on the host computer the KXICS is 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 via the RS 232 cable and the ICS08K XZ exe is running on the host computer This provides access to the MC68HC908K 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
51. llation of conditional breakpoints script files and logfiles Debugging and emulation limited real time with ICDO8SZ including M68ICSO8KX In Circuit Simulator 12 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Introduction Loading code into RAM Executing real time in RAM or FLASH Placing one hardware breakpoint in FLASH Placing multiple breakpoints in RAM e 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 e 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 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 FLA
52. m 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 an MC68HC908KX8 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 UI3 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
53. nformation 3 4 1 2 lt Power Vrgris created by a voltage regulator MC34063 nominally set for 8 6VDC This keeps the worst case voltage at greater than Vpp 3 VDC meeting Vrst voltage minimums The voltage may be monitored at lt test point 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 DS1233 When ICS_RST goes high the binary ripple counter U3 begins counting clock cycles at the 9 8304MHz rate of the clock Y1 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 is 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 DELA
54. nformation On This Product Go to www freescale com Freescale Semiconductor Inc Index T Target system uere dne et erc a PES Twa Je ke pes asye 49 e E on idu 25 V VIS E thea edat ate aate deer 26 Y AL v ane sa Rae 26 27 M681CS08KX In Circuit Simulator User s Manual MOTOROLA Index 69 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681ICSO08KX In Circuit Simulator 70 Index MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Motorola reserves the right to make changes without further notice to any products herein Motorola makes no warranty representation or guarantee regarding the suitability 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 technica
55. 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 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 A binary code that instructs the CPU to do a specific operation in a specific way The MC68HC908KX8 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 User s Manual M681CS08KX In Circuit Simulator 62 Glossary MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 wi
56. or 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 by the host software 2 2 1 2 Port AO Port AO is used for communications so it is unavailable for emulation M681CS08KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 19 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 ICSO8KXZ exe runs on the host computer providing access to the M68HC 9 08K X MCU CPU internal registers and I O por
57. 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 For More Information On This Product Go to www freescale com NOTE CAUTION B 3 Installing the Software User s Manual Freescale Semiconductor Inc Quick Start Hardware Configuration Guide 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 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 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 C
58. r hardware devices used to develop computer programs and application hardware Examples of software development tools 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 A 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 MC68HC908KX8 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 MC68HC908KX38 index register An 8 bit CPU register in the MC68HC908KXS that is used in indexed addressing mode The index register X 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
59. ram consult the user manual for the program User s Manual M68ICSO8KX In Circuit Simulator 48 S Record Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 type 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 50 Header record for each block of S records The code data field may contain any descriptive information identifying the following block of records The address field is normally 05 51 Code data record and the 2 byte address at which the code data is to reside S2 S8 Not applicable to ICSO8RKZ 59 Termination record for a block of S1 records Address field may optionally contain the 2 byte address of the instruction to which 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 de
60. record M681CS08KX In Circuit Simulator User s Manual MOTOROLA S Record Information 51 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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 ASCII character in an S record is encoded in binary gives an example of encoding for the S1 record The binary data is transmitted during a download of an S record from a host system to a 9 or 16 bit microprocessor based system For example the first S1 record in is sent as shown here TYPE LENGTH ADDRESS CODE DATA CHECKSUM S 1 1 3 0 0 0 0 2 8 5 F pa 2 A 5 3 3 1 3 1 3 3 3 0 3 0 3 0 3 0 3 2 3 8 3 5 4 6 a 3 2 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 M68ICS08KX In Circuit Simulator 52 S Record Information MOTOROLA For More Information On This Product Go to www freescale com Freesca
61. red 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 the H I N Z 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 S 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 A 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Vpp The positive power
62. red to collectively as the KXICS software part number ICSO8KX It is a product of P amp E Microcomputer Systems Inc and is included in the KXICS kit Table 1 3 Software Components Components Description WINIDE EXE Integrated development environment IDE software interface for editing and performing software or in circuit simulation CASM08Z EXE CASM08Z command line cross assembler ICS08SZ EXE In circuit stand alone simulator software for the MC68HC908KX8 MCU PROGO8SZ EXE FLASH memory programming software ICD08SZ EXE In circuit debugging software for limited real time emulation User s Manual M68ICSO8KX In Circuit Simulator 16 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 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
63. registered trademarks of Motorola Inc Windows and Windows 95 are registered trademarks of Microsoft Corporation in the U S and other 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 Motorola Inc 2000 All Rights Reserved User s Manual M68ICS08KX In circuit Simulator Board 2 MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Table of Contents User s Manual M68ICSO8KX In Circuit Simulator 1 1 1 2 1 2 1 1 2 2 1 3 14 1 5 1 6 2 1 2 2 2 2 1 2 2 2 2 2 3 2 2 4 2 25 2 2 6 2 3 2 3 1 2 3 2 24 2 5 2 6 681 5 08 In Circuit Simulator Table of Contents Section 1 General Information Introductio rip ta a eg e to a dow ayes 7 KXICS za a a a n 29 4 e a te Sales e 11 KXICS Hardware i RI RE RN DENS Ex RS 12 ICS Interface SONW IFE S 4 eye Pert RE MES Ren Yea 12 Hardware and Software 5 13 SDOCITCdHODS 2 hy ur Ev eei eA ERO n pete yd 13 About This Manil exeo eC RM et o STU 13 Customer SUpport ko se aee enya Ie uam ke ame 13 Section 2 Preparation and Installation Introd ction ue duos
64. rted 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 PTA to common PTBO to Vpp mou and PTBI to common until DELAY RESET is asserted is held above Vpp mcu 3Vdc during the reset release forcing the KXICS board to power up in the Monitor Mode Following the counter time out the analog switch 07 is toggled so that the 1 and PTB O 1 pins of the board are connected to the target head connectors Following entry into monitor mode you may switch the 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 For More Information On This Product Go to www freescale com Support Information Freescale Semiconductor Inc 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
65. s Product Go to www freescale com Freescale Semiconductor Inc Table of Contents A 5 2 VET eI D OU SEES 46 A 5 3 59 Termination Record 47 A 5 4 ASCII Characters 3 0545 04 tausend 48 Appendix Quick Start Hardware Configuration Guide Bil Introduction essi eti re see at tune yee ee ale vitae S 49 B 1 1 KXICS Configurable Jumper 50 B 1 2 Target Interface Cable 51 B 1 3 Host Computer KXICS Interconnection J6 51 B 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 5 User s Manual M68ICSO8KX In Circuit Simulator 6 Table of Contents MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8KX In Circuit Simulator List of Figures Figure Title 1 1 Motorola M68ICSO8KX KXICS Board 2 1 KXICS with SOIC to DIP Adapter 2 2 Host Computer to KXICS Interconnection
66. ser 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 the CPU gets to a specific place in the program and then enter a debugg
67. sition 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 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 Select 1 power up reset Labeled 1 Jumper on position 1 amp 2 MCU s internal clock is supplied to target PTB6 Select eje 9 cable via PTB6 1 3 Jumper on position 3 amp 2 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 a SOIC type 2 2 3 1 DIP type MCU 1 Place the pin tension arm of the KXICS DIP socket XUI in the up position 2 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 M681CS08KX In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 21 For More Information On This Product Go to www freescale com
68. 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 code 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 Z 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8KX In Circuit Simulator Index ASCII e E tek v cate dh ES EET BillofMaterialS Board layout krie RIA ERE Cables Clock frequency PE TIERWX A gede Clock SelECHON 2 12 a ak a Configuration Standalonex vo oed ue mE EUIS Configuration options ya NMAUGI a ER Jumper Valles Nei ar Ti A UA e Programming SmmulatijBo X ER ates dE Standalone options
69. td 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 MOTOROLA M68ICSOSKXUM D For More Information On This Product Go to www freescale com
70. ten TE Ferte ole Mee tpe Mae ege 36 Serial communications 26 serial port CODE CtOE oeuf W W A RE i aa 14 SIE screens os cu bande es Lae e ee VEDI bale eee De reso s t 36 Software support programs assembling ea ee dde Syl eo e PAN 5 5 editmg DRESS NUN 5 emulating 2 25 o4 xv IG ees ki LER ERSEESU ged xd ate 5 ed ee ok od pete KOR ee 5 GAYA GUB air CMM CC A e A eka 5 eel eles Lt AB Bee e Aes 23 SOIC to DIP Socket T S record COEN era 39 Creallhg eee ee eg 41 a Aa dee ee te sa e Ried 39 E ot ke e a a tek kout potel A eee 39 OVERVIEW cs aa ai a wet Si A REESE ABE SUE EES 39 SO TECOEQ iiu aw oh senses 42 SI record eru his pL e chee an do Re at NE DO ha 42 SI TeCOI ds e kd a ides euentus s 43 termination 43 j Le ane are end e aa bee tea She ka ea en 40 i ree ci an a A 27 User s Manual M681CS08KX In Circuit Simulator 68 Index MOTOROLA For More I
71. the following discussion on the theory of operation of the KXICS refer 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 FI 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 5VDC 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information KXICS Theory of Operation the rest of the board until the signal is 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 Vpp mou and VrsT 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
72. ts 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 programming mode there is limited evaluation port AO on the KX8 and port BO and port B1 on the KX8 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 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation Hardware Preparation Table 2 1 KXICS Jumper Header Description Jumper Type m Header Factory Description 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 po
Download Pdf Manuals
Related Search
Related Contents
Graco 3A2889A User's Manual Pakage Slip FL SWITCH GHS PS-10 Télécharger la documentation マスフローコントローラ Aera ® FC-R7800シリーズ(887KB ) Copyright © All rights reserved.
Failed to retrieve file