Home
M68ICS08AB In-Circuit Simulator User`s Manual
Contents
1. For More Information On This Product 2 31vd iuo prewp3 aa ouddv 8 8 J quny u wnoog 9215 31vd H O JOye NWIS zegv 30 IN3SNOO 1nOH LIM 1 NI HO sw H33HA NI IYN LOVAQINWW HO n NOISSG 5 TCH3HA SSAV 191 JaHvaa 191 HddHA 191 ION TIVHS WIOHOLOW TCHSHA SSAV s lt 3 WOH NOI LWWHOdNI SNIV LNOO LNAWNOOG SIH L r 8M 7 1SH IDL 1no 1su J0 28uuo daia 2 N 195 rt M 2314 1014 0314 Said 191 E 7814 901d 191 7914 2414 x gt 050 031d Told 191 told 191 TS 2 5014 L P a8q 4 so as 260 191 550 Biss 191 05197191 191 0197191 0019 191 Ovid 191 410128uu02 2319 Said 6319 0019 1318 2914 9314 zvid ne T
2. ICS08AB32 ICS08AB32 Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number PTC4 NA 2 1 PTC5 NA 1 2 TGT_IRQ 2 NA 3 GND 1 NA 4 GT_RST NA 4 5 GT_PTC3 NA 3 6 GND 4 NA 7 PTC2 3 NA 8 PTF0 NA 6 9 GT_PTC1 NA 5 10 PTF1 6 NA 11 GT PTCO 5 NA 12 PTF2 NA 8 13 05 1 7 14 8 15 7 16 4 10 17 GND 19 NA 18 NC 10 NA 19 VDD 9 NA 20 7 12 21 GND NA 11 22 PTF5 12 NA 23 LVDD 11 NA 24 GND 24 NA 25 User s Manual M68ICSO8AB In Circuit Simulator 34 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Connector Signal Definitions Table 3 3 FLEX Cable Connectors ICS08AB32 ICS08AB32 Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number VERFH NA 13 26 PTB7 14 NA 27 PTD7 13 NA 28 PTDO NA 16 29 PTD6 NA 15 30 PTD1 16 NA 31 PTD5 15 NA 32 VDDAREF NA 18 33 PTD4 NA 17 34 VERFL 18 NA 35 17 36 PTD2 NA 20 37 PTHO NA 19 38 PTD3 20 NA 39 GND 38 NA 40 21 41 22 42 2 21 NA 43 PTA7 22 NA 44 23 45 24 46 PTB4 23 NA 47 GND
3. Munro eld so FLO ZHNZSL6 V s oso dS 4 1 ZLLE ON e 17909 SL LLO L ain P Ix seu 15 OLY rly aaa 214 Gant H 5 8 For More Information On This Product H jo S PS L 00 LUt 31VGQ 0 9215 00 1 31VG 184005 NOW enl 1N3SNOO LIM 1HVd NI HO SYN LOVANNW HO d NOIS3Q ONIH33NION3 9 38 TIVHS V IOHO1O0N NOILLVAHOJNI SNIV LNOO 1N3AR2OQ SIHL ductor Inc Freescale Semicon Ovid LolH id 154 Is zlo1d For More Information On This Product 2714 5 usan 1 Ddzeav8060H899A ZV ld 9vld CER OQ V O8 ld
4. Frar anre 188 mal P TIER om om mme m pa M angel r LI args T E rea pa PEL TET Figure 3 4 ABICS Board Layout M681CS08AB In Circuit Simulator User s Manual MOTOROLA Support Information 43 For More Information On This Product Go to www freescale com enl VTOHO LON Z p T 1945 00 LV imupprewp3 8 9215 avd oud HO _ SOI8V 1 5 1119195 zegv LOW 1N3SNOO LIM HO SYN LOVJONVW HO LNINIYN DOY d NSIS3Q S9NIH33NION3 38 LON TIVHS NOIL VAHONI SNIV LNOO LN3AnOOQ SIH L Inc Freescale Semiconductor 0002 9 72 80NON 19 19jnq 8 O00z uer a Buysa payipay Y 6661 594 8 9 0 3NOZ SNOISIA3M NI 154 ATIVANWI 3SIA3H LON OQ SNIMVHC C3 L VH3N39 1SY 1032euuoo Jo 02004 uo ETY 0
5. Id1v L81d ge Sq 1v za1d evid Les 2 55 ge 75 Sa1v SH1d 14 55 id 819 OF 901 9919 zaswzold 55 z70la1a 2017 2919 LQ8X I91d LES gt oala 58 091 29 iara TS Oa ald gt ssa LS 59 avssa osds 31d 2019 gara Oswsara St 9319 27 ST S3ld sy SsS vaid 52 as 99 A08 Lr 12319 bey 5314 521 Lead HE 941a DEN HOS L S41 d 5 Ald 2313 s VSSA LE 2050 Led Ld 7 1050 5 1050 5 6949 Le Te 1914 ZHOW L 04 1d 5 25 159 5944 foul Fo LNX 2014 919 dam H E RER H 19 9 jeeus ductor Inc Freescale Semicon
6. en 5 _ 1 Fey 8 v ductor Inc Freescale Semicon H 2 8 Z 0 PS 00 1 VP 31vd iuo aa ouddv 8 8 2 0 9215 E x T m jddng 1n9115 ui 2287 ViOUOION NO uMd T 30 1N3SNOO 1nOH LIM 1HVd NI HO z NI 3YN LOVANNYW L NOIS3G 5 TIVHS VIOHOLOW WOW NOI LVWHO3NI SNIV LNOO SIH L 50 E 00L 84 lt B 27808 6 04 ZLLEEON E k H 0 ssog 49908 r vin qaq Ni osvs 5 1 a h hal n Lj at 1H 3101 MOTI3A TASSOECIN 3 sip Lo 3 ddo
7. Pin 68 508 Label Direction Target System Connection Connect to user circuit that would normally be connected to PTAO 9 TGT PTAO Bidirectional on the MCU This circuit will not be connected to the MCU when the in circuit simulator is being used ON Connect to MCU PTAO pin No other target system logic should be PAD tied to this signal Host I O present on this pin 11 PTCO Bidirectional Connect to user circuit that would normally be connected to PTCO onthe MCU Connect to MCU PTCO pin No other target system logic 12 PTCO Bidirectional should be tied to this signal Held at Vdd during reset and for 256 cycles after reset 13 TGT PTC1 Bidirectional Connect to user circuit that would normally be connected to PTC1 onthe MCU M Connect to MCU PTC1 pin No other target system logic Irene should be tied to this signal Grounded during reset 15 TGT PTC3 Bidirectional Connect to user circuit that would normally be connected to PTC3 onthe MCU irent Connect to MCU PTC3 pin No other target system logic 1 Bidirect 5 should be tied to this signal Grounded during reset Table 4 2 08 Target System Connector P2 Pin 68 508 1 Label Direction Target System Connection 1 RST Bidirectional Connect to MCU RST pin and P2 pin 4 No other target system logic should be tied to this signal It will swing from 0 to 7 5 Vdc 4 3 Connecting to t
8. 18 22 3 Target Interface Connection 21 2 2 4 Host Computer ABICS Interconnection P2 21 2 2 5 Power Connector PI ate sta vr a d 22 23 Connecting The ABICS uu aaa 22 2 4 Connecting the ABICS to the Target 23 2 5 Installing Software 23 Section 3 Support Information 3 1 iniecit ETT 25 525 MCU ATE E pus 25 M681CS08AB In Circuit Simulator 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 Table of Contents 3 3 3 3 1 3 3 2 3 3 3 3 3 4 3 3 5 3 3 6 3 3 7 3 4 3 4 1 3 4 2 3 4 3 3 4 4 3 4 5 3 5 3 6 4 1 4 2 4 3 4 4 A 1 A 2 A 3 4 A 5 ABICS Functional 25 ICSOSAB Bootes ue ee Creed dd edt 26 M68HC908AB32 MCU iiu hee deb en ak ed 0 27 ees 21 Board Rese 27 Device Configuration 5 0 28 Level Translation lv eviews stew 28 ABICS Operating Voltage Variable 5 20 ABICS Connector Signal 30 Target Flex Cable Inte
9. List of Tables User s Manual M681CS08AB In Circuit Simulator List of Tables Table 1 1 ABICS Product 10 Table 1 2 Hardware Connector Components 11 Table 1 3 Software 5 11 Table 1 4 ABICS Board 12 Table 2 1 ABICS Jumper Header 16 Table 2 2 Cable Connector Options for 5 17 Table 3 1 Target Flex Connector Pin Assignment Descriptions 27 Table 3 2 J2 Target Flex Connector Pin Assignment Descriptions 28 Table 3 3 FLEX Cable Connectors 30 Table 3 4 13 MONOS Target Connector Pin Assignment Descriptions 34 Table 3 5 Power Connector P1 Pin Assignment Descriptions 35 Table 3 6 RS 232C Communication Connector P2 Pin Assignment 36 Table 3 7 ABICS Parts 37 Table 4 1 MONOS Target System Connector 41 Table 4 2 MONOS Target System Connector 2 42 Table 4 3 ABICS Jumper Header 52 Table 4 4 Cable Connector Options for MCUs 53 M681CS08AB In Circuit Simulator User s Manual MOTOROLA List of Tables 9 For More Information On This Product Go t
10. 58 Connecting to a Target 58 Glossary Index User s Manual MOTOROLA Table of Contents 5 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Table of Contents User s Manual M68ICSO8AB In Circuit Simulator 6 Table of Contents MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc List of Figures User s Manual M681CS08AB In Circuit Simulator 1 1 2 2 3 1 3 2 3 3 3 4 4 1 M681CS08AB In Circuit Simulator List of Figures 681 508 ABICS In circuit Simulator Board 12 P2 Host Computer to ABICS Interconnection 21 PI Power Connector 555552 uuu VIS 22 PLEX Cable hie REPRE 30 PI POWSPCOHBEGIOL x vds uy E veru Ye Erbe 39 P2 Host Computer to ABICS Interconnection 40 ABICS Board 43 Target System Stand Alone 47 User s Manual MOTOROLA List of Figures 7 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc List of Figures User s Manual M68ICSO8AB In Circuit Simulator 8 List of Figures MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc
11. 2714 H3HASSAV 191 lt mia Said Said tid 1414 151 Hl LOL 2814 oli La 0814 H E 118 lt Fe 8 Y 2 Z 15545 00 LUv 31VQ JequiNjueunooQg 9215 00 LUT 31VQ BONON 2287 VIOYOLOW 1N3SNOO LIM HO NI SYN LOVANNYW HO NOIS3Q ONIH33NION3 9 38 TIVHS V IOHO1O0N NOI LVAHOHNI SNIV LNOO SIH L ductor Inc Freescale Semicon 1 8ONOW 1 Ovid LSH 151 15 0914 191 OVid 191 LOL 158 LNO LSH For More Information On This Product Freescale Semiconductor Inc User s Manual M681CS08AB In Circuit Simulator Section 4 Using the MONOS Interface 4 1 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 5 board s MONOS interface connector Thi
12. pude 5 H hardware installation ee nar L eet dd Dur tees a 9 47 requirements css bebe ni eal RS Eis 8 Specifications hha deta aces yee 8 hotkeys See function keys eaters eee 8 ICDOSSZ adhe 7 deDugPeb eee 6 TCS PWR LBD 123 e aur ora E RS at UE RU aa ee 50 wetter Ba oh Nab one Rad edet es 4 7 In circuit debugging software T In circuit simulator hardware operator s 6 In circuit simulator software operator s manual 6 In circuit stand alone simulator software 7 Integrated development environment IDE software interface 7 L LED ICS ERE ie tue dx IS 50 M NIGSCLEBUDCU usus FLAME pod 6 MC GSHCO0SABS2 o dubi eu x el Qa tee e t a 5 3 17 MC68HC908MR pelea wa 6 MC68HC908RK2 MCU 17 sia Suet Gates a S ku 3 6 7 17 User s Manual 68 5 In Circuit Simulator 68 Index MOTOROLA For More Information On This Product Go to
13. 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 MC68HC908AB22 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 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 MC68HC908AB32 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 st
14. 44 SO TeCOLd od DN DORUM Med 45 termination record m eas et Mt Mops res 45 Lodo b rex ex 42 Standalone s boda sales VR Ne toe eee Hemp ps 3 T target system cables sb advise OPEP WE os 18 aa ete doe Yu aa 3 37 39 CODDeCLOIS o eek e TOR 22 37 ie oi ode e ua pe 3 LU Re d ee ur vi dq 18 MON OSztterface vd M ES MD u IE 37 stand alone mode suu a hiaan EN E ROBO ied Le ris 39 temperature operano eien a tatu kanaa sn euo cuf 8 dev avete Kel 8 cb bn eaque retenus edd pU Sep 6 User s Manual M68ICSO8AB In Circuit Simulator 70 Index MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Index OS e uem 3 IW ANGOWS 9855 5 et De at Rd ate m ERU de dta edet 3 WINTDE oder BER Ce be Adee he eed he 7 WIRIDEZ 2 2322 tero S oom e hy E ets eco dl A 4 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Index 71 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc U
15. For More Information On This Product Go to www freescale com 37 3 4 3 Target MONO8 Interface Connector J3 Freescale Semiconductor Inc Support Information The MONOS interface connector J3 Table 3 4 is used when the MCU is mounted on the target Refer to Section 4 Using the MONOS for detailed information Table 3 4 J3 08 Target Connector Pin Assignment Descriptions ov Schematic Direction Signal Description 1 RST OUT Out Reset signal to target 2 Common 3 RST IN In Reset signal from target 4 RST Out To MCU 5 TGT IRQ Out Interrupt request to target MCU 6 IRQ IN External interrupt request 7 Not Connected 8 Not Connected 9 TGT PTAO Bidirectional General purpose I O 10 PTAO Bidirectional General purpose I O 11 TGT_PTCO Bidirectional General purpose I O 12 PTCO Bidirectional General purpose I O 13 1 Bidirectional General purpose I O 14 PTC1 Bidirectional General purpose I O 15 TGT PTC3 Bidirectional General purpose I O 16 PTC3 Bidirectional General purpose User s Manual M68ICSO8AB In Circuit Simulator 38 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Connector Signal Definitions 3 4 4 Power Connector P1 Pin Assignments 5 Vdc GND Figure 3 2 P1 Power Connector Table 3 5 Powe
16. 1 4 Specifications Table 1 4 summarizes the ABICS hardware specifications Table 1 4 ABICS 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 Vdc 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 User s Manual M68ICSO8AB In Circuit Simulator 16 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08AB In Circuit Simulator Section 2 Preparation and Installation 2 1 Introduction This section provides information and instruction for configuring installing and readying the M68ICSO8AB ABICS for use 2 2 Hardware Preparation This paragraph explains Limitations of the ABICS Configuration of the ABICS Installation of the ABICS Connection of the ABICS to a target system 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 ext
17. directly when the MCU resides on the target hardware M681CS08AB 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 Figure 1 1 68 508 ABICS In circuit Simulator Board The ABICS is a low cost development system that supports editing assembling in circuit simulation in circuit emulation and FLASH memory programming Its features include User s Manual Editing with WINIDE Assembling with CASM08Z Programming FLASH memory with PROGO8SZ Simulating in circuit and stand alone MC68HC908AB32 MCUs with ICSO8ABZ 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 ICDOSSZ including Loading code into RAM M68ICSO8AB In Circuit Simulator 12 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Introduction Executing real time in RAM or FLASH Placing one hardware breakpoint in FLASH Placing multiple breakpoints in RAM On line help documentation for all software Software integrated into the WinIDE environment allowing function key access to all applicat
18. 40 NA 48 PTB5 NA 25 49 5 26 50 PTB6 25 NA 51 PTA4 26 NA 52 M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Support Information 35 For More Information On This Product Go to www freescale com User s Manual Freescale Semiconductor Inc Support Information Table 3 3 FLEX Cable Connectors ICS08AB32 ICS08AB32 Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number GND NA 9 53 PTA3 NA 28 54 NC 27 NA 55 PTA2 28 NA 56 NC NA 29 57 PTA1 NA 30 58 NC 29 NA 59 TGT PTAO 30 NA 60 NC NA 31 61 GND NA 14 62 PTF6 31 NA 63 PTG2 32 NA 64 PTEO NA 33 65 PTG1 NA 34 66 1 33 67 PTGO 34 NA 68 PTE2 NA 35 69 EVDD NA 36 70 PTE3 35 NA 71 GND 36 NA 72 PTEA NA 37 73 GND NA 27 74 5 37 75 GND NA 32 76 PTE6 NA 39 77 GND NA 38 78 7 39 79 M68ICSO8AB In Circuit Simulator 36 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Table 3 3 FLEX Cable Connectors Support Information ABICS Connector Signal Definitions ICS08AB32 ICS08AB32 Target Head Single Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number GND NA 40 80 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Support Information
19. 5 2 First S1 Record The first S1 record is described in Table A 5 User s Manual M68ICSO8AB In Circuit Simulator 52 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 A 5 S1 Header Record i S Record Mu Field Entry Description Tvpe 51 S record type 51 indicating code data record 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 5 BHCC 0161 24 BCC 0163 Code Data 22 12 BHI 0118 22 6A BHI 0172 00 04 24 BRSET 0 04 012F 29 00 BHCS 010D 08 23 7C BRSET 4 23 018C Checksum 2A Checksum of the first 51 record The 16 character pairs shown in the code data field of Table A 5 are the ASCII 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 5 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 Table A 6 S9 Header Rec
20. MC68HC908AB32 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 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 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Glossary 63 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 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 32 In two s complement computer notation positive signed
21. PC RS 232 level translation 3 3 2 M68HC908AB32 MCU The MCU is an MC68HC908AB32 and is available in one package the 64 pin QFP which mounts in a clam shell socket The on board MCU the test MCU simulates and debugs the MCU s interface to its peripherals and to other devices on the target board through a variety of connections Depending on the connection the MCU is used in one of four operating modes nthe ICS socket for programming Inthe ICS socket for simple simulation In the socket and connected to the target for emulation the target for MONOS debug operation 3 3 3 Clocks The ABICS contains 4 1952 MHz crystal oscillator When the remote target connection is made the user may opt to feed the output from the ABICS crystal SP OSC to the external clock input OSC1 of the ABICS via W5 2 pin jumper 3 3 4 Board Reset The ABICS includes two reset sources An output from the POR Power On Reset circuit via the host system software An internal reset exception operation of the processor The host system resets the ABICS by cycling power to most of the ICS circuitry including the POR circuit RS 232 handshake line DTR is used for this purpose M681CS08AB In Circuit Simulator User s Manual MOTOROLA Support Information 27 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information The reset function of the ABICS 15 both an inpu
22. TGT_VREFH In ADC reference voltage 14 Common 15 PTD6 Bidirectional General purpose Timer External Input clock 16 PTDO Bidirectional General purpose I O 17 PTD4 Bidirectional General purpose I O 18 TGT_VDDAREF In ADC Power Supply 19 PTHO Bidirectional General purpose withe key wakeup feature 20 PTD2 Bidirectional General purpose 21 PTB1 Bidirectional General purpose I O 22 PTBO Bidirectional General purpose I O 23 PTB3 Bidirectional General purpose I O 24 PTA6 Bidirectional General purpose I O 25 PTB5 Bidirectional General purpose ADC Channel 26 5 Bidirectional General purpose 27 Common 28 PTA3 Bidirectional General purpose I O 29 Not Connected 30 PTA1 Bidirectional General purpose I O 31 Not Connected 32 Common 33 PTEO Bidirectional General purpose SCI Transmit Data 34 PTG1 Bidirectional General purpose I O with keyboard wakeup feature 35 PTE2 Bidirectional General purpose SCI Transmit Data 36 EVDD In Target supplied power 37 PTE4 Bidirectional General purpose SPI Slave select 38 Common 39 PTE6 Bidirectional General purpose SPI data path 40 Common M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Support Information For More Information On This Product Go to www freescale com 33 Freescale Semiconductor Inc Support Information Table 3 3 FLEX Cable Connectors
23. 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 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 M68ICSO8AB In Circuit Simulator 62 Glossary MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Glossary cycles See CPU cy
24. the 508 software refer to P amp E Microcomputer Systems Inc 681 808 08 In Circuit Simulator Operator s Manual Motorola document order number M68ICSO8SOM D and you may refer to http www pemicro com ics08 index html docs M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 23 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation User s Manual M68ICSO8AB In Circuit Simulator 24 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08AB 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 subsystem consists of MC68HC908AB32 microcontroller clock generation and selection monitor mode control logic that places and holds the ABICS in monitor mode the bus voltage level translation buffers and processor operating voltage variable regulator The on board MCU the test MCU simulates and debugs the MCU s interface to its peripherals and to other devices on the target board through a variety of connections Depending on the connection the MCU is used in one of FOUR operating modes Inthe ABICS socket simple simul
25. www freescale com Freescale Semiconductor Inc Index Three operating 17 NCU SubSySieni o or e TV pe O eiu duci PRX e adea 17 MCU subsystem Board reseta es eoe se ag oed ons e xdi Viu at v faex to 19 Clocks PE ae REMO EV LATE 19 device configuration selection 20 Oe gh tu tbt Leo LIA aua 20 M68FHFIC908RK2 susie eget d SPERO SIT 19 Operating Voltage V eR V aA e de i Du sre add d 21 vartable selector Ge Shae eed PERDERE 21 MCU subsystems board reset Mendes I De SEE 19 memory adum sS a PM i NS 41 System TEQUITEMEMIS Ss Rex ep 8 MONOS eia awa 3 5 7 18 monitor mode 20 monitor mode See also 8 MRICS dens c Cr 6 onsDoard MOU Pe Pu dide ete and 17 Operdt mg Systems cae ig oe ee Ress 8 P amp E Microcomputer Systems Inc M68ICSO8HCOS In Circuit Simulator Op erator s Mantal a oer Ee dae eaedem eds 15 pomt AO TD 10 power regure ments bd 8 PROGUSSZ e Ls de eL 4 7 P
26. www pemicro com ics08 index html docs B 4 Connecting to a Target System User s Manual The two ways to connect the M68ICSO8AB simulator board to a target system are via The flex cable The MONOS cable Connect the simulator board to the target system using one of these methods Using a flex cable When emulating an MC68HC908AB MCU connect the 80 pin M68CBLOSC flex cable provided with the kit to the connectors labeled and 72 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available for the 64 pin QFP versions of the MCU M68ICSO8AB In Circuit Simulator 58 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 e 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 ABICS M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 59 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Quick Start Hardware Configuration Gu
27. 002 INAC 8 SHDNVHO MG lt MOT ASO TOSNAS 49018 2001 0 NOLLd3OX3 JHL NOISIA3H ANSYHND SNOLLVOHIO3dS 3 10 LLLSNI 15 NVOIH3AV Ni SINVOIS TWNOIS MOTIN LOY SALONS dovsn TONAS 9885 LOVANNW SH LH LIM 6 3H L ATINO JONJH HJY HOS SI H3SAFTN I3193NNOO ATTVOIH ID T3 3H V SNOLLVNIHINOO 43 LL91 40 H3 LL313AVS 5 09 SANIT 93 SCVYVAOHOIN SANIWA 3ONV LIOVd VO 966 t l 3H V SHOLSISSY S3 TIVA 3ONV LSIS3H 5 3sIMH3H IO 554110 L SALON For More Information On This Product Go to www freescale com ductor Inc Freescale Semicon For More Information On This Product H 2 8 Jo 19945 31Vg muoprewp3 8 8 JequnNiueunoog 6 00 1 31vd _ NMVug L PNU ZEGV WIOHO LOW 4npo anro Santo anro 30 1N3SNOO 1nO
28. 8AB In Circuit Simulator 54 S Record Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8AB In Circuit Simulator Appendix B Quick Start Hardware Configuration Guide B 1 Introduction This quick start guide explains the Configuration of the M68ICSO8AB in circuit simulator ABICS board Installation of the hardware Connection of the board to a target system There are four methods for configuring the ABICS standalone simulation evaluation and programming Standalone ICSO8MRZ exe is running on the host computer the ABICS is not connected Emulation of the MC68HC908AB32 MCU registers and I O ports is within the host computer environment Simulation Host computer is connected to the ABICS via the RS 232 cable and the ICSO8MRZ exe is running on the host computer This provides access to the MC68HC908AB32 MCU internal registers and ports Evaluation Host computer is connected to the ABICS and the ABICS 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 ABICS and the ABICS 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 evaluatio
29. AB In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 21 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation 2 2 5 Power Connector P1 Connect 5 Vdc power directly to the ABICS via connector J3 Figure 2 2 using the provided power supply 5 Vdc GND Figure 2 2 P1 Power Connector 2 3 Connecting the ABICS ESD CAUTION User s Manual NOTE The following steps provide instructions for connecting the ABICS 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 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 3 through W 10 Table 2 1 on the ABICS for your application b Install an MCU into the appropriate socket for your application onto the ABICS board Note Observe the pin I 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 P2 on the ABICS d Plug the serial cable into the COM port on the host PC St
30. Bidirectional General purpose I O 32 PTG2 Bidirectional General purpose I O with key wakeup feature 33 PTE1 Bidirectional General purpose SCI Transmit Data 34 PTGO Bidirectional General purpose I O with key wakeup feature 35 PTE3 Bidirectional General purpose Timer A Channel 1 36 Common 37 5 Bidirectional General purpose SPI data path 38 Common 39 PTE7 Bidirectional General purpose I O 40 Common Table 3 2 J2 Target Flex Connector Pin Assignment Descriptions No Schematic Direction Signal Description 1 PTC5 Bidirectional General purpose I O 2 PTC4 Bidirectional General purpose I O 3 TGT_PTC3 Bidirectional General purpose I O i wer net 5 1 Bidirectional General purpose 6 PTFO Bidirectional General purpose Timer A Channel 2 7 51 Bidirectional External clock in out 8 PTF2 Bidirectional General purpose Timer B Channel 2 9 Common 10 PTF4 Bidirectional General purpose Timer B Channel 0 11 Common User s Manual M68ICSO8AB In Circuit Simulator 32 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Connector Signal Definitions NS Schematic Direction Signal Description 12 PTF7 Bidirectional General purpose I O 13
31. For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Timing is accomplished through a 4 9152 MHz crystal 1 2 ABICS Components User s Manual The complete ABICS system includes hardware software and documentation Table 1 1 lists the ABICS product components Table 1 1 ABICS Product Components Part Number Description ICS08AB ABICS software development package ICS08ABZ ABICS simulator ICD08SZ ABICS debugger emulator MC68HC908AB32 MCU M68CBL05C Flex target cable KRISTA 22 122 Serial cable FRIWO 11 8999 P5 ABICS Power supply M68ICS08AB ABICS Hardware board M68ICS08SOM D In circuit simulator software operator s manual M681CS08ABUM D In circuit simulator hardware operator s manual M68ICSO8AB In Circuit Simulator 14 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information ABICS Components 1 2 1 ABICS Hardware Table 1 2 lists the ABICS hardware components Table 1 2 Hardware Connector Components Components Description XU1 Test socket for the Motorola MC68HC908AB32 MCU 64 pin QFP quad flat pack Two 2 row x 20 0 1 inch spacing connectors to connect the ABICS to a target using the M68CBLO5C flex cable One 2 row x 8 pin 0 1 inch spacing connector to conne
32. Freescale Semiconductor Inc M681CS08ABUM D 68 508 In Circuit Simulator User s Manual Mj MOTOROLA For More Information On This Product o to www freescale com 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 registered tr
33. H LIM 1HVd NI HO MIN 99 NI ININIYNDOY d NOIS3G qasn LON TIVHS Y OHO1ON NOIL VNHOJNI SNIV LNOO 1N3AIn200 SIH L 27808 SID 158 E gt ecu 27908 LSLA P z r p ou eeu E gt _ VSZLOHPL K azn 27808 z 8v LENL 17508 181 4noisu 4 r LOL T 4 5 d tdl VSZLOHPL ls 0 LEH 1 199 LOW _ 33 158 ISLA g SSA gr 99 140 5 158 151 gt y d 17 zal 07 2 LA Lor gt 191 gt s LX E 1 151 OX rur LM CT lt P 00ld 151 0914 lt yri sn 4 _ ES g 1 SSA r SPINE nioo PT zio 60 zr N 25 X 90 9 ra aa gt ZT rE r repo 29055 r 4 z z r e sor VSECLOHYZ 5
34. N 1 4 W 596 CF R9 R16 R4 R5 34 85 Resistor 1K 5 UNION 1 4 W 596 CF R10 Resistor 1M 596 UNION 1 4 W 5 CF R13 R14 R15 R17 R18 R19 R20 R21 R24 R25 R26 R30 Resistor 10K 596 UNION 1 4 W 5 CF R31 R32 R33 R37 R38 R39 R40 R42 R22 Resistor 2K 596 UNION 1 4 W 5 CF R28 R29 Resistor 470K 596 UNION 1 4 W 5 CF U1 Single Operational Amplifier MOTOROLA MC33172 02 MOTOROLA MC145407 Driver Receiver U5 Cio Qliad e inpul Analog MOTOROLA MC14551 Multiplexer U6 Monolithis WFR Binary Counter MOTOROLA MC74HC4020 U7 Non inverting 3 State Buffer MOTOROLA MC74HC125 W3 Header 3x1 100 3M 2403 6112TG W4 W5 W6 W7 we W9 W10 Header 2x1 100 3M 2402 6112TG XU1 Socket 68HC908AB32FU64 YAMAICHI 1C51 0644 892 Y1 4 9152 MHz Oscillator HOSONIC HO 12C4 9152M XF1 Fuse Clip 5mm Diameter LITTLEFUSE 100 54 21 24 Rubber Adhesive Bumpers SPC TECHNOLOGY 2565 25 210 100 Jumper Shunt 3M 929951 00 User s Manual M68ICSO8AB In Circuit Simulator 42 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Support Information ABICS Board Layout and Schematic Diagrams 3 6 ABICS Board Layout and Schematic Diagrams PuBILSDBuH gi dia is 8 A antil ka a em eil Ira ema Laid d para m
35. 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 M681CS08AB 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 5113002041 900084 42234300182342000824 4952 5107003000144 492 9030000FC In the example the format consists of e An 50 header Four 51 code data records 59 termination record A 5 1 SO Header Record The SO header record is described in Table A 4 Table A 4 SO Header Record S Record 2222 Field Entry Description Type S0 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 Checksum 1B Checksum of 50 record A
36. ack TTL Transistor to transistor logic M681CS08AB In Circuit Simulator User s Manual MOTOROLA Glossary 65 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Vpp The positive power supply to a microcontroller typically 5 volts dc Vss The 0 volt dc power supply return for a 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 MC68HC908AB32 Z Abbreviation for zero a bit in the condition code register of the MC68HC908AB32 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 M68ICSO8AB In Circuit Simulator 66 Glossary MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Index User s Manual M68ICSO8AB In Circuit Simulator Index A ABICS 3 52 es a ettet s e 3 4 ABICS debugger u kel a eee 6 ABICS Hardware board 6 ABICS Power supply oii CAR eds 6 ABICS SImulatOE yu unata s pa hu yam re 6 ABICS software devel
37. ademarks 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 M68ICSO8AB In Circuit Simulator 2 MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor User s Manual M681CS08AB In Circuit Simulator Inc Table of Contents Table of Contents Section 1 General Information 1 1 IntroducttOn 11 12 5 14 1 2 1 ABICS Hardwate Gu ev 15 1 2 2 ICS Interface 15 13 Hardware and Software Requirements 16 Specifications aysa el pA x vss 16 1 5 About This 16 16 Customer 16 Section 2 Preparation and Installation 2 1 Introgductolr 17 2 2____ 17 2 2 1 ABICS Limitations senses 18 2 222 Configuring ABICS Jumper Headers
38. ation Inthe ABICS socket for programming Inthe ABICS socket connected to the target for emulation the target for MONOS debug operation 3 3 ABICS Functional Description NOTE For the following discussion on the theory of operation of the ABICS refer to the schematic diagrams in Paragraph 3 6 Figures 3 5 to 3 11 of this section M681CS08AB In Circuit Simulator User s Manual MOTOROLA Support Information 25 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information 3 3 1 ICS08AB Board The core component of the board is the MC68HC908AB32 MCU The MCU may be plugged in to either the ABICS board or to a target system board for test or evaluation When the MCU resides on the ABICS board the board may be used as an in circuit emulator or simulator for the MC68HC908AB32 For this configuration a low noise flexible target cable is run from the board to the target system The cable Motorola part number M68CBLOS5C is terminated in connectors for target head adapters When the MCU resides on a target system board communication with the MCU is over a 16 pin MONOS cable Motorola part number 01 RE91008W01 Either version of the MCU may be supported when using the MONOS cable When using the ICDOSSZ simulation software MCU provides the required input output information that lets the host computer to simulate code performing all functions except for maintain
39. ation of the MCU CPU registers and I O ports are done within the host computer environment Simulation Host computer connected to the ABICS via the RS 232 cable and ICSO8ABZ exe running on the host computer This provides access to the M68HC 9 08AB MCU internal registers and I O ports User s Manual M68ICSO8AB In Circuit Simulator 18 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation Hardware Preparation Evaluation Host computer connected to the ABICS and the ABICS 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 connected to the ABICS and the ABICS connected to the target system via the MONOS cable if the MCU is resident on the target system Use the PROGOSSZ exe to program the MCU FLASH module In the programming mode there is limited evaluation Eight jumper headers Table 2 1 on the ABICS are used to configure the hardware options CAUTION The ABICS be set to operate at a variety of voltages When configuring the ABICS 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 M681CS08AB In Circu
40. c information on which 5 records are supported by a particular program consult the user manual for the program User s Manual M68ICSO8AB In Circuit 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 Creation NOTE The 508 2 supports only the 50 SI S9 record types All data before the 81 record is ignored Thereafter all records must be 81 type until the S9 record which terminates data transfer An S record format may contain the record types in Table A 3 Table A 3 Record Types Record Type Description S0 Header record for each block of S records The code data field may contain any descriptive information identifying the following block of S records The address field is normally Os 51 Code data record and the 2 byte address at which the code data is to reside 52 58 Not applicable to ICS08ABZ S9 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
41. cles 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 MC68HC908AB32 the data bus 15 8 bits development tools Software or 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 MC68HC908AB32 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 MC68HC908AB32 index register An 8 bit CPU register in the
42. ct to remote target via the MONOS8 debug circuit P1 5 input voltage Vpp P2 RS 232 to interface the ABICS to the host serial connector P3 Power Terminal 1 2 2 ICS Interface Software Windows optimized software components are referred to collectively as the ABICS software part number 508 It is a product of P amp E Microcomputer Systems and 1s included in the ABICS kit Table 1 3 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 CASM08Z command line cross assembler In circuit stand alone simulator software for the MC68HC908AB32 MCU PROGO8SZ EXE FLASH memory programming software ICDOBSZ EXE In circuit debugging software for limited real time emulation M681CS08AB In Circuit Simulator User s Manual MOTOROLA General Information 15 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information 1 3 Hardware and Software Requirements The ABICS software requires this minimum hardware and software configuration Windows 95 or later version operating system Approximately 2 Mbytes of available random access memory RAM and 5 Mbytes of free disk space An RS232 serial port for communications between the ABICS and the host computer
43. e MCU in monitor mod read write iread iwrite readsp readsp and run Each command is echoed back through PTAO for error checking These commands are described in the M681CSOSAB In circuit Simulator Software Operator s Manual 3 3 6 Level Translation The ABICS has an operation voltage range of 3 0 to 5 0 volts while the host development system interface is an RS 232 com port U2 on the ICS converts User s Manual M68ICSO8AB In Circuit Simulator 28 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Functional Description 5 V logic signals to RS 232 levels Transistors Q9 Q10 translate 5 V logic levels to the MCU operating voltage 3 0 5 0 V 3 3 7 ABICS Operating Voltage Variable Selector To provide the ABICS with power input that matches your target environment the ABICS includes a on board regulator The ABICS monitors the user s target system power via the EVDD pin of the FLEX cable EVDD pin is connected to the power supply of the user s target system via the target adapter If the EVDD pin is floated the regulator output 5 0Vdc The on board regulator is activated by the RS 232 handshake line DTR To activate the regulator mannually set jumper W9 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Support Information 29 For More Information On This Product Go to www freescale com Freescale Se
44. eescale com Freescale Semiconductor Inc Using the MONOS Interface User s Manual M68ICSO8AB In Circuit Simulator 48 Using the MONOS Interface MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M68ICSO8AB 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 Record length Memory address Code data Checksum Each byte of binary data is encoded in the S record as a 2 character hexadecimal number 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 Table A 1 S Record Fields Record Type Length Address Code Data Checksum The S record fields are described in Table A 2 M681CS08AB In Circuit Simulator User s Manual MOTOROLA S Record Information 49 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 5 Inf
45. eps e through g should not be completed until all connections to the target are completed Paragraph 2 4 Connect the power cable to P1 on the ABICS board M68ICSO8AB 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 Connecting the ABICS to the Target System f Plug the power cable into an ac power outlet using one of the country specific adapters g The ABICS green power LED lights 2 4 Connecting the ABICS to the Target System Connect the ABICS to the target system using one of these methods Emulating using a flex cable for low noise When emulating connect the 80 pin M68CLBOSC flex cable to the connectors labeled 72 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available Using a MONOS cable to debug the target system NOTE MCU must be installed in the target system No MCU should on the ABICS 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 5 Installing the Software For instructions for installing
46. he In Circuit Simulator User s Manual Using the 16 pin cable provided with the ABICS kit connect one end of the cable to the ABICS 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 ABICS board M68ICSO8AB In Circuit Simulator 46 Using the MONOS Interface MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Using the MONOS Interface Disabling the Target System Interface 4 4 Disabling the Target System Interface To use the target system in a stand alone fashion without the ABICS board connected jumper the pins on the target board s connectors as shown in Figure 4 1 This reconnects the target MCU to the appropriate circuits on the target system P2 2 r P 15 16 P1 Figure 4 1 Target System Stand Alone Connection For production boards a further enhancement of this scheme would be to include cutable traces between the pins of P1 and P2 as shown in Figure 4 1 The traces may be cut when debugging is necessary To return the board to stand alone use jumpers may be installed as shown M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Using the MONOS Interface 47 For More Information On This Product Go to www fr
47. ide User s Manual M68ICSO8AB In Circuit Simulator 60 Quick Start Hardware Configuration Guide MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual 68 508 32 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 MC68HC908AB32 MCU accumulator An 8 bit register of the MC68HC908AB32 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 alphabe
48. ing the port values The internal FLASH EEPROM memory on the device is downloaded with a program that generates the appropriate port values The ICDOSSZ software on the host computer allows the host computer to become a simulator When the ICS requires port data the computer requests the data through the host s serial connection to the core MCU The core MCU responds by sending the data to the host via the serial connection It is this arrangement that allows a real world interface for the in circuit simulator The clock runs the MCU at a 4 9512 external clock rate However note that the simulation speed will be slower than this rate because the host computer is the simulator When using the ICD08SW debugging software code may be run directly out of the MCU s internal FLASH at real time speeds When using the PROGOSSZ programming software the MCU s FLASH EEPROM memory be programmed Socket XU1 supports the 64 pin QFP version of the part The ICSO8AB32 also supports in circuit programming of either version of the part through the MONOS cable User s Manual M68ICSO8AB In Circuit Simulator 26 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Functional Description The ICSO8AB32 board also provides 5 Vdc power 8 0 power for the voltage required to enter monitor mode a 4 9152 MHz clock signal and host
49. ion 2 amp 3 Selects VREFH signal from target as ADC 3 reference high signal W7 1 Jumper on position 1 amp 2 Selects on board Vpp as ADC power supply VDDAREF Jumper on position 2 amp 3 Selects VDDAREF signal from target as ADC Power supply 1 Jumper on position 1 amp 2 Selects on board GND as ADC ground and W8 reference voltage AVSS Jumper on position 2 amp 3 Selects AVSS VREFL signal from target as 3 ADC grpimd amd reference voltage W9 1 No Jumper DTR turns on regulator PWR ON 2 Jumper Disable DTR control board always on User s Manual M68ICSO8AB In Circuit Simulator 56 Quick Start Hardware Configuration Guide For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Quick Start Hardware Configuration Guide Installing the Hardware Jumper Type Header Factory Description No W1 amp W2 Default Shown W10 1 EVDD H No Jumper Pin 1 is target powere used as reference input 2 Jumper Pin 2 is GND 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 MC68HC908AB32 Table 4 4 Cable Connector Options for MCUs MONOS MCU Flex Cable Cable MC68HC908AB32 J1 and J2 J3 B 1 3 Host Computer ABICS Interconnection P2 Connect the DB9 serial cable Connect one end of this cable to your host PC and the other end to con
50. ions MONOS emulation connection to the target system allowing In circuit emulation In circuit simulation In circuit programming Four modes of operation Standalone using the ABICS as a standalone system without a target board Simulation using the ABICS as an in circuit simulator emulator with a target cable Evaluation using the ABICS for real time evaluation of the MCU and to debug user developed hardware and software Programming using the ABICS as a programmer With the 857 debugging software code may be run directly out of the MCU s internal FLASH at real time speeds With the WinIDE CASMOSZ editor simulator and assembler software the function 5 as a limited real time emulator With the PROGOSSZ software the function is to program MCU FLASH memory With the ICSO8ABZ 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 ICS08ABZ software on the host computer lets the host computer become a simulator With using the ICD08SZ debugging software code can be run directly out of the MCU s internal FLASH at real time speeds M681CS08AB In Circuit Simulator User s Manual MOTOROLA General Information 13
51. it 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 Table 2 1 ABICS Jumper Header Description Jumper Type Header Factory Description No W1 amp W2 Default Shown W3 1 Jumper on position 1 amp 2 RST IN from target resets on board ripple Target Reset Select counters and MCU Jumper on position 2 amp 3 ICS RST OUT from RST resets target 1 No Jumper Disconnects OSC1 input to OSC input target adapter Jumper Connects OSC1 input to OSC input of target adapter W5 1 No Jumper Disconnects on board oscillator to OSC1 input of MCU OSC 2 Jumper Selects on board oscillator 1 Jumper on position 1 amp 2 Selects on board Vpp as ADC reference high W6 signal VREFH Jumper on position 2 amp 3 Selects VREFH signal from target as ADC 3 reference high signal W7 1 Jumper on position 1 amp 2 Selects on board as ADC power supply VDDAREF Jumper on position 2 amp 3 Selects VDDAREF signal from target as ADC Power supply Jumper on position 1 amp 2 Selects on board GND Common as ADC 8 common and reference voltage AVSS Jumper on position 2 amp 3 Selects AVSS VREFL signal from target as 3 ADC common and reference voltage W9 1 No Jumper DTR turns on regulator PWR ON 2 Jumper Disable DTR control on board regulator alway
52. miconductor Inc Support Information 3 4 ABICS Connector Signal Definitions The tables in this section describe the pin assignments for the connectors on the ABICS board 3 4 1 Target Flex Cable Interface Connectors J1 and J2 Table 3 1 and Table 3 1 describe the pin assignments for the flexible cable ABICS board connectors J1 and J2 A generic cable Motorola part number 68 05 connects between the ICS module and target adapter s for the different user package targets The FLEX cable has two 2 x 40 0 1 inch center connector P1 P2 at the end which connects to the ICS module At the opposite end it has two 2 x 20 0 5 inch center connector which connects to the target adapter Table 3 3 shows the connectivity between the two ends of the FLEX cable and the usage of the lines in this application 4 Approximately 15 k 5 PIN 80 PIN 41 P1 P2 P3 PIN 1 E Figure 3 1 FLEX Cable User s Manual M68ICS08AB In Circuit Simulator 30 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information ABICS Connector Signal Definitions 3 4 2 Target Flex Cable Interface Connectors J1 and J2 Table 3 1 J1 Target Flex Connector Pin Assignment Descriptions Schematic Direction Signal Descriptio
53. n 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 M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Quick Start Hardware Configuration Guide 55 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 ABICS Configurable Jumper Headers Configure the seven jumper headers on the ABICS for your application according to the tables in this section Table 4 3 ABICS Jumper Header Description Jumper Type Header Factory Description No W1 amp W2 Default Shown W3 1 Jumper on position 1 amp 2 RST IN from target resets on board ripple Target Reset Select counters and MCU Jumper on position 2 amp 3 ICS OUT from RST resets target WA i TGT OSC 1 No Jumper 2 Jumper Connects OSC1 input to OSC input of target adapter W5 1 No Jumper No effect OSC 2 Jumper Selects on board oscillator 1 Jumper on position 1 amp 2 Selects on board Vpp as ADC reference high W6 signal VREFH Jumper on posit
54. n 1 Common 2 TGT IRQ In External interrupt request 3 PTC2 Bidirectional General purpose I O 4 Common 5 TGT_PTCO Bidirectional General purpose 6 PTF1 Bidirectional General purpose TimerA channel 3 7 N C 8 PTF3 Bidirectional General purpose I O 9 VDD Logical chip power supply 10 N C 11 LVDD Voltage supplied by voltage regulator board or target 12 PTF5 Bidirectional General purpose Timer B channel 1 13 PTD7 Bidirectional General purpose I O 14 PTB7 Bidirectional General purpose I O 15 PTD5 Bidirectional General purpose I O 16 PTD1 Bidirectional General purpose I O 17 PTH1 Bidirectional General purpose 18 ME In ADC common amp reference voltage 19 Common 20 Bidirectional General purpose I O 21 PTB2 Bidirectional General purpose I O 22 PTA7 Bidirectional General purpose I O 23 PTB4 Bidirectional General purpose I O 24 Common 25 PTB6 Bidirectional General purpose I O 26 PTA4 Bidirectional General purpose I O M68ICSO8AB 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 NS Schematic Direction Signal Description 27 Not Connected 28 PTA2 Bidirectional General purpose I O 29 Not Connected 30 TGT_PTAO Bidirectional General purpose 31 PTF6
55. nector P2 on the ABICS board B 2 Installing the Hardware M681CS08AB In Circuit Simulator For installing Motorola development tools the following steps provide installation instructions for the ABICS hardware To prepare the ABICS for use with a host PC 1 Install an MCU into the M68ICSOSAB board Install an MCU provided with the ABICS package into the M68ICSO08AB board in the appropriate socket observing 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 2 Connect the board to the host PC 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 Locate the 9 pin connector labeled P2 on the board Using the cable provided connect it to a serial COM port on the host PC Apply power to the board Connect the 5 volt power supply to the round connector on the board P1 Plug the power supply into an ac power outlet using one of the country specific adapters provided The ICS power LED on the board lights B 3 Installing the Software For instructions for installing the 508 software refer to P amp E Microcomputer Systems 681 808 08 In Circuit Simulator Operator s Manual Motorola document order number M68ICSO8SOM D and you may refer to http
56. 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 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 MC68HC908AB32 CPU recognizes 210 unique 8 bit opcodes that represent addressing mode variations of 62 basic instructions 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 M68ICSO8AB In Circuit Simulator 64 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 MC68HC908AB32 program counter The CPU register that holds the address of the next instruction or operand that the CPU will use
57. o www freescale com Freescale Semiconductor Inc List of Tables User s Manual M68ICS08AB 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 M681CS08AB In Circuit Simulator 1 1 Introduction Section 1 General Information This section provides general information about the Motorola M68ICSO8AB in circuit simulator ABICS Figure 1 1 The ABICS board 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 MC68HC908AB32 microcontroller MCU The ABICS 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 ABICS can interface with any IBM Windows 959 based computer or later version through connection of a single RS 232 serial port using a DB 9 serial cable Connection to the target system is accomplished by a ribbon cable a Motorola M6CLBOSC flex cable or a MONOS cable The flex cable is used when MCU is resident on the ABICS for emulation or simulation and the 08 cable is used to debug or program a target system s MCU
58. ok IO zo lo T T nota 1 54 as A Idd S Wh Edi 159 LSLA _ 01D LOW 680 HO193NNOO ano gr aan ERZ T uid g Xu 50 oF or ext sia LUN HL ote ax Lod 7 2 9 20 rer ofz oxa ge adrer r n E p ovla ru 9 M orx OH 1S1 TOZ gj ano zo via o 25 SSA i zo IN 245 E ved LOL Ate n zo Scd _____ _____ H 5 8 For More Information On This Product H 9 3 Y a 2 8 Z 19908 31vd iuo prewp3 aa ouddv 8 8 J quny u wnoog 9215 31vd H O OSO cegv Y IOHO 10N mL 30 LNSSNOO 1nOH LIM 1HVd NI HO NI SYN LOVANNYW HO LNANSYNDOYd NOISSC ONIH33NION3 9 38 TIVHS V IOHO1O0N NOI LVAHOHNI SNIV LNOO SIH L ductor Inc Freescale Semicon
59. opment package 6 ABICS Theory of 17 ASCII characters 24 Vence de we lees e hls EN ek de 46 C cables FLEX target CODnBeCLOIS scetur werben ha wie 22 CASMOSZ xci Debut i etie bbw 4 7 cheeksum ioi LS TOR uve Eu eu kue q E WR 41 command line 5 7 communications 10 D debuggers ICD08SW deSPHDUOIL coat exu FERE RM MENS 4 MONOS anterface x e ze eU npe RH 37 drive eso ate hU FE Kis ike s Ode ened 8 E See e eR br e p et 5 examples oret pee sega iste Ld 43 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Index For More Information On This Product Go to www freescale com 67 Freescale Semiconductor Inc F FLASH memory 55526 t Qa Seek p e pex PE 5 18 FLASH memory programming software 7 6 3 flex target cable ew ee 6 Pour modes of operation 5
60. ord S Record ior Field Entry Description Type S9 S record type S9 indicating a termination record M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA S Record Information 53 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 5 Information Table A 6 S9 Header Record S Record MET Field Entry Description Record 03 Hexadecimal 04 indicating three character pairs Length three bytes follow Address 4 character 2 byte address field zeroes Code Data There is no code data in an S9 record Checksum FC Checksum of S9 record 5 4 ASCII Characters Each printable ASCII character in an S record is encoded in binary Table A 5 gives an example of encoding for the 51 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 51 record in Table 5 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 013 0 3 0 3 0 3 2 3 8 3 5 4 61 3 21 4 1 0101 0011 0011 0002 0011 0002 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 M68ICSO
61. ormation Table A 2 S Record Field Contents Field Characters Type 2 S record type 50 51 etc Record 2 Character pair count in the record excluding the Length type and record length Address 4 6 or 8 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 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 LE NULL Additionally an 5 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 specifi
62. r Connector P1 Pin Assignment Descriptions Signal 1 vec 5 VDC POWER Input voltage 5 Vdc 1 0 A from the provided power supply used by the ABICS logic circuits 2 GND Common 3 GND Common M68ICSO8AB 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 4 5 Host Computer ABICS Interconnection P2 The host computer to ABICS interface is via the single system connector P2 Figure 3 2 which is a 9 pin D type connector Amp part number AMP 9726 A Table 3 7 Connection requires the cable assembly supplied with your ABICS kit a DB9 male to female 6 ft 3 m long serial cable RXD 2 TXD 3 DTR 4 GND 5 Figure 3 3 P2 Host Computer to ABICS Interconnection Table 3 6 RS 232C Communication Connector P2 Pin Assignment Descriptions 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 Input for receiving on line in service active status from the DTE device 5 GND Common User s Manual M681CS08AB In Circuit Simulator 40 Support Information MOTOROLA For More Information On This Product Go to www freescale com 3 5 Parts List Freescale Semicond
63. remely 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 M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 17 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation 2 2 1 ABICS Limitations These sub paragraphs describe system limitations of the ABICS 2 2 1 1 Port AO Port AO is used for host to MCU communications so it is unavailable for emulation 2 2 1 2 DDRA Bit 0 to 1 Setting DDRA bit 0 to 1 will stop communications with the simulation or debugger software and will require a system reset to regain communication with the MCU 2 2 1 3 Port bits PTC1 and Port bits PTC1 and PTC3 are temporarily disconnected from the target system during reset 2 2 1 4 signal RST signal is limited because the signal is not a bidirectional open drain signal It is emulated as either an input or output when using the target connectors or as two pins one input and one output when using the MONOS cable 2 2 2 Configuring ABICS Jumper Headers The ABICS supports four configuration options standalone simulation evaluation and programming Standalone ICSO8ABZ exe running on the host computer the ABICS is not connected Emul
64. rface Connectors and J2 30 Target Flex Cable Interface Connectors and J2 31 Target MONOS Interface Connector 73 38 Power Connector Pin 5 39 Host Computer ABICS Interconnection P2 40 Parte Asti ate oe ma E de n 41 ABICS Board Layout and Schematic Diagrams 43 Section 4 Using the MONO8 Interface Introduction u dimen GARY 45 Target System Header Placement and 45 Connecting to the In Circuit Simulator 46 Disabling the Target System 47 Appendix A S Record Information Introductio Rex re pes 49 S Record Contents zaa ives S ewe ME 49 SsKecord S 50 S Record Creato ee ees peeing ENS 51 SsRecord wee dy 51 M68ICSO8AB In Circuit Simulator 4 Table of Contents MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Table of Contents Appendix B Quick Start Hardware Configuration Guide B 1 B 2 3 4 M681CS08AB In Circuit Simulator Introductio tees RON 55 Installing the 57 Installing the Software
65. ropramining EGG Ee 5 R RAM AU opua d otis eL et b a d d es 4 8 record lengthi 41 cuo du v REDI NC ae CET 4 relative h midity sn gas NUR PERS 8 M68ICSO8AB In Circuit Simulator User s Manual MOTOROLA Index 69 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc requirements Ware dies fu c ot 8 liostcompulet ier EY duci 8 operating Systems cows iux Paci 8 BRA IS RE E EN LA DUE VENUE D MS 8 RS232 serial port 8 S S eos teo e T d uter ve ai o pn E ESI 41 46 v UM Re US Were fure 20 Serial 6 serial port CODDeetOE o od RUE e tor este qu ees IU da TUE 49 o E CI m bad specifications 8 S record wir m 41 LN eMe 43 field E eI REDE 41 pM EE 41 OVeEVIeW ba bk hue 41 SO TECOLG Ge NR ALS dede 44 DECOR 2 ds is dub bus at sn
66. s on On board regulator reference input W10 1 a EVDD No Jumper Pin 1 target power used as reference input Jumper Pin 2 is GND Common User s Manual M68ICSO8AB In Circuit Simulator Preparation and Installation For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Preparation and Installation Hardware Preparation 2 2 3 Target Interface Connection Options There are two ways to connect the ABICS simulator board to your target system Flex cable low noise target interface connection MONOS cable target interface connection with MCU FLASH programming and limited emulation Table 2 2 is a quick reference for defining the cable connector setup to use with the ABICS Refer to Section 3 Support Information for pin assignments and signal definition Table 2 2 Cable Connector Options for MCUs MONOS MCU Flex Cable Cable MC68HC908AB32 J1 and J2 J3 2 2 4 Host Computer ABICS Interconnection P2 The host computer to ABICS interface is via the single system connector P2 which is a 9 pin D type connector Amp part number AMP 9726 A Figure 2 1 mounted on the top side of the board Connection requires the cable assembly supplied with your ABICS kit a DB9 male to female 6 ft 3 m long serial cable RXD 2 TXD 3 DTR 4 GND 5 Figure 2 1 P2 Host Computer to ABICS Interconnection M681CS08
67. s 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 16 pin header such as Berg Electronics part number 67997 616 P2 1 header such as Berg Electronics part number 68001 601 Table 4 1 and Table 4 2 show the target system interconnections for and P2 Table 4 1 8 Target System Connector P1 Pin 68 508 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 Connect to RST pin and P1 1 No other target system 3 id logic should be tied to this signal It will swing from 0 to 7 5 Vdc 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 IRQ Gutto target tied to this signal It will swing from O to 7 5 Vdc 7 NC 8 NC M68ICS08AB 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 MONO8 Interface Table 4 1 MONOSG Target System Connector P1 Continued
68. ser s Manual M68ICSO8AB In Circuit Simulator 72 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 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
69. 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 Equal Opportunity Affirmative Action Employer How to reach us USA EUROPE Locations Not Listed Motorola Literature Distribution 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 RMFAX0 email sps mot com http sps motorola com mfax TOUCHTONE 1 602 244 6609 US and Canada ONLY 1 800 774 1848 HOME PAGE http motorola com sps Mfax is a trademark of Motorola Inc Motorola Inc 2000 Mj MOTOROLA 681 508 For More Information On This Product Go to www freescale com
70. t and an output The ABICS drives its reset pin low after encountering several different exception conditions W3 is provided to allow you to select whether the target system may reset the MCU on the ABICS or whether the target system receives a reset signal from the ABICS RST 5 not a bidirectional open drain signal at the target connectors Removing the jumper leaves RST_IN signal pulled up to THE MCU operating voltage 3 3 5 Device Configuration Selection The operation mode of the ABICS processor is selected at the rising edge of the RESET signal The ABICS requires that the processor operate in monitor mode To set monitor mode operation the IRQ line to the ABICS is level shifted to apply to the processor on the rising edge of reset is a signal name that is specified as minimum V py 2 5 V and maximum 8 V with the highest of 3 3 V yielding a range of minimum 5 8 V and maximum 8 V The ABICS RST pin is the main mode select input and is pulled to logic 0 then logic 1 processor Vpp to select the MCU monitor mode The host software must communicate security bytes to the MCU to resume execution out of reset Communication to the monitor ROM is via standard non return to zero NRZ mark space data format on PTAO The MCU maintains monitor mode and disables the COP module through continued application of on either IRQ or RST Six commands may be issued by the host software in control of th
71. tic 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 debugger program A breakpoint is established at the desired address by temporarily substituting a software interrupt SWD 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 M681CS08AB In Circuit Simulator User s Manual MOTOROLA Glossary 61 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual C An abbreviation for carry borrow in the condition codes register of the MC68HC908A 32 When adding two unsigned 8 bit numbers the C bit is set if the result is greater than 255 SFF CCR An abbreviation for condition code register in the MC68HC908AB32 The CCR has five bits 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
72. uctor Inc Table 3 7 ABICS Parts List Sheet 1 of 2 Support Information Parts List 1 Description Manufacturer Part Number C1 Capacitor 100pF AEC Z5U 101 C2 C4 C17 Capacitor 10uF Truth 85C 80 2096 C5 C6 C9 C10 C11 C13 C14 C15 Capacitor 0 1 uF AVX SR215E104MAA C16 C18 C12 Capacitor 001uF ceramic AEC Z5U 102 D1 1A 20V Schottky Rectifier MOTOROLA 1N5817 D2 S Voltage MOTOROLA SA 5 0 D3 D4 D5 D6 D9 D10 D11 D12 Diode SEMTECH 1N4148 D13 014 D7 LED KINGBRIGHT L 934YD D8 LED KINGBRIGHT L 934GD F1 FUSE BUSSMAN GMA 1 5A 250V J2 J1 Header 2x20 200 Target Head MOBICON PHDS 40G1 J3 Header 2x8 100 08 MOBICON PHDS 16G1 P1 Power Jack WEALTH DS 210A P2 Connector DB9 MOBICON DB9SR P3 Power Terminal RDI 25 02 Q1 Q2 Q8 Transistor PNP MOTOROLA d Q3 Q5 Q6 Q7 Q9 Q10 Q11 Q12 Q13 Transistor NPN MOTOROLA BC547B Q15 Q14 Transistor NPN MOTOROLA MPS2369A R1 resistor 0 1R 5 UNION M681CS08AB 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 7 ABICS Parts List Sheet 2 of 2 Reference AM Designator Description Manufacturer Part Number 2 R7 8 Resistor 100K 5 UNIO
Download Pdf Manuals
Related Search
Related Contents
Samsung Galaxy A5 Εγχειρίδιο χρήσης シリーズ - アラクサラネットワークス株式会社 Rounds Tracker User Manual INSTALLATION MANUAL - Heronhill Air Conditioning Ltd DE Bedienungsanleitung EN Operating Instructions FR Mode d Teledyne Outdoor Gas Burner Infrared Gas Analyzer User's Manual Mapa del sistema: Vista inferior PCAN-LIN - User Manual - PEAK Samsung Galaxy J1 Bruksanvisning Weider WEEMBE3922 User's Manual Copyright © All rights reserved.
Failed to retrieve file