Home

P&EMicrocomputer - NXP Semiconductors

image

Contents

1. A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK 3 11 3 12 Port Pins Settings During Reset 68HC908GT Pin 1 NC o GND Pin 2 Target Type 7 NC O 0 RST NC o IR HighV NC o PTA0 COM NC o o NC NC PTCO 1 OSC o o PICI 0 PinlS Vout PTC3 0 Pinl Figure 3 11 68HC908GT Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONO8 MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908GZ Port Pins Settings During Reset Pin 1 NC o GND Pin 2 Target Type NC 0 RST NC IRQ High NC o PTA0 CO
2. NC o o NC NC o 0 PTA0 COM NC o PTBO 1 OSC o PTB2 0 PinlS Vout o o NC Pinl6 Figure 3 26 68HC908RK Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTBO and PORTB2 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTBO and pull down PORTB2 In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com P amp A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK 3 27 68HC908SR Port Pins Settings During Reset Target Type EQ NC O o RST Pin 1 NC Oo GND Pin 2 NC o IR HighV NC o o NC NC PTA0 COM NC o PTA2 0 OSC o o PTA1 1
3. Port Pins Settings During Reset Target Type FEARREN Pinl NC o NC o NC o NC o NC o NC o OSC o PinlS Vout Figure 3 24 68HC908QY Family MONO8 Pinout o GND Pin 2 o NC IRQ High PTAO COM PTA4 0 PTA1 1 o NC o NC Pinl The target GND is connected to the Pin 2 of the target MONOS Header MONO8 For More Information On This Product Go to www freescale com Multilink User Manual A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK The user must pull up the RESET line to target VDD with an external resistor The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 and PORTA4 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA 1 and pull down PORTA4 In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 Please note that in Stand Alone programming mode the MONOS MULTILINK will calculate the proper trim value for the device being programmed and program this trim value to FFCO 3 25 68HC908RF Port Pins Settings During Reset Pin 1 N
4. CO 1F CO 1F CO 1F CO 1F From security ini C Attempt 0 3D E0 76 E0 76 E0 76 From security init Recent Attempt 00 00 00 00 00 00 00 00 Blank on older devices Attempt F5 F6 F7 F8 F9 FA FB FC From security init C User 00 00 00 00 00 00 00 00 Load from 519 C Attempt FF FF FF FF FF FF FF FF From security ini J IGNORE security failure and enter monitor mode Status 68HC08 Device responded properly but ROM is SECURE Specify security bytes or select IGNORE 0 ICS Hardware loopback detected Y 4 Device entered monitor mode Y 1 Device echoed some security bytes Y 5 Reset was Power On Reset Y CO 00 Help 2 Device echoed all security bytes Y 6 ROM is accesible un secured N 3 Device signaled monitor mode with a break Y IV Show this dialog before attempting to contact the target 68HC08 board Contact target with these settings Halt Figure 4 36 Initial Target Connection And Security Dialog Box 4 3 1 Target Hardware Type This section of the dialog allows you to select the type of hardware configuration to which you are trying to connect as well as modify specific protocol settings Note If you select Class V VI or VII in the Target Hardware Type selection box the second section of the Target Connection and Security Dialog changes Please refer to Figure 4 40 and Section 4 3 1 Target Hardware Type for a depiction and description 4 3 1 1 Class Of Target Board There are s
5. FF FF From security ini IGNORE security failure and enter monitor mode Status 0 ICS Hardware loopback detected 4 Device entered monitor mode 1 Device echoed some security bytes 5 Reset was Power On Reset Help 2 Device echoed all security bytes 6 ROM is accesible un secured 3 Device signaled monitor mode with a break IV Show this dialog before attempting to contact the target BSHCO8 board Contact target with these settings Halt Figure 4 40 Class V VI VII Target And Security Dialog The options presented to the user are as follows Device Type Figure 4 41 Device Type Selection Box MONO8 Multilink User Manual 43 For More Information On This Product Go to www freescale com Freescale Semiconductor Microcomputer MON08 MULTILINK Systems Inc 44 4 3 1 3 The device type selection box allows the user to specify what type of HCO8 they are communicating with The dialog will then display the appropriate pinout to be implemented on the MONOS connector so that the P amp E interface can talk to it properly The values given 1 or 0 are for informational purposes only and are driven by the P amp E interface Device Power 5 Volts Generated S witched by P amp E Interface y 5 Volts Generated Switched by P amp E Interface lt lt 5 Volts User Switched when prompted 3 Volts Generated Switched by P amp E Interface 3 Volts User Switched when prompted 2 Vo
6. MON08 MULTILINK Systems Inc 4 1 3 32 In Circuit Programmer The PROGO8SZ In Circuit Programmer is a general purpose programmer which allows the user to program any 68HC908 device with on chip EEPROM FLASH either from an object file Motorola S19 format or byte Chana Meta rmiely aa rw MEA aria Pii Eii EM Alani check podule a Module CIPEMICNO AAA _GP20 08P Es Hirik NECE Fano h 819 File CIPEMKAMICE IPEP DEMO GPZI 819 IE ire Duke range hl PS Erase wori rany E EH Erase mndule FE Program bytes AL ao Fe Progra iiras mi 411 PH Program nuda le CH Choose endele UPF UH Verify podele Verify ranpe EH liplosd models E Uploaded range ES Specefy E record BL SH 13 AL e REER 144 RI BE SOE AE mM ACO niet BiG 89 cE JS 20 SE OM bE n win Bite b ZF 6E 5h 25 GE 0 20 WnTia fete da PE F SF ab b a ES 0 Miri AD EY OF GF OF A A Bao FA DE BR a Fe FE GA AP on BEZE BF 16 FO BY 48 B7 Ad BM asiria Fi Eg Gf Bb 75 Ae FF B7 25 GE AMBAS H ne 2h AF AD 35 26 BA J 47 Hoh G 27 07 JA 47 24 43 ED kh cali programar Albee i les E a Ji rai Radule has herm Prasei ranri hething rage of F fecerds Checked Progaming Address PFFF Pregame hecking ramya of A recorda Chacked erityiny Address GEEFF Verified Figure 4 30 PROGO8SZ Programmer Screen Snapshot When connecting to the target the user will be prompted to make selections from the Target Connection And Se
7. More Information On This Product Go to www freescale com Freescale Semiconductor Inc Microcomputer P amp Systems Inc MON08 MULTILINK 4 3 1 2 Class V VI VII Options If you select Class V VI or VII in the Target Hardware Type selection box the second section of the Target Connection and Security Dialog changes to appear as below Attempting to contact target and pass security Target Hardware Type vil P amp E MONOS MULTILINK Cable connected to target via ribbon cable Auto Baud and Auto Power Advanced MClass Y YI VII CYCLONE and MONOS MULTILINK Settings L g Parallel Port fi MONOS Pinout NC GND NC o RST Device Type GP y NC IRQ High E NC o PTA0 COM Device Power 3 Volts Generated Switched by P amp E Interface y NC o o PTAT 0 NC o o PICO 1 Device Clock 1Mhz 32Mhz Target self clocked OSC o o PIC1 A Clock Divid J2 y Vout PIC3 1 lock Divider ae Target MCU Security bytes Attempt ALL Known security codes in order C Attempt CO 94 C0 94 C0 94 C0 94 From security ini Attempt FF FF FF FF FF FF FF FF Blank Device Attempt CO 1F CO 1F CO 1F CO 1F From security ini Attempt E0 3D E0 76 E0 76 E0 76 From security init Recent Attempt 00 00 00 00 00 00 00 00 Blank on older devices C Attempt F5 F6 F7 F8 F9 FA FB FC From security init C User 00 00 00 00 00 00 00 00 Load from 519 Attempt FF FF FF FF FF FF
8. PinlS Vout o PIC1 0 Pinl Figure 3 27 68HC908SR Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTA2 and PORTC 1 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA 1 and pull down PORTA2 and pull up down PORTC1 for clock division In which case the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual 29 For More Information On This Product Go to www freescale com Freescale Semiconductor i Microcomputer MON08 MULTILINK Systems Inc 4 4 1 PC HOSTED DEBUG PROGRAMMING SOFTWARE Free or low cost software options for interactively programming and debugging 68HC08 MCUs from the PC are available from P amp E Microcomputer Systems www pemicro com and Metrowerks www metrowerks com P amp
9. Window 5 Select the PEDebug pull down menu and navigate to the appropriate device as shown in Figure 4 33 6 Likewise in the PEDebug pull down menu select Mode In Circuit Debug Programming Freescale Semiconductor Inc MONO8 Multilink User Manual 35 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Freescale Semiconductor A Microcomputer MON08 MULTILINK Systems Inc True Tirar Sissdalor A Meal Time Delage 6 Pepa pira A arte HILO A topics ACT mE Fia Vee fim PSebeg Conpereent Source Wri Hei O E a asas Figure 4 33 PEDebug Pull down Menu The PROGO8SZ Attempting to contact target and pass security window appears 7 Select the appropriate class in Target Hardware Type Class VII for MONOS MULTILINK and Class V for MONO8 CYCLONE 8 Click Contact target with these settings 9 Follow the Power Cycle dialog instructions 10 Click Yes in Confirm window Figure 4 34 11 Click Yes in Erase and Program FLASH window Figure 4 35 12 Follow the subsequent Power Cycle dialog instructions as the scripted procedure automatically establishes communications erases the FLASH if necessary and programs the FLASH 36 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com reescale Semiconductor Inc AEA er P amp Systems Inc MON08 MULTILINK xl 2 Current debug mode changed do you wi
10. and their corresponding pin outs for user references The software also selects the single wire communications line according to the target processor type MONO8 Multilink User Manual 7 For More Information On This Product Go to www freescale com Freescale Semiconductor i Microcomputer MON08 MULTILINK Systems Inc 2 4 Ribbon Cable The MONOS MULTILINK communicates with the target through a 16 pin ribbon cable with 0 100 inch centerline dual row socket IDC assembly not keyed The ribbon cable is designed such that the MONOS MULTILINK MONOS Connector and the target MONOS Header have the same pinout i e The Pin 1 of the MONOS MULTILINK MONOS Connector is connected to the Pin 1 of the target MONOS Header Figure 2 3 sketches the connection mechanism looking down into the sockets Ribbon Cable with IDC Socket Connects To Connects To Target MULTILINK MONO8 Header MONOS Header Figure 2 3 Ribbon Cable Diagram 2 5 Target Power Management The PC software can be configured to have the MONOS MULTILINK drive 2V 3V or 5V power to the target on Pin 15 of the MONOS connector The device power option on the connection dialog specifies the voltage level to source Figure 2 4 shows the device power settings Class Y VI VII CYCLONE and MONOS MULTILINK Settings 13 Parallel Port fi y MONOS Pinout NC GND NC RST Device Type ar y NC o IRQ HighV NC o PTA0 COM Device Power 3
11. did not start the monitor mode security check on reset Signals to force monitor mode may be incorrect 2 The baud rate specified was incorrect 3 The processor was not reset properly Check the Target Hardware Type and if you are connecting to a class II board check the MON08 cable communication connections type in the advanced settings dialog 3 Device signaled monitor mode with a break Once the processor has properly received the 8 bytes from the PC software to complete its security check it should transmit a break character to the PC signaling entry into monitor mode This break should be sent regardless of whether the security check was successfully passed If a break was not received from the processor this flag will be N Reasons for this include 1 The baud rate specified was incorrect 2 The processor was not reset properly Check the Target Hardware MONO8 Multilink User Manual 49 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc 50 4 Type If you are connecting to a class II board check the MONOS cable communication connections type in the advanced settings dialog Device entered monitor mode Once the software has received or failed to receive a break from the processor it attempts to communicate with the monitor running on the 68HC08 processor It tries to read
12. the monitor version number by issuing a monitor mode read If the processor fails to respond properly to this command this flag will be N Reset was Power On Reset If the device properly entered monitor mode 4 the software will read the reset status register RSR This read does not affect the security sequence and occurs purely for diagnostic reasons The reset status register indicates the conditions under which the processor underwent the last reset For the software to pass the security check properly it MUST first cause the processor to undergo a Power On Reset The software reads the reset status register to determine if the last reset was indeed caused by power on The result of the reset status register is indicated in parentheses after the flag value If the highest bit is not set then the reset was not a power on reset and the flag will indicate N Reasons for this include 1 The processor did not power all the way down because power was being supplied to the processor through either the port pins IRQ line RESET line or power pins 2 The voltage driven on the power pin of the processor did not go below 0 1 volts 3 The processor was not reset properly Check the Target Hardware Type If you are connecting to a class II board check the MONOS cable communication connections type in the advanced settings dialog ROM is accessible un secured If the device properly entered monitor mod
13. the user to power up the board as follows MONO8 Multilink User Manual For More Information On This Product Go to www freescale com ale Semiconductor Inc f Freese Microcomputer P amp Systems Inc MON08 MULTILINK Possi Up Ding Tian Hp ga on red Cle DE ll DE J ts 7 GORE second takes ered eer morse Td Figure 4 46 Power Up Dialog Power Down ICS Ask the user to power cycle their board Power UP ICS This option will work for many ICS boards as well but relies on the fact that while the ICS is powered off it will hold the target in reset until it is powered up itself and has configured the MONOS configuration pins The sequence of events in this mode is 1 Software automatically powers down the ICS 2 Software asks the user to power cycle their board as follows Pina cle Dido Fieri HG parra cl liede 0 1 Sa M0 pre n sed hen ak iE i E li 3 DE J tos 7 GMO E second p fakes sd mta mrte sede Figure 4 47 Power Cycle Dialog 3 Software automatically powers up the ICS which configures the processors MONOS configuration pins 4 3 2 TARGET MCU SECURITY BYTES One of the steps that is necessary to properly bypass security is to provide the proper security code for the information that is programmed into the part This holds true even when the part is blank The security code consists of the 8 values which are currently stored in flash locations FFF6 FFFD of the processo
14. this before MONO8 Multilink User Manual For More Information On This Product Go to www freescale com reescale Semiconductor Inc AEA er P amp Systems Inc MON08 MULTILINK analyzing the reset of the status bits 1 Device echoed some security bytes The monitor resident in a 68HC08 device automatically echoes every incoming character when it is in monitor mode A valid character transmitted from the PC should be echoed once by the loopback circuitry on the board and once by the monitor of the target processor itself This status indicates whether or not the second echoed character from the monitor response was received when one of the security bytes was transmitted If the status is N which indicates that the character was not received or not received properly it is most likely due to one of the following reasons 1 The baud rate specified was incorrect 2 The part did not start the monitor mode security check on reset Signals to force monitor mode may be incorrect 3 No Power to the ICS If this status bit responded with an N you must correct this before analyzing the reset of the status bits 2 Device echoed all security bytes In order to pass security the software must send 8 security bytes to the processor The processor should echo each of these eight bytes twice If all 8 bytes did not get the proper two byte echo this flag will be N Reasons for this include 1 The part
15. 68HC908JB16 MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTA2 PORTA3 and PORTE3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA1 and PORTE3 pull down PORTAZ2 and pull up down PORTA3 for clock division In which case the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual 19 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 15 3 16 20 68HC908JG Port Pins Settings During Reset Pin NCO o GND Pin2 Target Type 7 tow NC o IR HighV NC o PTE3 1 NC o PTA0 COM NC o PTA1 1 OSC o o PTA2 0 PinlS Vout PTA3 0 Pinl6 Figure 3 15 68HC908JG Family MONO8 Pinout The target GN
16. C o o GND Pin2 Target Type EMMA NC o o RST piri ii NC o IR High NC o o NC NC o PTA0 COM NC PTBO 1 OSC o o PTBZ 0 Pinl5 Vout o NC Pinl6 Figure 3 25 68HC908RF Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTBO and PORTB2 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header MONO8 Multilink User Manual 27 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc 3 26 28 Alternatively the user may pull up PORTBO and pull down PORTB2 In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 68HC908RK Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type E NC RST NC IRQ High
17. COPOS 5 eee ee 29 4 PC HOSTED DEBUG PROGRAMMING SOFTWARE coooooocccoconononononnnnnccnnnncccnononoss 30 4 1 P amp E Microcomputer Systems Software cesessscseccesseceeseceeeecseeeneeceeeeeseceeeceeeeaeeceeeeenseeeaeeeees 30 4 2 Metrowerks SoftWare aii 33 MONO8 Multilink User Manual iii For More Information On This Product Go to www freescale com cale Semiconductor Inc Fr P KH Microcomputer Systems Inc 4 3 Target Connection And Security Dialog oonnonocnoccnonnnoconononnnononaninnncnno nacio no rocon ocn no cnn on nnnnn cana rincnns 38 iv MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK 1 INTRODUCTION The MONOS MULTILINK is an interface cable whose purpose is to allow debug and programming of 68HC08 devices via the MONOS debug port The MONOS MULTILINK connects the target to the PC via a standard parallel port Some of the features that make the MONOS MULTILINK versatile are a Software configurable port pin settings for Monitor ROM entrance b Works with 2V 3V and 5V targets with internal bus frequency ranges from 1MHz to 8MHz c Automatically detects target internal bus frequency and sets communications baud rate d May optionally provide either 2 3 or 5V power 125mA to the target via Pin 15 of the MONOS header e Provides 5V 4 9152 MHz oscillator signal to ov
18. D is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTA2 PORTA3 and PORTE3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA1 and PORTE3 pull down PORTA2 and pull up down PORTA3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908JK Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type E NC RST NC o IRQ High NC o o NC NC PTBO COM NC PIBI 1 OSC o o PTBZ 0 PinlS Vout PIB3 0 Pinl6 Figure 3 16 68HC908JK Family MONO8 Pinout MONO8 Multilink User Manual For More Information On This Product Go to www freescale com P amp A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK The target GND is connected to the Pin 2 of the target MONO
19. E s ICSO8 interface software packages are available at no charge from their web site Metrowerks Code Warrior Development Studio for 68HC08 Special Edition is available at no charge from the Motorola MCU Web site www motorola com semiconductors mcu You must register for the license key for this software Note The user should make sure they have the most recent version of these software kits The latest updates can be downloaded from the web pages listed in Section 4 1 1 Latest Updates P amp E Software and Section 4 2 1 Latest Updates Metrowerks Software P amp E Microcomputer Systems Software P amp E s ICS08 software packages contain the WinIDE integrated development environment which pulls together an assembler in circuit simulator flash memory programmer and in circuit debugger The programmer and debugger work with any MONOS hardware interface including P amp E s dedicated hardware interfaces The MONO8 MULTILINK is a Class V device and the MONO8 MULTILINK is Class VII Attempting to contact target and pass security J Target Hardware Type Class Y PRE CYCLONE Interface connected to target via ribbon cable Auto Baud and Auto Power y Class Motorola ICS Board with processor installed Emulation connection ok Power controlled via DTA Class Il Motorola ICS Board without processor Connected to target via 16 pin ribbon Cable Class Ill Direct serial to target w MONOS serial port circuitry built
20. Freescale Semiconductor Inc January 2003 MONOS MULTILINK USER MANUAL P amp E Microcomputer Systems Inc 2001 2002 All Rights Reserved For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Purchase Agreement P amp E Microcomputer Systems Inc reserves the right to make changes without further notice to any products herein to improve reliability function or design P amp E Microcomputer Systems Inc does not assume any liability arising out of the application or use of any product or circuit described herein This software and accompanying documentation are protected by United States Copyright law and also by International Treaty provisions Any use of this software in violation of copyright law or the terms of this agreement will be prosecuted All the software described in this document is copyrighted by P amp E Microcomputer Systems Inc Copyright notices have been included in the software P amp E Microcomputer Systems authorizes you to make archival copies of the software and documentation for the sole purpose of back up and protecting your investment from loss Under no circumstances may you copy this software or documentation for the purpose of distribution to others Under no conditions may you remove the copyright notices from this software or documentation This software may be used by one person on as many computers as that person uses provided that the software is never
21. IN4 10 100 PIN 5 PIN 6 PIN 7 PIN 8 PIN 9 PIN 10 PIN 11 PIN 12 PIN 13 PIN 14 PIN 15 PIN 16 0 100 10 025 Ey Not Drawn to Scale 0 025 Figure 2 1 16 Pin Header Mechanical Drawing The MONOS Connector adopts the standard pin out from MONOS debugging as used on different ICS boards with some modifications The general pin out is as follows PINI NC GND PIN2 PIN3 NC RST PIN4 PINS NC IRQ PIN6 PIN7 NC MON4 PIN 8 PIN9 NC MONS PIN10 PIN11 NC MON6 PIN12 PIN13 OSC MON7 PIN14 PIN15 Vout MONS PIN16 6 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com ale Semiconductor Inc Freese Microcomputer P amp Systems Inc MON08 MULTILINK If viewed right side up from the rear open end of the cable housing the MONOS Multilink header looks like this Figure 2 2 MON08 Connector Pin Location Please note that NC designates that these pins are reserved for future P amp E use Make sure you do not connect any signal to these lines The MON4 MONS signals are software configurable to support connections to different 68HC908 devices Depending upon the device either the MON4 or MONS pin is the single wire communications line which usually corresponds to PORTAO or PORTBO The rest of the lines are either no connect or are port lines which must be driven to particular values upon reset The MONOS MULTILINK software lists the target processor types
22. IRES L EEF phrint rr Ciir CLEN FEEL fber a BESET iii ii iret tii tt ret rrr rrs r naa mage akir EDA HI an J face mr B iHi IER Eiei Ps ee tara oar ELA TIHEBATS eira E precen i der ma simp i E j te ELal dane reglater aad fiat EEG ELA Tindale co A EE Dubra prih E E Ue cd man bw imit oi 5 imit slire perigtereds Boe ir abab ber Pet Cie clr tisti p dr tlaldlre timmi arr e ile Mira cle tireeski madira mp PELs miki DER zki F Midas larerragts mo bapphi pr mainh kml A A p itat omi Meb ORAL id bi aain 158 I Poa Seii im a BERT pebuggr slo lap me LEDS BEE Dante 3 Troaealt bi pr pat r pi iA POCAS pp et ee ee eee eee ee eee Figure 4 29 ICS08SZ Debugger Screen Snapshot Debugger features include e Full speed in circuit emulation e Breakpoints with counters on the Nth execution e Variables window showing multiple data types e Real time execution as well as multiple tracing modes e Startup and Macro files for automating the debug process e Context sensitive help for all commands e Support for symbolic register files e Full source level debugging When connecting to the target the user will be prompted to make selections from the Target Connection And Security dialog For more information please see Section 4 3 Target Connection And Security Dialog MONO8 Multilink User Manual 31 For More Information On This Product Go to www freescale com Freescale Semiconductor A Microcomputer
23. M NC o PTA1 0 NC PTBO 1 OSC o PIB1 0 PinlS Vout PTB4 0 Pinl6 Figure 3 12 68HC908GZ Family MONO8 Pinout MONO8 Multilink User Manual 17 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 13 18 The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTBO PORTB1 and PORTB4 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTBO pull down PORTA 1 and PORTB1 and pull up down PORTB4 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908JB1 8 Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type TE NC o RST NC o IR High NC o NC NC o PTA0 COM NC o PTA1 1 O
24. More Information On This Product Go to www freescale com P amp A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK 3 22 Target Type STC De SERA ene should pull down PORTB1 with a 4 7K Ohm resistor Please note that the MR4 8 is not currently supported by the MONOS CYCLONE 68HC908MR16 32 Port Pins Settings During Reset Pin 1 NC Oo o GND Pin 2 NC IR HighV NC o PTA0 COM NC o o PTC2 0 NC o PTC3 1 OSC o o PIC4 0 PinlS Vout o PTA7 0 Pinl Figure 3 22 68 HC908MR16 32 Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA7 PORTC2 PORTC3 and PORTC4 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTC3 pull down PORTA7 and PORTC4 and pull up down PORTC2 for clock division In which case
25. ORTA 1 and PORTB1 and pull up down PORTB4 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908GR4 8 Port Pins Settings During Reset Pinl NCO OGND Pin2 Target Type 7 NC o RST NC o IR HighV NC o PTA0 COM NC o PTA1 0 NC o PTBO 1 OSC o o PTB1 0 Pinl5 Vouto o NC Pinl6 Figure 3 10 68HC908GR4 8 MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTBO and PORTB 1 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTBO pull down PORTA 1 and PORTBI In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com P amp
26. S Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTBO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTB 1 PORTB2 and PORTB3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTB1 and pull down PORTB2 and pull up down PORTB3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 3 17 68HC908JL Port Pins Settings During Reset Pin 1 NC o o GND Pin2 T tT v NC o RST argetType ete eae Gate NC o o NC NC o PTB0 COM NC PIBI 1 OSC o o PIB2 0 PinlS Vout o PIB3 0 Pinl Figure 3 17 68HC908JL Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The ta
27. SC o o PTA2 0 PinlS Vout o PTA3 0 Pinl Figure 3 13 68HC908JB1 8 MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK PORTA 1 PORTA2 and PORTA3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA 1 and pull down PORTA2 and pull up down PORTA3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 3 14 68HC908JB16 Port Pins Settings During Reset Pin NC o o GND Pin2 m M NC o RST eer NC o IRQ High NC PTE3 1 NC PTA0 COM NC o PTAl 1 OSC o o PTA2 0 PinlS Vout PTA3 0 Pinl Figure 3 14
28. TILINK settings dialog Auto Eo Teia 250 me Ted ate diman aimhe pat n pom dem va DTA and aloe ha decos 1 ove beck ap va he DT conia gral E 7 Tips bh Less dele alte thee po bh paises ups aia the CIT TH Sta negra hal rem essa Geol con A comarca pe cin he Theirs accua iu Gena adag welded PSE Y due la ted deve E Tange has PERET butos Clas B beri Orii 20408 Cable connection coroarcabor tpa Cher li aardr Orii 7 Por Donn CS fob the une io pran pda Shee Sar Pore WP ICS fo Prsa Derm ICE Ask ie uae do praa dor ha boad Por Lis OS irk a amn do pran up er bese Dl edad Figure 4 44 Target Hardware Type Advanced Settings Dialog Tpd and Tpu Timing These timing parameters are mostly designed for Class I boards although the delays are valid for all classes of boards Many of the ICS boards and user target boards need time to power down and power up Whenever power is automatically switched off or is manually requested to be switched off the software waits for an amount of time equal to the Tpd delay time before proceeding to the connection protocol This is because a board or power supply may have capacitance which holds the power up for a short time after the supply has been switched off but the supply voltage must reach less than 0 1v before it is turned back on if a Power On reset is to occur Whenever power is automatically switched on or is manually requested to be switched on the software waits for an am
29. VDD PORTA7 PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO pull down PORTA7 and PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908LJ Port Pins Settings During Reset Pinl NCDOoGND Pin2 Target Type EMMA NC O o RST NC o IR HighV NC o o NC NC o PTA0 COM NC PTAl 1 OSC o o PTAZ 0 PinlS Vout PIC1 0 Pinl6 Figure 3 20 68HC908LJ Family MONO8 Pinout MONO8 Multilink User Manual 23 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 21 Parallel Port h x Device Type MR4 8 y Note MR4 8 devices work only with the MONOS Multilink Interface NC IRQ HighV Device Power 5 Volts Provided by PRE Interface y a a aha Device Clock Target self clocked P amp E Output Clock Disabled y rans 8 F oe Clock Divider s gt Wenta o NE The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The tar
30. Volts Generated Switched by P amp E Interface h NC o o PTAT 0 Device Clo k 5 y NC PICO 1 ck 1Mhz 32Mhz Target self clocked Osc o o PICL 8 Clock Divider 2 y Vout F z PTC3 1 Figure 2 4 MONO8 MULTILINK Pinout Example 2 6 Parallel Port The MONOS MULTILINK connects to the PC via the 25 pin female parallel port connector The BIOS settings for the parallel port should be one of the 8 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK following SPP Normal Standard Output Only Unidirectional AT Try to avoid ECP EPP or PS 2 bi directional If a parallel port extension cable is used the parallel cable connecting the PC parallel port and the MONOS MULTILINK cable must be IEEE1284 compliant 3 TARGET MONO8 HEADER PINOUTS This chapter details the MONOS connector signals according to the individual target MCU types 3 1 68HC908AB Port Pins Settings During Reset Pin NCDOGND Pin Target Type C000 NC 0 RST rks NC IR HighV NC o o NC NC o PTA0 COM NC o o PTCO 1 OSC o o PTC1 0 PinlS Vout o PTC3 0 Pinl Figure 3 1 68HC908AB Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user ma
31. and Auto Power Figure 4 38 MONO8 Cyclone MONO8 Interface and Stand Alone Programmer P amp E s MONOS Cyclone is a stand alone automated programmer and MONOS interface This unit can be used as a debug and programming interface with P amp E software applications on the PC or it can be pre programmed and used in stand alone mode Class VII P amp E MONOS Multilink Cable connect to target via ribbon cable Allows Auto Baud and Auto Power Figure 4 39 MONO8 Multilink Interface Cable The MONOS MULTILINK is an interface cable whose purpose is to allow debug and programming of 68HC08 devices via the MONOS debug port The MONO8 Multilink User Manual 41 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc 42 Note MONOS MULTILINK connects the target to the PC via a standard parallel port If you select Class V VI or VII in the Target Hardware Type selection box the second section of the Target Connection and Security Dialog changes Please refer to Figure 4 40 and Section 4 3 1 Target Hardware Type for a depiction and description Also For the simulator the SIM08 command line parameter causes the software to disconnect from the target and enter Simulation Only mode For information on passing security mode read this topic carefully and also refer to Section 4 3 5 68HC08 SECURITY MODE MONO8 Multilink User Manual For
32. anual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 3 6 68HC908BD Port Pins Settings During Reset Pin NC o o GND Pin2 Target Type NC O o RST oa m NC o IRQ High NC o o NC NC o PTA0 COM NC o PTCO 1 OSC o PIC1 0 Pinl5 Vout o PIC3 0 Pinl6 Figure 3 6 68HC908BD Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may
33. computer MONO08 MULTILINK Systems Inc ioj xi lo Won AY SAA Files Link Order Targets e Fie Code DatalWk AB readme txt n a na m2l E Sources 128 1 x MM GP32 asm 128 1 a MA opregs inc 0 D of 2 Debugger Cmd Files 0 o 6c BA Startup cmd n a na m MA Preload cmd n a na x BA Postload cmd n a na Mm M Reset cmd n a na m E Setcpu cmd n a na x 2 Prm 0 0 md BA default prm n a na xm MA burner bbl n a na m 4 Debugger Project File 0 D sf A project ini n a na Mm NEE 11 files 128 11 Figure 4 31 CodeWarrior Project Window 2 Click the sign to expand the Sources folder Modify the source file if necessary 4 Click the Debug icon green arrow The True Time Simulator and Real Time Debugger launches See Figure 4 32 34 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Microcomputer P amp Systems Inc MON08 MULTILINK rsisdals B Acal Tiew Crh E repo Hirs beige ile re HC ey ETT alle Pa Yer Pie FED Corta eran Hed eja ca ejej j2 j0 4 uo bar Sei Imit bar Imirt Tissr cla Tieessar Eory 11 GA sarral af unid char arrays vi wedged char comp byte ariefimd unsigued oher hr alponr Preset Dosaepolra encon ted TIAPTED ING DIED oi ma Ug Uu Mu EO E T TANILA OES ii ma Ue a a a a a DOGO ii i um hii a i ICO TIN aj Figure 4 32 True Time Simulator amp Real Time Debugger
34. curity dialog For more information please see Section 4 3 Target Connection And Security Dialog The PROGO8SZ is simple to operate after clicking the Contact target with these settings button if the programmer successfully contacts the target it will ask you for the algorithm you wish to use during programming Select the proper algorithm for the device you are attempting to program Then simply select the s record object you wish to program using the SS command Now the setup of the PROGO8SZ is complete and you are ready for operations on the target EEPROM FLASH You may choose EM Erase Module to erase the target EEPROM FLASH Then use BM Blank Check Module to see if the target EEPROM FLASH is indeed erased After that you may choose PM Program Module to program the S record object into the target Finally you may use VC Verify CRC Checksum to verify that the contents are properly programmed in the target memory MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer P amp Systems Inc MON08 MULTILINK 4 1 4 Command Line Programmer CPROGO08SZ is a command line programmer that allows quick turn around time for programming target MCUs The user may create a script file to instruct the software to execute specific commands in sequence Please refer to CPROGO08SZ pdf for more information 4 2 Metro
35. directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual 13 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 7 3 8 14 68HC908EY Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type E NC o RST NC IRQ High NC o PTA0 COM NC PTA1 0 NC PTB3 0 OSC o PIB4 1 PinlS Vout PIBS 0 Pinl Figure 3 7 68HC908EY Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTB3 PORTB4 and PORTBS are used for entering monitor mode By default the user may directly bring these signals out to th
36. e 4 the software reads locations FFF6 FFFF to determine if the processor passes the security check Memory locations which are invalid or protected read back from the device as AD If all bytes from FFF6 FFFF read a value of SAD it is assumed the device is secure and the flag value is an N If all flags 0 5 register a value of Y and flag 6 register a value of N then the reset process has gone correctly except that the security code used to pass security was incorrect Specify the correct security code and try again or IGNORE the security failure and erase the device Once you erase a secured device you must exit the software and restart it in order to pass MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK security 4 3 4 ADDITIONAL DIALOG BUTTONS The following buttons are also available Contact target with these settings This causes the software to attempt to cause a power on reset of the target and to attempt to pass security with the settings in this dialog Simulation Only This button is only visible in In Circuit Simulation This causes the In Circuit Simulator not to use the target and instead to do completely software based simulation The SIM08 command line parameter has the same function Halt This causes the software to terminate and return to the calling env
37. e target MONOS Header Alternatively the user may pull down PORTA 1 and PORTB3 and pull up PORTBA and pull up down PORTBS for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908GP Port Pins Settings During Reset Pin 1 NC O o GND Pin2 Target Type 7 NC o o RST NC o IR HighV NC o PTA0 COM NC o PTAT 0 NC o PTCO 1 OSC o o PTC1 0 PinlS Vout o PTC3 0 Pinl Figure 3 8 68HC908GP Family MONO8 Pinout MONO8 Multilink User Manual For More Information On This Product Go to www freescale com A Freescale Semiconductor Inc Microcomputer PK Systems Inc MON08 MULTILINK The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONO8 MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA7 PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the
38. e user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA2 PORTA 1 and PORTBO are used for entering monitor mode By default the user may bring these signals out to the target MONOS Header Alternatively the user may pull down PORTA2 and pull up PORTA 1 and pull up down PORTBO for clock division In which case the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual For More Information On This Product Go to www freescale com P amp A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK 3 3 3 4 Port Pins Settings During Reset M Port Pins Settings During Reset 68HC908AS Pinl NCO OGND Pin Target Type 7 NC 0 o RST NC o IR HighV NC o o NC NC o PTA0 COM NC o PTCO 1 OSC o o PTCI 0 PinlS Vout PTC3 0 Pinl6 Figure 3 3 68HC908AS Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need t
39. eate a power on reset condition two events must occur 1 Power of the target MCU must go below 0 1v This means that the processor can not be receiving power from its power pins nor can it have a significant voltage being driven on port pins or the IRQ line as these will drive the MCU power back through these pins It is crucial therefore to have the ICS and the Target both powered down at some point in time 2 The processor MONO8 configuration pins including IRQ must be properly driven when the target processor resets to drive it into monitor mode If these pins are not set up properly before the processor powers up the processor may start up in user mode Power Down ICS Ask the user to power down their board Power Up ICS Ask the user to power up their board This is the default option and should work for most if not all ICSO8 Target Board solutions Refer to the manual addendum under startup for the settings for a specific ICS board It requires the user go through two dialog stages and requires more time than simply cycling the power 1 Software automatically powers down the ICS 2 Software Asks the user to power down the board as follows Poe Doan lados Tin MO pras nlf piade D o and Gack Ti Do ET iar i rok an pol 7 GORE second p ds sd mta morse Td Figure 4 45 Power Down Dialog 3 Software automatically powers up the ICS which configures the processor s MONOS configuration pins 4 Software asks
40. erdrive target crystal and RC clock circuitry 2 MONO8 MULTILINK HARDWARE 2 1 MONO8 MULTILINK Power Supply The MONO8 MULTILINK requires a regulated 9V DC Center Positive power supply with 1 3 3 5mm female plug The MONOS MULTILINK derives its power from the Power Jack located beside the MONOS connector When the cable is powered up the Green LED will be on If the target is powered the Yellow LED will be on 2 2 Optional Oscillator The MONO8 MULTILINK provides a 5V 4 9152 MHz oscillator clock signal to Pin 13 of the MONOS Connector If the target is a 5V system the user may use this clock signal to overdrive the target RC or crystal circuitry If this signal is not used just leave Pin 13 of the target MONOS header unconnected MONO8 Multilink User Manual 5 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc Please note that if the target already uses an oscillator as its clock the MONOS MULTILINK will NOT be able to overdrive it The clock should have sufficient drive to be used with a target system even if the target system has an RC circuit or crystal connected 2 3 Target MONO8 Connector The MONOS MULTILINK requires the target to have a standard 16 position 0 100 inch pitch dual row 0 025 inch square header The mechanical drawing is shown in Figure 2 1 0 100 Dual Row 0 025 Square Header PIN 1 PIN 2 PIN 3 P
41. everal different configurations of target boards and P amp E s MONOS based applications communicate to each type of hardware a little differently The options are 38 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com reescale Semiconductor Inc AEA er Systems Inc MON08 MULTILINK Class I ICS Board with processor installed This is the standard and most common configuration of the ICS08 boards In this configuration the processor is resident in one of the sockets on the ICS board itself The processor can be debugged and programmed in this configuration and an emulation cable containing all the processor I O signals can be connected to the user s target board In this configuration the ICS board hardware can automatically power up and down the processor in order to pass security in the simplest fashion The user has to be sure not to provide power from the target up through the emulation cable to the processor pins themselves when this dialog appears This is so that the software when attempting to establish communications can fully power the processor down The software running on the PC controls power to the target via the serial port DTR line This configuration can be specified at startup in the software by using the ICS08 command line parameter otherwise the software will remember the hardware configuration from session to session Class II ICS Board without processor c
42. get IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 PORTA2 and PORTC 1 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA 1 and pull down PORTA2 and pull up down PORTC1 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908MR4 8 Class V VI VII CYCLONE and MONOS MULTILINK Settings F MONOS Pinout NC GND PTB1 RST 24 Figure 3 21 68HC908MR4 8 Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTBO from the target processor is connected to Pin 8 of the target MONOS Header PORTB 1 of the target processor is connected to Pin 3 of the target MONOS header Together they serve as the data communication lines The user MONO8 Multilink User Manual For
43. in aoe IV Direct serial to target w MONOS serial port circuitry and additional auto reset circuit built in IC P amp E CYCLONE Interface connected to target via ribbon cable Suto Baud and 4uto Power cen WI P amp E POWEROS Interface to target w MONOS circuitry built in Auto Baud and Auto Power A Class Vil P amp E MONOS MULTILINK Cable connected to target via ribbon cable Auto Baud and Auto Power Advanced Figure 4 28 Hardware Selection in P amp E PROG08SZ Latest Updates P amp E Software The most recent updates of P amp E s 68HC08 software products are available to download after a brief registration at http www pemicro com ics08 4 1 2 In Circuit Debugger 30 The ICDO85SZ In Circuit Debugger uses the PC s Parallel Port to communicate with the MONOS MULTILINK which further controls the target 68HC08 device via the MONOS connection With the ICDO8SZ In Circuit Debugger you can load code into the on chip RAM run code out of RAM or FLASH MONO8 Multilink User Manual For More Information On This Product Go to www freescale com reescale Semiconductor Inc AEA er P amp Systems Inc MON08 MULTILINK already programmed by the In Circuit Programmer and set many software breakpoints and a single hardware meaning in FLASH breakpoint The main advantage of using the ICDO8SZ is that your application runs in real time at the full bus speed of the processor
44. in 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908AZ M Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type 7 NC o o RST NC o IR HighV NC o o NC NC o PTA0 COM NC o PTCO 1 OSC o PTC1 0 Pinl5 Vout o PIC3 0 Pinl6 Figure 3 5 68HC908AZ Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD MONO8 Multilink User M
45. ironment 4 3 5 68HC08 SECURITY MODE Monitor mode is a special mode on the 68HC08 device which allows an external host to control the 68HC08 microcontroller via an asynchronous serial interface This feature allows a host computer to query and modify the state of the processor including to load debug and program code Without any protection mechanism this same feature could be used to read out the internals of the microcontrollers ROM The M68HC08 microcontrollers have a additional built in mechanism to protect a programmed device from being read and disassembled The mechanism allows a user who knows the security unlock code to enter monitor mode and access the internal ROM flash This is often desirable to allow real time debugging of a programmed device The ICD08SZ allows just such functionality The security mechanism also allows a user who doesn t know the security code to enter monitor mode but doesn t give them access to the ROM Upon failing the security protocol the ROM Flash is removed from the memory map until the next POWER ON reset in which case the host has to bypass security again The advantage of this is that even though any on chip flash is not READ accessible it is erasable Forgotten what you programmed into your device The answer is simple erase it A device is automatically protected in this manner The 8 bytes from address FFF6 to FFFD constitute the security unlock code which can be used to pass the sec
46. lts Generated Switched by P amp E Interface 2 Volts User Switched when Figure 4 42 Device Power Dialog The device power selection allows the user to specify whether the target is 2 3 or 5 Volts and whether this power is switched generated by the P amp E interface or if it is separately supplied to the target and under user control If it is under user control the software will use dialog boxes to ask the user to power the target up and down when necessary similar to Class II IV Device Clock 1Mhz 32Mhz Target self clocked x 4 9152Mhz Clock driven by P amp E Interface 1Mhz2 32Mhz Target self clocked 30Khz 100Khz Target self clocked with PLL circuitr Figure 4 43 Device Clock Selection Box The device clock menu allows three options 1 P amp E provides clock to target 2 The target has its own clock 1 32MHz 3 The target has a slow crystal 30KHz 100KHz with PLL circuitry P amp E tries to enable the PLL to allow programming and debug at higher speeds Baud There is no need to set baud rate for Class V VI or VII targets as it is auto detected from the target Advanced Settings Dialog The Advanced Button brings up a dialog which allows the user to set specific protocol settings The following is an explanation of each part of the advanced MONO8 Multilink User Manual For More Information On This Product Go to www freescale com scale Semiconductor Inc Wiin P amp Systems Inc MON08 MUL
47. o connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908AT Pinl NCO o GND Pin 2 Target Type 7 NC o 0 RST NC o o IR HighV NC o o NC NC o PTA0 COM NC o o PTCO 1 OSC o o PIC1 0 PinlS Vout o PIC3 0 Pinl6 Figure 3 4 68HC908AT Family MONO8 Pinout MONO8 Multilink User Manual 11 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 5 12 The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the P
48. o ignore security check failure This checkbox can be overridden to be unchecked on startup via the FORCEPASS command line parameter which will cause the software to pop up the connection dialog when the security check has failed Note that if a connection is not established for a reason other than security failure the connection dialog will always appear STATUS The status area consists of one status string following the Status label and seven items which list the state of the last attempt to connect to a target and pass security The description for these items is as follows 0 ICS Hardware loopback detected Every ICS or board which supports MONOS has a serial loopback in hardware which by connecting the transmit and receive lines automatically echoes characters from the PC A valid character transmitted from the PC should be echoed once by the loopback circuitry on the board and once by the monitor of the target processor itself This status indicates whether or not the first echoed character from the hardware loopback was received when one of the security bytes was transmitted If the status is N which indicates that the character was not received it is most likely due to one of the following reasons 1 Wrong Com Port specified 2 The baud rate specified was incorrect probably too low 3 The ICS Target is not connected 4 No Power to the ICS If this status bit responded with an N you must correct
49. onnected to target via MONOS Cable In this configuration there is no processor resident in any of the sockets of the ICS board itself The processor is mounted down in the target system The connection from the ICS board to the target is accomplished via the 16 pin MONOS connector In this configuration since the ICS does not control power to the processor the user will be prompted to turn the processor s power supply on and off Turning off the power supply is necessary in order to be able to pass the initial security mode check and access the flash on the processor A simple reset is not enough to pass the security check you must first force the processor to encounter a POR power on reset which requires that the processor s voltage dip below 0 1v Once security has been passed resetting the device or re entering the software should be easier This configuration can be specified at startup in the software by using the MONO08 command line parameter otherwise the software will remember the hardware configuration from session to session Class III Custom Board no ICS with MONOS serial port circuitry built in In this configuration the ICS board is not used at all The user must provide a serial port connection from the PC and provide all hardware configuration necessary to force the processor into MONO8 mode upon reset This includes resets both internal and external to the processor In this configuration because the software does n
50. ot directly control power to the processor the user will be prompted to turn the processor s MONO8 Multilink User Manual 39 For More Information On This Product Go to www freescale com Microcomputer Freescale Semiconductor MON08 MULTILINK PX Systems Inc 40 power supply on and off The use will also be prompted to turn power on and off to reset the target processor as the PC doesn t have control of the target reset Turning off the power supply is necessary mainly to be able to pass the initial security mode check and access the flash on the processor A simple reset is not enough to pass the security check you must first force the processor to encounter a POR power on reset which requires that the processor s voltage dip below 0 1v Once security has been passed resetting the device or re entering the software should be easier This configuration can be specified at startup in the software by using the NODTR command line parameter otherwise the software will remember the hardware configuration from session to session The Class III selection also applies to use of the ICS board with the two pin blank part programming connector Class IV Custom Board no ICS with MONOS serial port circuitry and additional auto reset circuit built in In this configuration the ICS board is not used at all The user must provide a serial port connection from the PC and all hardware configuration necessary to force the processo
51. ount of time equal to the Tpu delay time before attempting to contact the 68HC08 processor This is to allow time not only for power to be fully available but to wait until any reset driver has finally released the RESET line On many ICS08 boards such as the ICSO8RK M68ICSO8JL3 M68ICSO8JLJK and ICSO8GP20 the Tpu can be decreased to as little as 250ms with no adverse effects Target has RESET button class III boards only The software occasionally needs to get control of the target On systems which are Class HI boards with the monitor mode circuitry built in including RS 232 driver there is no means to reset the target to gain control If the board has a reset button the software can use this to gain control of the target system If this option is checked the software will prompt the user to push the target reset button when a reset of the target system is desired If the option is unchecked the software will ask the user to power cycle the target system to achieve a MONO8 Multilink User Manual 45 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 46 reset MONOS Cable connection communications type Class II boards Only This selection box is valid only for Class II hardware configurations using the MONOS cable It allows the user to specify the sequence that the software uses to power up the ICS system When the software tries to cr
52. r The PROGO8SZ flash programming software continually records any changes to these security bytes and stores them in the file SECURITY INI The information in this file is shared with P amp E s In Circuit Debugger and In Circuit Simulator software and will appear in the dialog box This allows the user to specify which security code to use to pass security MONO8 Multilink User Manual 47 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc 4 3 3 48 This dialog can also be used by the user to manually enter the proper security bytes via the USER setting or to load the security bytes from the same S19 file which was programmed The bytes are loaded from an S19 file by clicking the Load from S19 button IGNORE security failure and enter monitor mode This checkbox can be used to cause the software to ignore a failure to properly pass the 68HC08 security check If the checkbox is set the software will attempt to establish monitor mode communications regardless of the security status As long as the Baud and Port are correct and the device has been properly powered this will allow monitor mode entry Note that by ignoring the security check failure you may use monitor mode but the ROM Flash will not be accessible The checkbox can be set to be checked on startup via the FORCEBYPASS command line parameter which will cause the software t
53. r into MONO8 mode upon reset In addition the user must include an extra circuit which allows the reset line of the processor to be driven low from the DTR line of the serial port connector Pin 4 on a DB9 The following diagram shows the additional connection needed to reset from a DB9 serial connector to DTR Line MONOS DB9 Pin 4 Figure 4 37 Additional Connection To Reset From DB9 In this configuration because the software does not directly control power to the processor the user will be prompted to turn the processor s power supply on and off Turning off the power supply is necessary in order to be able to pass the initial security mode check and access the flash on the processor A simple reset is not enough to pass the security check you must first force the processor to encounter a POR power on reset which requires the processor s voltage to dip below 0 1v Once security has been passed resetting the device MONO8 Multilink User Manual For More Information On This Product Go to www freescale com Freescale Semiconductor Inc Microcomputer P amp Systems Inc MON08 MULTILINK should be facilitated by the above circuitry This configuration can be specified at startup in the software by using the NODTRADD command line parameter otherwise the software remembers the hardware configuration from session to session Class V P amp E MONOS CYCLONE connect to target via ribbon cable Allows Auto Baud
54. rget IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTBO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD MONO8 Multilink User Manual 21 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 18 22 PORTB1 PORTB2 and PORTB3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTB1 and pull down PORTB2 and pull up down PORTB3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 68HC908KX Port Pins Settings During Reset Pin NC o o GND Pin2 Target Type EE Ree NC IRQ HighV NC o PTA0 COM NC o o PTA1 0 NC o PTBO 1 OSC o o PTB1 0 Pinl5 Vout o NC Pinl6 Figure 3 18 68HC908KX Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The user must pull up the RESET line to target VDD with an external resistor The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal
55. sh to reload object file data Figure 4 34 Confirm Window la Erase and Program Flash ji lo xj Load image contains flash memory data Erase and Program tilash FP Shvaps Erase and Program flash shot asking Figure 4 35 Erase And Program Flash Window At this point the FLASH memory is programmed and ready for debug The True Time Simulator amp Real Time Debugger integrates the debugger tools from P amp E Microcomputer Systems in this example The windows look slightly different between the ICDO8SZ and True Time tools but the same basic debugger ICD08SZ drives both MONO8 Multilink User Manual 37 For More Information On This Product Go to www freescale com Freescale Semiconductor Microcomputer MON08 MULTILINK Systems Inc 4 3 Target Connection And Security Dialog The following is an explanation of each part of the target connection dialog For information on passing security mode read this topic carefully and refer to Section 4 3 Target Connection And Security Dialog Attempting to contact target and pass security Target Hardware Type Advanced Class Il IIL IV Settings Serial Port 1 y Close COM Port Baud Specified Baud 14421 The serial port is open Target MCU Security bytes Attempt ALL Known security codes in order C Attempt CO 94 C0 94 C0 94 C0 94 From security ini C Attempt FF FF FF FF FF FF FF FF Blank Device Attempt
56. t be dropping lower than 0 1v which it must to have a power on reset Make sure the Target hardware type is set to the proper class of hardware There are several ways you can specify the proper security bytes If you know the programmed security bytes i e the bytes from FFF6 FFFD you can enter them in the edit box listed User and click OK Retry You can use the Load from S19 to specify the s record file which contains the object information currently programmed into the MCU P amp E s software will automatically extract the security information from this file and use it to pass security Once you have specified the s record file click the OK Retry button You can erase the device Run the PROGO8SZ application and when the above box appears select the IGNORE security failure option and click OK Use the Choose Module command to select the appropriate programming algorithm and select Erase Module This should erase the device You will have to execute the Choose Module command again before you can access the blank device Note on some older revisions of silicon you can t ignore the security failure and it will bring this box back up every time you click OK Retry If this is the case you should obtain the latest silicon revision from Motorola MONO8 Multilink User Manual For More Information On This Product Go to www freescale com
57. the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual 25 For More Information On This Product Go to www freescale com Freescale Semiconductor MON08 MULTILINK PX Microcomputer Systems Inc 3 23 3 24 26 Port Pins Settings During Reset 68HC908QT Pinl NCO OGND Pim2 Target Type 7 AA NC IR HighV NC o PTA0 COM NC o PTA4 0 NC PTA1 1 Osc o o NC Pinl5 Vout o NC Pinl6 Figure 3 23 68HC908QT Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The user must pull up the RESET line to target VDD with an external resistor The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONO8 MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTA 1 and PORTA4 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTA 1 and pull down PORTA4 In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 Please note that the MONO8 MULTILINK will calculate the proper trim value for the device being programmed and program this trim value to FFCO 68HC908QY
58. urity check and get access to the ROM Flash Hence if a user knows what has been programmed into a device they implicitly know the security unlock code In order to facilitate passing the security check on a 68HC08 device the MONO8 Multilink User Manual 51 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 52 PROGO8SZ software continually records any changes to these security bytes and stores them in the file SECURITY INI The information in this file is also shared with P amp E s In Circuit Debugger and In Circuit Simulator Software This allows the user to reset the device and still have access to the monitor mode Sometimes the case comes up where the software can t pass security mode The Target Connection and Security Dialog section has a STATUS section which describes the different failures and what to check in each case The most common reasons for not passing security are You are not choosing the proper security code to pass security On a power on reset the device is not powering down to below 0 1 volts With a Class I board ICS with processor you may be driving the pins on the emulation header while the device is being powered down This back drives current through the ports and doesn t let the device fully power down On other classes of boards when prompted to power down the device the supply voltage might no
59. used on two computers at the same time P amp E expects that group programming projects making use of this software will purchase a copy of the software and documentation for each user in the group Contact P amp E for volume discounts and site licensing agreements P amp E Microcomputer Systems does not assume any liability for the use of this software beyond the original purchase price of the software In no event will P amp E Microcomputer Systems be liable for additional damages including any lost profits lost savings or other incidental or consequential damages arising out of the use or inability to use these programs even if P amp E Microcomputer Systems has been advised of the possibility of such damage By using this software you accept the terms of this agreement MS DOS amp Windows are registered trademarks of Microsoft Corporation Motorola is a registered trademark of Motorola Inc IBM is a registered trademark of IBM corporation P amp E Microcomputer Systems Inc P O Box 2044 Woburn MA 01888 617 353 9206 WWW pemicro com Manual version 1 03 For More Information On This Product Go to www freescale com Freescale Semiconductor Microcomputer Systems Inc 1 INTRODUCTION ai iii 5 2 MONOS MULTILINK HARDWARE iio okies ci ORs ee Ges Ca seas 5 2 1 MONO8 MULTILINK Power Supply sssesssseesssesersreersresrssrssestsertsseerrsretstenterentersertsseeresreeesrent 5 2 2 Optional Oscillator cccsscccsccse
60. user may pull down PORTA7 and PORTC1 pull up PORTCO and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header 3 9 68HC908GR16 M Port Pins Settings During Reset Pinl NCO OGND Pin2 GRI6 ee one Target Type KEA NC O o IRQ High NC o PTA0 COM NC o PTA1 0 NC Oo PTBO 1 OSC o PIB1 0 PinlS Vout PIB4 0 Pinl6 Figure 3 9 68HC908GR16 MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD MONO8 Multilink User Manual 15 For More Information On This Product Go to www freescale com Freescale Semiconductor e Microcomputer MON08 MULTILINK Systems Inc 3 10 16 PORTA 1 PORTBO PORTB1 and PORTB4 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTBO pull down P
61. vssccvecbesssnetuevches yossnscteveesing sauuiededecsnesusesdcbeasstedecgeasetessevedesbeetanssecbegees 5 2 3 Target MONOS Connect sirini irae ee setae se Ea EER a EAEE E EE oase ERE 6 2 4 Ribbon Cable renee re eir A E E a ao ee ce es 8 2 5 Target Power Manageme nities sissies ionia rie eT EEE EE R E a ea EE E ai 8 2 6 Parallel Ae a E EEEE aan ETEA oh eet E 8 3 TARGET MONOS HEADER PINOUTS cccccccsssscceesessececssssececeeseeeececseaessssseeeeeeesaes 9 3 1 6SHCIOSAB 2 A A EE 9 3 2 6SHCIOSA Pesticidas 10 3 3 PS esis E vetacscee nest Heenan cues sca chute rues EAO ETA RSG 11 3 4 OSHE90S8A Tein esses Hite ese bees Sa ainia 11 359 OSHE90SA Zick de ed dt e e te oe e ta e 12 3 6 6SACIO BDO a aa 13 3 7 6SHCIOSE Y riroraa e a e esti es 14 3 8 SACO GP arei E EEEE a 14 3 9 GOSHCIOSGR lO irere ii EEE sos be sees EE EE E AE A EEE EEEE 15 3 10 OSHE9IOS GRAE cos tn AS Oe 16 3 11 AA Ns EA ceeded a el eases tee dee es 17 3 12 AAA A SOS hast ees 17 3 13 OSH COOSIB ILS visi csceeds cascade sbesd otc di iia 18 3 14 O8HC9OS8IB NN 19 3 15 OSI COOS IG EE AEE E ste ates theses speek E lous attiess jasweNeantbenats ich easeeaneenseuas 20 3 16 ACI it 20 3 17 OSHC908I A NO 21 3 18 OSHC90SKX illa 22 3 19 CECI a A a ata 23 3 20 SC O in cds 23 3 21 6SHCEIOS MIRAS score E is 24 3 22 O8HC908MR1 O lin A ia 25 3 23 OSH CIOS O aiii 26 3 24 68BHCIOZQY A A iaa 26 3 25 6SHEIOSR Fcio A A AS 27 3 26 6SHCIOSR Kia e do ae te tl eet ete kde dc lo a 28 3 27 Coo y 0 10
62. werks Software The special edition of Metrowerks CodeWarrior studio offers absolute assembly and provides debugging capabilities based on P amp E s programming and debug technologies 4 2 1 Latest Updates Metrowerks Software The most recent updates of Metrowerks CodeWarrior software is available at http www metrowerks com MW Support Download default htm did find amp vers gt CWHCO8 amp submit Find 4 2 2 Metrowerks CodeWarrior A programming or debug session with the project based Code Warrior IDE may be launched by double clicking on the project name format is projectname mcp from your file storage Starting a new project is a little more challenging but the tutorials FAQs and Quick Start Guides are easy to follow and have you building a new project using pre built templates in a short time See www Metrowerks com MW Develop and select CodeWarrior Development Studio for HC08 for Microcontrollers The following example illustrates how to program and debug an M68HC908 MCU from within the CodeWarrior IDE Here are the main steps in programming the FLASH with CodeWarrior and starting a debug session 1 a Launch the Code Warrior CW08 software and create a new project or b Double click on your project file projectname mcp The Project Manager window appears See Figure 4 31 MONO8 Multilink User Manual 33 For More Information On This Product Go to www freescale com Freescale Semiconductor i Micro
63. with a 10K Ohm resistor to the target VDD PORTA 1 PORTBO and PORTB 1 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTBO and pull down PORTA 1 and PORTB1 In which case the user does not need to connect these signals to the target MONOS Header The clock division is fixed Div 4 MONO8 Multilink User Manual For More Information On This Product Go to www freescale com P amp A Freescale Semiconductor Inc Microcomputer Systems Inc MON08 MULTILINK 3 19 3 20 Port Pins Settings During Reset Target Type i Bao ee 68HC908LD Pinl NC o o GND Pin2 NC o IR High NC o PTA0 COM NC o PTAT 0 NC o PTCO 1 OSC o o PTICI 0 PinlS Vout o PIC3 0 Pinl6 Figure 3 19 68HC908LD Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 8 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target
64. y pull up the RESET line to target VDD In which case the user does not need to connect this signal to the target MONOS Header The target IRQ line is directly connected to the Pin 6 of the target MONOS Header PORTAO from the target processor is connected to the target MONOS Header Pin 10 acting as the communications line The MONOS MULTILINK pulls up this signal with a 10K Ohm resistor to the target VDD PORTCO PORTC1 and PORTC3 are used for entering monitor mode By default the user may directly bring these signals out to the target MONOS Header Alternatively the user may pull up PORTCO and pull down PORTC1 and pull up down PORTC3 for clock division In which case the user does not need to connect these signals to the target MONOS Header MONO8 Multilink User Manual 9 For More Information On This Product Go to www freescale com Freescale Semiconductor f Microcomputer MONO08 MULTILINK Systems Inc 3 2 10 68HC908AP M Port Pins Settings During Reset Pin 1 NC o o GND Pin2 Target Type EC NC RST NC o IR HighV NC o o NC NC o PTA0 COM NC PTA2 0 OSC o o PTA1 1 PinlS Vout PIBO 0 Pinl 6 Figure 3 2 68HC908AP Family MONO8 Pinout The target GND is connected to the Pin 2 of the target MONOS Header The target RESET line is directly connected to the Pin 4 of the target MONOS Header Alternatively the user may pull up the RESET line to target VDD In which case th

Download Pdf Manuals

image

Related Search

Related Contents

930035 Pocket COMM PMR Profi  SIBEN 7.0 Manual de Usuario  MANUEL DE L`OPÉRATEUR  CATALOGUE DES PRODUITS  Circulaire DREES/ESPAS n° 2010  2 - Sulky Burel    VIO 4K - Ref. V701  Samsung Galaxy Pocket Plus User Manual  Toshiba Portégé Z930  

Copyright © All rights reserved.
Failed to retrieve file