You are on page 1of 25

1

XPROG-T Motorola Programmer


Made by
User Manual
2007

Requirements:
Win. 98 (for HC11;HC08;HC05)
Win. 98;Win.XP (for HC12)
Pentium II class PC
One RS232 (COMx) free port available

2
1.Table of contants
1.1 Main features, Technical data
1.2 Programmer PCB Board,description
1.3 Working with programmer
1.4 DPD_V42.EXE software
1.5 BDM.EXE software

3
3
4
5
7

2.How to connect chips-drawings,description


2.1 MC68HC05
2.1.1 MC68HC05E6
2.1.2 MC68HC05B6/B8/B16/B32 (PLCC52)
2.1.3 MC68HC05B6/B8/B16/B32 (QFP64)
2.1.4 MC68HC705B16N/B32 (PLCC52)
2.1.5 MC68HC705B16N/B32 (QFP64)
2.1.6 MC68HC(7)05X16/X32 (QFP64)
2.1.7 MC68HC05H12
2.1.8 MC68HC(7)05L28
2.1.9 MC68HC05P3
2.1.10 MC68HC705P3

7
7
8
8
9
9
10
10
11
11
12

2.2. MC68HC08 family


2.2.1. MC68HC08AS32/AS32A (PLCC52)
2.2.2. MC68HC08AS32/AS32A (QFP64)
2.2.3. MC68HC08AZ32A
2.2.4. MC68HC08AS60/AS60A(PLCC52)
2.2.5. MC68HC08AS60/AS60A(QFP64)
2.2.6. MC68HC08AZ60A

12
12
13
13
14
14
15

2.3. MC68HC11 family


2.3.1. MC68HC11A8/E1/E9/E20(PLCC52)
2.3.2. MC68HC11A8/E1/E9/E20(QFP64)
2.3.3. MC68HC11EA9
2.3.4. MC68HC11F1(PLCC68)
2.3.5. MC68HC11F1(QFP80)
2.3.6. MC68HC11K4(PLCC84)
2.3.7. MC68HC11K4(QFP80)
2.3.8. MC68HC11KS2(LQFP80)
2.3.9. MC68HC11KA4(PLCC68)
2.3.10. MC68HC11KA4(QFP64)
2.3.11. MC68HC11PH8
2.3.12. MC68HC11P2

15
15
16
16
17
17
18
18
19
19
20
20
21

2.4 MC68HC12 (912)


2.4.1. MC68HC12B32 (mask J54E) package QFP80
2.4.2. MC68HC12D60 package QFP80
2.4.3. MC68HC(9)12D60 package LQFP112

22
22
21

2.5 M35080 SPI Bus EEPROM

23

2.6 AVAILABLE ADAPTERS

23

2.7 TROUBLESHOOTING EXAMPLES


2.7.1. Simple 93C46 test of hardware

25
25

1.1 Main features, Technical data


- Xprog-T works with 68HC12(912), 68HC11, 68HC08, 68HC05, IC, W, SPI, EEPROM and FLASH
memories.
- Self check for errors handling
- 6 LEDs indicate (VCC,VPP,RXD,TXD,VFP,HC12) lines state
- High speed RS232 communication interface, fully compatible with USB - RS232 adapter
- Multifunctional XPROG-T connector
- Supports many PLCC, QFP, LQFP adapters for on board Programming
- Two PWM regulated and ADC controlled voltage regulators
- External universal Power Supply (PC) = 3,5V - 9V/300mA not stabilized(not included) or:
- Power supplying from PC USB socket (+5V)
- Dimentions 70 x 90 x 18(mm)
1.2 Programmer PCB Board,description
LEDs description
- VCC Power line
- VPP Programming Voltage for HC05,HC08,HC11
- VFP Programming Voltage for HC12
- RXD,TXD received/transmit lines
There are two ways of powering your programmer.

External Universal Power Supply 9V/300mA


not stabilized
Power supplying from PC USB socket (+5V)
For data transfer you need RS232 cable to
connect RS232 socket of your programmer
and to COM port of your PC.

DIP 8 socket on your progammer

10 poz.DIPSWITCH
You have two settings to work with.
1.HC12 setting lets you read/write Eeprom Flash MC68HC12(912)B32 and HC12(912)D60.
2.HC11 setting lets you read/write EEprom MC68HC11(711), HC08, HC05
Here you find how to set this switch.
1.3 Working with programmer
- As you already could find there are two diffrent software to work with this hardware.Both are bundled
on CD.
DPD_V42.EXE (Works under Win98 OS) for HC05;08;11

