Upload
roger-sego
View
218
Download
0
Embed Size (px)
Citation preview
8/9/2019 e912prog
1/24
Engineering Technical Laboratory Rev. 6
MC68HC912/9S12 FLASH/EEPROM Programmer
Users Guide
ETL 2004-2006 Microcontroller Development Tool
8/9/2019 e912prog
2/24
TABLE OF CONTENTS
1. PREFACE...................................................................................................................................... 3
2. CHECKLIST AND REQUIREMENTS........................................................................................ 3
3. INSTALLATION AND USE ........................................................................................................ 4
3.1 PROGRAMMER CHECK AND CONNECTION TO PC...................................................... 5
3.2 PROGRAMMER FIRMWARE UPDATE.............................................................................. 5
4. INTERFACE TYPES .................................................................................................................... 6
4.1 IN-CIRCUIT PROGRAMMING ............................................................................................ 6
4.2 ON-BOARD PROGRAMMING............................................................................................. 6
5. WORKING WITH TARGET MCU.............................................................................................. 7
5.1 MC68 HC912 Devices............................................................................................................. 7
5.1.1 In-Circuit EEPROM/FLASH reading example ................................................................ 7
5.1.2 In-Circuit EEPROM/FLASH programming example....................................................... 7
5.1.3 On-Board EEPROM/FLASH reading example ................................................................ 8
5.1.4 On-Board EEPROM/FLASH programming example ...................................................... 8
5.2 MC 9S12 Devices .................................................................................................................... 9
5.2.1 Features of MC9S12xx128 Devices with 0L85D/1L85D masksets ................................. 9
6. FILE OPERATIONS ................................................................................................................... 11
6.1 LOAD FILE INTO BUFFER ................................................................................................ 116.2 SAVE FILE FROM BUFFER ............................................................................................... 11
7. ERRORS AND TROUBLESHOOTING .................................................................................... 12
8. WARRANTY STATEMENT...................................................................................................... 14
9. APPENDIX.................................................................................................................................. 15
Figure 2. In-Circuit programming schematic diagram for HC912/9S12 MCU............................... 15Figure 3. In-Circuit wiring diagram for MC68HC912B32, 80-PIN QFP Package ......................... 16
Figure 4. In-Circuit wiring diagram for MC68HC912D60/DG128, 112-PIN TQFP Package........ 17Figure 5. In-Circuit wiring diagram for MC68HC912D60A/DG128A, 112-PIN LQFP Package.. 18Figure 6. In-Circuit wiring diagram for MC68HC(9)12D60, 80-PIN QFP Package ...................... 19Figure 7. In-Circuit wiring diagram for MC68HC912D60A, 80-PIN QFP Package ...................... 20Figure 8. In-Circuit wiring diagram for MC9S12Dx64/Dx128/Dx256, 80-PIN QFP Package ...... 21Figure 9. In-Circuit wiring diagram for MC9S12Dx64/Dx128/Dx256, 112-PIN LQFP Package.. 22Figure 10. In-Circuit wiring diagram for MC9S12H-Family 112-PIN LQFP Package .................. 23Figure 11. In-Circuit wiring diagram for MC9S12H-Family 144-PIN LQFP Package .................. 24
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 2
8/9/2019 e912prog
3/24
1. PREFACE
This manual will guide you through the installation and operation of the ETLMC68HC912/9S12 Programmer, referenced hereafter as the HC912-Programmer.
The HC912-Programmer has been designed for Reading, Programming of FLASH,
EEPROM contents of the next Motorola Microcontroller Unit (MCU):
MC68HC912 DC128A(3K91D) MC9S12 DG128B(0L85D)MC68HC912 DC128(0K50E) MC9S12 DT128B(0L85D)MC68HC912 DG128(5H55W) MC9S12 A128B(0L85D)MC68HC912 DG128A(3K91D) MC9S12 DB128B(0L85D)MC68HC912 D60A(2K38K) MC9S12 DT128B(1L85D)
MC68HC912 D60(0K75F) MC9S12 DG256C(2K79X)MC68HC912 D60(0K13J) MC9S12 DT256C(2K79X)
MC68HC912 D60(4F73K) MC9S12 DP256C(2K79X)MC68HC912 B32(4J54E) MC9S12 DP512(1L00M)
MC68HC912 B32(9H91F) MC9S12 D64(2L86D)MC9S12 DT128B(3L40K)MC9S12 H128(1K78X)
MC9S12 H256(1K78X)
Note:Most number of devices can be programmed in two operating modes In-
.
ove in list cant be guaranteed of correctgrammer.
Circuit and On-Board.
Note: On-Board programming must be used when device secured or BDMmodule disabled only. See Section 4.2 for details
Note: Devices that not mentioned abreading, programming by HC912-Pro
2. CHECKLIST AND REQUIREMENTS
The d with the HC912-Programmer and thesystem
Optional Extra
following describes what items are supplierequirements if used by a PC.
HC912-Programmer supplied Two HC912 QFP112 Adaptors supplied Two MC9S12 112QFP Adaptors supplied
le - supplied Cable -A DB9 straight-thru cab HC912-ProgrammerPC software on CD-ROM
..8)
Power supply 12 Volt/500 mA linear power supply source OS -MS-Windows (Win98, Win2000/XP/2003)
Desktop PC and a free Serial Communication Port (COM1. Memory - Minimum 32 Mbytes
Display - Color SVGA display recommended
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 3
8/9/2019 e912prog
4/24
3. INSTALLATION AND USE
The HC912-Programmer includes two LEDs and mode jumper (Figure 1).Color LEDs indicates programmer state and external power supply voltage (Table1, 2).
GREEN HC912-Programmer is ready.GREEN Flashing HC912-Programmer is busy.
RED Error occurred while operation.
DARK Voltage applied to HC912-Programmerlower than 6 Volt.
Table 1. LED D1 color meaning
GREEN Motorola device powered on.
DARK Motorola device powered off.
Table 2. LED D4 color meaning
Jumper-1 (JP1) is intended for HC912-Programmermode selection (see Table 3).
JP1 Shorted Normal operation. Motorola device EEPROM/FLASHReading/Programming.
JP1 Opened Service mode. HC912-Programmer firmware update.
Table 3. HC912-Programmeroperation modes
Note: When Service mode sele ted LED D1 will be RED.c
12VPower
Connector
Seri
alPor t
Conne
ctor
CO
M
1... 8
BDM ICP
Motorola Device Socket forOn-Board Programming
D4 D1
JP1 1-Pin Key
BKGD GND
RES
VDD
P5
Figure 1. The HC912-Programmerboard layout
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 4
8/9/2019 e912prog
5/24
8/9/2019 e912prog
6/24
4. INTERFACE TYPES
This section describes two interfaces, In-Circuit Programming (ICP) and On-BoardProgramming (OBP) of HC912-Programmer.
4.1 IN-CIRCUIT PROGRAMMING
In-Circuit programming interface is basic for HC912-Programmer.With this interface HC912-Programmer automatically detects target MCU bus speed. Ceramic resonator connected to targetMCU must be in range from 2 MHz to 16 MHz. If target MCU secured (9S12 devices) or BDMmodule disabled (912 devices) there is no way to establish connection between MCU and HC912-Programmer.
Note: ECLK Pin on target MCU must be connected to circuit via resistor
Note: When using In-Circuit programming interface remove adaptor fromgure 1).
1Kohm or higher to avoid damaging of this pin.
Motorola device socket (see Fi
4.2 ON-BOARD PROGRAMMING
On-board programming interface designed for establishing connection with target device whenMCU secured (9S12 devices) or BDM module disabled (912 devices). This interface allowsRead/Program EEmust be mounted -Programmer.
can be damaged!
Note: When On-board programming interface used, remove cable from BDMICP connector (see Figure 1).
PROM/FLASH without any restrictions. To work with this interface type MCUto the corresponding QFP adaptor supplied with HC912
Note: When target adaptor with MCU mounted, check contacts careful to avoidshort circuit. Otherwise target MCU
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 6
8/9/2019 e912prog
7/24
5. WORKING WITH TARGET MCU
This section contains overall information about Motorola MCUs supported by HC912-Programmer. When HC912-Programmer successfully installed (see Section 3) target devices can
be read, program and verify.
5.1 MC68 HC912 Devices
This section describes basic rules working with next devices:MC68HC912 DC128A(3K91D)
MC68HC912 DC128(0K50E)MC68HC912 DG128(5H55W)
MC68HC912 DG128A(3K91D)MC68HC912 B32(4J54E)MC68HC912 D60A(2K38K)
FLASH/EEPROM memory for these devices can be read, program in both OBP and ICPinterfaces.
Note: On-Board programming interface not implemented for MC68HC912B32device.
ered MCU is mount MCU on corresponding
aptor and use On-Board programming interface.
gure 2).
).evice button).
912-Programmersoftware.SH button.
hat means that +5 voltage
-Programmer became permanent green, reading completed.
ccessfully completed it is necessarily to save memory dump to
If some errors appeared during reading process refer to Section 7.
gure 2).
).
Extra care must be taken when working with EEPROM Shadow Word/Byte in ICP interface.If BDM Lockout bit (NOBDML) programmed to zero, further access to MCU will be blocked aftnext reset. The only one way to grant access to lockad
5.1.1 In-Circuit EEPROM/FLASH reading example
Connect required pins to board with target MCU (see Appendix Fi
Remove any adaptor from Motorola device socket (see Figure 1). Apply power to HC912-Programmer.LED D1 became to green light (see Table 1
Select corresponding device in HC912-Programmersoftware (D Select Read Sequence panel in HC Press EEPROM/FLA Press Start button.
LED D4 on HC912-Programmerbecame to green light. Tregulator switched on and VCC applied to target MCU.
NowHC912-Programmer automatically detects MCU bus speed.When LED D1 on HC912Target MCU powered off.After read sequence sufile (see Section 6.2).
5.1.2 In-Circuit EEPROM/FLASH programming example
Connect required pins to board with target MCU (see Appendix Fi Remove any adaptor from Motorola device socket (see Figure 1).
Apply power to HC912-Programmer.LED D1 became to green light (see Table 1 Select corresponding device in HC912-Programmersoftware (Device Button).
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 7
8/9/2019 e912prog
8/24
Load EEPROM/FLASH data from file (see Section 6.1) or enter data to Hex Editor.HC912-Programmersoftware.
SH button.
hat means that +5 voltage
mer became permanent green, programming
If some
SH programming, for a firstfile.
ket on HC912-Programmerin according to 1 pin-
r.2-Programmersoftware (Device Button).
HC912-Programmerbecame to green light. That means that +5 voltage
HC912-Programmer became permanent green light, reading
When read sequence successfully completed it is necessarily to save memory dump tofile (se
If some 7.
t MCU HC912-Programmermust
in-
r.
Select Program Sequence panel in Press EEPROM/FLA Press Start button.
LED D4 on HC912-Programmerbecame to green light. Tregulator switched on and VCC applied to target MCU.
NowHC912-Programmer automatically detects MCU bus speed.When LED D1 on HC912-Programcompleted. Target MCU powered off.
errors appeared during programming process refer to Section 7.
Note: Extra care must be taken when programming the EEPROM ShadowWord/Byte.
Note: Strongly recommended before EEPROM/FLAtime, read EEPROM/FLASH contents and save it to
5.1.3 On-Board EEPROM/FLASH reading example
Mount target MCU on corresponding QFP adaptor.
Insert adaptor to Motorola Device Sockey (see Figure 1).
Remove cable from BDM ICP connector (see Figure 1). Apply power to HC912-Programme Select device in HC91 Select Read Sequence panel in HC912-Programmersoftware.
Press EEPROM/FLASH button.
Press Start button.
LED D4 onregulator switched on and VCC applied to target MCU.When LED D1 oncompleted.
e Section 6.2).errors appeared during reading process refer to Section
Note: When target MCU mounted on adaptor check contacts careful to avoidshort circuit. Otherwise target MCUcan be damaged!
Note: During removing the adaptor with targebe powered off to avoid damaging of programmer and target MCU!
5.1 ample.4 On-Board EEPROM/FLASH programming ex
Mount target MCU on corresponding QFP adaptor. Insert adaptor to Motorola Device Socket on HC912-Programmerin according to 1 p
key (see Figure 1).ector (see Figure 1). Remove cable from BDM ICP conn
2-Programme
Apply power to HC91 Select device in HC912-Programmersoftware (Device Button). Load EEPROM/FLASH data from file (see Section 6.1) or enter data to Hex Editor.
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 8
8/9/2019 e912prog
9/24
Select Program Sequence panel in HC912-Programmersoftware.Press EEPR OM/FLASH button.
LED DregulatWhen
compleIf some
g removing the adaptor with target MCU HC912-Programmermustoff to avoid damaging of programmer and target MCU!
amming the EEPROM Shadow
ended before EEPROM/FLASH programming, for a firstLASH contents and save it to file.
Press Start button. 4 on HC912-Programmerbecame to green light. That means that +5 voltage
or switched on and VCC applied to target MCU. LED D1 on HC912-Programmer became permanent green light, programming
ted. errors appeared during programming process refer to Section 7.
Note: When target MCU mounted on adaptor check contacts careful to avoidshort circuit. Otherwise target MCUcan be damaged!
Note: Durinbe powered
must be taken when progrNote: Extra careWord/Byte.
Note: Strongly recommtime, read EEPROM/F
5.2 MC 9S12 Devices
This king with next devices:
MC9SMC9S
MC
hi hen In-Circuit es there
section describes basic rules worMC9S12 D64(2L86D)
MC9S12 DG128B(0L85D)MC9S12 DT128B(0L85D)MC9S12 A128B(0L85D)
12 DB128B(0L85D) 12 DT128B(1L85D)MC9S12 DG256C(2K79X)MC9S12 DT256C(2K79X)MC9S12 DP256C(2K79X)
MC9S12 DP512(1L00M)
FLASH/EEPROM memory for these devices can be read, program in both OBP and ICPinterfaces.
Note: Use On-Board programming interface only if target MCU secured.
Extra care must be taken when working with FLASH Option/Security byte in ICP interface. IfU not erased (all EEPROM and FLASH bytes not equal to $FF) and FLASH Security byte not
equal to XXXXXX10B, further access to MCU will be blocked after next reset. To grant access toMCU device must be mounted on corresponding adaptor and On-Board programming interfacemust be used.
In all other respects EEPROM/FLASH programming technique similar to MC68HC912devices (See sections 5.1.1-5.1.4)
T
5.2.1 Features of MC9S12xx128 Devices with 0L85D/1L85D masksets
s section describes specific behavior of MC9S12xx128 (0L85D/1L85D) devices wprogramming interface is used. In according to Motorola errata relative to this devic
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 9
8/9/2019 e912prog
10/24
is someOnly Bulksolved bythis key a Backdoor Access Key disabled there is no
possibilities to disable security. To solve this problem the second method of security disablingmust b
Chip mode below:
when link with MCU completed it is necessarily to read all FLASH andore information see sections 5.1.3 On-
ave EEPROM and
ce panel. Also, press
rmanent green light, erasing
solder it back to board.
Figure 2).rom Motorola device socket (see Figure 1).
are (Device Button).
e, $7BF0F Address to $FE in Hex Editor. That
e changes inEEPROM and FLASH areas are possible.If furth
Press Press
LED DregulatWhencomple
If some errors appeared during programming process refer to Section 7.
Note: There is no way to restore EEPROM and FLASH contents after erasing.That is strongly recommended read EEPROM and FLASH contents and save itto file before erasing.
Note: When target MCU mounted on adaptor check contacts careful to avoidshort circuit. Otherwise target MCUcan be damaged!
Note: During removing the adaptor with target MCU HC912-Programmermustbe powered off to avoid damaging of programmer and target MCU!
problem exists with running of Sector Erase and Program Commands when MCU secured.Erase of FLASH and EEPROM command possible. In many cases this problem can be
disabling of security via Backdoor Access Key. HC912-Programmerautomatically readnd passes the security sequence. But if
e used. After erasing FLASH and EEPROM, target MCU can be accessed in Special Single
(HC912-ProgrammerIn-Circuit interface). Follow instructions
Read full EEPROM and FLASH contents in On-Board programming interface.First of all,EEPROM contents and save it to File. For mBoard EEPROM/FLASH reading example. It is obligatory to sFLASH contents to file (see Section 6.2).
Erase EEPROM and FLASH. Press Erase FLASH and EEPROM buttons on Program Sequen
Verify EEPROM and FLASH buttons to perform erase check. Press Start button.
When LED D1 on HC912-Programmer became pecompleted.Disconnect power from HC912-Programmer.Remove target MCU from programmer and
Prepare target MCU for In-Circuit Programming.
Connect required pins to board with target MCU (see Appendix Remove any adaptor f Apply power to HC912-Programmer.LED D1 became to green light (see Table 1).
Select corresponding device in HC912-Programmersoftw Load EEPROM/FLASH data from previous saved file.
Change value of FLASH Security byt
mean that device will be unsecured after programming. Also, som
er access to MCU is not required, FLASH Security byte not need to be changed.EEPROM/FLASH button on Program Sequence Panel.Start button.
4 on HC912-Programmerbecame to green light. That means that +5 voltageor switched on and VCC applied to target MCU.
LED D1 on HC912-Programmer became permanent green, programmingted. Target MCU powered off.
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 10
8/9/2019 e912prog
11/24
6. FILE OPERATIONSThis 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 andmemory cell assignment can be done for future fast remind. HC912-Programmeraccepts tree typesof 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 proceduresrequired.
Than press OK button.Sometimes load data from file to specific buffer allocations required. For Example if required
load buffer from $0400 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 0x0400. Than press OK button.
Now data placed to Hex Editor Buffer from the beginning of 0x0400 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 andClear 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 automaticallyprocessing. Also, only in EEF Format
Project Description, Device Name and
Note: Use Motorola S-Record (6 byte address) Format to save all FLASHmemory contents.
Memory Cells attributes can be saved.
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 11
8/9/2019 e912prog
12/24
8/9/2019 e912prog
13/24
Error Message: BDM Speed Auto Detection failedCauses: This message can appear in In-Circuit programming interface if target MCU
not connected correctly to HC912-Programmeror MCU secured.Solutions: Check contacts between HC912-Programmer and MCU pins. If this error
not disappeared, place MCU on corresponding QFP adaptor and use On-Board programming interface.
Error Message:BDM Activation ErrorCauses: This message can appear when wrong Device selected.Solutions: Select correct device type; take attention on MCU maskset.
Error Message:No clock on ECLK pinCauses: This message can appear in On-Board programming interface when wrong
Device selected.Solutions: Select correct device type; take attention on MCU maskset.
Error Message:Parallel Boot Failed
Causes: This message can appear in On-Board programming interface when wrongDevice selected.
Solutions: Select correct device type; take attention on MCU maskset.
Error Message:Monitor Loader time-out Error
Causes: This message can appear when wrong Device selected.Solutions: Select correct device type; take attention on MCU maskset.
Error Message: Monitor Check-sum ErrorCauses: 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 targetMCU has damaged RAM.
Error Message: Monitor Heap Check-sum ErrorCauses: This message can appear after monitor firmware transferred data into target
MCU RAM with errors.Solutions: Try to reconnect to target MCU. If this error not disappeared, possible target
MCU has damaged RAM.
Error Message: BDM active status or monitor firmware time-out ErrorCauses: This message can appear if target MCU hangs up.
Solutions: Try to reconnect to target MCU. If this error not disappeared, check contactsbetween HC912-Programmerand MCU pins, power supply voltage on VCCpins.
Error Message: Parallel Bus active status or monitor firmware time-out Error
Causes: This message can appear if target MCU hangs up.Solutions: Try to reconnect to target MCU. If this error not disappeared, check contacts
between HC912-Programmerand MCU pins, power supply voltage on VCCpins.
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 13
8/9/2019 e912prog
14/24
Error Message:Device still lockedCauses: This message can appear in On-Board programming interface when target
MCU secured.Solutions: Check accuracy of device type selected; take attention on MCU maskset.
Try to reconnect to target MCU.
Error Message: Device can't be unsecuredCauses: This message can appear in In-Circuit programming interface when MCU
EEPROM/FLASH erased (all data equal to $FF) and accordingly devicestill secured.
Solutions: Check voltage on VCC pins. Try to reconnect to target MCU.
Error Message: Voltage on VFP pin is below normal programming voltage level
Causes: This message can appear when no or low voltage applied to VFP pin.Solutions: Apply specified by Motorola voltage to VFP pin.
Error Message: On-Board Programming Interface not supported for the Device
Causes: This message can appear when wrong Device selected.Solutions: Select correct device type; take attention on MCU maskset.
Error Message: External power supply must be disconnected from BDM ICP connectorCauses: This message can appear in On-Board programming interface when
external voltage applied to BDM ICP connector (see Figure 1).Solutions: Disconnect cable from BDM ICP connector.
Error Message: Vreg Overcurrent ProtectionCauses: This message can appear when current consumption from built-in power
supply grater than 500 mA.Solutions: Check target MCU power pins on short circuit.
Error Message: Vreg Output Voltage out of rangeCYPRESS IIC BUS BusyCYPRESS IIC Protocol FailedCYPRESS Frequency out of rangeWrong Subroutine call
Causes: These messages can appear when fatal problems with HC912-Programmerhardware accrued.
Solutions: Contact ETL technical support.
Note: HC912-Programmerhas Log Window which can be stored to file. Toperform this operation right clicks on Log Window. Than click on Savhc912prog.log file menu item. Now this file can be found in the samedirectory as HC912-Programmersoftware. Log File can be se
e to
nd by E-mail [email protected] non described problem solution.
form to applicable. Report any defects for a 45days period, from the applicable data on invoice.
ETL warrants that Product delivered shall con
8. WARRANTY STATEMENT
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 14
8/9/2019 e912prog
15/24
9. APPENDIX
HC912/9S12 MCU
RESET
BKGD
VSS
MODA
MODB
VDD
Gnd
ECLK
EXTAL
XTAL2...16 MHz
Logic level on this pin must be LOW
HC912 Programmer
P5
1
2
4
6
BKGD
Gnd
RESET
Logic level on this pin must be LOW
External circuit *
1 K
1 K
Gnd
>1 K
Note: To avoid damaging of ECLK pin
it must be connected to external circuitvia resistor equal or grater than 1 Kohm.
VDD
Figure 2. In-Circuit programming schematic diagram for HC912/9S12 MCU
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 15
8/9/2019 e912prog
16/24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
8079787776757473727170696867666564636261
2122232425262728293031323334353637383940
MC68HC912B32
80 QFP
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
BKGD
RESET
GNDVDD
PP5
PP4
PW3 / PP3
PW2 / PP2
PW1/ PP1
PA2 / DATA10 / ADDR10
PA3 / DATA11 / ADDR11
PA4 / DATA12 / ADDR12
PA5 / DATA13 / ADDR13
PA6 / DATA14 / ADDR14
PA7 / DATA15 / ADDR15
PP6
PP7
ADDR0 / DATA0 / PB0
ADDR1 / DATA1 / PB1
ADDR2 / DATA2 / PB2
SMODN / TAGHI/ BKGD
PAI / IOC7 / PT7
IOC6 / PT6
IOC5 / PT5
IOC4 / PT4
IOC3 / PT3
IOC2 / PT2
IOC1 / PT1
IOC0 / PT0
ADDR9/DATA9/PA1
XIRQ/PE0
IRQ/PE1
R/W/PE2
LSTRB/TAGLO/PE3
XTAL
EXTAL
RESET
VDDX
VSSX
ECLK/PE4
MODA/IPIPE0/PE5
MODB/IPIPE1/PE6
DBE/PE7
ADDR7/DATA7/PB7
ADDR6/DATA6/PB6
ADDR5/DATA5/PB5
ADDR4/DATA4/PB4
ADDR3/DATA3/PB3
VDD
VSS
PW0/ PP0
VSSA
VDDA
PAD7 / AN7
PAD6 / AN6
PAD5 / AN5
PAD4 / AN4
PAD3 / AN3
PAD2 / AN2
PAD1 / AN1
PAD0 / AN0
VRL
VRHVSS
VDD
PS0/RxD
PS1/TxD
PS2
PS3
PS4/SDI/MIS
O
PS5/SDO/MOSI
PS6/SCK
PS7/CS/SS
VFP
PDLC6
PDLC5
PDLC4
PDLC3
PDLC2
PDLC1/DLCTx
PDLC0/DLCR
x
VSSX
VDDX
ADDR8/DATA8/PA0
Figure 3. In-Circuit wiring diagram for MC68HC912B32, 80-PIN QFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 16
8/9/2019 e912prog
17/24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
112
111
110
109
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
29
30
31
32
33
34
35
36
37
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L
XFC
VSSPLL
RESET
EXTAL
XTAL
KWH3/PH3
KWH2/PH2
KWH1/PH1
KWH0/PH0
LSTRB/TAGLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
RESETG
ND
VDD
BKGD
External +12V for FLASH Programming
Figure 4. In-Circuit wiring diagram for MC68HC912D60/DG128, 112-PIN TQFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 17
8/9/2019 e912prog
18/24
1
2
3
4
5
6
7
8
9
10
1112
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
112111110109108107106105104103102101100999897969594939291908988878685
29303132333435363738394041424344454647484950515253545556
MC68HC912 D60A/DG128A112 LQFP
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
PAD17/AN17
PAD07/AN07
PAD16/AN16
PAD06/AN06
PAD15/AN15
PAD05/AN05
PAD14/AN14
PAD04/AN04
PAD13/AN13
PAD03/AN03
PAD12/AN12PAD02/AN02
PAD11/AN11
PAD01/AN01
PAD10/AN10
PAD00/AN00
VRL0VRH0VSSVDDPA7/ADDR15/DATA15/DATA7
PA6/ADDR14/DATA14/DATA6
PA5/ADDR13/DATA13/DATA5
PA4/ADDR12/DATA12/DATA4
PA3/ADDR11/DATA11/DATA3
PA2/ADDR10/DATA10/DATA2
PA1/ADDR9/DATA9/DATA1
PA0/ADDR8/DATA8/DATA0
PP3/PW3
PK0/PIX0
PK1/PIX1
PK2/PIX2
PK7/ECS
VDDX
VSSX
RxCAN0
TxCAN0
RxCAN1
TxCAN1
PIB4
PIB5
PIB6/SDA
PIB7/SCL
TEST
PS7/SS
PS6/SCK
PS5/SDO/MOSI
PS4/SDI/MIS
O
PS3/TxD1
PS2/RxD1
PS1/TxD0
PS0/RxD0
VSSA
VRL1
VRH1
VDDA
PW2/PP2
PW1/PP1
PW0/PP0
IOC0/PT0
IOC1/PT1
IOC2/PT2
IOC3/PT3
KWJ7/PJ7
KWJ6/PJ6
KWJ5/PJ5
KWJ4/PJ4VDD
PK3VSS
IOC4/PT4
IOC5/PT5
IOC6/PT6
IOC7/PT7
KWJ3/PJ3
KWJ2/PJ2
KWJ1/PJ1
KWJ0/PJ0
SMODN/TAGHI/BKGDADDR0/DATA0/PB0
ADDR1/DATA1/PB1
ADDR2/DATA2/PB2
ADDR3/DATA3/PB3
ADDR4/DATA4/PB4
ADDR5/DATA5/PB5
ADDR6/DATA6/PB6
ADDR7/DATA7/PB7
KWH7/PH7
KWH6/PH6
KWH5/PH5
KWH4/PH4
ECLK/DBE/CAL/PE7
CGMTST/MODB/IPIPE1/PE6
MODA/IPIPE0/PE5
ECLK/PE4
VSSX
VSTBY
VDDX
VDDPLL
XFC
VSSPLL
RESET
EXTAL
XTAL
KWH3/PH3
KWH2/PH2
KWH1/PH1
KWH0/PH0
LSTRB/TAGLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
RESETG
ND
VDD
BKGD
Figure 5. In-Circuit wiring diagram for MC68HC912D60A/DG128A, 112-PIN LQFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 18
8/9/2019 e912prog
19/24
60
59
57
5655
54
53
52
51
50
49
48
47
46
45
58
1
2
4
56
7
8
9
10
11
12
13
14
15
16
3
44
43
42
41
18
2019
17
80
79
77
76
75
74
73
72
71
70
69
68
67
66
65
78
64
63
62
61
21
22
24
25
26
27
28
29
30
31
32
33
34
35
36
23
38
40
39
37
MC68HC(9)12D6080 QFP
PP3/PW3
PP4
PP5
PP6
PP7
VDDX
VSSX
PCAN0/RxCAN
PCAN1/TxCAN
PS7/SS
PS6/SCK
PS5/SDO/MOSI
PS4/SDI/MISO
PS3/TxD1
PS2/RxD1
PS1/TxD0
PS0/RxD0
VSSAD
VDDAD
PAD07/AN07
PAD06/AN06
PAD05/AN05
PAD04/AN04
PAD03/AN03PAD02/AN02
PAD01/AN01
PAD00/AN00
VRL0VRH0VSSVDDPA7/ADDR15/DATA15/DATA7
PA6/ADDR14/DATA14/DATA6
PA5/ADDR13/DATA13/DATA5
PA4/ADDR12/DATA12/DATA4
PA3/ADDR11/DATA11/DATA3
PA2/ADDR10/DATA10/DATA2
PA1/ADDR9/DATA9/DATA1
PA0/ADDR8/DATA8/DATA0
ADDR5/DATA5/PB5
ADDR6/DATA6/PB6
ADDR7/DATA7/PB7
KWH4/PH4
ECLK/DBE/CAL/PE7
CGMTST/MODB/IPIPE1/PE6
MODA/IPIPE0/PE5
ECLK/PE4
VSSX
VDDX
VDDPLL
XFC
VSSPLL
RESET
EXTAL
XTAL
LSTRB/TAGLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
PW2/PP2
PW1/PP1
PW0/PP0
IOC0/PT0
IOC1/PT1
IOC2/PT2
IOC3/PT3
KWG4/PG4VDDVSS
IOC4/PT4
IOC5/PT5
IOC6/PT6
IOC7/PT7
SMODN/TAGHI/BKGD
ADDR0/DATA0/PB0
ADDR1/DATA1/PB1
ADDR2/DATA2/PB2
ADDR3/DATA3/PB3ADDR4/DATA4/PB4
RESETG
ND
VDD
BKGD
VFP*
External +12V for FLASH Programming
Figure 6. In-Circuit wiring diagram for MC68HC(9)12D60, 80-PIN QFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 19
8/9/2019 e912prog
20/24
60
59
57
56
5554
53
52
51
50
49
48
47
46
45
58
1
2
4
56
7
8
9
10
11
12
13
14
15
16
3
44
43
42
41
18
20
19
17
80
79
77
76
75
74
73
72
71
70
69
68
67
66
65
78
64
63
62
61
21
22
24
25
26
27
28
29
30
31
32
33
34
35
36
23
38
40
39
37
MC68HC912D60A80 QFP
PP3/PW3
PP4
PP5
PP6
PP7
VDDX
VSSX
PCAN0/RxCAN
PCAN1/TxCAN
TEST
PS7/SS
PS6/SCK
PS5/SDO/MOSI
PS4/SDI/MISO
PS3/TxD1
PS2/RxD1
PS1/TxD0
PS0/RxD0
VSSAD
VDDAD
PAD07/AN07
PAD06/AN06
PAD05/AN05
PAD04/AN04
PAD03/AN03
PAD02/AN02
PAD01/AN01
PAD00/AN00
VRL0VRH0VSSVDDPA7/ADDR15/DATA15/DATA7
PA6/ADDR14/DATA14/DATA6
PA5/ADDR13/DATA13/DATA5
PA4/ADDR12/DATA12/DATA4
PA3/ADDR11/DATA11/DATA3
PA2/ADDR10/DATA10/DATA2
PA1/ADDR9/DATA9/DATA1
PA0/ADDR8/DATA8/DATA0
ADDR5/DATA5/PB5
ADDR6/DATA6/PB6
ADDR7/DATA7/PB7
KWH4/PH4
ECLK/DBE/CAL/PE7
CGMTST/MODB/IPIPE1/PE6
MODA/IPIPE0/PE5
ECLK/PE4
VSSX
VDDX
VDDPLL
XFC
VSSPLL
RESET
EXTAL
XTAL
LSTRB/TAGLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
PW2/PP2
PW1/PP1
PW0/PP0
IOC0/PT0
IOC1/PT1IOC2/PT2
IOC3/PT3
KWG4/PG4VDDVSS
IOC4/PT4
IOC5/PT5
IOC6/PT6
IOC7/PT7
SMODN/TAGHI/BKGD
ADDR0/DATA0/PB0
ADDR1/DATA1/PB1
ADDR2/DATA2/PB2
ADDR3/DATA3/PB3
ADDR4/DATA4/PB4
RESETG
ND
VDD
BKGD
Figure 7. In-Circuit wiring diagram for MC68HC912D60A, 80-PIN QFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 20
8/9/2019 e912prog
21/24
1
2
3
45
6
7
8
9
10
11
12
13
14
15
16
1718
19
20
8079787776757473727170696867666564636261
2122232425262728293031323334353637383940
MC9S12 D64/DG64
MC9S12 DT128/DG128/DJ128/DB128
80 QFP
VRH
VDDA
PAD07/AN07/ETRIG0
PAD06/AN06PAD05/AN05
PAD04/AN04
PAD03/AN03
PAD02/AN02
PAD01/AN01
PAD00/AN00
VSS2
VDD2
PA7/ADDR15/DATA15
PA6/ADDR14/DATA14
PA5/ADDR13/DATA13
PA4/ADDR12/DATA12
PA3/ADDR11/DATA11PA2/ADDR10/DATA10
PA1/ADDR9/DATA9
PA0/ADDR8/DATA8
PP4/KWP4/PWM4
PP5/KWP5/PWM5
PP7/KWP7/PWM7
VDDX
VSSX
PM0/RXCAN0/RXB
PM1/TXCAN0/TXB
PM2/RXCAN1/RXCAN0/MISO0
PM3/TXCAN1/TXCAN0/SS0
PM4/RXCAN0/RXCAN4/MOSI0
PM5/TXCAN0/TXCAN4/SCK0
PJ6/KWJ6/RXCAN4/SDA/RXCAN
PJ7/KWJ7/TXCAN4/SCL/TXCAN0
VREGEN
PS3/TXD1
PS2//RXD1
PS1/TXD0
PS0/RXD0
VSSA
VRL
SS1/PWM3/KWP3/PP3
SCK1/PWM2/KWP2/PP2
MOSI1/PWM1/KWP1/PP1
MISO1/PWM0/KWP0/PP0IOC0/PT0
IOC1/PT1
IOC2/PT2
IOC3/PT3
VDD1
VSS1
IOC4/PT4
IOC5/PT5
IOC6/PT6
IOC7/PT7
MODC/TAGHI/BKGD
ADDR0/DATA0/PB0
ADDR1/DATA1/PB1ADDR2/DATA2/PB2
ADDR3/DATA3/PB3
ADDR4/DATA4/PB4
ADDR5/DATA5/PB5
ADDR6/DATA6/PB6
ADDR7/DATA7/PB7
XCLKS/NOACC/PE7
MODB/IPIPE1/PE6
MODA/IPIPE0/PE5
ECLK/PE4
VSSR
VDDR
RESET
VDDPLLXFC
VSSPLL
EXTAL
XTAL
TEST
LSTRB/TAGLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
60
59
58
5756
55
54
53
52
51
50
49
48
47
46
45
4443
42
41
MC9S12 DT256/DG256/DJ256/DB256
BKGD
RESET
GNDVDD
Figure 8. In-Circuit wiring diagram for MC9S12Dx64/Dx128/Dx256, 80-PIN QFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 21
8/9/2019 e912prog
22/24
VRH
VDDA
PAD15/AN15/ETRIG1
PAD07/AN07/ETRIG0
PAD14/AN14
PAD06/AN06
PAD13/AN13
PAD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B7
K
WH7/PH7
K
WH6/PH6
K
WH5/PH5
K
WH4/PH4
XCLKS/NO
ACC/PE7
MODB/IP
IPE1/PE6
MODA/IP
IPE0/PE5
ECLK/PE4
VSSR
VDDR
RESET
VDDPLL
XFC
VSSPLL
EXTAL
XTAL
TEST
SS1/K
WH3/PH3
SCK1/K
WH2/PH2
MOSI1/K
WH1/PH1
MISO1/K
WH0/PH0
LSTRB/TA
GLO/PE3
R/W/PE2
IRQ/PE1
XIRQ/PE0
112LQFP
112111110109108107106105104103102101100999897969594939291908988878685
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
1819
20
21
22
23
24
25
26
27
2829303132333435363738394041424344454647484950515253545556
84
83
82
81
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
MC9S12 D64/DG64
MC9S12 DT128/DG128/DJ128/DB128
MC9S12 DT256/DG256/DJ256/DB256
MC9S12 DP512
BKGD
RESET
GND
VDD
Figure 9. In-Circuit wiring diagram for MC9S12Dx64/Dx128/Dx256, 112-PIN LQFP Package
ETL 2004-2006 MC68HC912/9S12 Programmer Users Guide 22
8/9/2019 e912prog
23/24
1
2
3
4
5
67
8
9
10
11
12
13
14
15
16
17
18
19
2021
22
23
24
25
26
27
28
112111110109108107106105104103102101100999897969594939291908988878685
29303132333435363738394041424344454647484950515253545556
MC9S12H-Family112 LQFP
84
83
82
81
80
7978
77
76
75
74
73
72
71
70
69
68
67
66
6564
63
62
61
60
59
58
57
M0C0M/PU0
M0C0P/PU1
M0C1M/PU2
M0C1P/PU3
VDDM1
VSSM1
M1C0M/PU4
M1C0P/PU5
M1C1M/PU6
M1C1P/PU7
M2C0M/PV0
M2C0P/PV1
M2C1M/PV2
M2C1P/PV3
VDDM2
VSSM2
M3C0M/PV4
M3C0P/PV5
M3C1M/PV6
M3C1P/PV7M4C0M/PW0
M4C0P/PW1
M4C1M/PW2
M4C1P/PW3
VDDM3
VSSM3
M5C0M/PW4
M5C0P/PW5
PT7/IOC7
PT6/IOC6
PT5/IOC5
PT4/IOC4
PT3/IOC3/FP27
PT2/IOC2/FP26
PT1/IOC1/FP25
PT0/IOC0/FP24
VSSX1
VDDX1
PK7/ECS/ROMON
E/FP23
PE7/NOACC/XCLKS/FP22
PE3/LSTRB/TAGL
O/FP21
PE2/R/W/FP20
PL3/FP19
PL2/FP18
PL1/FP17
PL0/FP16
PA7/ADDR15/DAT
A15/FP15
PA6/ADDR14/DAT
A14/FP14
PA5/ADDR13/DAT
A13/FP13
PA4/ADDR12/DAT
A12/FP12
PA3/ADDR11/DAT
A11/FP11
PA2/ADDR10/DAT
A10/FP10
PA1/ADDR9/DATA
9/FP9
PA0/ADDR8/DATA
8/FP8
PB7/ADDR7/DATA
7/FP7
PB6/ADDR6/DATA
6/FP6
PB5/ADDR5/DATA5/FP5
PB4/ADDR4/DATA4/FP4
PB3/ADDR3/DATA3/FP3
PB2/ADDR2/DATA2/FP2
PB1/ADDR1/DATA1/FP1
PB0/ADDR0/DATA0/FP0
PK0/XADDR14/BP0
PK1/XADDR15/BP1
PK2/XADDR16/BP2
PK3/XADDR17/BP3
VLCD
VSS1
VDD1
PAD07/AN07
PAD06/AN06
PAD05/AN05
PAD04/AN04
PAD03/AN03
PAD02/AN02
PAD01/AN01PAD00/AN00
VDDA
VRH
VRL
VSSA
PE0/XIRQ
PE4/ECLK
PE6/IPIPE1/MODB
M5C
1M/PW6
M5C
1P/PW7
PW
M0/PP0
PW
M1/PP1
RXD0/PS0
TXD0/PS1
VSS2
VDDR
VDDX2
VSSX2
MODC/TAGHI/BKGD
RESET
VDDPLL
XFC
VSSPLL
EXTAL
XTAL
TEST
RXCA
N0/PM2
TXCA
N0/PM3
RXCA
N1/PM4
TXCA
N1/PM5
MODA/IP
IP0/PE5
MISO/PS4
MOSI/PS5
S
CK/PS6
SS/PS7
IRQ/PE1
RESET
GND
VDD
BKGD
Figure 10. In-Circuit wiring diagram for MC9S12H-Family 112-PIN LQFP Package
ETL 2004-2006 MC68HC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
PE6/IPIPE1/MODB
PT7/IOC7
PT6/IOC6
PT5/IOC5
PT4/IOC4
PT3/IOC3/FP27
PT2/IOC2/FP26
PT1/IOC1/FP25
PT0/IOC0/FP24
PJ3/KWJ3
PJ2/KWJ2
PJ1/KWJ1
PJ0/KWJ0
VSSX1
VDDX1
PK7/ECS/ROMONE/FP23
PE7/NOACC/XCLKS/FP2
2
PE3/LSTRB/TAGLO/FP21
PE2/R/W/FP20
PL7/FP31
PL6/FP30
PL5/FP29
PL4/FP28
PL3/FP19
PL2/FP18
PL1/FP17
PL0/FP16
PA7/ADDR15/DATA15/FP
15
PA6/ADDR14/DATA14/FP
14
PA5/ADDR13/DATA13/FP
13
PA4/ADDR12/DATA12/FP
12
PA3/ADDR11/DATA11/FP
11
PA2/ADDR10/DATA10/FP
10
PA1/ADDR9/DATA9/FP9
PA0/ADDR8/DATA8/FP8
PB7/ADDR7/DATA7/FP7
PB6/ADDR6/DATA6/FP6
MC9S12H-Family144 LQFP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2324
25
26
27
28
29
30
31
32
33
34
35
36
373839404142434445464748495051525354555657585960616263646566676869707172
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
8685
84
83
82
81
80
79
78
77
76
75
74
73
144143142141140139138137136135134133132131130129128127126125124123122121120119118117116115114113112111110109
RESET
GND
VDD
BKGD
Figure 11. In-Circuit wiring diagram for MC9S12H-Family 144-PIN LQFP Package