24
1 XPROG-USB (powered) Motorola Programmer Made by User Manual 2009

Xprog USB User Manual

Embed Size (px)

Citation preview

  • 1

    XPROG-USB (powered) Motorola Programmer

    Made by

    User Manual

    2009

  • 2

    Table of contents 1.INTRODUCTION 1.1 Main features. 2 1.2 Technical data.. 2 1.3 Programmer board layout, interfaces description... 3 2. TARGET CONNECTION 2.1MC68HC05 .. 6 2.1.1 MC68HC05E6... 6 2.1.2 MC68HC05B6/B8/B16/B32 (PLCC52) 6 2.1.3 MC68HC05B6/B8/B16/B32 (QFP64).. 7 2.1.4 MC68HC705B16N/B32 (PLCC52).. 7 2.1.5 MC68HC705B16N/B32 (QFP64). 8 2.1.6 MC68HC(7)05X16/X32 (QFP64). 11 2.1.7 MC68HC05H12. 9 2.1.8 MC68HC(7)05L28 9 2.1.9 MC68HC05P3... 10 2.1.10 MC68HC705P3..... 10 2.2. MC68HC08 family 11 2.2.1. MC68HC08AS32/AS32A (PLCC52) 11 2.2.2. MC68HC08AS32/AS32A (QFP64).. 11 2.2.3. MC68HC08AZ32A... 12 2.2.4. MC68HC08AS60/AS60A(PLCC52) 13 2.2.5. MC68HC08AS60/AS60A(QFP64)... 13 2.2.6. MC68HC08AZ60A... 13 2.3. MC68HC11 family..... 14 2.3.1. MC68HC11A8/E1/E9/E20(PLCC52)... 14 2.3.2. MC68HC11A8/E1/E9/E20(QFP64). 14 2.3.3. MC68HC11EA9 15 2.3.4. MC68HC11F1(PLCC68)... 15 2.3.5. MC68HC11F1(QFP80). 16 2.3.6. MC68HC11K4(PLCC84).. 16 2.3.7. MC68HC11K4(QFP80). 17 2.3.8. MC68HC11KS2(LQFP80) 17 2.3.9. MC68HC11KA4(PLCC68)... 18 2.3.10. MC68HC11KA4(QFP64) 18 2.3.11. MC68HC11PH8. 19 2.3.12. MC68HC11P2 19 2.4 M35080 SPI Bus EEPROM...................................... 19 2.5 ADAPTERS..................................................................... 20 2.6 TROUBLESHOOTING TEST EXAMPLES 25 2.6.1 SIMPLE 93C46 TEST PROGRAMMER 25

  • 3

    Main Features

    Self check for errors handling: High speed RS232 communication interface, fully compatible with USB _ RS232 adapter; Multifunctional XPROG-USB connector; Supports many PLCC, QFP, LQFP adapters for on board

    Programming Two PWM regulated and ADC controlled voltage regulators.

    1.2. Technical Data Dual Power Supply(optionaly): -external Power Supply = od 3,5V do 9V/300mA not stabilized or -USB Power Supply from USB PC socket (+5V) Dimensions 70mm x 90mm x 18mm 1.3 Programmer board layout Figure 1 shows the XPROG-USBProgrammer board layout. This programmer can be powered with one of two diffrent ways of powering:

    1.Universal external Power Supply.=9V/300mA stabilized or

    2.PC USB socket Power Supply. (USB cable included) Comunication data cable RS232 is also included. We connect this cable to PC COM port to run software.

  • 4

    Fig.1 DIP 8 socket

    Figure 2 and Table 1 shows XPROG-USB connector signals and descriptions. There is a one of two types of edge connectors mounted on XprogUSB board. Fig.2

    Table 1. Signals description Signal name Description GND Signal and power ground B0, B1B7 Protected, high current (40mA), multifunctional

    input/output pins.. +5V/100mA 5% accuracy, output voltage. Vcc PWM regulated, ADC controlled output target supply

    voltage. Max. current 100mA Vpp PWM regulated, ADC controlled output target

    programming voltage. Max. current 100mA VppR Vpp with series 4.7K resistor

  • 5

    WORKING WITH XPROG-USB

    . There are some menu icons not activated when run for the first time (JUST LIKE glasses icon for example).To activate it go to File/New Bin File

    . Now you see the window just like below with activated icons. You have to set up an active COM port to run. Select from main menu a flash memory chip and check (and change if required) clock settings.

  • 6

    Go to Options/Enviroment and check COM port setting.

    After confige COM port select memory chip so that software could know what kind of chip to work with.Go to Run/Device and select chip. There will be a diffrent window for working with flash memory and a diffrent one for simple EEprom.

  • 7

    The last step to set up software is to check or change clock setting.The clock speed must be equel both in the software and on the board of chip for programming. For example : There is a cristal with 8000000Hz speed the chip on board runs with and you have to check and select (if required) the same speed

    in the software thats 8000000Hz To setup cristal clock go to OPTIONS/ENVIRONMENT/DEVICE (see picture) 2. TARGET CONNECTION This section contains information on how to connect XPROG-USB to various targets to access internal target resources such as EEPROM, FLASH, ROM,etc. Note: Nets marked Optional - must be Lo or Hi TTL logic level not require connection with XPROG-USB if they have described level in the circuit. Note: Some circuit connections can disturb proper XPROG-USB operation. In this case you must disconnect corresponding MCU pin from circuit. Warnig: XPROG-USB Vpp and VppR pins have high voltage which may damage circuit. If you are not sure that you cant damage circuit , you must disconnect this MCU pin from circuit.

  • 8

    2.1. MC68HC05 family 2.1.1. MC68HC05E6

    Mask sets: 0F82B, 0G72G Oscillator: 3, 4 pin Package: SOIC28, SDIP28 EEPROM: 0x0100 0x019F 2.1.2. MC68HC05B6/B8/B16/B32 (PLCC52)

    Mask sets: Oscillator: 16, 17 pin Package: PLCC52 EEPROM: 0x0101 0x01FF CFG(EEPROM): 0x0100

  • 9

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

    Mask sets: Oscillator: 28, 29 pin Package: QFP64 EEPROM: 0x0101 0x01FF CFG(EEPROM): 0x0100 2.1.4. MC68HC705B16N/B32 (PLCC52)

    Mask sets: Oscillator: 16, 17 pin Package: PLCC52 EEPROM: 0x0101 0x01FF CFG(EEPROM): 0x0100

  • 10

    2.1.5. MC68HC705B16N/B32 (QFP64)

    Mask sets: Oscillator: 28, 29 pin Package QFP64 EEPROM: 0x0101 0x01FF CFG(EEPROM): 0x0100 2.1.6. MC68HC(7)05X16/X32 (QFP64)

    Maski: 0D53J, 0D69J,1D69J, 1H52A,2D59J Oscillator: 28, 29 pin Package: QFP64 EEPROM: 0x0101 0x01FF CFG(EEPROM): 0x0100

  • 11

    2.1.7. MC68HC(7)05H12

    Mask sets: 0H57A Oscillator: 1, 52 pin Package: PLCC52 EEPROM: 0x0400 0x04FF 2.1.8. MC68HC(7)05L28

    Oscillator: 7, 8 pin Package: SDIP56 EEPROM: 0x0300 0x03EF

  • 12

    2.1.9. MC68HC05P3

    Mask sets: 1E25B Oscillator: 3, 4 pin Package: SOIC28, SDIP28 EEPROM: 0x0100 0x017F 2.1.10. MC68HC705P3

    Mask sets: 1F75B Oscillator: 3, 4 pin Package: SOIC28, SDIP28 EEPROM: 0x0100 0x017F

  • 13

    2.2. MC68HC08 2.2.1. MC68HC08AS32/AS32A (PLCC52)

    Mask sets: 1J27F Oscillator: 2, 3 pin Package: PLCC52 EEPROM: 0x0800 0x09FF 2.2.2. MC68HC08AS32/AS32A (QFP64)

    Mask sets: 1J27F Oscillator: 58, 59 pin Package: QFP64 EEPROM: 0x0800 0x09FF

  • 14

    2.2.3. MC68HC08AZ32A

    Masks sets 0J66D Oscillator: 58, 59 pin Package: QFP64 EEPROM: 0x0800 0x09FF 2.2.4. MC68HC08AS60/AS60A(PLCC52)

    Masks sets: 0H62A, 8H62A Oscillator: 2, 3 pin Package: PLCC52 EEPROM1: 0x0800 0x09FF EEPROM2: 0x0600 0x07FF

  • 15

    2.2.5. MC68HC08AS60/AS60A(QFP64)

    Masks sets: 0H62A, 8H62A Oscillator: 58, 59 pin Package: QFP64 EEPROM1: 0x0800 0x09FF EEPROM2: 0x0600 0x07FF 2.2.6. MC68HC08AZ60A(QFP64)

    Oscillator: 58, 59 pin Package: QFP64 EEPROM1: 0x0800 0x09FF EEPROM2: 0x0600 0x07FF

  • 16

    2.3. MC68HC11 2.3.1. MC68HC11A8/E1/E9/E20(PLCC52)

    Oscillator: 7, 8 pin Package: PLCC52 EEPROM: 0xB600 0xB7FF 2.3.2. MC68HC11A8/E1/E9/E20(QFP64)

    Oscillator: 31, 33 pin Package: QFP64 EEPROM: 0xB600 0xB7FF

  • 17

    2.3.3. MC68HC11EA9

    Masks sets: 0D46J, 1D47J,2D47J Oscillator: 7, 8 pin Package: PLCC52 EEPROM: 0xB600 0xB7FF MODB: 22 pin (B4) 2.3.4. MC68HC11F1(PLCC68)

    Masks sets: 2F37E, E87J Oscillator: 6, 7 pin Package: PLCC68 EEPROM: 0xFE00 0xFFFF

  • 18

    2.3.5. MC68HC11F1(QFP80)

    Masks sets: 2F37E Oscillator: 36, 37 pin Package: QFP80 EEPROM: 0xFE00 0xFFFF 2.3.6. MC68HC11K4(PLCC84)

    Masks sets: 1E62H Oscillator: 67, 68 pin Package: PLCC84 EEPROM: 0x0D80 0x0FFF

  • 19

    2.3.7. MC68HC11K4(QFP80)

    Masks sets: 1E62H Oscillator: 73, 74 pin Package: OFP80 EEPROM: 0x0D80 0x0FFF 2.3.8. MC68HC11KS2(LQFP80)

    Masks sets: 1E59B, 2E59B Oscillator: 74, 75 pin Package: LOFP80 EEPROM: 0x0D80 0x0FFF

  • 20

    2.3.9. MC68HC11KA4(PLCC68)

    Masks sets: 0E57S Oscillator: 56, 57 pin Package: PLCC68 EEPROM: 0x0D80 0x0FFF 2.3.10. MC68HC11KA4(QFP64)

    Masks sets: 0E57S Oscillator: 59, 60 pin Package: QFP64 EEPROM: 0x0D80 0x0FFF

  • 21

    2.3.11. MC68HC11PH8

    Masks sets: 3D64J, 0H30R Oscillator: 66, 67 pin Package: PLCC84 EEPROM: 0x0D00 0x0FFF 2.3.12. MC68HC11P2

    Masks sets: 3E74J, 1E53M,0G10V Oscillator: 66, 67 pin Package: PLCC84 EEPROM: 0x0D80 0x0FFF

  • 22

    2.4. 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-USB DIP Socked. Figure 7. shows ICP programming mode. In this mode, for best performance, ICP adapter must be used.

    Note1. NC = Not Connected

    Figure 6. M35080 on board programming 2.5 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.

  • 23

    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 Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We can read/write HC11F1 in PLCC68 package.

    2.6.5 HC05E6 masks: 0F82B oraz 0G72G

    Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We can read/write HC05E6 in SOIC28 package

    2.6.5 HC08AZ32 0J66D mask - QFP64 case Supplied with femail edge connector to connect with mail XPROG-USB edge connector. We can read/write HC08AZ mask sets 0J66D in QFP64 package. Oscillator: 58, 59 pin NOTE1:You must choose HC08AZ32 (without any mask) in menu item to read/write this chip.(this is just obove HC08AZ32(J66D)). NOTE2. Using external stabilized power supply 9 12V is required to read/write this chip. Using USB powering may be unsuccessfull.

  • 24

    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 2.6 TROUBLESHOOTING TEST EXAMPLES 2.6.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. 2.6.2 HC08 0J66D the best and most simple way is to use adapter.In this case you have to remove 0J66D chip and solder it to adapter.Don't choose anyway J66D from Xprog software menu item but HC08AZ32 without any mask instead (placed next above J66D).Its recomended you will have to use external Power supply 6 - 12V stabilised as in my case Xprog does not read this chip using USB power supply.This is tested. You can of course read the chip in its own circuit.Mind to set the same quarz speed in menu options. It must be the same value with the one on the board. Secondly you must power the board from other external power supply (not from Xprog board) to keep the chip living. So you need to use two power supplies,one for HC08AZ32 on the board and second one (in case of reading HC08) to run xprog hardware. If you need more help,please feel free to ask [email protected] .