BDM.EXE (Works under Win98,XP OS.) for HC12

To work with HC11/HC08/HC05 you need installing DPD_V42.EXE and to work with HC12 - BDM.EXE

5
- Multifunctional XPROG-T connector is destinated for both: In Circuit programming and adapters
programming. For In Circuit programming you use 16 pin ribon color cable and schema drawings fixed
below (memory datasheet base is bundled in CD too). Using adapters you dont need drawings to
help.Just insert a chip into an appriopriate adapter socket and insert an adapter into multifunction
connector.
Table nr.1 shows all signals on multifunction connctor. All available at the moment connectors are at
the end of this User Manual. All new ones you find on www.telwis.pl
Table 1. Signals
Nazwa Sygnau
GND
B0, B1B7
+5V/100mA
Vcc
Vpp
VppR
BKGD
VFP

Opis
Ground
Protected, high current (40mA), multifunctional
input/output pins..
5% accuracy, output voltage.
PWM regulated, ADC controlled output target supply
voltage. Max. current 100mA
PWM regulated, ADC controlled output target
programming voltage. Max. current 100mA
The same as Vpp with series 4.7K resistor
Background Debugmode
Programming Voltage 12V

1.4 DPD_V42.EXE software


There are some menu icons not activated when the soft run for the first time (just blike GLASSES icon
for example).To activate it go to File/New Bin File
.

Now you see the window with activated icons.

Next set up an active COM port to run. Go to Options/Enviroment and check COM port setting.

Select from the main menu a flash memory chip.


Go to Run/Device and select chip

The last step to set up software is to check and


change if required) XTAL clock setting.The clock
speed must be equel both in the software and on
the board of programmed chip.
For example : There is an XTAL with 8000000Hz
clock speed the chip on board runs with and you
have to check and select (if required) the same
speed in the software thats 8000000Hz

7
To setup XTAL clock go to

OPTIONS/ENVIRONMENT/DEVICE (see picture)

There will be a diffrent window for working with flash memory and a diffrent one for simple EEprom.
BDM.EXE software1.5
This software does not require to run install procedure. Just
make your own folder on your hard drive,copy BDM.EXE file into
this folder and run it with double click on the file. Next choose
COM1 port and 16MHz XTAL clock from menu.Thats all. Click
here to see how to connect Xprog multifunction connector with
the HC12 chip. If you need to read only your chip you dont need
to connect VFP line. Its only required when writing the chip.

If youre not advanced with reading Motorowa chips In Circuit you may remove a chip from the board
and there is a special adapter available for reading/writing for simple use.Just go to WWW.telwis.pl for
details.
2. How to connect chips-drawings,description
Here you will find drawings on how to connect listed below chips to on board reading/writing
EEPROM,FLASH, ROM,etc.
NOTICE 1: All required tracks to be connected, especjally RXD.TXD may not be under required signal
levesl and it makes impossible to read data then. Its recommended to cut these tracks off at the most
appriopriate place.
.
Warnig: XPROG Vpp and VppR pins have hi voltage and can damage circuit in some
circumstances. If you are not sure that you cant damage circuit , you must disconnect this
MCU pin from circuit.

2.1. MC68HC05 family


2.1.1. MC68HC05E6
Masks: 0F82B, 0G72G
XTAL: 3, 4 pin
Packages: SOIC28, SDIP28
EEPROM: 0x0100 0x019F

2.1.2. MC68HC05B6/B8/B16/B32
(PLCC52)
Masks:
XTAL: 16, 17 pin
Packages: PLCC52
EEPROM: 0x0101 0x01FF
CFG(EEPROM): 0x0100

2.1.3. MC68HC05B6/B8/B16/B32 (QFP64)


Masks:
XTAL: 28, 29 pin
Packages: QFP64
EEPROM: 0x0101 0x01FF
CFG(EEPROM): 0x0100

2.1.4. MC68HC705B16N/B32 (PLCC52)


Masks:
XTALr: 16, 17 pin
Packages: PLCC52
EEPROM: 0x0101 0x01FF
CFG(EEPROM): 0x0100

2.1.5. MC68HC705B16N/B32 (QFP64)


