Very fast universal 48-pindrive programmer with usb interface and isp capability, universal 40-pindrive programmer with usb interface and isp capability
Universal 48-pindrive programmer, expandable up to 256. universal 48-pindrive programmer with usb/lpt interface and isp capability. universal 48-pindrive programmer. universal 40-pindrive programmer with usb interface and isp capability. universal 40-pind (173 pages)
Page 1
User manual for 866C Very fast universal 48-pindrive Programmer with USB interface and ISP capability 844USB Universal 40-pindrive Programmer with USB interface and ISP capability...
Page 2
This document is copyrighted by B+K Precision, Yorba Linda - California. All rights reserved. This document or any part of it may not be copied, reproduced or translated in any form or in any way without the prior written permission of B+K Precision. The control program is copyright B+K Precision, Yorba Linda - California.
How to use this manual This manual explains how to install the control program and how to use your programmer. It is assumed that the user has some experience with PCs and installation of software. Once you have installed the control program we recommend you consult the context sensitive HELP within the control program rather than the printed User manual.
Quick Start ............................10 Detailed description ........................13 866C ..............................14 Introduction ...........................15 866C elements ..........................17 Connecting 866C to the PC ......................18 Manipulation with the programmed device ...................18 In-system serial programming by 866C ..................18 Multiprogramming by 866C......................20 Selftest and calibration check .......................20 Technical specification........................22 844USB .............................28...
Page 5
Conventions used in the manual References to the control program functions are in bold, e.g. Load, File, Device, etc. References to control keys are written in brackets <>, e.g. <F1>. Terminology used in the manual: Device any kind of programmable integrated circuits or programmable devices ZIF socket Zero Insertion Force socket used for insertion of target device Buffer...
This user manual covers some B+K PRECISION programmers: 866C and 844USB. 866C is a new and faster version of 866B programmer (without LPT port interface). 844USB is a small, fast and powerful USB interfaced programmer of all kinds of programmable devices. Using build-in ISP connector the programmer is able to program ISP capable chips in-circuit.
If two programmers are to be connected to a single PC, then we strongly recommend to connect each programmer to separate USB 2.0 High speed controller (USB EHCI). For more information see "Hardware setup" chapter. Free disk space requirement depends also on used IC device size and number of attached programming sites.
Free additional services: Why is it important to use the latest version of the control program? • Semiconductor manufacturers continuously introduce new devices with new package types, manufactured by new technologies in order to support the need for flexibility, quality and speed in product design and manufacturing.
Page 11
Installing programmer hardware • connect the USB port of programmer to a USB port of PC using supplied cable • connect the connector of the power supply adapter to the programmer or turn on programmer by switch Installing the programmer software Run the installation program from the CD (setup.exe) and follow the on-screen instructions.
Page 12
4. check, if the device is blank: click on 5. program device: click on 6. additional verify of device: click on...
Introduction 866C is a new and faster version of 866B programmer (without LPT port interface). 866C support all kinds of types and silicon technologies of today and tomorrow programmable devices without family-specific module. You have freedom to choose the optimal device for your design. Using built-in in-circuit serial programming (ISP) connector, the programmer is able to program ISP capable chips in circuit.
Page 16
It is important to remember that in most cases new devices require only a software update due to the 866C is truly universal programmer. With our prompt service you can have new devices can be added to the current list within hours!
"GND" connector can be used for grounding of the programmer "ESD wrist strap" connector is place for attaching of ESD wrist strap Power supply connector LPT connector is not functional on 866C 10) USB connector for PC ↔ 866C communication cable...
In this case, order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the 866C PC interconnection, and their removing If you have any problems with 866C PC interconnection, see section Common notes please. Manipulation with the programmed device After selection of desired device for your work, you can insert into the open ZIF socket (the lever is up) and close socket (the lever is down).
Page 19
Front view at ISP connector of programmer. H/L/read driver pins 3, 5, 7, 9, 11, 13 of ISP connector pin 14 of ISP connector pin of ISP drivers in programmer pin of ISP drivers in programmer connector connector Float Read YES! Pull-up/ Pull-down...
866C multiprogramming control support. For start of 866C multiprogramming is necessary run special control program pg4uwmc.exe. At this program user assign 866C to control programs, may load projects for all 866C and run PG4UW for every connected and assigned 866C.
Page 21
Selftest of programmer • Insert 48 pins diagnostic POD - type I into ZIF socket of the programmer. 48 pins diagnostic POD - type I must be inserted as 48 pins device. • Run selftest of programmer in PG4UW (Programmer / Selftest plus). Selftest of ISP connector •...
Technical specification HARDWARE Base unit, DACs • USB 2.0 high-speed compatible port, up to 480 Mb/s transfer rate • on-board intelligence: powerful microprocessor and FPGA based state machine • three D/A converters for VCCP, VPP1, and VPP2, controllable rise and fall time •...
Page 23
• EEPROM: NMOS/CMOS, 28xxx, 28Cxxx, 27EExxx series, with 8/16 bit data width • Flash EPROM: 28Fxxx, 29Cxxx, 29Fxxx, 29BVxxx, 29LVxxx, 29Wxxx, 49Fxxx series, Samsung's K8Fxxxx, K8Cxxxx, K8Sxxxx, K8Pxxxx series, from 256Kbit to 1Gbit, with 8/16 bit data width, full support for LV series •...
Page 24
• Microcontrollers MDT 1xxx and 2xxx series • Microcontrollers Microchip PICmicro: PIC10xxx, PIC12xxx, PIC16xxx, PIC17Cxxx, PIC18xxx, PIC24xxx, dsPIC, PIC32xxx series • Microcontrollers Motorola/Freescale: HC05, HC08, HC11, HC12, HCS08, RS08, S12, S12X, MC56F, MCF51, MCF52 series • Microcontrollers Myson MTV2xx, 3xx, 4xx, 5xx, CS89xx series •...
Page 25
• Microcontrollers Philips (NXP): LPC1xxx, LPC2xxx, LPCxx series, 89xxx series • Microcontrollers Renesas: R8C/Tiny series • Microcontrollers Realtek, M-Square • Microcontrollers Scenix (Ubicom): SXxxx series • Microcontrollers STM: ST7xxx, STR7xx, STR9xx, STM32Fxx, STM8A/S/L series • Microcontrollers Silicon Laboratories(Cygnal): C8051 series •...
Page 26
SOFTWARE • Algorithms: only manufacturer approved or certified algorithms are used. Custom algorithms are available at additional cost. • Algorithm updates: software updates are available regularly, approx. every 4 weeks, free of charge. OnDemand version of software is available for highly needed chips support and/or bugs fixes.
Page 27
Supported file formats • unformatted (raw) binary • HEX: Intel, Intel EXT, Motorola S-record, MOS, Exormax, Tektronix, ASCII-SPACE-HEX,, ASCII HEX • Altera POF, JEDEC (ver. 3.0.A), e.g. from ABEL, CUPL, PALASM, TANGO PLD, OrCAD PLD, PLD Designer ISDATA, etc. • JAM (JEDEC STAPL Format), JBC (Jam STAPL Byte Code), STAPL (STAPL File) JEDEC standard JESD-71 •...
Introduction 844USB is next member of new generation of Windows based B+K PRECISION universal programmers. Programmer is built to meet the demands of the development labs and field engineers to universal, but portable programmer. 844USB is a small, fast and powerful programmer of all kinds of programmable devices. Using build-in in-circuit serial programming (ISP) connector the programmer is able to program ISP capable chips in-circuit.
The software also provides a lot of information about programmed device. As a special, the drawings of all available packages, explanation of chip labeling (the meaning of prefixes and suffixes at the chips) for each supported chip are provided. The software provide full information for ISP implementation: Description of ISP connector pins for currently selected chip, recommended target design around in-circuit programmed chip and other necessary information.
USB connector for PC ↔ 844USB communication cable Power supply connector Power supply connector Note: Due to low power consumption of 844USB in inactive state, it doesn't require power switch. When the power LED indicator glows with a low intensity the 844USB is in inactive mode.
In-system serial programming by 844USB For general definition, recommendation and direction about ISP see section Common notes / ISP please. Description of 844USB ISP connector As ISP connector is used 10 pins connector 1-1634689-0 from TE connectivity or other compatible connector. Front view at ISP connector of programmer.
Note: H/L/read 844USB driver H/L/read driver pin of ISP in programmer connector PU/PD driver in programmer C1=1nF, R1=1k3, R2=22k Selftest If you feel that your programmer does not react according to your expectation, please run the programmer selftest using Diagnostic POD, enclosed with the standard delivery package. •...
Page 34
• programmed chip voltage (VCCP) with both source/sink capability and voltage sense Note: the programmer is not capable to supply a target system from VCCP pin. If you have such demand, use please a 866C programmer DEVICE SUPPORT Programmer, in ZIF socket •...
Page 35
• (*1) - suitable adapters are available for non-DIL packages • (*2) - there exist only few adapters for devices with more than 40 pins. Therefore think please about more powerful programmer (866C), if you need to program devices with more than 40 pins •...
Page 36
• statistic • count-down mode Buffer operations • view/edit, find/replace • fill, copy, move, byte swap, word/dword split • checksum (byte, word) • print File load/save • no download time because programmer is PC controlled • automatic file type identification Supported file formats •...
The programmer package contains a CD with the control program, useful utilities and additional information. The permission to freely copy the content of the CD is granted in order to demonstrate how B+K PRECISION's programmers work. We recommended install software before connecting programmer to PC to avoid unwanted complication during installation.
Page 39
Step 2. Click on “Next” button Step 3. For change default folder click on “Browse” button, select the destination folder. Then click on “Next” button...
Page 40
Step 4. For change default folder click on “Browse” button, select the destination folder. Then click on “Next” button Step 5. Check if “Install Multiprogramming control support” is selected. Change default setting, if you want. Then click on “Next” button...
Page 41
Step 6. Check your setting and then click on “Install” button Step 7. Installation process will start.
Page 42
Step 8. For first time installation of current version of driver only. Click on “Continue Anyway” button. For Windows Vista: Click “ Install this driver software anyway”...
Page 43
Step9. Click “Finish” button to finish setup. Step 10. For Windows Vista only: Click “This program installed correctly”...
New versions of programmer software In order to exploit all the capabilities of programmer we recommend using the latest version of PG4UW. You may download the latest version of programmer software (file pg4uwarb.exe) from our Internet site www.bkprecision.com, part download. Copy pg4uwarb.exe to a temporary directory, disconnect programmer from PC and then launch it.
Page 45
Step 5. Windows will start with “Found new hardware wizard”. For Windows XP, Service Pack 2 users only: Select “No, not this time” and then click on “Next” button. For all: Select “Install the software automatically” and then click on “Next” button.
Page 46
Step 6. Click on “Continue Anyway” button. For Windows Vista: Click “ Install this driver software anyway”...
Page 47
Step 7. Click “Finish” button to finish setup. Step 8. “Found new hardware wizard” will launch for each programmer one time (for 859 4 times). Hardware setup will be continued with Step 5. Note: If a different USB port on the PC is used for the next connection of programmer, “Found new hardware wizard”...
PG4UW-the programmer software Program PG4UW is common control program for some B+K PRECISION programmers. We guarantee running of these programs under all of above mentioned operating systems without any problems. Also background operation under Windows is error-free. Using the programmer software The control program delivered by B+K PRECISION, included on the CD in your package, is granted to be free from any viruses at the moment of delivery.
Page 50
Description of the user screen Windows program PG4UW Toolbars Under main menu are placed toolbars with button shortcuts of frequently used menu commands. Toolbars are optional and can be turned off by menu command Options / View. Log window Log window contains the flow-control progress information about almost every operation made in PG4UW.
Page 51
Panel Addresses contains information about actual address ranges of currently selected device, loaded file and buffer start-end address settings. Some devices allow modifying default device and buffer address ranges by menu command Device / Device options / Operation options. Panel Addresses also contains some advanced information about current status of Split, Serialization and buffer checksum.
List of hot keys <F1> Help Calls Help <F2> Save Save file <F3> Load Load a file into the buffer <F4> Edit Viewing/editing of buffer <F5> Select/default Target-device selection from 10 last selected devices list <Alt+F5> Select/manual Target-device selection by typing device/vendor name <F6>...
Page 53
ASCII SPACE format Very simple hex file format similar as ASCII HEX without checksum field, without start (STX) and end (ETX) characters. Each data byte is represented as 2 hexadecimal characters, and is separated by white space from all other data bytes. The address field is separated by white space from data bytes.
Page 54
is an order in which the "little end" (least significant value in the sequence) is stored first. For example, in a big-endian computer, the two bytes required for the hexadecimal number 4F52 would be stored as 4F52H in storage address 1000H as: 4FH is stored at storage address 1000H, and 52H will be at address 1001H.
Page 55
It is a S2 format with length of address array of 3 bytes. For all data reading you can set Negative offset option and value of negative offset to FFFF0H. It means, that the offset will be subtracted from current real addresses and so data will be written from buffer address 0.
Page 56
The standard dialog Load project contains additional window - Project description - placed at the bottom of dialog. This window is for displaying information about currently selected project file in dialog Load project. Project information consists of: • manufacturer and name of the first device selected in the project •...
Page 57
Bottom half is user editable and contains project description (arbitrary text) which usually consists of project author and some notes. Checkbox Encrypt project file (with password) is used to save project in special format using encryption algorithm. This prevents loading project file into software without knowledge of password.
File / Project options This option is used for display/edit project options of actually loaded project. Project options mean basic description of project including following project data: • device name and manufacturer • project creation date • user defined project description (arbitrary text), e.g. project author and other text data for more detailed project description User can directly edit user defined project description only.
Page 59
Ctrl+Shift+F2 fill buffer with random data copy block is used to copy specified block of data in current buffer on new address. Target address needn't be out from source block addresses. move block is used to move specified block of data in current buffer on new address.
Page 60
which is able to work with large text files. In user defined text editor user can print or save to file selected block of buffer. The external editor path and name is saved automatically to disk. Find dialog box Enter the search string to Find to text input box and choose <Find> to begin the search or choose <Cancel>...
Page 61
Note: Characters 0 and 1 immediately changes content of edit area. Buffer / Fill block Selecting this command causes filling selected block of buffer by requested hex (or ASCII) string. Selecting option "Allow address history logging" activates saving of recently confirmed values. These are saved for each device separately, count is limited to last 15 items.
Page 62
Swap bytes operation from Start address 0 to End address N modifies data in buffer by following tables: Swap 2-bytes Swap 4-bytes Swap Mirror bits Original Address inside 16-bit inside 32-bit nibbles inside Data words words inside bytes bytes 0000h 0001h 0002h 0003h...
Page 63
Selecting option "Allow address history logging" activates saving of recently confirmed values. These are saved for each device separately, count is limited to last 15 items. Note: Address history values are common for all buffer data manipulation dialogs. Default address range is set according to buffer range of selected device. Selecting option "Maintain last inserted values"...
Page 64
• Group Exclude buffer data for checksum contains options for specifying blocks of buffer data, which have to be excluded from checksum calculation. This is useful for example for serialization. Serialization modifies data at specified addresses in buffer. So there is problem to check the checksum of buffer, when data on some addresses are changed by serialization engine before programming of each device.
Page 65
selected checksum size, only lower byte(s) of checksum value will be written into the buffer. Note: If Word size was selected, a low byte of checksum value will be written on address specified in box Insert address and a high byte will be written on address incremented by one.
Word sum Big Endian (x16) Buffer data are summed word-by-word irrespective of current buffer view mode organization. Any carry bits exceeding 32-bits are neglected. This checksum mode is indicated by string (x16 BE) displayed after checksum value in main program window. Term Big Endian means, the buffer checksum is calculated from words read from buffer in Big Endian mode.
Page 67
Use a <Del> key for delete of current device from list of default devices. There isn’t possible to empty this list, if you repeat this access. The last device stays in buffer and the <Del> key isn't accepted. Device / Select device... This window allows selecting the desired type of the device from all devices supported by current programmer.
Page 68
Device can be select by double click on a line from list with desired manufacturer name and device number or by entering manufacturer name and/or device number in a search box (use a key <Space> as a separation character) and press <Enter> or click OK button. Press a key <Esc>...
Page 69
If you wish display additional information about the current device, use button Device info or an <Ctrl+F1> key. This command provides a size of device, organization, programming algorithm and a list of programmers (including auxiliary modules) that supported this device. You can find here package information and other general information about current device too.
Page 70
group Addresses: device start address (default 0) device end address (default device size-1) buffer start address (default 0) Split (default none) This option allows setting special mode of buffer when programming or reading device. Using split options is particularly useful when using 8-bit data memory devices in 16-bit or 32-bit applications.
Page 71
Note 2: In some special cases, several microcontrollers don't provide ID, if copy protection feature in the chip is set, even if device ID check setting in control program is set to "Enable". group Command execution: blank check before programming (default DISABLE) erase before programming (default DISABLE)
Page 72
Supply voltage (in mV) - supply voltage in target system. Control program checks or sets (it depends on programmer type) entered supply voltage in target system before every action on device. Disable test supply voltage - disables measure and checking supply voltage of programmed device, set in Supply voltage edit box, before action with device.
Page 73
When incremental mode is active following actual settings are saved to configuration file: address, size, serial value, incremental step and settings of modes ASCII / BIN, DEC / HEX, LS byte / MS Byte first. When from-file mode is active following actual settings are saved to configuration file: name of input serialization file and actual label, which indicates the line with actual serial number in input file.
Page 74
S / N size option defines the number of bytes of serial value which will be written to buffer. For Bin (binary) serialization modes values 1-8 are valid for S / N size and for ASCII serialization modes values 1-16 are valid for S / N size. Address Address option specifies the buffer address, where serial value has to be written.
Page 75
Split serial number The option allows dividing serial number into individual bytes and placing the bytes at each Nth address of buffer. This feature is particularly useful for SQTP serialization mode for Microchip PIC devices when the device serial number can be the part of program memory as group of RETLW or NOP instructions.
Page 76
Note: Serial quick turn programming (SQTP) is Microchip specified standard for serial programming of Microchip PIC microcontrollers. Microchip PIC devices allows you to program a unique serial number into each microcontroller. This number can be used as an entry code, password, or ID number.
Page 77
We can do this by following steps: A) write four RETLW instructions at address 40H to main buffer (this can be done by hand editing buffer or by loading file with proper content). The bottom 8 bits of each RETLW instruction are not important now, because serialization will write correct serial number bytes at bottom 8 bits of each RETLW instruction.
Page 78
The buffer content with NOPs at address 800h before starting device program should look for example as following: Address Data 0000800 00 00 00 00 00 00 00 00 xx xx xx xx xx xx xx xx xx – means any byte value B) Set the serialization options as following: S/N size: 3 bytes...
Page 79
Byte buffer organization: Address Data 0000080 CD xx xx xx AB xx xx xx 34 xx xx xx 12 Word16 buffer organization: Address Data 0000040 xxCD xxxx xxAB xxxx xx34 xxxx xx12 xxxx Note: When you are not sure about effects of serialization options, there is possible to test the real serial number, which will be written to buffer.
Page 80
; Comment meaning is: basic part Basic part defines buffer address and array of bytes to write to buffer. Basic part must be always defined after label in line. optional part Optional part defines the second array of bytes and buffer address to write to buffer. One optional part can be defined after basic part of data.
Page 81
• Be careful to set correct addresses. Address must be defined inside device start and device end address range. In case of address out of range, warning window appears and serialization is set to disabled (None). • Address for Serialization is always assigned to actual device organization and buffer organization that control program is using for current device.
Page 82
Labels are identifiers for each no-empty line of input file. They are used for addressing each line of file. The labels should be unique within the file. Addressing lines of file means, that the required start label entered by user defines line in input file from which serial values reading starts.
Page 83
• option Move used file to specified directory program moves used serialization data files to user specified directory of used serialization files • option Delete used file program deletes used serialization data files Directory This option is available in playlist From-file serialization mode and selected option "Move used file to specified directory".
Page 84
Note: The data file is completely and periodically overwritten during device programming with serialization. Be sure to enter the correct name of wished .dat file. Example: “c:\serial_files\serial.dat” Serialization generator Specifies the path and name for the executable file which will generate serialization data file. First serial number This option is required to specify the initial serial number that will be passed to custom generator serialization program.
Page 85
-E<serial number> Specifies ending (or last) serial number. The parameter is only passed when value of Last serial number specified in dialog Serialization in PG4UW software is no zero. The serialization program should return error record T06 in the serialization .dat file, if the current serial number is greater than ending serial number.
Page 86
T06: Current serial number greater than limit This record causes the serialization is stopped and warning or error message is displayed in PG4UW software. The reason of turning serialization off is the current serial number is greater then allowed maximum ending serial number. This record can be used when -E command line parameter is specified, it means no zero Last serial value in dialog Serialization is specified.
Page 87
If error of serialization .dat file is detected, program PG4UW reports serialization error and stops continuing of programming batch immediately. Device / Device options / Statistics Statistics gives the information about actual count of device operations, which were proceeded on selected type device. If one device is corresponding to one device operation, e.g.
Page 88
Other failure (prog. SW, HW) number of operations which where not successfully completed due to hardware error of programmer or control software error Total - number of all operations Actual statistics values are displaying in main window of control program in Statistics panel. Statistics panel contains four statistics values –...
Page 89
Device / Blank check This command allows to blank check of all devices or its part if possible. The control program reports a result of this action by a write of a warning message to INFO window. The menu command Device / Device options / Operation options allows to set another working area as the standard.
Page 90
Device / Erase This command allows erasing the whole programmable device. The program reports the end without error or end with the error by writes the warning report on the display. The Blank check procedure is applied after Chip erase command for such chips, where doesn't exist other way how to check, the chip is really erased.
Page 91
The devices can be programmed in ZIF socket of the programmer or in target system through ISP connector. It is indicated by [PLCC44](Jam) or (ISP-Jam) suffix after name of selected device in control program. Multiple devices are possible to program and test via JTAG chain: JTAG chain (ISP-Jam) More information on the website: http://www.altera.com...
Page 92
Jam Player version 2 (see Action and Procedures controls) Action Select desired action for executing. Jam file of version 2 consists of actions. Action consists of calling of procedures which are executed. Jam file of version 1 does not know statements 'action' and 'procedure', therefore choice Action is not accessible.
Page 93
device. When devices are different, software will indicate this situation by warning message during start of the Jam Player. JAM file information dialog Notes: statements are used to store information about the Jam file. The information stored in NOTE fields may include any type of documentation or attributes related to the particular Jam program.
Page 94
• run PG4UW, select device e.g.: Xilinx XC2x32A [QFG32](Jam), load Jam file (Files of type: select STAPL File) • choose “Device operation option Alt+O” press button “Jam configuration”. Warning “Select device from menu "Select Devices" and Jam file is probably different! Continue?” choose Yes.
Page 95
• Conversion of PDB file to STAPL has finish and created *.stp file can be used for programming Actel device. Frequently asked questions about Actel Q: How can be identify/verify already programmed Actel device? A: There are several possible options to get this done. Each option(action) is varying from each other in method of comparing already programmed Actel device with loaded STAPL file.
and full information for ISP implementation. For example: description of ISP connector pins for currently selected chip, recommended target design around in-circuit programmed chip. The reserved key <Ctrl+F1> will bring out this menu from any menu and any time immediately. Programmer Menu Programmer includes commands used for work with programmers.
Page 97
Programmer / Refind programmer This menu command is used to refind (reestablish communication with) currently selected programmer. To select other type of programmer, programmer communication parameters and to establish communication with newly selected programmer use menu Programmer / Find programmer. Programmer / Handler In dialog Handler a Handler type and Handler communication parameters can be set.
Page 98
requested time for insert the rest pins of new device. If a requested time (Device insertion complete time) overflows and a device is not correctly inserted, the program will lights the ERROR LED to indicate this state. After new device was inserted correctly, the program will switch off all status LEDs, except BUSY, and will start an operation with new device.
Page 99
procedure without diagnostic POD is not able to check whole programmer and to discover (if exist) some special errors. Programmer / Selftest plus Command executes a selftest plus of current programmer using diagnostic POD, which is included in standard delivery of programmer. Recommendations how often run Selftest plus you can find at Maintenance section.
Programmer / Calibration test Command executes test of programmer's calibration values using 48 Pins Calibration test POD, Type I, which is optional accessories for 866C, 866B and 859. The order number: 70- 0438. There are tested voltage levels of TTL drivers, VCCP, VPP1 and VPP2 voltages on each pin of ZIF socket.
Page 101
Options / General options General options dialog allows user to control and set variety of PG4UW program options. The options can be saved to PG4UW configuration file when closing PG4UW application, or anytime by command Options / Save options. File options File options page allows you to set options for erase buffer before loading, auto-reload of current file and recognition method of file formats for loaded files.
Page 102
Buffer This page allows you to select Erase buffer before selecting of new device action. This can be useful for some kind of special devices, which require exact type of data at certain addresses, and the data are not part of data file loaded to buffer for this device. Buffer can be erased (filled) with default "blank"...
• option Append verify errors from all verify actions are cumulated into the same file. If file does not exist, the new file will be created Box Error report file size limit contains settings that allow to set max. number of verify errors saved to file.
Page 104
of text included in Log file will be truncated. When the option is unchecked, the size of Log file is unlimited, respectively is limited by free disk space only. • option Maximum Log file size specifies the maximum size of Log file in kB. •...
Page 105
where <ordnum> is decimal order of the file. If there exist any report files with the same name, then order for new report file is incremented about order of existing files. <prjname> is project file name of recently used project, and without the project file name extension.
By LED Busy blinking - the programmer, regardless of the number of ZIF sockets of the programmer, indicates the state when a device is programmed and the programmer with software wait for inserting a new device mode by blinking with the LED Busy. After an operation with a device is done, one of the status LEDs (OK or Error) lights, in dependence on the result of previous operation and the LED Busy is blinking.
Page 107
Prompt for save program asks user for saving options before quitting program. User can select to save or not to save options Other Page Other allows user to manage other program settings. Panel Application priority allows user to set the priority of the program. Priority settings can affect performance of programmer (device programming time), especially if there are running more demanding applications in the system.
Page 108
insignificance. Protected mode is suitable for the programming of a large amount of the same type of devices. Protected mode function is available independently in single programming control software PG4UW and in multiprogramming control software PG4UWMC. Protected mode in PG4UW There are two ways how to switch program to Protected mode: 1.
Page 109
Protected mode in PG4UWMC Program PG4UWMC has Protected mode very similar to program PG4UW. The difference is, that Protected mode can be activated by menu command but cannot be activated by Project file. Another difference is, that Protected mode settings of PG4UWMC are saved to configuration .ini file of PG4UWMC while program PG4UWMC is closed.
Page 110
• Sub-project means classic project file which has been included into Multi-project file during Multi-project file build. • Project file - a special type of file, that combines buffer data, device operation options, special options and some level of safety features. It completely defines the way how to treat with the device.
Page 111
• Buttons of device operation Blank, Verify, Program, Erase, or Run are used for running of selected device operation on all chips (sub-devices) listed in table Sub-projects. • In "Multi operation" mode, one of all available operations can be run at a time (the same operation on each sub-device).
Page 112
Example: Master-device: TV0057A002CAGD [FBGA107] Sub-devices #1 TV0057A002CAGD [FBGA107] (NAND) #2 TV0057A002CAGD [FBGA107] (NOR) Using of Multi-project for running of device operation Typical usage of existing Multi-project file has following order. For single programming in PG4UW: • Load created Multi-project by File / Load project menu command in PG4UW main window or Load multi-prj button in Multi-project Wizard.
• serialization is not supported in multiprogramming mode (only single programming supports serialization) • count-down function is not supported now Options / Save options This command saves all settings that are currently supported for saving, even if auto-save is turned off. Following options are saved: options under the Options menu, ten last selected devices, file history, main program window position and size.
Page 114
Help / Device list (current programmer) This command makes a list of all devices supported by current programmer and saves it to ?????DEV.txt text file and ?????DEV.htm HTML file in the directory where control program is run from. Marks ????? are replaced by abbreviated name of current programmer, the device list is generated for.
Page 116
Program PG4UWMC is used for fully parallel concurrent device multiprogramming on more programmers or on one multiprogramming capable programmer connected to USB ports to the same computer. PG4UWMC is focused to the easy monitoring of high-volume production operations. Operator-friendly user interface of PG4UWMC combines many powerful functions with ease of use and provides overview of all important activities and operation results without burden of operator with non-important details.
Page 117
Main window of PG4UWMC consists of following parts: Menu and tool buttons Menu and tool buttons allow access to most of PG4UWMC functions. Tool button Settings Button is used to open PG4UWMC Settings dialog. Settings dialog is described bellow. Panels Site #1, Site #2,... Panels are used to inform about: •...
Page 118
Button is used to stop currently running device operations on all connected Programmer Sites. Button Help Button is used to display this help. PG4UWMC Settings dialog PG4UWMC Settings dialog is used to set or display following options: • table containing information / settings for Programmer Sites: Site numbers, Site serial numbers, Site associated Project files •...
Page 119
• If the checkbox is checked, the project file for Site #1 will be used also for all other Programmer Sites. In this mode all Sites are using the same shared buffer of project data and program the same device type. •...
Page 120
Example: The Log file name specified by user is: "report.log". Then names of Log files will be: - PG4UWMC main Log file name - "report.log" - Site's #1 Log file name - "report_#1.log" - Site's #2 Log file name - "report_#2.log" - Site's #3 Log file name - "report_#3.log"...
Page 121
Common information: Index of Programmer Site is integer number from 1 to 8 which defines unambiguously each running Programmer Site. Serial number of Programmer Site defines unambiguously the programmer or programmer site used. Instance will search all programmers connected on USB Bus until it finds programmer (site) with desired serial number.
Page 122
When the checkbox Automatically save Job Report file is checked, the Job Report will be saved automatically to directory specified in edit field Job Report directory and with file name created as following: job_report_<ordnum>_<prjname>.jrp where <ordnum> is decimal order of the file. If there exist any report files with the same name, then order for new report file is incremented about order of existing files.
Page 123
Programmer Sites or delete unwanted Programmer Sites. When at least one programmer was found, button “Accept” is enabled and user can click on it to accept new settings. Note: Option "n x 866C/866B/866" in "Search for Programmers" dialog will find any combination of mentioned programmers.
Command line parameters Program PG4UWMC supports following command line parameters: /prj:<file_name> Loads project file. Parameter <file_name> means full or relative project file path and name. There is also available to make Load project operation from command line by entering project file name without prefix /prj:...
Maintenance We recommend to follow the instructions and precautions herein to achieve high reliability of the programmer for a long period of time. The programmer maintenance depends on character and amount of its use. Regardless, the following recommendations are generally accepted: •...
Biannual maintenance Perform the “Selftest plus” for every programmer or programming module. Annual maintenance Gently clean the surface of the programmer with isopropyl alcohol or technical alcohol on a soft cloth. The LCD clean with a soft cloth moisten in water only. Isopropyl alcohol may damage surface of the LCD.
Page 128
/Saveproject:<file_name> the command is used to save currently selected device type, buffer contents and configuration to project file. Command /Saveproject:... is equivalent to user selected command Save project in PG4UW control program. Please note, the file name Windows conventions must be fulfilled. It means also, that when file name contains spaces, the command line parameter must have the file name bounded inside quotation marks.
Page 129
Load project (/Prj:...) Load file (/Load file:...) EPROM/Flash select by ID Program device (/Program[:switch]) Close of control program (/Close only together with parameter /Program) Available command line parameters: /Axxx check programmer present on LPT port with address xxx only example: /A3bc /SPP force PC <->...
Page 130
switch 'noanyquest' forces start of device programming without question and after operation on device is completed, program doesn't show "Repeat" operation dialog and goes directly into main program window Examples: /Program /Program:noquest /Program:noanyquest /Close This parameter has sense together with /Program parameter only, and makes program PG4UW to close automatically after device programming is finished (no matter if operation was successful or not).
Page 131
Writes two blocks of data to buffer. The first block of data - 6 Bytes 12H ABH C5H D4H 7EH 80H are written to buffer at address 7FF800H in the same way as in Example 1. The second block of data - 5 Bytes ABH CDH EFH 43H 21H are written to buffer at address FF0000H.
Page 132
5. if program is already running, then any of command line operation is processed only when program was not busy (no operation was currently executing in program). Program must be in basic state, i.e. main program window focused, no modal dialogs displayed, no menu commands opened or executed 6.
Because 866C have internal power supply, follow these special precautions: • Circuit breakers (overcurrent protection) must be a part of building electrical installation. • Pull out power cord plug from outlet to disconnect programmer from mains. The outlet must be placed near to programmer and must be easy accessible.
Page 134
Target system is the physical Printed Circuit Board (PCB), which contains the device to be in-system programmed. ISP programmer is programmer, which has in-system programming capability (for example 866C, 866B, 844USB …). General rules for in-system programming We recommended respect following rules to avoid damage PC, ISP programmer, and target device or target system: •...
Page 135
The recommendation for design of target system with ISP programmed device The target system must be designed to allow all signals, which are use for In-system programming to be directly connected to ISP programmer via ISP connector. If target system use these signals for other function, is necessary isolated these signals.
Page 136
B+K PRECISION’s recommended circuit for AT89Sxxx: ISP connector target device target system DATA IN DATA OUT target VCC check only 1u/10V MOSI MISO 1N4148 AT89Sxxx 100k reset circuit ® PICmicro microcontrollers This interface corresponds with Microchip application notes TB013, TB017, TB016: How to Implement ICSP Using PIC16CXXX OTP (PIC12C5XX OTP)(PIC16F8X Flash) MCUs.
B+K PRECISION’s recommended circuit for PICmicro: ISP connector target device target system DATA MCLR/VPP 1N4148 MCLR/VPP 1u/25V PICxxxxx R6 1k reset circuit Note: External reset circuit is necessary only if VDD power-up slope is too slow. Other There is needful for regular running of control program for any B+K PRECISION programmer that printer port, on which is programmer connected, must be reserved for this programmer only.
Troubleshooting We really want you to enjoy our product. Nevertheless, problems can occur. In such cases please follow the instructions below. • It might be your mistake in properly operating the programmer or its control program Pg4uw. • Please read carefully all the enclosed documentation again. Probably you will find the needed answer right away.
If you have an unsupported target device If you need to operate on a target device not supported by the control program for programmer, please do not despair and follow the next steps: • Look in the device list of the latest version of the control program on our Internet site (www.bkprecision.com ).
Page 141
Service Information Warranty Service: Please return the product in the original packaging with proof of purchase to the below address. Clearly state in writing the performance problem and return any leads, connectors and accessories that you are using with the device. Non-Warranty Service: Return the product in the original packaging to the below address.
Need help?
Do you have a question about the 866C and is the answer not in the manual?
Questions and answers