Home

M68ICS08JB In-Circuit Simulator User`s Manual

image

Contents

1. be 027 oso sol 020 d yovr HMd V69EZSAN 027 ER 10 ZHIN9 _ H 128 ETE eze osonow 4 T ei DO ano SE N33HO F r O 037 emt osvs E y a 10 za id nro 80 E 19 MOTIZA F k _ 39 ON 037 E ER ni ERD TWNINH3I HMd 066 ER vr _ P TX dan non va Su vO ECH zu id o JR 12 ez EP T E T T l LN zi Idi 9068NZ asna E 90 ld no m u 210 lt L Day GGA sor ada sor ada aga 680 HO103NNOO gt M S THNOd EVER SE UD LOYS LOW Aa o ano 99 ker o 80 o E ala GEZ soa T 0908 m ES oy I o cu gri ext sia E EXT ot o ZXY zoa fo 47908 z axuod FI nro za 9 gt P m op sou zia lt k 0010 5 Jeun L DH 100 rer IN A ei D Ha NOA NIA st ZOVO0S62d 1 e 9n E SSA T ML NC AOL sor ada AE Y 19 anor ERD anol zo ST 9 i d e oz L ory M in 3001 19 Noe 3001 L y aga 89 aga Day ad n in n 1l L n ll n n n 11 n ll i l i i I i In H H For More Information On This Product Go to www freescale com Inc Freescale Semiconductor Z 6 10046 8 8 ed Jequmwiueumoog aig SOldf 10 nus yonuro ul gar E b reg onu L fate zs m JI 30110 v nto anyo anyo gt z lt VIOHOLOM yy pro sent A SO 00 7 eri L x yy J SOI 203 9203100000 Buyrdnooeq ela 7928 Scu C 20 HN ERST T dan sor aga fo y Jur der t u Ol INTISIA
2. 59 Bi Connecting to a Target System 59 BA Installing the Software 60 Glossary Index M681CS08JB 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 Table of Contents User s Manual M681CS08JB 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 M681CS08JB In Circuit Simulator Table 1 1 2 1 2 2 3 1 3 2 3 3 M681CS08JB In Circuit Simulator List of Figures Figure Page M68ICS08JB In Circuit Simulator Board 10 P2 Host Computer to JBICS Interconnection 21 PL Power Connector loe REN 21 PI Power Conn ctor Piti qu ear act un s oet Isi ua TAN 40 P2 Host Computer to JBICS Interconnection 41 JBICS Board Eayout ws ssw paya xx EXER NIS UE s 44 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 M681CS08JB 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 M681C
3. 02 88 8060H89 00310 y 0 83 1d Le Gm 0HO L 131d 0010 bald 0010 9 001d 2090 0910 P 1980 1090 LVEWLV1d Ee IVN 1d ssa H 9089 10 PA PVY 1d Bain TS 93H now 8086 10 ZvY 1d WELW Ld Sul Hr Cu OWEWOW 1d 188 hz 1SH D 0 sor ad 8ZM089r8069H89 9010 9010 7010 00310 ker 6010 06310 Loy vald 2010 IHOL 231d ZZ 3Ld 1010 0HOL I31d 231d 0010 X101031d gt tats 001d zoso 1080 fs 1980 VOWLV LA IVN 1d ssa H 9089 10 PPA hvMT WINY Ld Bain L 93H now EVBjEV 1d VOWZW 1d IYD Vid Ou rer Cu OWEWOW 1d 188 hz 1SH E gt 20010 lt gt 20010 gt 2 0010 o Sol GGA 0310 For More Information On This Product Go to www freescale com jo 9 19945 Aen JequnwNjueumoog 0216 SOldf 018 nus HD u gar enl Inc Freescale Semiconductor VIOHOLOMW yy enoo Im L E z A 194 4 M9 M 7319 131d ou 191 0019 6010 Sid 9010 Wid 231d 7010 Sold zoa 2010 11 0010 191 Zaid idid 7810 081d 1819 4 938 now qqA 191 O Sor adn 001d 831d Told 7010 60319 60
4. E qqA 191 Bain T 938 now 2090 1980 2 Tp 1080 161 SSA T er 20010 20010 0310 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information User s Manual M681CS08JB In Circuit Simulator 48 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB 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 JBICS 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 Pj 16 pin header such as Berg Electronics part number 67997 616 P2 I pin header such as Berg Electronics part number 68001 601 Table 4 1 and Table 4 2 show the target system interconnections for P1 and P2 Table 4 1 MON08 Target System Connector P1 Pin M681CS08JB8 No 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 ground Vas 3 RST IN In from target Connect to all lo
5. Freescale Semiconductor ejoeidecay g seues gen Go to www freescale com For More Information On This Product aNd D a a SPPA LX vd 20090 L z SM Sat Zed 93H qqA Y vvaJ8ar8069H89 4910 aw31d Old rr 5918 06310 LE v3ld 06 er T 991d Sold IHO L 231d 3Ld 62 92 Sold go 019 0HOL 131d TT 231d fold 6010 MOLL bald 60108 2910 z 0310 201d ELE RET oT LO Ld 001d 4010 001d YT 9014 EL Zaid 00 9010 901d 10 4810 vald SQLd Zaid t loai sald LU raid 8t 6 981d 9810 20104 SOL 6 8 Said SET vard 1014 201d raid 88104 00104 LOL g1d TY 2914 EJ 0010 E 291d EN 1910 tald 08d 2090 Lee 081d s 1980 1980 0800 10 ao gt foe 9VED 9V Ld SSA por SVEW SV 1d PPA PVEWPVLd Ban E 934 NOW EVONEVLd ZVOWZVLd TVOW LV Ld Ou EH OVED OV 1d isH 1SH ix lt gt ab BH lt ab 20010 20810 L7olv1d 20010 0310 I ll Ll 1 l l D l D l s l 1 l 1 1 i l a L H jo S ES nou JequnwNjueumoog 0216 SOldf 018 nus HD u gar enl Inc Freescale Semiconductor anyo jnro anyo 919 Sio vlo sol GOA
6. Support Information RST is not a bidirectional open drain signal at the target connectors Removing the jumper leaves the RST IN signal pulled up to MCU operating voltage 3 3 4 Device Configuration Selection The operation mode of the JBICS processor is selected at the rising edge of the RESET signal The JBICS requires that the processor operate in monitor mode To set monitor mode operation the IRQ line to the JBICS is level shifted to apply V yy to the processor on the rising edge of reset Vyy is a signal name that is specified as minimum V pp 2 5 V and maximum 8 5V with the highest Vpp of 5V which gives a range of minimum 7 5V and maximum 8 5V The JBICS RST pin is the main mode select input and is pulled to logic 0 then logic 1 processor Vpp to select 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 V yyy on either IRQ or RST Six commands may be issued by the host software in control of the MCU in monitor mode read write iread iwrite readsp and run Each command is echoed back through PTAO for error checking These commands are described in the M681CSOSJB IN circuit Simulator Software Operator s Manual 3 3 5 Level Translation The JBICS has two
7. NOTE For more detailed information on the MONOS refer to Section 4 of this manual 2 5 Installing the Software For instructions for installing the ICS08 software refer to P amp E Microcomputer Systems Inc M6SICSOSHCOS 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 User s Manual M681ICS08JB In Circuit Simulator 26 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB In Circuit Simulator Section 3 Support Information 3 1 Introduction This section includes data and information that can be useful in the design installation and operation of your application 3 2 MCU Subsystem The MCU subsystem consists of the MC68HC908JB8 microcontroller clock generation and selection monitor mode control logic that places and holds the JBICS 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 three operating modes Inthe JBICS socket for simple simulation nthe JBICS socket for programming nthe JBICS socket connected to the
8. These sub paragraphs describe system limitations of the JBICS Port AO is used for host to MCU communications so it is unavailable for emulation Setting DDRAO in the Data Direction Register 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 PTA1 PTA2 and PTAS 2 2 1 4 RST signal Port bits PTA1 PTA2 and PTA3 are temporarily disconnected from the target system during reset 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 MONO8 cable 2 2 2 Configuring JBICS Jumper Headers User s Manual The JBICS supports four configuration options standalone simulation evaluation and programming Standalone ICSO8JBZ exe running on the host computer the JBICS is not connected Emulation of the MCU CPU registers and I O ports are done within the host computer environment Simulation Host computer connected to the JBICS via the RS 232 cable and ICSO8JBZ exe running on the host computer This provides access to the M68HC908JB8 MCU internal registers and I O ports M681CS08JB In Circuit Simulator 20 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Pr
9. For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information User s Manual M681CS08JB In Circuit Simulator 18 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB In Circuit Simulator Section 2 Preparation and Installation 2 1 Introduction This section provides information and instruction for configuring installing and readying the M681CS08JB JBICS for use 2 2 Hardware Preparation This paragraph explains Limitations of the JBICS Configuration of the JBICS Installation of the JBICS Connection of the JBICS 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 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 M681CS08JB 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 JBICS Limitations 2 2 1 1 Port Bit PTAO 2 2 1 2 DDRAO
10. VTST INT and VTST RST voltage required to enter monitor mode a 6MHz clock signal and host PC RS 232 level translation When using the ICD08SZ debugging software your code can be run directly out of the MCU s internal FLASH at real time speeds 3 3 2 Clock Selection The JBICS contains a 6 MHz crystal oscillator Figure 3 3 When the remote target connection is made the user may opt to feed the output from the JBICS crystal MCU OSC to the external clock input OSC1 of the JBICS via W4 a 2 pin shunt Figure 3 7 3 3 3 Board Reset The JBICS includes two reset sources An output from the Power On Reset POR circuit via the host system software Aninternal reset operation of the processor The host system resets the JBICS Figure 3 14 by cycling power to most of the ICS circuitry including the POR circuit RS 232 handshake line DTR is used for this purpose The RESET function of the JBICS is both an input and an output The JBICS drives its RESET pin low after encountering several different exception conditions W3 Figure 2 7 is provided to allow you to select whether the target system can reset the MCU on the JBICS jumper between pins 1 and 2 or whether the target system receives a reset signal from the JBICS jumper between pins 2 and 3 M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information 29 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc
11. 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 AR are registered trademarks of Motorola Inc Motorola Inc is an Egual Opportunity Affirmative Action Employer How to reach us USA EUROPE Locations Not Listed Motorola Literature Distribution P O Box 5405 Denver Colorado 80217 1 303 675 2140 or 1 800 441 2447 Customer Focus Center 1 800 521 6274 JAPAN Motorola Japan Ltd SPS Technical Information Center 3 20 1 Minami Azabu Minato ku Tokyo 106 8573 Japan 81 3 3440 8573 ASIA PACIFIC Motorola Semiconductors H K Ltd Silicon Harbour Centre 2 Dai King Street Tai Po Industrial Estate Tai Po N T Hong Kong 852 26668334 Mfax Motorola Fax Back System RMFAX0 email sps mot com http sps motor
12. 3 6 GND 4 NA 7 OSC1 3 NA 8 PTBO NA 6 9 GND NA 5 10 PTDO 6 NA 11 PTB3 5 NA 12 PTD1 NA 8 13 PTB4 NA 7 14 PTD2 8 NA 15 PTB5 7 NA 16 NC NA 10 17 GND 19 NA 18 NC 10 NA 19 PTB6 9 NA 20 NC NA 12 21 PTB7 NA 11 22 NC 12 NA 23 TGT_RST 11 NA 24 GND 24 NA 25 TGT_PTAO NA 13 26 M681CS08JB In Circuit Simulator 36 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Support Information JBICS Connector Signal Definitions ICS08JB8 ICS08JB8 Target Head Signal Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number P3 NC 14 NA 27 TGT PTA1 13 NA 28 NC NA 16 29 TGT PTA2 NA 15 30 NC 16 NA 31 TGT PTA3 15 NA 32 NC NA 18 33 PTC7 NA 17 34 NC 18 NA 35 PTC6 17 NA 36 NC NA 20 37 PTC5 NA 19 38 NC 20 NA 39 GND 38 NA 40 NC NA 21 41 PTC4 NA 22 42 NC 21 NA 43 PTEO 22 NA 44 NC NA 23 45 PTE2 NA 24 46 NC 23 NA 47 GND 40 NA 48 NC NA 25 49 PTA4 NA 26 50 NC 25 NA 51 PTA5 26 NA 52 GND NA 9 53 146 NA 28 54 M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information For More Information On This Product Go to www freescale com 37 User s Manual Freescale Semiconductor Inc Support Information ICS0
13. MCU 13 PTA6 1 0 I O Port from MCU 14 PTA5 UO I O Port from MCU User s Manual M681CS08JB In Circuit Simulator 40 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information JBICS Connector Signal Definitions NS Schematic Direction Signal Description 15 PTA4 UO I O Port from MCU 16 PTA3 UO I O Port from MCU 17 PTA2 UO I O Port from MCU 18 PTA1 UO I O Port from MCU 19 PTAO UO I O Port from MCU 20 TGT RST 1 0 Logic level reset W3 determines if this signal is an input or an output 3 4 4 Target MONOS Interface Connector J5 Pin Assignments The MONOS interface connector J3 Table 2 6 is used when the MCU is mounted on the target Refer to Section 4 Using the MONOS for detailed information Table 3 6 J3 MONO8 Target Connector Pin Assignment Descriptions n Schematic Direction Signal Description 1 RST OUT Out Reset signal to target 2 GND 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 N C 8 N C 9 TGT PTAO Bidirectional General purpose I O 10 PTAO Bidirectional General purpose I O M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information 41 For More Information On This Product Go to www fre
14. O 27 N C M681CS08JB In Circuit Simulator User s Manual MOTOROLA For More Information On This Product Support Information Go to www freescale com 33 Freescale Semiconductor Inc Support Information NS Schematic Direction Signal Description 28 PTA7 Bidirectional General Purpose I O 29 N C 30 PTD6 Bidirectional General Purpose I O 31 N C 32 PTD7 Bidirectional General Purpose I O 33 N C 34 PTC3 Bidirectional General Purpose I O 35 PTD4 Bidirectional General Purpose I O 36 PTC1 Bidirectional General Purpose I O 37 PTE3 Bidirectional General Purpose I O 38 GND 39 PTCO Bidirectional General Purpose I O 40 GND Table 3 2 J2 Target Flex Connector Pin Assignment Descriptions i Schematic Direction Signal Description 1 MCU REG Out 3 3V output of on chip voltage regulator 2 TGT VDD lO E Et settings determine if signal is 3 N C 4 PTB1 Bidirectional General Purpose l O 5 GND 6 PTBO Bidirectional General Purpose l O 7 PTB4 Bidirectional General Purpose l O 8 PTD1 Bidirectional General Purpose l O 9 GND 10 N C 11 PTB7 Bidirectional General Purpose I O 12 N C User s Manual M681CS08JB In Circuit Simulator 34 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Support Information JBICS C
15. O Port from MCU 15 TGT IRQ 1 0 Interrupt Request from Target 16 PTD6 UO I O Port from MCU 17 PTD5 UO I O Port from MCU 18 PTA7 UO I O Port from MCU 19 PTA6 UO I O Port from MCU 20 PTA5 UO I O Port from MCU 21 PTA4 UO I O Port from MCU 22 PTA5 UO I O Port from MCU M681CS08JB 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 lt Schematic Direction Signal Description 23 PTE0 UO I O Port from MCU 24 PTA3 UO I O Port from MCU 25 PTA2 UO I O Port from MCU 26 PTA1 UO I O Port from MCU 27 PTAO UO I O Port from MCU 28 TGT RST 1 0 Logic level reset W3 determines if this signal is an input or an output 3 4 3 J4 DIP Connector Pin Assignments Table 3 5 J4 Connector Pin Assignments Ne Schematic Direction Signal Description 1 GND Gound MCU ground 2 TGT_OSC1 UO Clock Signal ICS08JB jumper settings determine if signal is an input or an output W4 3 None None None 4 MCU REG Output 3 3V ouput of the on chip voltage regulator 5 TGT VDD 1 0 5V ICS08JB jumper settings determine if signal is an input or and output W2 6 PTDO UO I O Port from MCU H PTE1 UO I O Port from MCU 8 PTES UO I O Port from MCU 9 PTE4 UO I O Port from MCU 10 PTCO UO I O Port from MCU 11 TGT_IRQ 1 0 Interrupt Request from Target 12 PTA7 UO I O Port from
16. eat AAA A PEE IA PEEL Ee s 17 SLODdge c cii u eee x RE EE AA CURE RC RE 17 W AVIDdOWS OS cyte ara LE pos sa CLR etat Rus cite HE e e rt 11 Windows 98 c e esr eedqexwudba bez Weste xk EY eee 11 WIIDES 2 NE A upp A p u A E au um 12 descriptions is oak c uquyuq rn LE XAR ERES CARCER LARES 16 User s Manual M681CS08JB 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 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
17. 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 debugger program A breakpoint is established at the desired address by temporarily substituting a software interrupt SWI instruction for the instruction at that address In response to the SWI control is passed to a debugging program byte A set of exactly eight binary bits M681CS08JB In Circuit Simulator User s Manual MOTOROLA Glossary 61 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc C An abbreviation for carry borrow in the condition codes register of the MC68HC908GR8 When adding two unsigned 8 bit numbers the C bit is set if the result is greater than 255 FP CCR An abbreviation for condition code register in the MC6
18. to JBICS 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 JBICS 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 JBICS Interconnection 2 2 5 Power Connector P1 Connect 5 Vdc power directly to the JBICS via connector P1 Figure 2 2 using the provided power supply 5 Vdc GND Figure 2 2 P1 Power Connector M681CS08JB 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 2 2 6 USB Connector The USB connector is directly connected to the MCU USB interface through the USB data pins D and D If the development starts without the target board the user can connect the USB interface to the host by using a USB standard detachable cable Series A plug to Series B plug In this case a shunt should be place in the jumper W3 to connect the 1 5Kohm pull up resistor Refer to Section 3 Support Information for pin assignment information User s Manual M681CS08JB In Circuit Simulator 24 Preparation and Installation MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Prepa
19. to the target system using one of these methods Emulating using a flex cable for low noise connection M681CS08JB In Circuit Simulator User s Manual MOTOROLA Preparation and Installation 25 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Preparation and Installation When emulating connect the 80 pin M68CLBOSC flex cable to the connectors labeled J1and J2 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available Emulating using a 20 pin DIP emulation cable When emulating connect the 20 pin DIP cable to the connector labeled J4 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Target head adapters are available Emulating using a 28 pin DIP emulation cable When emulating connect the 28 pin DIP cable to the connector labeled J3 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 An MCU must be installed in the target system No MCU should on the JBICS Connect the MONOS debug interface cable to the appropriate MONOS debug interface connector J5 for communication with the target system s MCU Attach the other end of the cable to the appropriate connector on the target system
20. 10 Gg 901d VIS 20910 9018 01610 0310 9019 8010 191 1010 191 188 191 981d 2010 sald 0010 t8ld 4 gt GE 20810 2NOO ma ZNO9 z PMA L 4 0290 now 20810 TM 20010 194 191 For More Information On This Product Go to www freescale com jo L ES ny JequinN jueumooq ER SOldf 018 nus HD u gar enl VTOHO LOIN yy Inc Freescale Semiconductor 20010 Lolvid 13908 d 18VO 1304V1 Nid 02 8 8f8060H89 gl 1917 Ld zT Wid Er SV 1d a 8010 191 4d 010 191 1010 191 0010 191 1S8 191 EI LVEWLV Ld 9Vv8 9v 1d SV8 SV 1d vYA Id V8N EV 1d oV8 cV ld IVY vid OV8 0v Ld Is 13908 d18VO 139UVL Nid 82 890806 199 94 19 1 s 901d ST Said i vid ST Wid ST SV1d 00 pid Te 231d ZS 6010 151 Oald 010 191 Wid 191 0010 191 194 191 Oyl 9010 sald ZVAWLVLAd 9V8 9V Ld SV8 SV ld YV8 vv Ld HO L e31d XTOL 03 Ld V8XNEV ld EE LN LV Ld Ov8 ov ld 1Sy 001d 0 v3Ld EE 091d Q 631d Le ald 0HO L 131d 0014 131d PPA LS Old oa 1591 Bain Le 938 NOW zoso H 1980 2 1 4 loso 101 ssa Lt vr 001d 00310 L t 091d 06310 Lop vald 0HOL I31d rr cate rats or a zala L9 Qld 1014 LS 201d 00104 101d PPA
21. 5A 250V J2 J1 Header 2x20 100 Target Head MOBICON PHDS 40G1 J3 28 pin DIP socket 28 pin Target MOBICON 28PMC Head JA 20 pin DIP socket 20 pin Target MOBICON 20PMC Head J5 Header 2x8 100 MONO8 MOBICON PHDS 16G1 P1 Power Jack WEALTH DS 210A P2 Connector DB9 MOBICON DB9SR P3 Power Terminal RDI 2SV 02 P4 USB series B receptacle BETAMAX USB 022 Q1 Transistor NPN MOTOROLA MPS2369A Q2 Q3 Q4 Q8 Q9 Q10 Q11 Q12 Transistor NPN MOTOROLA BC547B Q5 Transistor NPN MOTOROLA 2N3906 Q6 Transistor PNP MOTOROLA BC557B R1 R5 R23 R29 Resistor 1K 596 YAGEO DIGIKEY CR 25 B 1K User s Manual M681CS08JB In Circuit Simulator 44 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc Table 3 10 JBICS Parts List Sheet 2 of 2 Support Information Parts List Ger Description Manufacturer Part Number R2 Resistor 330R 596 YAGEO DIGIKEY CR 25 B 330 R3 R4 Resistor 1K 596 YAGEO DIGIKEY CR 25 B 47K R8 R9 R10 R11 R12 R13 R14 R15 i is Ps i Resistor 10K 5 YAGEO DIGIKEY CR 25 B10K R28 R30 R32 R33 R34 R35 R36 R16 Resistor 100K 596 YAGEO DIGIKEY CR 25 B 100K R20 R21 Resistor 470R 5 YAGEO DIGIKEY CR 25 B 470 R37 Resistor 1K5 5 YAGEO DIGIKEY CR 25 B 1K5 Ui iie cii un MOTOROLA MC145407P U2 Made smputAnalog MOTOROLA MC14551 U3 Monolithic WFR Binar
22. 68HC908JB8 MCU 64 pin QFP quad flat pack XU2 28 pin SOIC test socket for Motorola MC68HC908JB8 MCU XU3 20 pin PDIP test socket for Motorola MC68HC908JB8 Ji amp J2 Two 2 row x 20 pin 0 1 inch spacing connectors to connect JBICS to a target using M68CLB05C flex cable J3 Connector to connect 28 pin DIP emulation cable between JBICS and target J4 Connector to connect 20 pin DIP emulation cable between JBICS and target J5 One 2 row x 8 pin 0 1 inch spacing connector to connect to target via MONO8 debug circuit P1 5 Vdc input voltage Vpp p2 RS 232 to interface JBICS to host computer serial connector DEKL 9SAT F P3 Power Terminal PA USB Series B Receptable to interface JBICS to host computer M681CS08JB 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 2 2 ICS Interface Software Windows optimized software components are referred to collectively as the JBICS software part number ICSO8JB It is a product of P amp E Microcomputer Systems Inc and is included in the JBICS 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 CASM08Z EXE CASM08Z command line cross assembler In circuit stand alone
23. 801 aga Zdl _ i 84 301 301 anyo 82H L 8 s 2 00 F d PATI b OL ZL LEON 2 D A 164 t T d T AR om ad z T ud ES VGzioHvL 27908 Lk HO 103NNOO SONON azn 80 27908 k Ol 010 ven 300 lt vid idi bed 301 918 20104 101 EN Wid 191 9zu ii daa 0010 191 1SH 181 ii 3 dl ou 7001 161 Sor aan sor ada 01 NISH 1 D NO 188 T 01 a 218 NO 18H 27928 60 L 0 d aaa sor ada OL BPN BPN 090 So PT A AR 90 T 4 z 4 198 A LSS LOW 2 fo zu ola Een 9801 ada SSA 00 19 bg 1 BPN 910 azr Y _ vu vid 191 E z deg zio L lerolvLd OZOYOHb BPN H eolvid 191 9m tio E 1 9534 UGA wor lt OL se ib Le Drum 90 _ uo z ay el aan oo LSE oT bo ETE T 7 p zT Drum za 27908 29908 x LEO Ho 90 SOI ada 90 L3 4 D Ke Y T 0010 T zT IT t T LESE O ES Drum 80 YY mo IO WSZLOHbL ore 6 H ain en T z L VSZLOHbZ Drum 60 I vin OL 301 301 osy zey peu z z o o 93H GGA 501 00 sor aan sor aan THAD d OU E For More Information On This Product Go to www freescale com L 40 y jeeus Ae JequnwNjueumoog 0216 SOldf 018 nus HD u gar enl Inc
24. 8HC908GR8 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 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 logi
25. 8JB8 ICS08JB8 Target Head Signal Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number P3 NC 27 NA 55 PTA7 28 NA 56 NC NA 29 57 PTD5 NA 30 58 PTD6 30 NA 60 NC 29 NA 59 NC NA 31 61 GND NA 14 62 NC 31 NA 63 PTD7 32 NA 64 NC NA 33 65 TGT IRQ NA 34 66 NC 33 NA 67 PTC3 34 NA 68 PTD3 NA 35 69 PTC2 NA 36 70 PTD4 35 NA 71 PTC1 36 NA 72 PTE1 NA 37 73 GND NA 27 74 PTE3 37 NA 75 GND NA 32 76 PTE4 NA 39 77 GND NA 38 78 PTCO 39 NA 79 GND NA 40 80 M681CS08JB In Circuit Simulator 38 Support Information For More Information On This Product Go to www freescale com MOTOROLA Freescale Semiconductor Inc 3 4 2 J3 DIP Connector Pin Assignments Support Information JBICS Connector Signal Definitions Table 3 4 J3 Connector Pin Assignments Ne Schematic Direction Signal Description 1 GND Gound MCU ground 2 TGT_OSC1 UO Clock Signal ICS08JB jumper settings determine if signal is an input or an output W4 3 None None None 4 MCU REG Output 3 3V ouput of the on chip voltage regulator 5 TGT VDD UO 5V ICS08JB jumper settings determine if signal is an input or and output W2 6 PTDO UO I O Port from MCU H PTD1 UO I O Port from MCU 8 PTD2 UO I O Port from MCU 9 PTD3 UO I O Port from MCU 10 PTD4 UO I O Port from MCU 11 PTE1 UO I O Port from MCU 12 PTES UO I O Port from MCU 13 PTE4 UO I O Port from MCU 14 PTCO UO I
26. 908JB8DW or MC68HC908IJB8JP MCUs On the JBICS board socket XUI supports the 44 pin QFP package socket XU2 supports the 28 pin SOIC package and socket XU3 supports the 20 pin DIP package When the MCU resides on a target system the ICSO8JB board can communicate with the MCU over a 16 pin MONOS cable The MONOS interface is intended for in system debugging and programming of an MCU in the target system The ICSO8JBZ simulation software simulates the operation of an MCU in the PC while communicating with an external MCU to provide I O functions The PC executes code simulating the MCU then sends or requests MCU port data allowing for a real world interface for the in circuit simulator The simulated MCU operation is much slower than the actual MCU performance but the simulator allows the actual processing steps to seen and followed while sill allowing the MCU to interface to all necessary signals within the target system M681ICS08JB In Circuit Simulator 28 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information JBICS Functional Description The PROGOSSZ programming software is used to program the FLASH memory on an MCU Only one part may be programmed at a time The MCU to be programmed may be socketed on the JBICS or it may reside on a target board that sypports MONOS The JBICS board also provides 5 Vdc power 8 Vdc power for the
27. A2 on the MCU 14 PTA2 Bidirectional Connect to MCU PTA2 pin No other target system logic should be tied to this signal Grounded during reset 15 TGT PTA3 Bidirectional Connect to user circuit that normally would be connected to PTA3 on the MCU m Connect to MCU PTA3 pin No other target system logic should be ue RS SEI tied to this signal Held at 3 3V during reset Table 4 2 MONOSG Target System Connector P2 Pin M681CS08GR8 e No 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 8 V 4 3 Connecting to the In Circuit Simulator User s Manual Using the 16 pin cable provided with the JBICS kit connect one end of the cable to the JBICS board at J5 Connect the other end to appropriate connector 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 JBICS board M681ICS08JB In Circuit Simulator 50 Using the MONOS Interface MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB 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 platfo
28. BICS Interconnection P2 23 2 2 5 Power Connector ai d DERE aea Iu EIU RU I 23 2 2 6 USB Connector espa TRY Sd RIS Vier es 24 Zo ComecunpiheJBICS suelo rx ee NEWER E 25 2 4 Connecting the JBICS to the Target System 25 2 5 Installing the Software 26 Section 3 Support Information 3 1 eer ee o y ua ee PEN Enos Red Re apupa Mucio MN 27 M681CS08JB 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 2 MCU Si E EE EE EE 27 3 3 JBICS Functional Description 27 3 3 1 ICSOSIBCBOAG eee eu ten LO eei bs e a Am ea 28 3 3 2 Clock Selection 44 ncs pepe i santa bang Bag bd aaa ke bas 29 3 3 3 Board Reset s c comua oret e redd aus tene aB eee md 20 3 3 4 Device Configuration Selection 30 3 3 5 Level Translation 30 3 3 6 Host System Connector 31 3 3 7 USB Inter degere a EN cesa bi t oda AA 31 34 JBICS Connector Signal Definitions 32 3 4 1 Target Flex Cable Interface Connectors Jl and J2 32 3 4 2 J3 DIP Connector Pin Assignments 39 3 4 3 J4 DIP Connector Pin Assignments 40 3 4 4 Target MONOS Interface Connector
29. ED ia u yaa ueber oppi teh dale rb 59 integrated development environment 16 J IBICS ei pube Rope asa tee Bie haha e erdt be Rd tees 11 14 L LED ICS E enr go Googe toe wan eat SY eae rapis 59 M MC6SHCIOSIBS kili he Rd bee yu hans 11 MOO A RE dub ent M ama 15 27 MCU subsystem beard reset z aaa yp a Sak ay h aa A ere eee 29 device configuration selection 30 host system connector 31 TEE e s oso m dar SSG os He a ER XE Re O E YE 30 MCU subsystems board pese e aepo EE 1 a gm Sua ys EHE eate pina 29 memory User s Manual M681CS08JB In Circuit Simulator 68 Index MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc address ose ne dx eens Buea He e ENDE system reguirements MONOS a Sed Baretta Soha AA monitor mode commands monitor mode See also MONOS MONOS Viethen er qae bv ero rrr operating systems Ei E EE ports Serial EEN POW GR sy ak equae rH we ye eq uini ee ee Bae power tequitemeliis 32v ia erc ei eee PROGO0S8SZ description sais EAS osa record length 24 pies eed ee ele gp ed IER UA TECOS relative humidity requirements EE host computer operating system SO WA voor cds cd td
30. Freescale Semiconductor Inc M681CS08JBUM D M68lICS08JB 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 tradem
31. I HO 3 IOHM NI 38N LO VJCINVN HO ININ3ENDOYdA NSIS3G SNIH33NION3 HOA 03611 38 LON TIVHS ANY VIOHOLOW OL AHV L3lHdOHd NOI LVAHONI SNIV LNOO LN NNDOQ SIHL Inc Freescale Semiconductor 000z AeW 01 ejoeideoe gsn PPV g p abed 00024962 Bunsei eye peuipow v 0002 q93 62 uoisney euibuo 0 qa odddv 3170 NOlLLdIHOS3d AH 3NOZ SNOISIA3H ATIVANVA 3SIA3H LON OQ SNIMVHC C3 L VH3N39 H3 1KIdNOO XOOTOSNAS 190718 920130 NOLLd3OX3 JHL H LIM NOISIA3H JN SNOLLVOHIO3dS 3 L0 LLLSNI SGHVQONV LS IVNOLLVN NVOIH3AV H LIM SONVGOHOOOV NIIAVHOVIO 1348 d43 1N1 E SINVOIS GSYOLOSA 310N3a TWNOIS MOTIN LOY SALONA dovsn TOMAS IVIOIAS y Hau LOVIANVA HL HIM S3IHVA d38N0N SH LATINO ON 3d 3438 HOS SI HJANNN 3dAL 391139 GA_LOANNOO ATTVOIH ID T3 34 SNOLLVNIBINOO H3 LLT1HO H3 LL313AVS SHI HIM S3900 SANIT da Ld NYS LNI SQIVHVvJOuolN NI 3HY S3 TIVA JONY LIOVdVO 9 LIVM t l JYV SHOLSISSY SHO NI 3HV S3 TIVA 3ONV LSIS3H XqaHio3ds 3SIMH3H IO SS3 INN u SALON For More Information On This Product Go to www freescale com jo e ES nay JequnwNjueumoog 0216 SOldf 018 nus HD u gar enl VIOHOLOMW yy Inc Freescale Semiconductor TEN
32. J5 Pin Assignments 41 3 4 6 Host Computer JBICS Interconnection P2 42 3 4 5 Power Connector PI 42 3 5 Paris EISE aa Ee ears ES sett oec Esai La ead 44 3 6 JBICS Board Layout and Schematic Diagrams 46 Section 4 Using the MONO8 Interface 4 1 Introductions EE 49 4 2 Target System Header Placement and Layout 49 4 3 Connecting to the In Circuit Simulator 50 Appendix A S Record Information Ab Jntroducfilus os IA Bee i ortu Das ei a ets 51 A AS RECTO Contents s mia eS Sp i et BE IAN 51 AGS DSSBOOORIDUDOS uen ca ccu Late CL EL RS e SE 52 A4 SRecordCreation 53 AO cBsReEconl Example e de elt Ge Eia stas is peus 53 A 5 1 SO Header Recofd cda uate che ey se REN EMEN ER 54 A 5 2 First SD RECORG Ha consu rere er was at temer va 54 M681CS08JB 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 A 5 3 S9 Termination Record 55 A 5 4 ASCU Characters EE 56 Appendix B Quick Start Hardware Configuration Guide Bl J troducHOlh murra e xs Ie twee ees ile PEE 57 B 1 1 JBICS Configurable Jumper Headers 58 B 1 2 Target Interface Cable Connections n sssusansaueu s 58 B 2 Installing the Hardware
33. LASH at real time speeds User s Manual MOTOROLA General Information 13 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Timing is accomplished through a 6 0 MHz crystal 1 2 JBICS Components User s Manual The complete JBICS system includes hardware software and documentation Table 1 1 lists the JBICS product components Table 1 1 JBICS Product Components Part Number Description ICS08JB JBICS software development package ICSO8JBZ JBICS simulator ICDO8SZ JBICS debugger emulation MC68HC908JB8FB MCU 44 pin QFP package MC68HC908JB8ADW MCU SOIC Package MC68HC908JB8JP MCU PDIP Package M68CLB05C Flex target cable KRISTA 22 122 Serial cable FRIWO 11 8999 P5 Power supply M681CS08JB Hardware board M681CS08SOM D M68ICS08JB In circuit Simulator Software Operator s Manual M68ICSO8JBHOM D M681CS08 In circuit Simulator Hardware Operator s Manual M681CS08JB In Circuit Simulator 14 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc 1 2 1 JBICS Hardware General Information JBICS Components Table 1 2 lists the JBICS hardware components Table 1 2 Hardware Connector Components Components Description XU1 Clam shell test socket for Motorola MC
34. S08JB In Circuit Simulator List of Tables 1 1 JBICS Product Components 12 1 2 Hardware Connector Components 13 1 3 Software Components 14 1 4 JBICS Board Specifications 15 2 1 JBICS Jumper Header Description 20 2 2 Cable Connector Options for MCUs 21 3 1 JI Target Flex Connector Pin Assignment Descriptions 31 3 2 J2 Target Flex Connector Pin Assignment Descriptions 32 3 3 Flex Cable Plug Pin Assignments 34 3 4 J3 Connector Pin Assignments 37 3 5 J4 Connector Pin Assignments 38 3 6 J3 MONOS Target Connector Pin Assignment Descriptions 39 3 7 Power Connector P1 Pin Assignment Descriptions 40 3 8 RS 232C Communication Connector P2 Pin Assignments 41 3 9 USB Connector P4 Pin Assignment Descriptions 41 3 10 JBICS Parts List usasapa Seay ERE Tp PESE 42 4 MONOS Target System Connector P1 47 4 2 MONOS Target System Connector P2 48 4 3 JBICS Jumper Header Description 56 4 4 Cable Connector Options for MCHUs 57 M681CS08JB In Circuit Simulator User s Manual MOTOROLA List of Tables For More Information On This Prod
35. ach the other end of the cable to the appropriate connector on the target system 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 JBICS B 4 Installing the Software User s Manual For instructions for installing the ICSO8 software refer to P amp E Microcomputer Systems Inc M68ICSO8HCO8 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 M681CS08JB 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 M681CS08JB 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 MC68HC908GR8 MCU accumulator An 8 bit register of the MC68HC908GR8 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
36. arks 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 M681CS08JB In Circuit Simulator 2 MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB In Circuit Simulator Table of Contents Table of Contents Section 1 General Information 1 1 Introduction secure a Peeve hd ened dyed Maw Ee hia 11 1 2 IBICS Components 14 1 2 1 JBICS Hardware A AA 15 1 2 2 ICS Interface Software sccm die ca dee REED eR ES 16 1 3 Hardware and Software Requirements nusnuuuanuaueuene 16 14 Specifications oco sev Vt SuSE Ue x Ee E 17 1 5 About ThisManual 17 1 6 Customer SU Ia 17 Section 2 Preparation and Installation 2 1 sue LI La EE 19 2 2 Hardware Preparation 19 2 2 1 JBICS Limit tions oret Ae AS e RUE ede uie 20 2 2 2 Configuring JBICS Jumper Headers 20 22 3 Target Interface Connection Options 22 2 2 4 Host Computer J
37. 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 program consult the user manual for the program User s Manual M681ICS08JB 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 Creation NOTE TheICSOSJBZ supports only the SO S1 and S9 record types All data before the SI record is ignored Thereafter all records must be S1 type until the S9 record which termin
38. ates 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 S1 Code data record and the 2 byte address at which the code data is to reside S2 S8 Not applicable to ICS08JBZ 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 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 M681CS08JB In Circuit Simulator User s Manual MOTOROLA S Record Information For More Information On This Product Go to www fre
39. ation and programming Standalone ICS08JBZ exe is running on the host computer the JBICS is not connected Emulation of the M681CS08JB8 MCU registers and I O ports is within the host computer environment Simulation Host computer is connected to the JBICS via the RS 232 cable and the ICSO8JBZ exe is running on the host computer This provides access to the M681CS08JB8 MCU internal registers and I O ports e Evaluation Host computer is connected to the JBICS and the JBICS 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 JBICS and the JBICS is connected to the target system via the MONOS cable Use the PROGOSSZ exe to program the MCU FLASH module In the programming mode there is limited evaluation ESD CAUTION Ordinary amounts of static electricity from clothing or the work environment can damage or degrade electronic devices and equipment For example the electronic components installed on the printed circuit board are extremely sensitive to electrostatic discharge ESD Wear a grounding wrist strap M681CS08JB 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 wh
40. c 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 M681ICS08JB In Circuit Simulator 62 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 MC68HC908GR8 the data bus is 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 p
41. d in an opaque plastic package It is called a one time programmable User s Manual M681CS08JB 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 MC68HC908GR8 program counter The CPU register that holds the address of the next instruction or operand that the CPU will use RAM Random access memory Any RAM location can be read or written by the CPU The contents of a RAM memory location remain valid until the CPU writes a different value or until power is turned off registers Memory locations that are wired directly into the CPU logic instead of being part of the addressable memory map The CPU always has direct access to the information in these registers The CPU registers in the MC68HC908GRS 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 comp
42. d Re TEA o esta e cnet A od M Ma e 8 security feature washington ESTE DEC Al tu us m ud Di E wots serial port connectors vis sew ea EVER V EE WS software M681CS08JB In Circuit Simulator Index User s Manual MOTOROLA Index For More Information On This Product Go to www freescale com 69 Freescale Semiconductor Inc ICSO8RK or RKICS software 16 TEQUES y o eo sor viata ex dese sb O S R 16 RKICS or ICSOSRK software 16 9066111680008 11070 816 vsus exe VN ex XA MED QUE OE NS 17 S record CON Lent soto s peck howe g T hee Wee esie eer Ui 51 Creating S Lus ue aca LU cese e tuc a Loan an eos 53 field contents io gelu kk RR RR ERR RW RET UR EER 51 PIC Ya Ku ic A ege ele eR tud e pr ate 51 OVerVIe Wc sober tree WE PRO US oh ER Daher ah wed 51 SO TEC us e s aaa ayu p AOT COUP Teo s 54 STUrecord ect weet MER UIS e EC WU RIA Ao ES Asa 54 SO TeCOIDQu rs or Vno DEEST ed RU ewe e eg 55 termination Teceord Ae e Me ars ec uud c oe ede 25 PESCA A teint Sa 52 T PAR GCL ur odi Sa cS NR e C kawsa Lodo MS cL cd EE Ed 11 target system cables ra ada 28 connecting TO cialis cs ia ti 11 28 49 COMMECIOLSs gen weet os ws a eae eda e o Cot 32 9 49 GESCHIPN ON es A A 11 ML Jets 000 IO Mese EEN 28 MONOS interfaces cost masas dd A a nares s td A H 49 target head adapter 28 temperature operating S244 Died
43. enever handling any printed circuit board This strap provides a conductive path for safely discharging static electricity to ground B 1 1 JBICS Configurable Jumper Headers Configure the five jumper headers on the JBICS for your application according to the tables in this section Table 4 3 JBICS Jumper Header Description Jumper jos Description Header Gen sro i W1 Jumpers W1 and W4 are configured together for the Oscillator Source ICS_OSC or 2 W1 ON and W4 ON JBICS MCU and target board clock signals OSC supplied by the JBICS board oscillator Y1 W1 ON and W4 OFF JBICS MCU clock signal supplied by oscillator WA Y1 Target board has its own clock source OSC 1 H W1 OFF and W4 ON JBICS MCU clock signal supplied by target or 2 board TGT_OSC1 W1 OFF and W4 OFF JBICS has no clock source W2 Target System 1 Jumper ICS board system power applied to target cable VDD pin Power 2 No Jumper Allows using a separate power supply for target system W3 1 Jumper on position 1 amp 2 RST IN from target resets on board ripple Reset counters and MCU Source Jumper on position 2 amp 3 ICS RST OUT from RST resets target W5 Jumper Connects 1 5Kohm pull up resistor from USB D data line to USB Pull up i 3 3V Resistor 2 No Jumper USB is disabled and PTE4 D used as I O port B 1 2 Target Interface Cable Connections Below Table 4 4 is a quick reference for defining the cable connector setup to u
44. eparation and Installation Hardware Preparation Evaluation Host computer connected to the JBICS and the JBICS 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 JBICS and the JBICS 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 port AO is used for communications so it is unavailable for emulation Five jumper headers Table 2 1 on the JBICS are used to configure the hardware options M681CS08JB 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 Table 2 1 JBICS Jumper Header Description Jumper n Kos Description actory Header Default Shown Wi Jumpers W1 and W4 are configured together for the Oscillator Source 106 OSC l or 2 W1 ON and W4 ON JBICS MCU and target board clock signals OSC1 supplied by the JBICS board oscillator Y1 W1 ON and W4 OFF JBICS MCU clock signal supplied by oscillator W4 Y1 Target board has its own clock source OSC1 1 W1 OFF and W4 ON JBICS MCU clock signal supplied by target or 2 board TGT_OSC1 W1 OFF and W4 OFF JBICS has no clock source W2 Targ
45. escale com Freescale Semiconductor Inc S Record Information 00600004844521B 1130000285F245F2212226A00042429008237C2A s11300100002000800082529001853812341001813 s113002041E900084 42234300182342000824A952 s107003000144ED492 9030000FC In the example the format consists of An SO header Four S1 code data records An S9 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 ae 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 e 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 Table A 5 User s Manual M68ICS08JB In Circuit Simulator 54 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 M Field Entry Description Tvpe S1 S record type S1 indicating a code data record did to be loaded verified at a 2 byte address Record Hexadecimal 13 decimal 19 indicating 19 Length 13 charac
46. escale com Freescale Semiconductor Inc Support Information in Schematic Direction Signal Description 11 TGT_PTA1 Bidirectional General purpose I O 12 PTA1 Bidirectional General purpose I O 13 TGT_PTA2 Bidirectional General purpose I O 14 PTA2 Bidirectional General purpose I O 15 TGT PTA3 Bidirectional General purpose I O 16 PTAS Bidirectional General purpose I O 3 4 5 Power Connector P1 5 Vdc GND Figure 3 1 P1 Power Connector Table 3 7 Power Connector P1 Pin Assignment Descriptions Ne Mnemonic Signal 1 vec 5 VDC POWER Input voltage 5 Vdc 1 0 A from the provided power supply used by the JBICS logic circuits 2 GND Common 3 GND Common 3 4 6 Host Computer JBICS Interconnection P2 User s Manual The host computer to JBICS 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 6 Connection requires the cable assembly supplied with your JBICS kit a DB9 male to female 6 ft 3 m long serial cable M681CS08JB In Circuit Simulator 42 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information JBICS Connector Signal Definitions RXD 2 TXD 3 DTR 4 GND 5 Figure 3 2 P2 Host Computer to JBICS Interconnection Table 3 8 RS 232C Com
47. et System 1 Jumper ICS board system power applied to target cable VDD pin Power 2 No Jumper Allows using a separate power supply for target system W3 1 Jumper on position 1 amp 2 RST IN from target resets on board ripple Reset counters and MCU Source Jumper on position 2 amp 3 ICS RST OUT from RST resets target W Jumper Connects 1 5Kohm pull up resistor from USB D data line to S 1 3 3V m 2 e No Jumper 1 5K ohm pull up is disabled and PTE4 D should only be used as 1 2 Port User s Manual 2 2 3 Target Interface Connection Options There are four ways to connect the JBICS simulator board to your target system Flex cable low noise target interface connection 20 pin DIP Emulation Cable low cost flex cable replacement 28 pin DIP Emulation Cable low cost flex cable replacement MONOS cable target interface connection with MCU FLASH programming and limited emulation M681ICS08JB In Circuit Simulator 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 2 is a quick reference for defining the cable connector setup to use with the JBICS Table 2 2 Cable Connector Options for MCUs MCU Flex Cable Bee me ERU WA ie Cable Cable E J1 and J2 J3 J4 J5 2 2 4 Host Computer JBICS Interconnection P2 The host computer
48. gic that generates resets TUE Connect to MCU RST pin and P1 pin 1 No other target system 3 id EES logic should be tied to this signal It will swing from 0 to 8 V 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 0 to 8 V 7 N C Not connected 8 N C Not connected M681CS08JB In Circuit Simulator User s Manual MOTOROLA Using the MONOS Interface 49 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Using the MONOS Interface Table 4 1 MONOSG Target System Connector P1 Continued Pin M681CS08JB8 No Label Direction Target System Connection Connect to user circuit that normally would be connected to PTBO 9 TGT PTAO Bidirectional on the MCU This circuit will not be connected to the MCU when the in circuit simulator is being used 10 PTAO Bidirectional Connect to MCU PTBO pin No other target system logic should be tied to this signal Host I O present on this pin 11 TGT PTA1 Bidirectional Connect to user circuit that normally would be connected to PTA1 on the MCU PD s Connect to MCU PTA1 pin No other target system logic should be 1 PIY SEET tied to this signal Held at 3 3V during reset 13 TGT PTA2 Bidirectional Connect to user circuit that normally would be connected to PT
49. ident on the JBICS for emulation or simulation and the MONO8 cable is used to debug or program a target system s MCU directly when the MCU resides on the target hardware M681CS08JB 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 M68ICSO8JB In Circuit Simulator Board The JBICS 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 CASMOSZ Programming FLASH memory with PROGO8SZ Simulating in circuit and stand alone MC68HC908JB MCUS with ICSO8JBZ software providing Simulation of all instructions memory and peripherals Simulation of pin inputs from the target system Installation of conditional breakpoints script files and logfiles Debugging and emulation limited real time with ICDO8SZ including Loading code into RAM M681CS08JB In Circuit Simulator 12 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc M681CS08JB In Circuit Simulator General Information Introduction Executing real time in RAM or FLASH Placing one hardware breakpoint in FLASH Placing multiple breakpoints in RAM O
50. ircuit Simulator 66 Glossary MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Index User s Manual M681lCS08JB In Circuit Simulator Index A ASCII Characters s BUSU ERE A KUMA USA MBERE IY SER TRIS 56 assembler description ios A Ge db Bebra Qe bes 16 C cables FLEX target CORB CLOIS virer rd debe url eats 32 target head adapters was men Guta ee Apes cee eed ee MARNE RS AE AN 28 CASMOSZ 32 rtr estt A SQ S E sis Dresd Bie IR oes 16 o Aedes CM de E E Md 16 Checksum was y pM UI CERE welt Sls Se UAE LEUR CLA 51 COMMUNICATIONS e i PS 20 communications board to host oo 16 D debuggers ICDOSSW dese rnptidn suse A e 12 MONOS Interlace sota o it Ux RE n ag N 49 drive ET EE 16 E examples S TecordS i2 iA saves ths Gays sede oot tee hiss Thee hese be tied 53 F FLASH memory decree oa eda eet KE eed 13 16 M681CS08JB In Circuit Simulator User s Manual MOTOROLA Index For More Information On This Product Go to www freescale com 67 Freescale Semiconductor Inc ett rp 14 Hex target cables sateen tes DICIS ne Y etes uiv cer DOS n AV 14 TUNCHON Keys ouo edad wee RUF eben oe haut tae EROR 13 H hardware installation u UR Rees eee e 19 57 requirements ev esse E wey oe ae Sexe m made dues 16 specifications sv icone Lage ea eda tang eae peek 17 hotkeys See function keys A II iE Oe BO a std 17 l ICD08SZ O 14 e et EEN 16 TES PWR L
51. isting 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 MC68HC908GR8 In two s complement computer notation positive signed numbers have a 0 in their MSB most significant bit and negative numbers have a 1 in their MSB The N condition code bit reflects the sign of the result of an operation After a load accumulator instruction the N bit will be set if the MSB of the loaded value was a 1 object code file A text file containing numbers that represent the binary opcodes and data of a computer program An object code file can be used to load 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 MC68HC908GR8 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 package
52. lator board to a target system are via The low noise flex cable The 20 pin DIP cable M681CS08JB 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 Guide The 28 pin DIP cable The MONOS cable Connect the simulator board to the target system using one of these methods Using a low noise flex cable When emulating an MC68HC908JB8 MCU connect an 80 pin M68CLBOSC flex cable to the connectors labeled J1 and J2 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 versions of the MCU Using a 20 pin DIP emulation cable When emulating an MC68HC908JB8 MCU connect the 20 pin cable to the connector labeled J4 on the simulator board Attach the other end of the cable to the appropriate connector on the target system Using a 28 pin DIP emulation cable When emulating an MC68HC908JB8DW28 MCU connect the 28 pin cable to the connector labeled J3 on the simulator board Attach the other end of the cable to the appropriate connector on the target system A target head adapter is available for the SOIC package Using a MONOS cable Connect the MONOS debug interface cable to the MONOS debug interface connector J5 for communication with the target system s MCU Att
53. munication 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 Table 3 9 USB Connector P4 Pin Assignment Descriptions Pin i No Mnemonic Signal 1 VDDS N G 2 D PTE4 D Bidirectional General Purpose I O or USB data pin 3 D PTE3 D Bidirectional General Purpose I O or USB data pin 4 GND Common M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information 43 For More Information On This Product Go to www freescale com 3 5 Parts List Freescale Semiconductor Inc Support Information Table 3 10 JBICS Parts List Sheet 1 of 2 Hetprence Description Manufacturer Part Number Designator C12 Capacitor 82pF ceramic AEC Z5U 820 C2 C3 C7 C8 C19 Capacitor 10uF Truth 85C 80 20 C1 C5 C9 C10 C11 C13 C14 C15 Capacitor 0 1 uF AVX SR215E104MAA C16 C17 C18 C20 D1 1A 20V Schottky Rectifier MOTOROLA 1N5817 D2 Zener Transient Voltage MOTOROLA SA 5 0A Suppressors D3 D4 LED KINGBRIGHT L34HT D5 D6 D7 D8 D9 D10 D11 D12 D13 Diode SEMTECH 1N4148 D14 D15 D16 F1 FUSE BUSSMAN GMA 1
54. n line help documentation for all software Software integrated into the WinIDE environment allowing function key access to all applications MONOS emulation connection to the target system allowing In circuit emulation In circuit simulation In circuit programming Four modes of operation Standalone using the JBICS as a standalone system without a target board Simulation using the JBICS as an in circuit simulator emulator with a target cable Evaluation using the JBICS for real time evaluation of the MCU and to debug user developed hardware and software Programming using the JBICS as a programmer With the ICD08SZ 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 is as a limited real time emulator With the PROGOSSZ software the function is to program MCU FLASH memory With the ICSO8JBZ 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 ICSOSJBZ 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 F
55. nector 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 P3 which connects to the target adapter Approximately 15 _ _____________ gt k gt PIN 80 PIN 41 P1 P2 P3 PIN 1 R Figure 0 1 FLEX Cable User s Manual M681CS08JB In Circuit Simulator 32 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information JBICS Connector Signal Definitions Table 3 1 J1 Target Flex Connector Pin Assignment Descriptions du Schematic Direction Signal Description 1 GND 2 PTB2 Bidirectional General Purpose I O 3 TGT OSCH Bidirectional oo JBICS W4 jumper settings determine 4 GND 5 PTB3 Bidirectional General Purpose I O 6 PTDO Bidirectional General Purpose I O 7 PTB5 Bidirectional General Purpose I O 8 PTD2 Bidirectional General Purpose I O 9 PTB6 Bidirectional General Purpose I O 10 N C 11 TGT_RST Bidirectional Logical level reset W3 determines direction 12 N C 13 TGT_PTA1 Bidirectional General Purpose I O 14 N C 15 TGT PTA3 Bidirectional General Purpose I O 16 N C 17 PTC6 Bidirectional General Purpose I O 18 N C 19 GND 20 N C 21 N C 22 PTEO Bidirectional General Purpose I O 23 N C 24 GND 25 N C 26 PTA5 Bidirectional General Purpose I
56. ola 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 M68CS08JBUM D For More Information On This Product Go to www freescale com
57. onnector Signal Definitions NS Schematic Direction Signal Description 13 TGT PTAO Bidirectional General Purpose I O 14 GND 15 TGT_PTA2 Bidirectional General Purpose I O 16 N C 17 PTC7 Bidirectional General Purpose I O 18 N C 19 PTC5 Bidirectional General Purpose I O 20 N C 21 N C 22 PTC4 Bidirectional General Purpose I O 23 N C 24 PTE2 Bidirectional General Purpose I O 25 N C 26 PTA4 Bidirectional General Purpose I O 27 GND 28 PTA6 Bidirectional General Purpose I O 29 N C 30 PTD5 Bidirectional General Purpose I O 31 N C 32 GND 33 N C 34 TGT_IRQ In Interrupt Request from Target 35 PTD3 Bidirectional General Purpose I O 36 PTC2 Bidirectional General Purpose I O 37 PTE1 Bidirectional General Purpose I O 38 GND 39 PTE4 Bidirectional General Purpose I O 40 GND M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information For More Information On This Product Go to www freescale com 35 User s Manual Freescale Semiconductor Inc Support Information Table 3 3 Fler Cable Plug Pin Assignments ICS08JB8 ICS08JB8 Target Head Signal Connector P1 Pin Connector P2 Pin Adapter Pin Number Number Number P3 TGT VDD NA 2 1 MCU REG NA 1 2 PTB2 2 NA 3 GND 1 NA 4 PTB1 NA 4 5 NC NA
58. operation voltage 43 3 and 45 0 volts while the host development system interface is an RS 232 com port U1 Figure 3 3 on the ICS converts 5 V logic signals to RS 232 levels U6 on the ICS converts the 5V to 3 3V Some transistors are used to translate 5 V logic levels to the MCU operating voltage 3 3V User s Manual M681ICS08JB In Circuit Simulator 30 Support Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information JBICS Functional Description 3 3 6 Host System Connector 3 3 7 USB Interface The host system interface is via a 9 pin DB 9 serial connection plug P2 DEKL 9SAT F A USB series B receptacle P4 Figure 3 5 is built in the JBICS board It can connect to the USB host by USB standard detachable cable Series A plug to Series B plug M681CS08JB 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 3 4 JBICS Connector Signal Definitions The tables in this section describe the pin assignments for the connectors on the JBICS board 3 4 1 Target Flex Cable Interface Connectors J1 and J2 A generic cable Motorola part number M68CLBO3C 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 con
59. ration and Installation Connecting the JBICS 2 3 Connecting the JBICS The following steps provide instructions for connecting the JBICS to the host PC and power connection ESD CAUTION Ordinary amounts of static electricity from clothing or the work environment can damage or degrade electronic devices and equipment For example the electronic components installed on the printed circuit board are extremely sensitive to electrostatic discharge ESD Wear a grounding wrist strap whenever handling any printed circuit board This strap provides a conductive path for safely discharging static electricity to ground common a Configure the jumpers W 1 through W 5 Table 2 1 on the JBICS for your application b Install an MCU into the appropriate socket for your application onto the JBICS board Note 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 P2 on the JBICS d Plug the serial cable into the COM port on the host PC NOTE Steps e through g should not be completed until all connections to the target are completed Paragraph 2 4 e Connect the power cable to P1 on the JBICS board f Plug the power cable into an ac power outlet using one of the country specific adapters g The JBICS power LED green lights 2 4 Connecting the JBICS to the Target System Connect the JBICS
60. rms 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 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 Table A 1 S Record Fields Record Type Length Address Code Data Checksum The S record fields are described in Table A 2 M681CS08JB 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 S Record Information Table A 2 S Record Field Contents Field Printable Contents Characters Type 2 S record type S0 S1 etc Record 2 Character pair count in the record excluding the Length type and record length Address 4 6 0r8 2 3 or 4 byte address at which the data field is to be loaded into memory From 0 to n bytes of executable code memory loadable data or descriptive information For Code Data 0 2n compatibility with teletypewriter some programs may limit the number of bytes to
61. rogrammable 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 MC68HC908GR8 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 MC68HC908GR8 index register An 8 bit CPU register in the MC68HC908GR8 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 M681CS08JB 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 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 l
62. s 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 Table A 5 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 Table A 5 is sent as shown here TYPE LENGTH ADDRESS CODE DATA CHECKSUM S 1 1 3 0 0 0 0 2 8 5 F E 2 A 5 3 3 1 3 10 3 3 3 0 3 0 3 0 3 0 3 2 3 8 3 5 4 6 3 24 4 1 0101 0011 0011 0001 0011 0001 0011 0011 0011 0000 0011 0000 0011 0000 0011 0000 0011 0010 0011 1000 0011 0101 0100 0110 0011 0010 0100 0001 User s Manual M681CS08JB In Circuit Simulator 56 S Record Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc User s Manual M681CS08JB In Circuit Simulator Appendix B Quick Start Hardware Configuration Guide B 1 Introduction This quick start guide explains the Configuration of the M681CS08JB in circuit simulator JBICS board Installation of the hardware Connection of the board to a target system There are four methods for configuring the JBICS standalone simulation evalu
63. se with the MC68HC908JB8 User s Manual M681CS08JB 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 Installing the Hardware Table 4 4 Cable Connector Options for MCUs DIP DIP MCU Flex Cable Emulation Emulation canis Cable Cable MC68HC90 GE J1 and J2 J3 i ii B 2 Installing the Hardware For installing Motorola development tools the following steps provide installation instructions for the JBICS hardware To prepare the JBICS for use with a host PC 1 Install an MCU into the M681CS08JB board Install an MCU provided with the JBICS package into the M68ICS08JB 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 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 3 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 Connecting to a Target System The four ways to connect the ABICS simu
64. simulator software for the EE MC68HC908JB8 MCU PROGO08SZ EXE FLASH memory programming software ICDOBSZ EXE In circuit debugging software for limited real time emulation 1 3 Hardware and Software Requirements The JBICS 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 RS222 serial port for communications between the JBICS and the host computer User s Manual M681ICS08JB In Circuit Simulator 16 General Information MOTOROLA For More Information On This Product Go to www freescale com Freescale Semiconductor Inc General Information Specifications 1 4 Specifications Table 1 4 summarizes the JBICS hardware specifications Table 1 4 JBICS 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 M681CS08JB In Circuit Simulator User s Manual MOTOROLA General Information 17
65. target for emulation nthe target for MONOS debug operation 3 3 JBICS Functional Description NOTE For the following discussion on the theory of operation of the JBICS refer to the schematic diagrams in Paragraph 3 6 Figures 3 2 to 3 9 of this section M681CS08JB 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 3 3 1 ICS08JB Board User s Manual The core component of the board is the MC68HC908JB8 MCU Figure 3 5 This MCU resides either on the ICSO8JB board or on a target system When the MCU resides on the JBICS the board may be used as an in circuit emulator or simulator for the MC68HC908JB8 For this configuration a target cable is run from the board to the target system The JBICS supports three kinds of target cables A 20 pin ribbon cable Figure 3 8 terminated in 20 pin male DIP Dual In line Package headers A 28 pin ribbon cable Figure 3 8 terminated in 28 pin male DIP headers A flexible target head adapter cable Figure 3 7 Motorola part number M68CBLOSC terminating in connectors for target head adapter For a 44 pin QFP package MCU on the target system use Motorola THA model number M68TCO8JBFB44 Using a target cable is recommended but optional the board may be utilized with flying leads to other circuits The MCU may be any one of the MC68HC908JBSFB MC68HC
66. ter 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 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 S1 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 S code data record contains 07 character pairs and has a checksum of 92 A 5 3 S9 Termination Record The S9 termination record is described in Table A 6 Table A 6 S9 Header Record S Record ior Field Entry Description Type S9 S record type S9 indicating a termination record M681CS08JB In Circuit Simulator User s Manual MOTOROLA S Record Information 55 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc S Record Information Table A 6 S9 Header Record S Record SC Field Entry Description Record 03 Hexadecimal 04 indicating three character pairs Length three bytes follow Address x 4 character 2 byte addres
67. uct Go to www freescale com 9 Freescale Semiconductor Inc List of Tables User s Manual M681CS08JB 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 M681CS08JB In Circuit Simulator 1 1 Introduction Section 1 General Information This section provides general information about the Motorola M681CS08JB in circuit simulator JBICS The M68ICSO08JB JBICS 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 MC68HC908JB8 microcontroller unit MCU The JBICS 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 JBICS 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 a MONOS cable or one of two DIP emulation cables low cost alternatives to the flex cable The ribbon cable or flex cable or DIP cable is used when an MCU is res
68. uter program that copies the behavior of a real MCU source code See source program SP Abbreviation for stack pointer CPU register in the MC68HC908GR8 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 M681CS08JB 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 MC68HC908GR8 Z Abbreviation for zero a bit in the condition code register of the MC68HC908GRS 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 M681CS08JB In C
69. y Counter MOTOROLA MC74HC4020AN U5 uae Operational MOTOROLA MC33172P U6 MicroPower Voltage Regulator MOTOROLA LP2950ACZ 3 3 U7 Non Inverting 3 State Buffer MOTOROLA MC74HC125AN W1 W2 W4 W5 Header 2x1 100 3M 2402 6112TG W3 Header 3x1 100 3M 2403 6112TG KUI Socket 68HC908JB8FB44 YAMAICHI 1C51 0444 825 XU2 Socket 68HC908JB8DW28 YAMICHI 1C51 0282 334 XU3 Socket 68HC908JB8P20 WELLS CTI 613 0200316 Y1 6MHz Oscillator HOSONIC HO 12C6M M681CS08JB In Circuit Simulator User s Manual MOTOROLA Support Information 45 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Support Information 3 6 JBICS Board Layout and Schematic Diagrams E d l as g e E ig ESEE 3 Steg E i z MAMA EHAN Ett de SEEEEEZII s 1 H IA E at Jul d E E TA SSEFEEEETETE 1 H e E E Era MN EES le El T I fi im ee f si at TREE Kl A L i PERE EES EHN a i a mi EZE E Figure 3 3 JBICS Board Layout User s Manual M681CS08JB In Circuit Simulator 46 For More Information On This Product Support Information MOTOROLA Go to www freescale com I pS ney JequnwNjueunoog eis 000249W 6c 31vG 1040 PIEMPA_ q3AOouddv SOldf 10 nus PNAD gar enl VIOHOLOM yy 31vg Q3393H9 000Z BN OL 31Vg 9elepp3 NM Vg VIOHO LON O 1N3SNOO LNOH LIM 1870 N

Download Pdf Manuals

image

Related Search

Related Contents

Technical overview  Caen la mer s`engage au service de l`économie sociale et solidaire  RW180 User Guide V1.2  Diagnostics  User Manual / Manual de Instrucciones - AV-iQ  Manuel d'utilisation  FR - Demande d`inscription - Ecole Européenne Luxembourg  KDC-W3541 KDC-W3041 KDC-W312 KDC-W241 KDC    LOTTO 2. Milano, Via G.B. Vico  

Copyright © All rights reserved.
Failed to retrieve file