Masks:
XTAL: 28, 29 pin
Packages: QFP64
EEPROM: 0x0101 0x01FF
CFG(EEPROM): 0x0100

10

2.1.6. MC68HC(7)05X16/X32 (QFP64)


Masks: 0D53J, 0D69J,1D69J, 1H52A,2D59J
XTAL: 28, 29 pin
Packages: QFP64
EEPROM: 0x0101 0x01FF
CFG(EEPROM): 0x0100

2.1.7. MC68HC(7)05H12
Masks: 0H57A
XTAL: 1, 52 pin
Packages: PLCC52
EEPROM: 0x0400 0x04FF

11

2.1.8. MC68HC(7)05L28
XTAL: 7, 8 pin
Packages: SDIP56
EEPROM: 0x0300 0x03EF

2.1.9. MC68HC05P3
Masks: 1E25B
XTAL: 3, 4 pin
Obudowy: SOIC28, SDIP28
EEPROM: 0x0100 0x017F

12

2.1.10. MC68HC705P3
Masks: 1F75B
XTAL: 3, 4 pin
Obudowy: SOIC28, SDIP28
EEPROM: 0x0100 0x017F

2.2. MC68HC08
2.2.1. MC68HC08AS32/AS32A (PLCC52)
Masks: 1J27F XTAL: 2, 3 pin
Packages: PLCC52 EEPROM: 0x0800 0x09FF

13

2.2.2. C68HC08AS32/AS32A(QFP64)
Masks: 1J27F
XTAL: 58, 59 pin
Packages: QFP64 EEPROM: 0x0800 0x09FF

2.2.3. MC68HC08AZ32A
Masks: 0J66D
XTAL: 58, 59 pin
Packages: QFP64
EEPROM: 0x0800 0x09FF

14
2.2.4.MC68HC08AS60/AS60A(PLCC52)
Masks: 0H62A, 8H62A
XTAL: 2, 3 pin
Packages: PLCC52
EEPROM1: 0x0800 0x09FF
EEPROM2: 0x0600 0x07FF

2.2.5. MC68HC08AS60/AS60A(QFP64)
Masks: 0H62A, 8H62A
XTAL: 58, 59 pin
Packages: QFP64
EEPROM1: 0x0800 0x09FF
EEPROM2: 0x0600 0x07FF

15
2.2.6. MC68HC08AZ60A(QFP64)
XTAL: 58, 59 pin
Packages: QFP64
EEPROM1: 0x0800 0x09FF
EEPROM2: 0x0600 0x07FF

2.3. MC68HC11
2.3.1. MC68HC11A8/E1/E9/E20(PLCC52)
XTAL: 7, 8 pin
Packages: PLCC52
EEPROM: 0xB600 0xB7FF

16

2.3.2. MC68HC11A8/E1/E9/E20(QFP64)
XTAL: 31, 33 pin
Packages: QFP64
EEPROM: 0xB600 0xB7FF

2.3.3. MC68HC11EA9
Masks: 0D46J, 1D47J,2D47J
XTAL: 7, 8 pin
Packages: PLCC52
EEPROM: 0xB600 0xB7FF
MODB: 22 pin (B4)

17
2.3.4. MC68HC11F1(PLCC68)
Masks: 2F37E, E87J
XTAL: 6, 7 pin
Packages: PLCC68
EEPROM: 0xFE00 0xFFFF

2.3.5. MC68HC11F1(QFP80)
Masks: 2F37E
XTAL: 36, 37 pin
Packages: QFP80
EEPROM: 0xFE00 0xFFFF

18

2.3.6. MC68HC11K4(PLCC84)
Masks:1E62H XTAL: 67,68 pin
Packages: PLCC84 EEPROM: 0x0D80 0x0FFF

2.3.7. MC68HC11K4(QFP80)
Masks: 1E62H
XTAL: 73, 74 pin
Packages: OFP80
EEPROM: 0x0D80 0x0FFF

19
2.3.8. MC68HC11KS2(LQFP80)
Masks: 1E59B, 2E59B
XTAL: 74, 75 pin
Packages: LOFP80
EEPROM: 0x0D80 0x0FFF

2.3.9. MC68HC11KA4(PLCC68)
Masks: 0E57S
XTAL: 56, 57 pin
Packages: PLCC68
EEPROM: 0x0D80 0x0FFF

