M68MULTILINK08 Freescale Semiconductor, M68MULTILINK08 Datasheet

PROGRAMMER LOW COST 68HC908

M68MULTILINK08

Manufacturer Part Number
M68MULTILINK08
Description
PROGRAMMER LOW COST 68HC908
Manufacturer
Freescale Semiconductor
Type
In Circuit Debuggerr
Datasheet

Specifications of M68MULTILINK08

Contents
In-Circuit Programmer, Emulator, Debugger, CodeWarrior Dev. Studio for HC08, Power Supply
For Use With/related Products
68HC908 FLASH MCUs
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Freescale Semiconductor, Inc.
January 2003
MON08 MULTILINK
USER MANUAL
©P&E Microcomputer Systems, Inc., 2001, 2002; All Rights Reserved
For More Information On This Product,
Go to: www.freescale.com

Related parts for M68MULTILINK08

M68MULTILINK08 Summary of contents

Page 1

... Freescale Semiconductor, Inc. MON08 MULTILINK USER MANUAL ©P&E Microcomputer Systems, Inc., 2001, 2002; All Rights Reserved For More Information On This Product, Go to: www.freescale.com January 2003 ...

Page 2

... Freescale Semiconductor, Inc. Purchase Agreement P&E Microcomputer Systems, Inc. reserves the right to make changes without further notice to any products herein to improve reliability, function, or design. P&E Microcomputer Systems, Inc. does not assume any liability arising out of the application or use of any product or circuit described herein. ...

Page 3

... Freescale Semiconductor, Inc. 1 INTRODUCTION ............................................................................................................5 2 MON08 MULTILINK HARDWARE..............................................................................5 2.1 MON08 MULTILINK Power Supply ............................................................................................5 2.2 Optional Oscillator .........................................................................................................................5 2.3 Target MON08 Connector ..............................................................................................................6 2.4 Ribbon Cable ..................................................................................................................................8 2.5 Target Power Management.............................................................................................................8 2.6 Parallel Port ....................................................................................................................................8 3 TARGET MON08 HEADER PINOUTS .........................................................................9 3.1 68HC908AB ...................................................................................................................................9 3.2 68HC908AP..................................................................................................................................10 3.3 68HC908AS..................................................................................................................................11 3 ...

Page 4

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 4.3 Target Connection And Security Dialog ..................................................................................... 38 iv For More Information On This Product, MON08 Multilink User Manual Go to: www.freescale.com ...

Page 5

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 1 INTRODUCTION The MON08 MULTILINK is an interface cable whose purpose is to allow debug and programming of 68HC08 devices via the MON08 debug port. The MON08 MULTILINK connects the target to the PC via a standard parallel port. Some of the features that make the MON08 MULTILINK versatile are: a ...

Page 6

... Freescale Semiconductor, Inc. MON08 MULTILINK Please note that if the target already uses an oscillator as its clock, the MON08 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. ...

Page 7

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. If viewed right-side-up from the rear (open) end of the cable housing, the MON08 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&E use. ...

Page 8

... Freescale Semiconductor, Inc. MON08 MULTILINK 2.4 Ribbon Cable The MON08 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 MON08 MULTILINK MON08 Connector and the target MON08 Header have the same pinout. i.e. ...

Page 9

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. following: SPP, Normal, Standard, Output Only, Unidirectional, AT. Try to avoid ECP, EPP, or PS/2 bi-directional parallel port extension cable is used, the parallel cable connecting the PC parallel port and the MON08 MULTILINK cable must be IEEE1284 compliant. 3 TARGET MON08 HEADER PINOUTS This chapter details the MON08 connector signals according to the individual target MCU types ...

Page 10

... Freescale Semiconductor, Inc. MON08 MULTILINK 3.2 68HC908AP Figure 3-2: 68HC908AP Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 11

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 3.3 68HC908AS Figure 3-3: 68HC908AS Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 12

... Freescale Semiconductor, Inc. MON08 MULTILINK The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header. ...

Page 13

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. PORTC0, PORTC1 and PORTC3 are used for entering monitor mode. By default the user may directly bring these signals out to the target MON08 Header. Alternatively, the user may pull up PORTC0 and pull down PORTC1, and pull up/down PORTC3 for clock division ...

Page 14

... Freescale Semiconductor, Inc. MON08 MULTILINK 3.7 68HC908EY Figure 3-7: 68HC908EY Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 15

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 16

... Freescale Semiconductor, Inc. MON08 MULTILINK PORTA1, PORTB0, PORTB1 and PORTB4 are used for entering monitor mode. By default the user may directly bring these signals out to the target MON08 Header. Alternatively, the user may pull up PORTB0, pull down PORTA1 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 MON08 Header ...

Page 17

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 3.11 68HC908GT Figure 3-11: 68HC908GT Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 18

... Freescale Semiconductor, Inc. MON08 MULTILINK The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header. ...

Page 19

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. PORTA1, PORTA2 and PORTA3 are used for entering monitor mode. By default the user may directly bring these signals out to the target MON08 Header. Alternatively, the user may pull up PORTA1 and pull down PORTA2, and pull up/down PORTA3 for clock division ...

Page 20

... Freescale Semiconductor, Inc. MON08 MULTILINK 3.15 68HC908JG Figure 3-15: 68HC908JG Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 21

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 22

... Freescale Semiconductor, Inc. MON08 MULTILINK PORTB1, PORTB2 and PORTB3 are used for entering monitor mode. By default the user may directly bring these signals out to the target MON08 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 MON08 Header ...

Page 23

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 3.19 68HC908LD Figure 3-19: 68HC908LD Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 24

