Xprog-T User Manual.pdf

Embed Size (px)

Citation preview

  • 7/25/2019 Xprog-T User Manual.pdf

    1/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 PCOne RS232 (COMx) free port available

  • 7/25/2019 Xprog-T User Manual.pdf

    2/25

    2

    1.Table of contants1.1 Main features, Technical data 31.2 Programmer PCB Board,description 3

    1.3 Working with programmer 41.4 DPD_V42.EXE software 51.5 BDM.EXE software 7

    2.How to connect chips-drawings,description2.1 MC68HC05 72.1.1 MC68HC05E6 72.1.2 MC68HC05B6/B8/B16/B32 (PLCC52) 82.1.3 MC68HC05B6/B8/B16/B32 (QFP64) 82.1.4 MC68HC705B16N/B32 (PLCC52) 92.1.5 MC68HC705B16N/B32 (QFP64) 92.1.6 MC68HC(7)05X16/X32 (QFP64) 102.1.7 MC68HC05H12 10

    2.1.8 MC68HC(7)05L28 112.1.9 MC68HC05P3 112.1.10 MC68HC705P3 12

    2.2. MC68HC08 family 122.2.1. MC68HC08AS32/AS32A (PLCC52) 122.2.2. MC68HC08AS32/AS32A (QFP64) 132.2.3. MC68HC08AZ32A 132.2.4. MC68HC08AS60/AS60A(PLCC52) 142.2.5. MC68HC08AS60/AS60A(QFP64) 142.2.6. MC68HC08AZ60A 15

    2.3. MC68HC11 family 15

    2.3.1. MC68HC11A8/E1/E9/E20(PLCC52) 152.3.2. MC68HC11A8/E1/E9/E20(QFP64) 162.3.3. MC68HC11EA9 162.3.4. MC68HC11F1(PLCC68) 172.3.5. MC68HC11F1(QFP80) 172.3.6. MC68HC11K4(PLCC84) 182.3.7. MC68HC11K4(QFP80) 182.3.8. MC68HC11KS2(LQFP80) 192.3.9. MC68HC11KA4(PLCC68) 192.3.10. MC68HC11KA4(QFP64) 202.3.11. MC68HC11PH8 202.3.12. MC68HC11P2 21

    2.4 MC68HC12 (912)2.4.1. MC68HC12B32 (mask J54E) package QFP80 222.4.2. MC68HC12D60 package QFP80 222.4.3. MC68HC(9)12D60 package LQFP112 21

    2.5 M35080 SPI Bus EEPROM 23

    2.6 AVAILABLE ADAPTERS 23

    2.7 TROUBLESHOOTING EXAMPLES 252.7.1. Simple 93C46 test of hardware 25

  • 7/25/2019 Xprog-T User Manual.pdf

    3/25

    3

    1.1 Main features, Technical data- Xprog-T works with 68HC12(912), 68HC11, 68HC08, 68HC05, IC, W, SPI, EEPROM and FLASHmemories.- 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,descriptionLEDsdescription- VCC Power line- VPP Programming Voltage for HC05,HC08,HC11- VFP Programming Voltage for HC12- RXD,TXD received/transmit linesThere are two ways of powering your programmer.

    ExternalUniversal Power Supply 9V/300mAnot stabilizedPowersupplying from PC USB socket (+5V)For data transfer you need RS232 cable toconnect RS232 socket of your programmerand to COM port of your PC.

  • 7/25/2019 Xprog-T User Manual.pdf

    4/25

    4

    DIP 8socket on your progammer

    10 poz.DIPSWITCHYou 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, HC05Here 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 bundledon 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

  • 7/25/2019 Xprog-T User Manual.pdf

    5/25

    5- Multifunctional XPROG-T connector is destinated for both: In Circuit programming and adaptersprogramming. For In Circuit programming you use 16 pin ribon color cable and schema drawings fixedbelow (memory datasheet base is bundled in CD too). Using adapters you dont need drawings tohelp.Just insert a chip into an appriopriate adapter socket and insert an adapter into multifunctionconnector.

    Table nr.1 shows all signals on multifunction connctor. All available at the moment connectors are atthe end of this User Manual. All new ones you find on www.telwis.pl

    Table 1. Signals

    Nazwa Sygnau Opis

    GND Ground

    B0, B1B7 Protected, high current (40mA), multifunctionalinput/output pins..

    +5V/100mA 5% accuracy, output voltage.

    Vcc PWM regulated, ADC controlled output target supplyvoltage. Max. current 100mA

    Vpp PWM regulated, ADC controlled output target

    programming voltage. Max. current 100mAVppR The same as Vpp with series 4.7K resistor

    BKGD Background Debugmode

    VFP Programming Voltage 12V

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

    .

    Now you see the window with activated icons.

  • 7/25/2019 Xprog-T User Manual.pdf

    6/25

    6

    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 andchange if required) XTAL clock setting.The clockspeed must be equel both in the software and onthe board of programmed chip.For example : There is an XTAL with 8000000Hzclock speed the chip on board runs with and youhave to check and select (if required) the samespeed in the software thats 8000000Hz

  • 7/25/2019 Xprog-T User Manual.pdf

    7/25

    7To 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. Justmake your own folder on your hard drive,copy BDM.EXE file intothis folder and run it with double click on the file. Next chooseCOM1 port and 16MHz XTAL clock from menu.Thats all. Clickhere to see how to connect Xprog multifunction connector withthe HC12 chip. If you need to read only your chip you dont needto 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.plfordetails.

    2. How to connect chips-drawings,descriptionHere you will find drawings on how to connect listed below chips to on board reading/writingEEPROM,FLASH, ROM,etc.NOTICE 1: All required tracks to be connected, especjally RXD.TXD may not be under required signallevesl and it makes impossible to read data then. Its recommended to cut these tracks off at the mostappriopriate place..Warnig: XPROG Vpp and VppR pins have hi voltage and can damage circuit in somecircumstances. If you are not sure that you cant damage circuit , you must disconnect thisMCU pin from circuit.

    2.1. MC68HC05 family2.1.1. MC68HC05E6Masks: 0F82B, 0G72GXTAL: 3, 4 pinPackages: SOIC28, SDIP28EEPROM: 0x0100 0x019F

  • 7/25/2019 Xprog-T User Manual.pdf

    8/25

    8

    2.1.2. MC68HC05B6/B8/B16/B32

    (PLCC52)Masks:XTAL: 16, 17 pinPackages: PLCC52EEPROM: 0x0101 0x01FFCFG(EEPROM): 0x0100

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

    Masks:XTAL: 28, 29 pinPackages: QFP64EEPROM: 0x0101 0x01FFCFG(EEPROM): 0x0100

  • 7/25/2019 Xprog-T User Manual.pdf

    9/25

    9

    2.1.4. MC68HC705B16N/B32 (PLCC52)Masks:

    XTALr: 16, 17 pinPackages: PLCC52EEPROM: 0x0101 0x01FFCFG(EEPROM): 0x0100

    2.1.5. MC68HC705B16N/B32 (QFP64)Masks:

    XTAL: 28, 29 pinPackages: QFP64EEPROM: 0x0101 0x01FFCFG(EEPROM): 0x0100

  • 7/25/2019 Xprog-T User Manual.pdf

    10/25

    10

    2.1.6. MC68HC(7)05X16/X32 (QFP64)Masks: 0D53J, 0D69J,1D69J, 1H52A,2D59JXTAL: 28, 29 pinPackages: QFP64EEPROM: 0x0101 0x01FFCFG(EEPROM): 0x0100

    2.1.7. MC68HC(7)05H12Masks: 0H57AXTAL: 1, 52 pinPackages: PLCC52EEPROM: 0x0400 0x04FF

  • 7/25/2019 Xprog-T User Manual.pdf

    11/25

    11

    2.1.8. MC68HC(7)05L28XTAL: 7, 8 pin

    Packages: SDIP56EEPROM: 0x0300 0x03EF

    2.1.9. MC68HC05P3Masks: 1E25BXTAL: 3, 4 pinObudowy: SOIC28, SDIP28EEPROM: 0x0100 0x017F

  • 7/25/2019 Xprog-T User Manual.pdf

    12/25

    12

    2.1.10. MC68HC705P3Masks: 1F75B

    XTAL: 3, 4 pinObudowy: SOIC28, SDIP28EEPROM: 0x0100 0x017F

    2.2. MC68HC082.2.1. MC68HC08AS32/AS32A (PLCC52)Masks: 1J27F XTAL: 2, 3 pinPackages: PLCC52 EEPROM: 0x0800 0x09FF

  • 7/25/2019 Xprog-T User Manual.pdf

    13/25

    13

    2.2.2. C68HC08AS32/AS32A(QFP64)Masks: 1J27F

    XTAL: 58, 59 pinPackages: QFP64 EEPROM: 0x0800 0x09FF

    2.2.3. MC68HC08AZ32AMasks: 0J66DXTAL: 58, 59 pinPackages: QFP64EEPROM: 0x0800 0x09FF

  • 7/25/2019 Xprog-T User Manual.pdf

    14/25

    14

    2.2.4.MC68HC08AS60/AS60A(PLCC52)Masks: 0H62A, 8H62AXTAL: 2, 3 pin

    Packages: PLCC52EEPROM1: 0x0800 0x09FFEEPROM2: 0x0600 0x07FF

    2.2.5. MC68HC08AS60/AS60A(QFP64)Masks: 0H62A, 8H62AXTAL: 58, 59 pinPackages: QFP64

    EEPROM1: 0x0800 0x09FFEEPROM2: 0x0600 0x07FF

  • 7/25/2019 Xprog-T User Manual.pdf

    15/25

    15

    2.2.6. MC68HC08AZ60A(QFP64)XTAL: 58, 59 pinPackages: QFP64

    EEPROM1: 0x0800 0x09FFEEPROM2: 0x0600 0x07FF

    2.3. MC68HC112.3.1. MC68HC11A8/E1/E9/E20(PLCC52)XTAL: 7, 8 pinPackages: PLCC52EEPROM: 0xB600 0xB7FF

  • 7/25/2019 Xprog-T User Manual.pdf

    16/25

    16

    2.3.2. MC68HC11A8/E1/E9/E20(QFP64)XTAL: 31, 33 pinPackages: QFP64EEPROM: 0xB600 0xB7FF

    2.3.3. MC68HC11EA9Masks: 0D46J, 1D47J,2D47JXTAL: 7, 8 pinPackages: PLCC52EEPROM: 0xB600 0xB7FFMODB: 22 pin (B4)

  • 7/25/2019 Xprog-T User Manual.pdf

    17/25

    172.3.4. MC68HC11F1(PLCC68)Masks: 2F37E, E87JXTAL: 6, 7 pinPackages: PLCC68

    EEPROM: 0xFE00 0xFFFF

    2.3.5. MC68HC11F1(QFP80)Masks: 2F37EXTAL: 36, 37 pinPackages: QFP80EEPROM: 0xFE00 0xFFFF

  • 7/25/2019 Xprog-T User Manual.pdf

    18/25

    18

    2.3.6. MC68HC11K4(PLCC84)Masks:1E62H XTAL: 67,68 pin

    Packages: PLCC84 EEPROM: 0x0D80 0x0FFF

    2.3.7. MC68HC11K4(QFP80)Masks: 1E62HXTAL: 73, 74 pinPackages: OFP80EEPROM: 0x0D80 0x0FFF

  • 7/25/2019 Xprog-T User Manual.pdf

    19/25

    19

    2.3.8. MC68HC11KS2(LQFP80)Masks: 1E59B, 2E59BXTAL: 74, 75 pin

    Packages: LOFP80EEPROM: 0x0D80 0x0FFF

    2.3.9. MC68HC11KA4(PLCC68)Masks: 0E57SXTAL: 56, 57 pinPackages: PLCC68EEPROM: 0x0D80 0x0FFF

  • 7/25/2019 Xprog-T User Manual.pdf

    20/25

    20

    2.3.10. MC68HC11KA4(QFP64)

    Masks: 0E57SXTAL: 59, 60 pinPackages: QFP64EEPROM: 0x0D80 0x0FFF

    2.3.11. MC68HC11PH8Masks: 3D64J, 0H30RXTAL: 66, 67 pinPackages: PLCC84EEPROM: 0x0D00 0x0FFF

  • 7/25/2019 Xprog-T User Manual.pdf

    21/25

    21

    2.3.12. MC68HC11P2Masks: 3E74J, 1E53M,0G10VXTAL: 66, 67 pinPackages: PLCC84EEPROM: 0x0D80 0x0FFF

    2.4. MC68HC12 (912) exapmle of In Circuit programming2.4.1. MC68HC12B32Package QFP80Xtal 33,34 pin.

  • 7/25/2019 Xprog-T User Manual.pdf

    22/25

    22

    2.4.2 MC68HC(9)12D60exapmle of In Circuit programmingPackage QFP80Xtal 35,36 pin

    2.4.3. MC68HC12D60exapmle of In Circuit programmingPackage LQFP112XTAL 47.48 pin

  • 7/25/2019 Xprog-T User Manual.pdf

    23/25

    23

    2.5 M35080 SPI Bus EEPROMThe M35080 SPI Bus EEPROM memory with incremental registers area support on-board and ICP (in-circuitprogramming) 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 modeM35080 device must be properly inserted into XPROG-m DIP Socked. Figure 7. shows ICP programmingmode. 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-USBedge connector. We can read/write HC05B6 and HC705 with PLCC52package. There is a jumper to switch between Hco5 and HC705 There is a

    jumper descripion on the PCB bottom side..

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

    2.6.3 MC68HC11A8Supplied with femail edge connector to connect with mail XPROG-USBedge connector. We can read/write HC11A8/E1/E9/E20 and HC11/EA9PLCC52 package. There is a jumper to switch between Hco5 and HC705There is a jumper descripion on the PCB bottom side..

    2.6.4 MC68HC11F1

  • 7/25/2019 Xprog-T User Manual.pdf

    24/25

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

    2.6.5 HC11KA4Supplied with femail edge connector to connect with mail XPROG-USBedge connector. We can read/write HC11KA4 mask sets 0E57S inPLCC68 package

    2.6.5 HC08AS32 / HC08AS32A QFP64Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We canread/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 QFP64Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We canread/write HC11A8/E1/E9/E20 and HC11/EA9 in QFP64 package. Oscylator: 31, 33 pin

  • 7/25/2019 Xprog-T User Manual.pdf

    25/25

    25

    2.7 TROUBLESHOOTING EXAMPLES2.7.1 SIMPLE 93C46 TEST PROGRAMMERI 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 nr45. 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/Thomson93C46 chip. Dont choose instead other manufacture like for example ATMEL as this may fault withDEVICE IS SILENT answer.Click RUN. Thats all. Your chip should be read in 5sec.