20

2.3.10. MC68HC11KA4(QFP64)
Masks: 0E57S
XTAL: 59, 60 pin
Packages: QFP64
EEPROM: 0x0D80 0x0FFF

2.3.11. MC68HC11PH8
Masks: 3D64J, 0H30R
XTAL: 66, 67 pin
Packages: PLCC84
EEPROM: 0x0D00 0x0FFF

21

2.3.12. MC68HC11P2
Masks: 3E74J, 1E53M,0G10V
XTAL: 66, 67 pin
Packages: PLCC84
EEPROM: 0x0D80 0x0FFF

2.4. MC68HC12 (912) exapmle of In Circuit programming


2.4.1. MC68HC12B32
Package QFP80
Xtal 33,34 pin
.

22
2.4.2 MC68HC(9)12D60 exapmle of In Circuit programming
Package QFP80
Xtal 35,36 pin

2.4.3. MC68HC12D60 exapmle of In Circuit programming


Package LQFP112
XTAL 47.48 pin

23
2.5 M35080 SPI Bus EEPROM
The M35080 SPI Bus EEPROM memory with incremental registers area support on-board and ICP (in-circuit
programming) modes for reading all EEPROM data, incremental area EEPROM writing, EEPROM writing,
erasing all EEPROM data to delivery state. Figure 6. shows M35080 on board programming mode. In this mode
M35080 device must be properly inserted into XPROG-m DIP Socked. Figure 7. shows ICP programming
mode. In this mode, for best performance, ICP adapter must be used.
Note1. NC = Not connected

2.6 ADAPTERS
2.6.1 MC68HC05 oraz MC68HC705
Supplied with femail edge connector to connect with mail XPROG-USB
edge connector. We can read/write HC05B6 and HC705 with PLCC52
package. There is a jumper to switch between Hco5 and HC705 There is a
jumper descripion on the PCB bottom side..

2.6.2 HC08AS32/AS32A
Supplied with femail edge connector to connect with mail XPROG-USB
edge connector. We can read/write HC08AS32/AS32A/ mask sets 1J27F
/AS60A mask sets 0H62A,8H62A PLCC52 package.

2.6.3 MC68HC11A8
Supplied with femail edge connector to connect with mail XPROG-USB
edge connector. We can read/write HC11A8/E1/E9/E20 and HC11/EA9
PLCC52 package. There is a jumper to switch between Hco5 and HC705
There is a jumper descripion on the PCB bottom side..

2.6.4 MC68HC11F1

24
Supplied with femail edge connector to connect
with mail XPROG-USB
edge connector. We can read/write HC11F1 in PLCC68 package.

2.6.5 HC11KA4
Supplied with femail edge connector to connect with mail XPROG-USB
edge connector. We can read/write HC11KA4 mask sets 0E57S in
PLCC68 package

2.6.5 HC08AS32 / HC08AS32A QFP64


Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We can
read/write HC08AS32/AS32A/ mask sets 1J27F /AS60A mask sets 0H62A,8H62A in QFP64 package.

Oscillator: 58, 59 pin

2.6.6 HC11A8/E1/E9/E20 QFP64


Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We can
read/write HC11A8/E1/E9/E20 and HC11/EA9 in QFP64 package. Oscylator: 31, 33 pin

25
2.7 TROUBLESHOOTING EXAMPLES
2.7.1 SIMPLE 93C46 TEST PROGRAMMER
I essume you have done:
1.Run WIN98 (simulated WIN98 withing WIN XP system does not run).
2.USB & RS232 cables connected both sides: your Xprog-T and PC sockets.
3.Run software the way described at point 1.4 DPD_V42.EXE software on page nr5.
4.Set DIPSWITCH for HC05;08;11, (Works under Win98 OS) page nr4
5. Check up an active COM port to run. Go to Options/Enviroment and check COM port setting.
See page nr6.
6. Dont use any USB -> RS232 adapters during test procedure.
7.Choose from main menu 93C46 chip and place the chip into 8pin DIP8 socket on Xprog-T board.
Its important to choose correct manufacture. This way you tell Xprog-T you have SGS/Thomson
93C46 chip. Dont choose instead other manufacture like for example ATMEL as this may fault with
DEVICE IS SILENT answer.
Click RUN. Thats all. Your chip should be read in 5sec.

You might also like