... Freescale Semiconductor, Inc. MON08 MULTILINK The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header. ...

Page 25

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. should pull down PORTB1 with a 4.7K Ohm resistor. Please note that the MR4/8 is not currently supported by the MON08 CYCLONE. 3.22 68HC908MR16/32 Figure 3-22: 68HC908MR16/32 Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. ...

Page 26

... Freescale Semiconductor, Inc. MON08 MULTILINK 3.23 68HC908QT Figure 3-23: 68HC908QT Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 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 MON08 Header ...

Page 27

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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 MON08 Header. PORTA0 from the target processor is connected to the target MON08 Header Pin 8, acting as the communications line ...

Page 28

... Freescale Semiconductor, Inc. MON08 MULTILINK Alternatively, the user may pull up PORTB0 and pull down PORTB2. In which case the user does not need to connect these signals to the target MON08 Header. The clock division is fixed Div 4. 3.26 68HC908RK Figure 3-26: 68HC908RK Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header ...

Page 29

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 3.27 68HC908SR Figure 3-27: 68HC908SR Family MON08 Pinout The target GND is connected to the Pin 2 of the target MON08 Header. The target RESET line is directly connected to the Pin 4 of the target MON08 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 MON08 Header ...

Page 30

... Freescale Semiconductor, Inc. MON08 MULTILINK 4 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&E Microcomputer Systems (www.pemicro.com) and Metrowerks (www.metrowerks.com). P&E’s ICS08 interface software packages are available at no charge from their web site. Metrowerks’ CodeWarrior Development Studio for 68HC08, Special Edition, is available at no charge from the Motorola MCU Web site (www ...

Page 31

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. (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 ICD08SZ is that your application runs in real-time at the full bus speed of the processor. Figure 4-29: ICS08SZ Debugger Screen Snapshot Debugger features include: • ...

Page 32

... Freescale Semiconductor, Inc. MON08 MULTILINK 4.1.3 In-Circuit Programmer The PROG08SZ 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 by byte. Figure 4-30: PROG08SZ Programmer Screen Snapshot When connecting to the target, the user will be prompted to make selections from the Target Connection And Security dialog ...

Page 33

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 4.1.4 Command Line Programmer CPROG08SZ 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 CPROG08SZ.pdf for more information. ...

Page 34

... Freescale Semiconductor, Inc. MON08 MULTILINK Figure 4-31: CodeWarrior Project Window 2. Click the + sign to expand the Sources folder. 3. 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 For More Information On This Product, P& ...

Page 35

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. Figure 4-32: True-Time Simulator & Real-Time Debugger 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. MON08 Multilink User Manual For More Information On This Product, Go to: www ...

Page 36

... Freescale Semiconductor, Inc. MON08 MULTILINK Figure 4-33: PEDebug Pull-down Menu The PROG08SZ Attempting to contact target and pass security… window appears. 7. Select the appropriate class in Target Hardware Type (Class VII for MON08 MULTILINK and Class V for MON08 CYCLONE). 8. Click Contact target with these settings… ...

Page 37

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. Figure 4-35: Erase And Program Flash Window At this point, the FLASH memory is programmed and ready for debug. The True-Time Simulator & Real-Time Debugger integrates the debugger tools from P&E Microcomputer Systems in this example. The windows look slightly different between the ICD08SZ and True-Time tools but the same basic debugger (ICD08SZ) drives both ...

Page 38

... Freescale Semiconductor, Inc. MON08 MULTILINK 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. Figure 4-36: Initial Target Connection And Security Dialog Box 4 ...

Page 39

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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’ ...

Page 40

... Freescale Semiconductor, Inc. MON08 MULTILINK 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 ...

Page 41

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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&E MON08 CYCLONE connect to target via ribbon cable. Allows Auto- Baud and Auto-Power ...

Page 42

... Freescale Semiconductor, Inc. MON08 MULTILINK MON08 MULTILINK connects the target to the PC via a standard parallel port. 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 ...

Page 43

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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. Figure 4-40: Class V, VI, VII Target And Security Dialog ...

Page 44

... Freescale Semiconductor, Inc. MON08 MULTILINK The device type selection box allows the user to specify what type of HC08 they are communicating with. The dialog will then display the appropriate pinout to be implemented on the MON08 connector, so that the P&E interface can talk to it properly. The values given ( are for informational purposes only and are driven by the P& ...

Page 45

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. settings dialog. 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 ...

Page 46

... Freescale Semiconductor, Inc. MON08 MULTILINK reset. MON08 Cable connection communications type (Class II boards Only) This selection box is valid only for Class II hardware configurations using the MON08 cable. It allows the user to specify the sequence that the software uses to power up the ICS system. When the software tries to create a power-on reset condition, two events must occur: 1 ...

Page 47

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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 MON08 configuration pins ...

Page 48

... Freescale Semiconductor, Inc. MON08 MULTILINK This dialog can also be used by the user to manually enter the proper security bytes via the USER setting load the security bytes from the same .S19 file which was programmed. The bytes are loaded from an .S19 file by clicking the “ ...

Page 49

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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 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 ...

Page 50

... Freescale Semiconductor, Inc. MON08 MULTILINK Type”. If you are connecting to a class II board, check the “MON08 cable communication connections type” in the “advanced settings” dialog. 4 – 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 ...

Page 51

... Freescale Semiconductor, Inc. P&E Microcomputer Systems, Inc. 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. ...

Page 52

... Freescale Semiconductor, Inc. MON08 MULTILINK PROG08SZ 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&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’ ...

Related keywords