34
Engineering Technical Laboratory Rev. 3 MC68HC(7)11 EEPROM Programming Tool User’s Guide © ETL 2010 Microcontroller Development Tool

MC68HC(7)11 EEPROM Programming Tool User’s Guide · 2018. 3. 24. · Also, HC11-Programmer performs pin testing of TxD and RxD lines. This feature can be disabled in Options Tab->Ignore

  • Upload
    others

  • View
    10

  • Download
    1

Embed Size (px)

Citation preview

  • Engineering Technical Laboratory Rev. 3

    MC68HC(7)11 EEPROM Programming Tool

    User’s Guide

    © ETL 2010 Microcontroller Development Tool

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 2

    TABLE OF CONTENTS

    1. PREFACE.......................................................................................................................................3

    2. CHECKLIST AND REQUIREMENTS.........................................................................................3

    3. INSTALLATION AND USE .........................................................................................................5

    3.1 PROGRAMMER CHECK AND CONNECTION TO PC.......................................................6

    3.2 PROGRAMMER FIRMWARE UPDATE...............................................................................6

    4. INTERFACE TYPES .....................................................................................................................7

    4.1 IN-CIRCUIT PROGRAMMING .............................................................................................7

    4.2 ON-BOARD PROGRAMMING..............................................................................................7

    5. WORKING WITH TARGET MCU...............................................................................................8

    5.1 MC68HC(7)11 Devices ............................................................................................................8

    5.1.1 In-Circuit EEPROM/(EP)ROM/BootROM reading example............................................8

    5.1.2 In-Circuit EEPROM programming example .....................................................................9

    5.1.3 On-Board EEPROM/(EP)ROM/BootROM reading example ...........................................9

    5.1.4 On-Board EEPROM programming example ...................................................................10

    6. FILE OPERATIONS ....................................................................................................................11

    6.1 LOAD FILE INTO BUFFER .................................................................................................11

    6.2 SAVE FILE FROM BUFFER ................................................................................................11

    7. ERRORS AND TROUBLESHOOTING .....................................................................................12

    8. WARRANTY STATEMENT.......................................................................................................15

    9. APPENDIX 1................................................................................................................................16

    Figure 2. In-Circuit programming schematic diagram for MC68HC(7)11 MCU ………………...16 Figure 3. In-Cicuit wiring diagram for 68HC(7)11 E Series MCU, PLCC 52 Package ………….17 Figure 4. In-Circuit wiring diagram for 68HC(7)11E Series MCU, QFP64 Package ……………18 Figure 5. In-Circuit wiring diagram for 68HC(7)11E Series MCU, SDIP56 Package................ …19 Figure 6. In-Circuit wiring diagram for 68HC(7)11EA9 MCU, PLCC 52 Package ....................... 20 Figure 7. In-Circuit wiring diagram for 68HC11A8 MCU, PLCC 52 Package .............................. 21 Figure 8. In-Circuit wiring diagram for 68HC(7)11K Series MCU, PLCC 84 Package................. 22 Figure 9. In-Circuit wiring diagram for 68HC(7)11K Series MCU, LQFP80 Package .................. 23 Figure 10. In-Circuit wiring diagram for 68HC11F1 MCU, PLCC68 Package.............................. 24 Figure 11. In-Circuit wiring diagram for 68HC(7)11KA Series MCU, PLCC 68 Package............ 25 Figure 12. In-Circuit wiring diagram for 68HC(7)11KS Series MCU, PLCC 68 Package............. 26 Figure 13. In-Circuit wiring diagram for 68HC(7)11PH8 MCU, PLCC84 Package ...................... 27 Figure 14. In-Circuit wiring diagram for 68HC(7)11P2 MCU, PLCC84 Package ......................... 28 Figure 15. In-Circuit wiring diagram for 68HC(7)11L6 MCU, PLCC68 Package ……………... 29 Figure 16. In-Circuit wiring diagram for 68HC11A8 MCU, DIP48 Package …...……………….30 10. APPENDIX 2 …………………………………………………………………………………31

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 3

    1. PREFACE

    This manual will guide you through the installation and operation of the ETL

    MC68HC(7)11 Programmer, referenced hereafter as the HC11-Programmer. The HC11-Programmer has been designed for reading of EEPROM, (EP)ROM, BootROM

    contents and programming of EEPROM of the next Motorola Microcontroller Unit (MCU):

    MC68HC11 A8 (AB95T)* MC68HC711 E20 (1H19S) MC68HC11 A8 (C96N) MC68HC711 E9 (4K81H) MC68HC11 A8 (D26E) MC68HC711 E9 (5C47M) MC68HC11 A8 (C11W) MC68HC711 EA9 (0D46J) MC68HC11 E20 (3E22B) MC68HC711 K4 (K59D) MC68HC11 E9 (1B60R) MC68HC711 PH8 (0H30R) MC68HC11 E9 (D82R) MC68S711 E9 (5C47M) MC68HC11 E9 (E22B) XC68HC711 KS8 (1H96P) MC68HC11 E9 (E28B) XC68HC711 P2 (1E53M) MC68HC11 E9 (1D35E) MC68HC11 L6 (0F11N) MC68HC11 EA9 (2D47J) MC68HC11 F1 (2F37E) MC68HC11 F1 (E87J) MC68HC11 K1 (2D58N) MC68HC11 K4 (1E62H) MC68HC11 K4 (OE75J) MC68HC11 KA4 (1E59B) MC68HC11 KS2 (0H95B) MC68HC11 KS4 (0E57S) MC68HC11 KS4 (0F60M) MC68HC11 P2 (2E74J)

    * Package: 52-PLCC; 48-DIP

    Note: Most number of devices can be programmed in two operating modes In-Circuit and On-Board.

    Note: Devices that not mentioned above in list can’t be guaranteed of correct reading, programming by HC11-Programmer.

    2. CHECKLIST AND REQUIREMENTS

    The following describes what items are supplied with the HC11-Programmer and the system requirements if used by a PC.

    HC11-Programmer – supplied One 11 EA9 PLCC52 Adaptor – supplied One 11 E PLCC52 Adaptor – supplied One 11 E QFP64 Adaptor – supplied One 11 K PLCC84 Adaptor – supplied One 11 K QFP80 Adaptors – supplied One 11 KA/KS PLCC68 Adaptor – supplied One 11 F PLCC68 Adaptor – supplied

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 4

    One 11 L6 PLCC68 Adaptor – supplied One 11 PH PLCC84 Adaptor – supplied One 11 A8 DIP48 Adaptor – supplied One 40-40 pin flat cable Cable -A DB9 “straight-thru” cable - supplied HC11-Programmer PC software on CD-ROM – Optional Extra

    Desktop PC and a free Serial Communication Port (COM1...8) Memory - Minimum 32 Mbytes Display - Color SVGA display recommended Power supply 12 Volt/500 mA linear power supply source OS-MS-Windows (Win98, Win ME, Win2000/XP/2003)

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 5

    3. INSTALLATION AND USE

    The HC11-Programmer includes two LED’s and mode jumper (Figure 1). LED’s indicates programmer state and external power supply voltage (Table 1, 2).

    GREEN HC11-Programmer is ready.

    GREEN Flashing HC11-Programmer is busy. DARK Voltage applied to HC11-Programmer lower than 6 Volt.

    Table 1. LED D1 color meaning

    GREEN Target MCU powered on. All bus signals are active. DARK Target microcontroller powered off. All bus signals are in three-state.

    Table 2. LED D4 color meaning

    Jumper-1 (JP1) is intended for HC11-Programmer mode selection (see Table 3).

    JP1 Shorted Normal programmer operation. JP1 Opened Service mode. HC11-Programmer firmware update.

    Table 3. HC11-Programmer operation modes

    D1

    D4

    JP1

    EXT +12V

    CO

    M P

    ort C

    onne

    ctor

    In-CircuitInterfaceConnector

    On-BoardInterfaceConnector

    4 MHZOutputConnectorP3

    P2

    P4

    P1

    68HC(7)11P RxDRESETMODA

    GND

    TxDGNDMODB+5V

    Figure 1. The HC11-Programmer board layout

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 6

    3.1 PROGRAMMER CHECK AND CONNECTION TO PC

    Connect the power supply source to HC11-Programmer (an external 12 V DC power

    supply source is required). Attach a COM port cable to the 9-pin connector on the programmer and to a COM port

    on the PC. Insert jumper JP1 (see Figure 1). Remove adaptor from P4 and flat cable form P2. Turn On power supply source and make sure that LED D1 appear green. Start HC11-Programmer software. After few seconds you should see on display message: “MC68H(7)11 Programmer Ver-

    X.X detected”. In case when you should see message: “MC68H(7)11 Programmer Ver-X.X not

    found”, change COM port number. To do that select “Tools” menu item and than select “Comm Port Options”. Select new COM port number. After pressing “OK” button the new setting will be applied and software reattempts connection with programmer.

    Now HC11-Programmer ready to operate.

    Note: To speed up connection between HC11-Programmer and PC communication port baud rate must be set to maximum value.

    Note: Update HC11-Programmer firmware if required (see Section 3.2).

    3.2 PROGRAMMER FIRMWARE UPDATE

    This section describes how to update firmware (ATMEGA16) of HC11-Programmer. Remove JP1 (see Figure 1). Turn On power supply; make sure that LED D1 appears green. Start HC11-Programmer software. Compare firmware version “MC68HC(7)11 Programmer Ver-X.X detected” and

    version specified in “Help>About” menu item. If versions not coincide, follow next steps to update firmware. Select menu item “Tools>Firmware Update”. After message box “Firmware Update” appeared, press “OK” button. After firmware update completed, turn Off power supply, close HC11-Programmer

    software. Insert JP1. Turn On power supply. Make sure that LED D1 appears green. Start HC11-Programmer software on PC. New firmware version “MC68HC(7)11

    Programmer Ver-X.X detected” will appear.

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 7

    4. INTERFACE TYPES

    This section describes two interfaces, In-Circuit Programming (ICP) and On-Board

    Programming (OBP) of HC11-Programmer.

    4.1 IN-CIRCUIT PROGRAMMING

    In-Circuit programming interface is basic for HC11-Programmer. In this mode HC11-Programmer automatically detect of target MCU bus speed. Ceramic resonator connected to target MCU must be in range from 400 KHz to 16 MHz. If device has PLL system, it must be disabled by connecting VDDSYN pin to ground (see Appendix, figure 2). For successive communication with target MCU only 4 wires (RxD, TxD, RESET and GND) required. But in this case target MCU must be powered from external power supply and mode pins MODA, MODB should be connected to GND. If this signals MODA, MODB and +5V taken from HC11-Programmer that allow to control logic levels in time on reset and overload on +5V power line. It is strongly recommended to supply MCU pins MODA, MODB and +5V from programmer.

    Also, HC11-Programmer performs pin testing of TxD and RxD lines. This feature can be disabled in Options Tab->Ignore Pin Tester errors in ICP mode.

    In this mode programmer can't detect security state of MCU. So, if device secured all EEPROM contents will be lost. To avoid loss of EEPROM data use On-Board Programming Interface described in next section.

    Note: When using In-Circuit programming interface remove adaptor from On-Board interface connector. (see Figure 1).

    4.2 ON-BOARD PROGRAMMING

    On-board programming interface designed for establishing connection with target device when

    MCU secured. This mode allows Read/Program EEPROM without any restrictions. To work in this mode MCU must be mounted to the corresponding adaptor supplied with HC11-Programmer.

    Also, HC11-Programmer performs pin testing of all communication lines. This feature can be disabled in Options Tab->Ignore Pin Tester errors in OBP mode. But disabling of this future can lead to all EEPROM contents will be lost.

    Note: When target adaptor with MCU mounted, check contacts careful to avoid short circuit. Otherwise target MCU can be damaged!

    Note: When On-board programming interface used, remove cable from ICP connector (see Figure 1).

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 8

    5. WORKING WITH TARGET MCU This section contains overall information about Motorola MCUs supported by HC11-

    Programmer. When HC11-Programmer successfully installed (see Section 3) target devices EEPROM can be read, program and verify.

    5.1 MC68HC(7)11 Devices This section describes basic rules working with target MCU. EEPROM memory for all 68HC(7)11 devices can be read, program in both OBP and ICP

    modes. Each MCU from 6811 family has various memory map. That means EEPROM, (EP)ROM and BootROM located in different physical address space. For example for 6811E9 device EEPROM starts from $B600 and for 6811F1 EEPROM starts from $FE00. This information can be found in the Select Device window at the right side. Also all 6811 devices have CONFIG register which define device security feature, visibility of EEPROM and EP(ROM). CONFIG register is EEPROM based and can be programmed as ordinary EEPROM cell. To enable CONFIG programming in Options Tab->Enable Program of CONFIG Register must be selected. If this option selected, in time of EEPROM programming, CONFIG Register will be programmed. But be careful, changing of CONFIG register will change MCU configuration and can lead to unpredictable behavior of MCU. After CONFIG register programmed reset MCU to take effect of new MCU configuration. For more information refer to detailed MCU description.

    Note: Complete Datasheet on MCU can be downloaded form http://www.etlweb.net/ , from Documents section.

    Connect required pins to board with target MCU (see Appendix Figure 2). Remove cable from On-Board connector (see Figure 1). Apply power to HC11-Programmer. LED D1 became to green light (see Table 1). Select corresponding device in HC11-Programmer software (“Device” button). Select “Read Sequence” panel in HC11-Programmer software. Press “EEPROM/EPROM/ROM” button. Press “Start” button. LED D4 on HC11-Programmer became to green light. That means that +5 voltage

    regulator switched on and VCC applied to target MCU. Now HC11-Programmer automatically detects MCU bus speed. When LED D1 on HC11-Programmer became permanent green, reading completed.

    Target MCU powered off. After read sequence successfully completed it is necessarily to save memory dump to

    file (see Section 6.2). If some errors appeared during reading process refer to Section 7.

    5.1.1 In-Circuit EEPROM/(EP)ROM/BootROM reading example

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 9

    Connect required pins to board with target MCU (see Appendix Figure 2). Remove cable from On-Board connector (see Figure 1). Apply power to HC11-Programmer. LED D1 became to green light (see Table 1). Select corresponding device in HC11-Programmer software (“Device” Button). Load EEPROM data from file (see Section 6.1) or enter data to Hex Editor. Select “Program Sequence” panel in HC11-Programmer software. Press “EEPROM” button. Press “Start” button. LED D4 on HC11-Programmer became to green light. That means that +5 voltage

    regulator switched on and VCC applied to target MCU. Now HC11-Programmer automatically detects MCU bus speed. When LED D1 on HC11-Programmer became permanent green, programming

    completed. Target MCU powered off. If some errors appeared during programming process refer to Section 7.

    Note: Extra care must be taken when programming the EEPROM based CONFIG Register.

    Note: Strongly recommended before EEPROM programming, for a first time, read EEPROM contents and save it to file.

    Mount target MCU on corresponding adaptor. Attach adaptor to OBP connector with help of cable in according to 1 pin-key (see

    Figure 1). Remove cable from ICP connector (see Figure 1). Apply power to HC11-Programmer. Select device in HC11-Programmer software (“Device” Button). Select “Read Sequence” panel in HC11-Programmer software. Press “EEPROM/EPROM/ROM” button. Press “Start” button. LED D4 on HC11-Programmer became to green light. That means that +5 voltage

    regulator switched on and VCC applied to target MCU. When LED D1 on HC11-Programmer became permanent green light, reading

    completed. When read sequence successfully completed it is necessarily to save memory dump to

    file (see Section 6.2). If some errors appeared during reading process refer to Section 7.

    Note: When target MCU mounted on adaptor check contacts careful to avoid short circuit. Otherwise target MCU can be damaged!

    Note: During removing the adaptor with target MCU HC11-Programmer must be powered off to avoid damaging of programmer and target MCU!

    5.1.2 In-Circuit EEPROM programming example

    5.1.3 On-Board EEPROM/(EP)ROM/BootROM reading example

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 10

    Mount target MCU on corresponding adaptor. Attach adaptor to OBP connector with help of cable in according to 1 pin-key (see

    Figure 1). Remove cable from BDM ICP connector (see Figure 1). Apply power to HC11-Programmer. Select device in HC11-Programmer software (“Device” Button). Load EEPROM data from file (see Section 6.1) or enter data to Hex Editor. Select “Program Sequence” panel in HC11-Programmer software. Press “EEPROM” button. Press “Start” button. LED D4 on HC11-Programmer became to green light. That means that +5 voltage

    regulator switched on and VCC applied to target MCU. When LED D1 on HC11-Programmer became permanent green light, programming

    completed. If some errors appeared during programming process refer to Section 7.

    Note: When target MCU mounted on adaptor check contacts careful to avoid short circuit. Otherwise target MCU can be damaged!

    Note: During removing the adaptor with target MCU HC11-Programmer must be powered off to avoid damaging of programmer and target MCU!

    Note: Extra care must be taken when programming the EEPROM based CONFIG Register.

    Note: Strongly recommended before EEPROM programming, for a first time, read EEPROM contents and save it to file.

    5.1.4 On-Board EEPROM programming example

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 11

    6. FILE OPERATIONS This section describes basic rules working with files. Memory dump from Hex Editor (Buffer)

    can be load/save from/to hard disk. Also short descriptions such as project name, MCU type and memory cell assignment can be done for future fast remind. HC11-Programmer accepts tree types of file formats:

    BIN (Binary format) Motorola S-Record (4 byte address) Motorola S-Record (6 byte address) EEF (Extended ETL Format)

    6.1 LOAD FILE INTO BUFFER

    Select “File>Open” menu item. Press “Browse” button. In File Open Dialog window, select file witch need to be open. Press “Open” button. Than opposite “Auto Format Detected:” text, select correct file format. Note that software

    try automatically detects file format, but unknown records in file will fail this detection. “Load Entire file” check box must be checked if automatically loading procedures required.

    Than press “OK” button. Sometimes load data from file to specific buffer allocations required. For Example if required

    load buffer from $B600 address from binary file beginning from $0000 address follow next steps: Select “File>Open” menu item. Press “Browse” button. In File Open Dialog window, select file which need to be open. Press “Open” button. Than, opposite “Auto Format Detected:” select Binary format. Uncheck “Load Entire File” check box. In field “Offset Value to Place Data to Buffer:” enter 0xB600. Than press “OK” button. Now data placed to Hex Editor Buffer from the beginning of 0xB600 address.

    If more complicated operations with files required, for example load Hex Editor Buffer from many files “Lowest Address From File To Load”, “Highest Address From File To Load” and “Clear Buffer Before Loading File” options are available.

    6.2 SAVE FILE FROM BUFFER

    Select “File>Save” menu item. Press “Browse” button. Select directory in which file will be saved. Type file name, for example “test1” Press “Save” button. Than select format in which file will be saved*. Press “OK” button.

    Note: Use EEF Format for future “Load File Into Buffer” automatically processing. Also, only in EEF Format Project Description, Device Name and Memory Cells attributes can be saved.

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 12

    7. ERRORS AND TROUBLESHOOTING

    This section describes most recently encountered problems, errors and fixing solutions.

    Problem: LED D1 (see Figure 1) Dark. Causes: This problem can accrue when external power supply connected to HC11-

    Programmer is damaged or connected in wrong polarity. Solutions: Check voltage on HC11-Programmer power clamps. It must be 12 V +/- 1V.

    Error Message: MC68HC(7)11 Programmer not found Causes: This message can appear when HC11-Programmer software couldn’t

    establish connection with HC11-Programmer board. Solutions: Check connection of COM port cable from PC to HC11-Programmer board.

    Apply power from external power supply to HC11-Programmer. In menu item “Tools>Comm Port Options” select correct COM port number.

    Error Message: PC too Programmer Communication Error Causes: This message can appear when communication between HC11-Programmer

    and PC is broken. In some cases this massage can appear after programmer fatal error.

    Solutions: Try to close programmer software and start it again. If it doesn't helps decrease communication baud rate in “Tools>Comm Port Options” dialog window. Also this message can appear when COM port cable has poor contact with DB-9 connectors.

    Error Message: Programmer to MCU Communication error Causes: This message can appear when communication between HC11-Programmer

    and MCU is broken. Solutions: Check connection between programmer and MCU. In In-Circuit mode wires

    length must not exceed 20 cm.

    Error Message: No Echo from MCU Causes: This message can appear if there is no feedback from MCU. Solutions: Check connection between HC11-Programmer and MCU in according to

    wiring diagram (see Appendix). For example MODA and MODB pins not 'Low' in time of Reset.

    Error Message: Monitor Check sum Error Causes: This message can appear after monitor firmware loaded into target MCU

    with errors. Solutions: Try to reconnect to target MCU. If this error not disappeared, possible target

    MCU has damaged RAM.

    Error Message: Reset Pin 'Low' Causes: This message can appear when MCU Reset pin connected to ground through

    external components or no power supply on VCC pin or no oscillation on EXTAL, XTAL pins.

    Solutions: Cut any traces and external components form RESET pin. If error still remain check +5V on MCU Vcc pin in time when software trying to link the MCU. Check integrity of ceramic resonator and passive components connected to EXTAL, XTAL pins.

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 13

    Error Message: Reset Pin 'High' Causes: This message can appear when MCU Reset pin connected to VCC(+5V)

    through external components. Solutions: Cut any traces and external components form RESET pin. If error still

    remains it is possible MCU RESET pin damaged.

    Error Message: External Reset Occurs Causes: This message can appear if external reset pulse is detected on RESET pin

    for example from external COP system. Solutions: Cut any traces and external components form RESET pin.

    Error Message: MODA Pin 'High' Causes: This message can appear when MCU MODA pin connected to VCC(+5V)

    through external components. Solutions: Cut any traces and external components form MODA pin. If error still

    remains it is possible MCU MODA pin damaged.

    Error Message: MODB Pin 'High' Causes: This message can appear when MCU MODB pin connected to VCC(+5V)

    through external components. Solutions: Cut any traces and external components form MODB pin. If error still

    remains it is possible MCU MODB pin damaged.

    Error Message: Pintester Error: RxD Pin Causes: This message can appear when MCU RxD pin connected to VCC (+5V) to

    ground through external components. Solutions: Cut any traces and external components form RxD pin. If error still remains

    it is possible MCU RxD pin damaged. Or try to disable pinsetter feature in Option Tab.

    Error Message: Pintester Error: TxD Pin Causes: This message can appear when MCU TxD pin connected to VCC (+5V) to

    ground through external components. Solutions: Cut any traces and external components form TxD pin. If error still remains

    it is possible MCU TxD pin damaged. Or try to disable pinsetter feature in Option Tab.

    Error Message: MCU Bus Frequency too Low Causes: This message can appear when MCU bus speed lower than 100 KHZ(400

    KHz or lower frequency ceramic resonator connected to MCU). Solutions: Replace ceramic resonator connected to EXTAL, XTAL pins to any

    accessible, from 4-16 MHz. OR supply MCU EXTAL pin from programmer built in clock generator in according to wiring diagram (see Appendix).

    Error Message: Pintester Error: Causes: This message can appear in On-Board programming interface when some

    pins has poor contact with adaptor, or pins are damaged. Solutions: Clean pins from colophony. Check contacts between adaptor and target

    MCU pins. Check short circuits between pins to pins, pins to GND and pins to VCC. This feature can be disabled via Options tab. But disabling of this features can lead to all EEPROM data will be lost if MCU secured.

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 14

    Error Message: No ECLK Pulse Detected. Check EXTAL Pin connection. Causes: This message can appear in On-Board programming interface if MCU

    ECLK, EXTAL pins has pure contact with adapter socket or device damaged.

    Solutions: Check connection between MCU ECLK, EXTAL pins and adapter socket.

    Error Message: Device Still Secured Causes: This message can appear in On-Board programming mode when target

    MCU secured. Solutions: Check accuracy of device type selected; take attention on MCU maskset.

    Try to reconnect to target MCU.

    Error Message: Wrong Adapter Selected Causes: This message can appear in On-Board programming mode when device

    selected in software not match with adapter mounted on HC11-Programmer. Solutions: Check matching between MCU type selected and mounted adapter.

    Error Message: Programming/Erasing Error Causes: This message can appear in time of EEPROM programming or erasing. Solutions: Check MCU type selection. Pay attention on MCU Mask Set. Try to realize

    device programming in On-board mode.

    Error Message: Overcurrent protection Causes: This message can appear when current consumption from built-in power

    supply grater than 200 mA or +5V and GND pins are shorted. Solutions: Check target MCU power pins on short circuit. Also check that +5V

    terminal connected to MCU VCC pin and GND terminal connected to MCU VSS pin.

    Error Message: Power Supply voltage lower Causes: This message can appear when current consumption from built-in power

    supply grater than 200 mA or +5V and GND pins are shorted. Solutions: Check target MCU power pins on short circuit. Also check that +5V

    terminal connected to MCU VCC pin and GND terminal connected to MCU VSS pin. If error still present leave +5V terminal unconnected and if error not disappear contact ETL technical support.

    Error Message: Power Supply voltage grater Causes: This message can appear when +5V terminal connected to external power

    supply with voltage grater than +5V or built-in power supply damaged. Solutions: Leave +5V terminal unconnected and if error not disappear contact ETL

    technical support.

    Error Message: External Power Supply Present Causes: This message can appear in On-Board programming mode when external

    voltage applied to In-Circuit connector (see Figure 1). Solutions: Disconnect cable from In-Circuit connector.

    Error Message: WRONG SUBROUTINE CALL

    WRONG DEVICE TYPE Causes: These messages can appear when fatal problems with HC11-Programmer

    hardware/firmware occurred.

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 15

    Solutions: Contact ETL technical support.

    Note: HC11-Programmer has Log Window which can be stored to file. To perform this operation right clicks on Log Window. Than click on “Save to hc11prog.log file“ menu item. Now this file can be found in the same directory as HC11-Programmer software. Log File can be send by E-mail to [email protected] for non described problem solution.

    ETL warrants that Product delivered shall conform to applicable. Report any defects for a 45 days period, from the applicable data on invoice.

    8. WARRANTY STATEMENT

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 16

    MC68HC(7)11 MCU

    RESET

    VSS

    EXTAL

    XTAL0.4...16 MHz

    In-Circuit Connector

    P4

    1

    2

    3

    4

    RxD

    GND

    RESET

    5 Gnd

    TxD

    6MODA

    MODB7GND

    +5VGnd

    VSS

    VDD8

    RxD

    TxD

    MODA

    MODB

    1

    1

    1

    1

    HC(7)11 Programmer

    P3

    1

    4 MHZ Output Connector

    2

    See Note 3

    See Note 3

    VSSGnd

    VDDSYNGnd

    See Note 4

    GND

    4 MHZ

    2

    2

    2

    2

    2

    2

    2

    2

    2

    2

    2

    2

    Note 1: Pin mandatory must be connected. Note 2: Pin number can be found in APPENDIX Section. Note 3: 4 MHZ generator must be used if crystal resonator frequency lower

    then 400 KHz.

    Note 4: If MCU has PLL system, it must be disabled by connection VDDSYN pin to Ground.

    Figure 2. In-Circuit programming schematic diagram for MC68HC(7)11 MCU

    9. APPENDIX 1

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 17

    PE4/AN4PE0/AN0

    PB0/ADDR8PB1/ADDR9

    PB2/ADDR10PB3/ADDR11PB4/ADDR12

    PB5/ADDR13

    PB6/ADDR14PB7/ADDR15

    PA0/IC3

    EX

    TAL

    STR

    B/R

    /W

    E STR

    A/A

    S

    MO

    DA

    /LIR

    V SS

    V RH

    V RL

    PE

    7/A

    N7

    PE

    3/A

    N3

    XTAL

    PC0/ADDR0/DATA0

    PC1/ADDR1/DATA1

    PC2/ADDR2/DATA2

    PC3/ADDR3/DATA3

    PC4/ADDR4/DATA4

    PC5/ADDR5/DATA5

    PC6/ADDR6/DATA6

    PC7/ADDR7/DATA7

    RESET

    XIRQ/VPPE

    PD

    1/Tx

    D

    MO

    DB

    /VS

    TBY

    V DD

    PA7/

    PAI/O

    C1

    PA6/

    OC

    2/O

    C1

    PA5/

    OC

    3/O

    C1

    PA4/

    OC

    4/O

    C1

    PA3/

    OC

    5/IC

    4/O

    C1

    8

    91011

    1213

    1415

    16

    17

    4443

    42

    4140

    39

    3837

    36

    3534

    21 22 23 24 25 26 27 28 29 30 31

    7 6 5 4 3

    1

    2 52 51 50 49

    IRQ/VPPEE

    18

    PD0/RxD

    19PA

    2/IC

    132

    PA1/

    IC2

    33

    PE

    6/A

    N6

    48

    PE2

    /AN

    247

    PE1/AN145

    PE5/AN546

    20

    GN

    D

    MO

    DA

    TxD

    RxD

    RESET

    MC68HC(7)11E

    MO

    DB

    PD

    2/M

    ISO

    PD3/

    MO

    SI

    PD

    4/S

    CK

    PD

    5/S

    S+5

    V

    Figure 3. In-Circuit wiring diagram for 68HC(7)11 E Series MCU, PLCC 52 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 18

    PA0/IC3NCNCNC

    PB7/ADDR15PB6/ADDR14PB5/ADDR13PB4/ADDR12PB3/ADDR11PB2/ADDR10PB1/ADDR9PB0/ADDR8

    PE0/AN0PE4/AN4PE1/AN1PE5/AN5

    PE2/

    AN

    2PE

    6/A

    N6

    PE3/

    AN

    3PE

    7/A

    N7

    V RL

    V RH

    V SS

    V SS

    MO

    DB/

    V STB

    Y

    MO

    DA/

    LIRNC

    STR

    A/A

    S ES

    TRB/

    R/W N

    C

    NCPD0/RxDIRQXIRQ/VPPENCRESETPC7/ADDR7/DATA7PC6/ADDR6/DATA6PC5/ADDR5/DATA5

    PC3/ADDR3/DATA3PC4/ADDR4/DATA4

    PC2/ADDR2/DATA2PC1/ADDR1/DATA1NCPC0/ADDR0/DATA0XTAL

    PA1/

    IC2

    PA2/

    IC1

    PA3/

    OC

    5/IC

    4/O

    C1

    NC

    NC

    PA4/

    OC

    4/O

    C1

    PA5/

    OC

    3/O

    C1

    PA6/

    OC

    2/O

    C1

    PA7/

    PAI/O

    C1

    PD5/

    SSV D

    D

    PD4/

    SCK

    PD3/

    MO

    SIPD

    2/M

    ISO

    PD1/

    TxD

    V SS

    M68HC(7)11 E SERIES

    64123456789

    17 18 19 20 21 22 23 24 25 27

    63 62 61 60 59 58 57 56 541011

    484746454443424140

    3839

    5526

    1213141516

    3736353433

    28 29 30 31 32

    53 52 51 50 49E

    XTA

    L

    +5V

    GN

    D

    MO

    DB

    MO

    DA

    RESET

    RxD

    TxD

    Figure 4. In-Circuit wiring diagram for 68HC(7)11E Series MCU, QFP64 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 19

    PC0/ADDR0/DATA0

    PC1/ADDR1/DATA1PC2/ADDR2/DATA2PC3/ADDR3/DATA3

    PC4/ADDR4/DATA4

    PC5/ADDR5/DATA5PC6/ADDR6/DATA6

    PC7/ADDR7/DATA7

    RESET* XIRQ/VPPE

    M68HC11 E SERIES

    910

    1112

    1314

    1516

    17

    18IRQ 19

    PD0/RxD 2021

    PD1/TxD 22

    PD2/MISO 23

    PD3/MOSI 24PD4/SCK 25

    PD5/SS 26VDD 27VSS 28

    XTAL 8

    EXTAL 7

    STRB/R/W 6

    5

    STRA/AS 4

    MODA/LIR 3

    MODB/VSTBY 2

    VSS 1

    PE0/AN0PB0/ADDR8

    PB1/ADDR9PB2/ADDR10

    PB3/ADDR11PB4/ADDR12PB5/ADDR13PB6/ADDR14

    PB7/ADDR15PA0/IC3

    PA1/IC2

    4645

    4443

    42

    414039

    3837

    36

    PE4/AN447

    PE1/AN148

    PA2/IC135PA3/OC5/IC4/OC134PA4/OC4/OC133PA5/OC3/OC132PA6/OC2/OC131PA7/PAI/OC130EVDD29

    PE5/AN549

    PE2/AN250

    PE6/AN651

    PE3/AN352

    PE7/AN753

    VRL54

    VRH55

    EVSS56

    EVSS

    E

    RESET

    RxD

    TxD

    +5V

    GND

    MODA

    MODB

    Figure 5. In-Circuit wiring diagram for 68HC(7)11E Series MCU, SDIP56 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 20

    PE4/AN4PE0/AN0

    PB0/ADDR8PB1/ADDR9

    PB2/ADDR10PB3/ADDR11PB4/ADDR12

    PB5/ADDR13

    PB6/ADDR14PB7/ADDR15

    PA0/IC3

    EX

    TAL

    STR

    B/R

    /W

    E STR

    A/A

    S

    MO

    DA

    /LIR

    V DD

    V SS

    V RH

    V RL

    PE7/

    AN

    7PE

    3/A

    N3

    XTAL

    PC0/ADDR0/DATA0

    PC1/ADDR1/DATA1

    PC2/ADDR2/DATA2

    PC3/ADDR3/DATA3

    PC4/ADDR4/DATA4

    PC5/ADDR5/DATA5

    PC6/ADDR6/DATA6

    PC7/ADDR7/DATA7

    RESET

    XIRQ/VPPE

    PD

    1/Tx

    DM

    OD

    B/V

    STB

    YV D

    DS

    YN

    XFC V S

    SV D

    DPA

    7/PA

    I/OC

    1

    PA6/

    OC

    2/O

    C1

    PA5/

    OC

    3/O

    C1

    PA4/

    OC

    4/O

    C1

    PA3/

    OC

    5/IC

    4/O

    C1

    MC68HC(7)11EA9

    8

    9

    1011

    1213

    1415

    16

    17

    4443

    42

    4140

    393837

    36

    3534

    21 22 23 24 25 26 27 28 29 30 31

    7 6 5 4 3

    1

    2 52 51 50 49

    IRQ/VPPEE

    18

    PD0/RxD

    19PA

    2/IC

    132

    PA1/

    IC2

    33

    PE6/

    AN

    648

    PE

    2/A

    N2

    47

    PE1/AN145

    PE5/AN546

    20

    +5V

    GN

    DMO

    DA

    MO

    DB

    TxD

    RxD

    RESET

    See

    Use

    r’sG

    uide

    Figure 6. In-Circuit wiring diagram for 68HC(7)11EA9 MCU, PLCC 52 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 21

    PE4/AN4PE0/AN0

    PB0/8PB1/A9

    PB2/10PB3/A11PB4/A12

    PB5/A13

    PB6/A14PB7/A15

    PA0/IC3

    EX

    TAL

    STR

    B/R

    /W

    E STR

    A/A

    S

    MO

    DA

    /LIR

    V SS

    V RH

    V RL

    PE

    7/A

    N7

    PE

    3/A

    N3

    XTAL

    PC0/A0/D0

    PC1/A1/D1

    PC2/A2/D2

    PC3/A3/D3

    PC4/A4/D4

    PC5/A5/D5

    PC6/A6/D6

    PC7/A7/D7

    RESET

    XIRQ

    PD

    1/Tx

    D

    MO

    DB

    /VS

    TBY

    V DD

    PA7/

    PAI/O

    C1

    PA6/

    OC

    2/O

    C1

    PA5/

    OC

    3/O

    C1

    PA4/

    OC

    4/O

    C1

    PA3/

    OC

    5/IC

    4/O

    C1

    8

    91011

    1213

    1415

    16

    17

    4443

    42

    4140

    39

    3837

    36

    3534

    21 22 23 24 25 26 27 28 29 30 31

    7 6 5 4 3

    1

    2 52 51 50 49

    IRQ

    18

    PD0/RxD

    19PA

    2/IC

    132

    PA1/

    IC2

    33P

    E6/

    AN

    648

    PE2

    /AN

    247

    PE1/AN145

    PE5/AN546

    20

    GN

    D

    MO

    DA

    TxD

    RxD

    RESET

    MC68HC11A8

    MO

    DB

    PD

    2/M

    ISO

    PD3/

    MO

    SI

    PD

    4/S

    CK

    PD

    5/S

    S+5

    V

    Figure 7. In-Circuit wiring diagram for 68HC11A8 MCU, PLCC 52 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 22

    PD2/MISO74

    PD1/TxD73

    PD0/RxD72

    MODA/LIR71

    MODB/VSTBY70

    RESET69XTAL68

    EXTAL67

    XOUT66E65

    VDD64

    VSS63

    PC7/DATA762

    PC6/DATA661

    PC5/DATA560PC4/DATA459PC3/DATA358

    PC2/DATA257

    PC1/DATA156

    PC0/DATA055

    IRQ54

    PB0

    /AD

    DR

    811

    PB1

    AD

    DR

    910

    PB2/

    AD

    DR

    109

    PB3/

    AD

    DR

    118

    PB4

    /AD

    DR

    127

    PB5

    /AD

    DR

    136

    PB6/

    AD

    DR

    145

    PB7/

    AD

    DR

    154

    V SS

    3V D

    D2

    PA0/

    IC3

    1

    PA1/

    IC2

    84

    PA2/

    IC1

    83PA

    3/IC

    4/O

    C5/

    OC

    182

    PA4/

    OC

    4/O

    C1

    81PA

    5/O

    C3/

    OC

    180

    PA6/

    OC

    2/O

    C1

    79

    PA7/

    PAI/O

    C1

    78PD

    5/SS

    77

    PD4/

    SCK

    76

    PD3/

    MO

    SI

    75

    PH0/PW1PH1/PW2

    PH2/PW3PH3/PW4PH4/CSIO

    PH5/CSGP1PH6/CSGP2

    PH7/CSPROGTEST16

    XIRQ/VPP

    VDDVSS

    TEST14PG7/R/W

    PG6PG5/XA18

    PG4/XA17PG3/XA16PG2/XA15PG1/XA14

    121314151617181920212223242526272829

    3132

    PG

    0/XA

    13AV

    DD

    PE7/

    AN

    7PE

    6/A

    N6

    PE5

    /AN

    5P

    E4/A

    N4

    PE3

    /AN

    3P

    E2/A

    N2

    PE1/

    AN

    1P

    E0/A

    N0

    V RL

    V RH

    33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53

    30

    PF7

    /AD

    DR

    7P

    F6/A

    DD

    R6

    PF5

    /AD

    DR

    5

    PF4/

    AD

    DR

    4PF

    3/A

    DD

    R3

    PF2

    /AD

    DR

    2P

    F1/A

    DD

    R1

    PF0

    /AD

    DR

    0

    AVS

    S

    TEST15 M68HC(7)11 K SERIES

    TxDRxDMODA

    MODBRESET

    +5VGND

    Figure 8. In-Circuit wiring diagram for 68HC(7)11K Series MCU, PLCC 84 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 23

    PF0/ADDR060PF1/ADDR159PF2/ADDR258PF3/ADDR357PF4/ADDR456PF5/ADDR555PF6/ADDR654PF7/ADDR753AVSS52VRH51VRL50PE0/AN049PE1/AN148PE2/AN247PE3/AN346PE4/AN445PE5/AN544PE6/AN643PE7/AN742AVDD41

    PD2/

    MIS

    O80

    PD1/

    TXD

    79PD

    0/R

    XD

    78M

    OD

    A/L

    IR77

    MO

    DB

    /VS

    TBY

    76R

    ESE

    T75

    XTA

    L74

    EXTA

    L73

    E72

    V DD

    71V S

    S70

    PC7/

    DAT

    A769

    PC6/

    DAT

    A668

    PC5/

    DAT

    A567

    PC4/

    DAT

    A466

    PC3/

    DAT

    A365

    PC2/

    DAT

    A264

    PC1/

    DAT

    A163

    PC0/

    DAT

    A062

    IRQ

    61

    PD3/MOSIPD4/SCK

    PD5/SS 3PA7/PAI/OC1

    PA6/OC2/OC1PA5/OC3/OC1PA4/OC4/OC1

    PA3/IC4/OC5/OC1PA2/IC1

    PA1/IC21PA0/IC3

    VDD 12VSS 13

    PB7/ADDR15PB6/ADDR14

    PB5/ADDR13PB4/ADDR12PB3/ADDR11PB2/ADDR10PB1/ADDR9 20

    PB0

    /AD

    DR

    8PH

    0/PW

    1PH

    1/PW

    2P

    H2/

    PW

    3P

    H3/

    PW

    4P

    H4/

    CS

    IOPH

    5/C

    SG

    P1

    PH6/

    CS

    GP

    2PH

    7/C

    SP

    RO

    GXI

    RQ

    /VP

    P

    21

    V DD

    31V S

    S32

    PG7/

    R/W

    33P

    G6

    PG5/

    XA18

    PG

    4/X

    A17

    PG

    3/X

    A16

    PG

    2/X

    A15

    PG

    1/X

    A14

    PG

    0/X

    A13

    21

    456789

    1011

    141516171819

    22 23 24 25 26 27 28 29 30 34 35 36 37 38 39 40

    RE

    SETM

    OD

    B

    MO

    DA

    RxD

    TxD

    +5V

    GN

    D

    M68HC(7)11 K SERIES

    Figure 9. In-Circuit wiring diagram for 68HC(7)11K Series MCU, LQFP80 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 24

    PG3PG2PG1

    RESETPC7/DATA7PC6/DATA6PC5/DATA5PC4/DATA4PC3/DATA3PC2/DATA2PC1/DATA1

    IRQXIRQ

    PG7/CSPROGPG6/CSGEN

    PG5/CSIO1

    PB0/ADDR8PB1/ADDR9PB2/ADDR10

    PB4/ADDR12PB5/ADDR13PB6/ADDR14

    PE4/AN4PE0/AN0PF0/ADDR0PF1/ADDR1PF2/ADDR2PF3/ADDR3PF4/ADDR4PF5/ADDR5PF6/ADDR6PF7/ADDR7

    E MO

    DB

    /V STB

    Y

    MO

    DA

    /LIR

    PC0/

    DAT

    A0

    EXTA

    LXT

    AL

    V SS

    R/W

    4XO

    UT

    PE7/

    AN

    7PE

    3/A

    N3

    PE6/

    AN

    6PE

    2/A

    N2

    PE5/

    AN

    5PE

    1/A

    N1

    V RH

    V RL

    PG

    0

    PD

    3/M

    OS

    I

    PD0/

    RxD

    PD4/

    SC

    K

    PD2/

    MIS

    OPD

    1/Tx

    D

    PD

    5/SS

    PB7

    /AD

    DR

    15

    PA4/

    OC

    4/O

    C1PA

    5/O

    C3/

    OC

    1PA

    6/O

    C2/

    OC

    1PA

    7/PA

    I/OC

    1V D

    D

    PA3/

    OC

    5/IC

    4/O

    C1

    PA2/

    IC1

    PA1/

    IC2

    PA0/

    IC3

    2324

    101112131415161718

    45

    59585756555453525150

    19202122

    49484746

    25

    60

    6 5 4 3 2 6768 65 64 63 628 7 669

    34 35 36 37 38 3927 28 29 30 31 32 33 40 41 4261

    4426

    43

    1

    MC68HC11F1

    PB3/ADDR11PG4/CSIO2

    MO

    DA

    MO

    DB

    GN

    D+5

    V

    RxD TxD

    RESET

    Figure 10. In-Circuit wiring diagram for 68HC11F1 MCU, PLCC68 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 25

    MODA/LIR60

    MODB/VSTBY59

    RESET58

    XTAL57

    EXTAL56

    XOUT55

    E54

    PC7/DATA753

    PC6/DATA652

    PC5/DATA551

    PC4/DATA450

    PC3/DATA349

    PC2/DATA248

    PC1/DATA147

    PC0/DATA046

    PF0/ADDR045

    PF1/ADDR144

    PA0/

    IC3

    9PA

    1/IC

    28

    PA2/

    IC1

    7PA

    3/IC

    4/O

    C5/

    OC

    16

    PA4/

    OC

    4/O

    C15

    PA5/

    OC

    3/O

    C14

    PA6/

    OC

    2/O

    C13

    PA7/

    PAI/O

    C1

    2V D

    D1

    V DD

    68V S

    S67

    PD

    5/SS

    66P

    D4/

    SCK

    65P

    D3/

    MO

    SI64

    PD

    2/M

    ISO

    63

    PD

    1/TX

    D62

    PD

    0/R

    XD61

    PB7/ADDR15

    PB6/ADDR14

    PB5/ADDR13

    PB4/ADDR12

    PB3/ADDR11

    PB2/ADDR10

    PB1/ADDR9

    PB0/ADDR8

    PH1/PW2PH2/PW3

    PH3/PW4

    XIRQ/VPPEPG7/R/W

    IRQAVDD

    PE7/AN7

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    PE

    6/A

    N6

    PE

    5/A

    N5

    PE

    4/A

    N4

    PE

    3/A

    N3

    PE

    2/A

    N2

    PE1/

    AN

    1P

    E0/A

    N0

    V RL

    V RH

    AVSS

    27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

    26

    PF7/

    ADD

    R7

    PF6/

    ADDR

    6

    PF5/

    ADD

    R5

    PF4/

    ADD

    R4

    PF3/

    ADDR

    3

    PF2

    /AD

    DR

    2

    V SS

    PH0/PW1

    MODA

    MODB

    RESET

    TxD

    RxD

    GND

    +5V

    MC68HC(7)11KA4

    MC68HC(7)11KA2

    INT

    EXT

    EXT

    INT

    Figure 11. In-Circuit wiring diagram for 68HC(7)11KA Series MCU, PLCC 68 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 26

    MODA/LIR60

    MODB/VSTBY59

    RESET58

    XTAL57

    EXTAL56

    XOUT55

    E54

    PC7/DATA753

    PC6/DATA652

    PC5/DATA551

    PC4/DATA450

    PC3/DATA349

    PC2/DATA248

    PC1/DATA147

    PC0/DATA046

    PF0/ADDR045

    PF1/ADDR144

    PA0/

    IC3

    9PA

    1/IC

    28

    PA2/

    IC1

    7PA

    3/IC

    4/O

    C5/

    OC

    16

    PA4/

    OC

    4/O

    C15

    PA5/

    OC

    3/O

    C14

    PA6/

    OC

    2/O

    C13

    PA7/

    PAI/O

    C1

    2V D

    D1

    V DD

    68V S

    S67

    PD

    5/SS

    66P

    D4/

    SCK

    65P

    D3/

    MO

    SI64

    PD

    2/M

    ISO

    63

    PD

    1/TX

    D62

    PD

    0/R

    XD61

    PB7/ADDR15

    PB6/ADDR14

    PB5/ADDR13

    PB4/ADDR12

    PB3/ADDR11

    PB2/ADDR10

    PB1/ADDR9

    PB0/ADDR8

    PH1/PW2PH2/PW3

    PH3/PW4

    XIRQ/VPPPG7/R/W

    IRQAVDD

    PE7/AN7

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    PE

    6/A

    N6

    PE

    5/A

    N5

    PE

    4/A

    N4

    PE

    3/A

    N3

    PE

    2/A

    N2

    PE1/

    AN

    1P

    E0/A

    N0

    V RL

    V RH

    AVSS

    27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

    26

    PF7/

    ADD

    R7

    PF6/

    ADDR

    6

    PF5/

    ADD

    R5

    PF4/

    ADD

    R4

    PF3/

    ADDR

    3

    PF2

    /AD

    DR

    2

    V SS

    PH0/PW1

    MODA

    MODB

    RESET

    TxD

    RxD

    GND

    +5V

    M68HC(7)11 KS SERIES

    Figure 12. In-Circuit wiring diagram for 68HC(7)11KS Series MCU, PLCC 68 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 27

    PB

    0/A

    8 P

    B1/

    A9

    PB

    2/A

    10 P

    B3/

    A11

    PB

    4/A

    12/L

    CD

    4 P

    B5/

    A13

    /LC

    D5

    PB

    6/A

    14/L

    CD

    6 P

    B7/

    A15

    /LC

    D7

    VS

    S V

    DD

    PA

    0/IC

    3 P

    A1/

    IC2

    PA

    2/IC

    1 P

    A3/

    OC

    1/O

    C5/

    IC4

    PA

    4/O

    C1/

    OC

    4 P

    A5/

    OC

    1/O

    C3

    PA

    6/O

    C1/

    OC

    2 P

    A7/

    OC

    1/PA

    I P

    D5/

    SS

    PD

    4/S

    CK

    PD

    3/M

    OS

    I

    RX

    D2/

    PG

    0 V

    DD

    AD

    AD

    7/P

    E7

    AD

    6/P

    E6

    AD

    5/P

    E5

    AD

    4/P

    E4

    AD

    3/P

    E3

    AD

    2/P

    E2

    AD

    1/P

    E1

    AD

    0/PE

    0 V

    RL

    VR

    H

    VS

    S A

    D

    A7/

    PF7

    A

    6/P

    F6

    A5/P

    F5

    A4/P

    F4

    A3/

    PF3

    A2

    /PF2

    A

    1/P

    F1

    A0/

    PF0

    74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54

    12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

    33

    34

    35

    36

    37

    38

    39

    40

    41

    42

    43

    44

    45

    46

    47

    48

    49

    50

    51

    52

    53

    11

    10

    9 8 7 6 5 4 3 2 84

    83

    82

    81

    80

    79

    78

    77

    76

    75

    PD2/MISO PD1/TXD1 PD0/RXD1 MODA/LIR RESET XFC VDDSYN EXTAL XTAL E VDDR VSSR PC7/D7 PC6/D6 PC5/D5 PC4/D4 PC3/D3 PC2/D2 PC1/D1 PC0/D0 IRQ

    PW1/PH0 PW2/PH1 PW3/PH2 PW4/PH3

    PH4 PH5 PH6 PH7

    MODB/VSTBY V PP E/XIRQ

    VDD VDDL VSSL VSS

    R/W/PG7 LCDBP/PG6

    SS2/PG5 SCK2/PG4

    MOSI2/PG3 MISO2/PG2

    TXD2/PG1

    TxDRxDMODARESET

    MODB

    GN

    D+5

    V

    See User’sGuide

    MC68HC(7)11PH8

    Figure 13. In-Circuit wiring diagram for 68HC(7)11PH8 MCU, PLCC84 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 28

    PB0

    /A8

    PB1

    /A9

    PB2

    /A10

    PB3

    /A11

    PB4

    /A12

    PB5

    /A13

    PB6

    /A14

    PB7

    /A15

    VSS

    VD

    D P

    A0/IC

    3 P

    A1/IC

    2 P

    A2/IC

    1 P

    A3/O

    C1/

    OC

    5/IC

    4 P

    A4/O

    C1/

    OC

    4 P

    A5/O

    C1/

    OC

    3 P

    A6/O

    C1/

    OC

    2 P

    A7/O

    C1/

    PAI

    PD

    5/S

    S P

    D4/

    SC

    K P

    D3/

    MO

    SI

    PG

    0 VD

    D A

    D

    AD

    7/P

    E7

    AD

    6/PE

    6 AD

    5/P

    E5

    AD

    4/P

    E4

    AD3/

    PE3

    AD

    2/PE

    2 A

    D1/

    PE

    1 AD

    0/P

    E0

    VR

    L V

    RH

    VS

    S A

    D

    A7/P

    F7

    A6/P

    F6

    A5/

    PF5

    A4

    /PF4

    A

    3/P

    F3

    A2/

    PF2

    A

    1/P

    F1

    A0/

    PF0

    74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54

    12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

    33

    34

    35

    36

    37

    38

    39

    40

    41

    42

    43

    44

    45

    46

    47

    48

    49

    50

    51

    52

    53

    11

    10

    9 8 7 6 5 4 3 2 84

    83

    82

    81

    80

    79

    78

    77

    76

    75

    PD2/MISO PD1/TXD1 PD0/RXD1 MODA/LIR RESET XFC VDDSYN EXTAL XTAL E VDDR VSSX PC7/D7 PC6/D6 PC5/D5 PC4/D4 PC3/D3 PC2/D2 PC1/D1 PC0/D0 IRQ

    PW1/PH0 PW2/PH1 PW3/PH2 PW4/PH3

    RXD3/PH4 TXD3/PH5 RXD2/PH6 TXD2/PH7

    MODB/VSTBY XIRQVDD

    VDDL VSSX

    VSS R/W/PG7

    PG6 PG5 PG4 PG3 PG2 PG1

    TxDRxDMODA

    RESET

    MODB

    +5V

    See User’sGuide

    GN

    DMC68HC(7)11P2

    Figure 14. In-Circuit wiring diagram for 68HC(7)11P2 MCU, PLCC84 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 29

    Figure 15. In-Circuit wiring diagram for 68HC(7)11L6 MCU, PLCC68 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 30

    Figure 16. In-Circuit wiring diagram for 68HC11A8 MCU, DIP48 Package

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 31

    Figure 17. 11 EA PLCC-52 programming adapter

    Figure 18. 11 E PLCC-52 programming adapter

    Figure 19. 11 E QFP-64 programming adapter

    10. APPENDIX 2

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 32

    Figure 20. 11 K PLCC-84 programming adapter

    Figure 21. 11 K QFP-80 programming adapter

    Figure 22. 11 KA/KS PLCC-68 programming adapter

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 33

    Figure 23. 11 F PLCC-68 programming adapter

    Figure 24. 11L6 PLCC-68 programming adapter

    Figure 25. 11 PH PLCC-84 programming adapter

  • ©ETL 2010 MC68HC(7)11 Programmer User’s Guide 34

    Figure 26. 11 A8 DIP-48 programming adapter