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
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. The control program or any part of it may not be analyzed, disassembled or modified in any form, on any medium, for any purpose.
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. Revisions are implemented in the context sensitive help before the printed User manual.
Table of contents How to use this manual...................................................................................................................3 Introduction........................................................................................................................................6 PC requirements .............................................................................................................................7 Products configuration .......................................
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. .
Introduction 6
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. It has design, which allows easily add new devices to the device list. Nice "value for money" in this class.
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. For large devices the required free space on disk will be approximately 1000MB + 2x Device size x number of programming sites attached to this PC.
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. To keep pace and to keep you up-to-date, we usually implement more than 5000 new devices into the control program within a year.
Quick Start 10
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. Please, for latest information about the programmer hardware and software see www.bkprecision.com.
4. check, if the device is blank: click on 5. program device: click on 6.
Detailed description 13
866C 14
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. 866C aren’t only programmer, but also tester of TTL/CMOS logic ICs and memories.
866C programmer is driven by an easy-to-use control program with pull-down menu, hot keys and on-line help. Selecting of device is performed by its class, by manufacturer or simply by typing a fragment of vendor name and/or part number. Standard device-related commands (read, blank check, program, verify, erase) are boosted by some test functions (insertion test, signature-byte check), and some special functions (autoincrement, production mode - start immediately after insertion of chip into socket).
Advanced design including protection circuits, original brand components and careful manufacturing and burning allows us to provide a one-year warranty on parts and labor for the 866C (limited 25,000-cycle warranty on ZIF socket).
Connecting 866C to the PC Using USB port In this case, order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the 866C removing If you have any problems with 866C please. PC interconnection, and their PC interconnection, see section Common notes 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).
2 4 6 8 10 12 14 16 18 20 1 3 5 7 9 11 13 15 17 19 Front view at ISP connector of programmer.
Specification of ISP connector pins depends on the device, which you want to program. You can find it in the control SW for programmer (PG4UW), menu Device / Device Info (Ctrl+F1). Be aware, the ISP programming way of respective device must be selected. It is indicated by (ISP) suffix after name of selected device. These specifications correspond with application notes published of device manufacturers. Used application notes you may find on www.bkprecision.com, section Support / Application Notes.
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 • Insert Diagnostic POD for ISP connectors #2 into ZIF socket of the programmer. Diagnostic POD for ISP connectors #2 must be inserted as 48 pins device.
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 • VCCP range 0..8V/1A • VPP1, VPP2 range 0..
• 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 • NAND FLASH: Samsung K9xxx, Hynix HY27xxx, Toshiba TC58xxx, Micron MT29Fxxx, Spansion S30Mxxx, Numonyx (ex STM) NANDxxx • LBA-NAND: Toshiba THGVNxxx • mDOC H3: SanDisk (ex M-Systems) SDED5xxx, SDED7xxx, MD2533xxx, MD2534xxx,
• 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 • Microcontrollers National: COP8xxx series • Microcontrollers NEC: uPD70Fxxx, uPD78Fxxx series • Microcontrollers Novatek: NT68xxx series • Microcontrollers Nuvoton (Wi
• 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 • Microcontrollers & Programmable System Memory STMicroelectronics: uPSD, PSD series • Microcontrollers TI: MSP430 (both JTAG and BSL series), MSC12xxx series • Micro
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. Available nearly daily.
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 • VME (ispVME file VME2.0/VME3.
844USB 28
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. 844USB isn't only a programmer, but also a static RAM tester.
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.
6) 7) 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. Connecting 844USB to PC For 844USB order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the 844USB removing If you have any problems with 844USB please.
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. 2 4 6 8 10 1 3 5 7 9 Front view at ISP connector of programmer. Specification of ISP connector pins depends on the device, which you want to program.
Note: H/L/read 844USB driver C1 H/L/read driver in programmer PU/PD driver in programmer R1 pin of ISP connector R2 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. • Insert 40 pins diagnostic POD - type I into ZIF socket of the programmer. 40 pins diagnostic POD - type I must be inserted as 40 pins device.
• FPGA based TTL driver provides H, L, CLK, pull-up, pull-down on all pindriver pins, level H selectable from 1.8 V up to 5V • continuity test: each pin is tested before every programming operation ISP connector • 10-pin male type with miss insertion lock • 6 TTL pindrivers, provides H, L, CLK, pull-up, pull-down; level H selectable from 1.8V up to 5V to handle all (low-voltage including) devices. • 1x VCCP voltage (range 2V..7V/100mA) and 1x VPP voltage (range 2V..
• Microcontrollers Microchip PICmicro: PIC10xxx, PIC12xxx, PIC16xxx, PIC17xxx, PIC18xxx, dsPIC series • Microcontrollers Philips: LPC series • Microcontrollers Silicon Laboratories(Cygnal): C8051 series Notes: • (*1) - suitable adapters are available for non-DIL packages • (*2) - there exist only few adapters for devices with more than 40 pins.
• 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 • unformatted (raw) binary • HEX: Intel, Intel EXT, Motorola S-record, MOS, Exormax, Tektronix, ASCII-SPACE-HEX • JEDEC (ver. 3.0.A), for example from ABEL, CUPL, PALASM, TANGO PLD, OrCAD PLD, PLD Designer ISDATA etc.
Setup 37
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. Software setup Insert delivered CD to your CD drive and install program starts automatically (if not, run setup.exe).
Step 2. Click on “Next” button Step 3. For change default folder click on “Browse” button, select the destination folder.
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.
Step 6. Check your setting and then click on “Install” button Step 7. Installation process will start.
Step 8. For first time installation of current version of driver only. Click on “Continue Anyway” button.
Step9. Click “Finish” button to finish setup. Step 10.
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. Setup will start with Step 2 from previous chapter.
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.
Step 6. Click on “Continue Anyway” button.
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” will launch again and install new USB drivers.
PG4UW 48
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.
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. Operation can be: • starting of PG4UW • programmer search • file/project load/save • selection of device • device operations (device read, blank check, programming, ...
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 Help Save Load Edit Select/default Select/manual Blank Read Verify Program Exit without save Exit and save Erase Calls Help Save file Load a file into the buffer Viewing/editing of buffer Target-device selection from 10 last selected devices list Target-device selection by typing device/vendor name Blank check Reads device's content into the buffer Compares contents of the target devi
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. The address is set by using a sequence of 4-8 hex characters. Here is an example of ASCII SPACE file.
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. In a little-endian system, it would be stored as 524FH (52H at address 1000H, and 4FH at address 1001H).
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. List of file format codes and error codes There can occur some errors during file download in some of supported formats.
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.
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. After clicking the button with key, password dialog appears, which is used to specify encryption password for project being saved.
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.
Ctrl+Shift+F2 F3 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. F4 move block is used to move specified block of data in current buffer on new address. Target address needn't be out from source block addresses. Source address block (or part) will be filled by topical blank character. F5 swap bytes command swaps a high- and low- order of byte pairs in current buffer block.
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 to begin the search or choose to forget it. Direction box specifies which way you want to search, starting from the current cursor position (In edit mode).
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. Note: Address history values are common for all buffer data manipulation dialogs.
Swap bytes operation from Start address 0 to End address N modifies data in buffer by following tables: Address Original Data 0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h b0 b1 b2 b3 b4 b5 b6 b7 Swap 2-bytes inside 16-bit words b1 b0 b3 b2 b5 b4 b7 b6 Swap 4-bytes inside 32-bit words b3 b2 b1 b0 b7 b6 b5 b4 Swap nibbles inside bytes b0n b1n b2n b3n b4n b5n b6n b7n Mirror bits inside bytes b0m b1m b2m b3m b4m b5m b6m b7m b0, b1, b2, ... means original buffer byte values from addresses 0, 1, 2, ...
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" causes that for the next time you open this dialog, previously confirmed values will be reloaded as default.
• 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.
• • • • 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. Similarly it is for DWORD. Byte order mode for Word and Word (CY) checksums box This box contains setting of byte orientation in words summed for Word and Word (CY) checksums.
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.
Use a 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 key isn't accepted. Device / Select device... This window allows selecting the desired type of the device from all devices supported by current programmer. It is possible to choose device by name, by type or by manufacturer.
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 as a separation character) and press or click OK button. Press a key or click Cancel button at any time to cancel device selection without affecting the currently selected device. Selected device is automatically saved to buffer of default devices.
If you wish display additional information about the current device, use button Device info or an 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. Device / Select EPROM /Flash by ID Use this command for autoselect an EPROM or Flash as active device by reading the device ID.
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.
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".
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. Delay after reset active - this parameter determine delay after Reset signal active to start action with device.
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.
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. Note that address range must be inside the device start and device end addresses.
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. For more information see Example 2 shown in Examples section below.
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. Serialization is done by using a series of RETLW (Return Literal W) instructions, with the serial number bytes as the literal data.
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.
The buffer content with NOPs at address 800h before starting device program should look for example as following: Address 0000800 Data 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 Address: 800h Start value: 123456h Step: 1 S/N mode: BIN Style: HEX Save to buffer: LS byte first Split serial number: checked Split gap: 2 byte(s) S/N fragment size: 2 byte(s) Split settings described above mean split of serial number
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. The test can be made by following steps: 1. select wished serialization options in dialog Serialization and confirm these by OK button 2.
; 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. label1, labeln - labels Labels are identifiers for each line of input file. They are used for addressing each line of file. The labels should be unique.
• 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. If the buffer organization is byte org. (x8), the Serialization Address will be byte address. If the buffer organization is wider than byte, e.g.
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. datafilename - defines name of data file, which contains serialization data. When serialization requires new serial value, the data file will be loaded by standard PG4UW "Load file" procedure to PG4UW buffer.
• 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". User can specify target directory, into which used serialization data files will be moved.
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.
-E 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. For details look at section Serialization .dat file format. Serialization .dat file format Serialization .
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. T11: Less important warning or message. The serialization will not be interrupted.
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. programming, the number of device operations will be equal to number of programmed devices. The next function of statistics is Count down.
Other failure (prog. SW, HW) Total number of operations which where not successfully completed due to hardware error of programmer or control software error - number of all operations Actual statistics values are displaying in main window of control program in Statistics panel. Statistics panel contains four statistics values – Success, Operational failure, Other failure, Total and two Count down information values Count down and Remains.
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. Device / Read This command allows to read all device or its part into the buffer. The read procedure can also read the content of the chip configuration (if it exists and is readable).
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. Device / Test This command executes a test with device selected from list of supported devices (e.g. static RAM) on programmers, which support this test.
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.
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. Program flow starts to run instructions according to boolean variables with prefix DO_something. If you need some new boolean variables with prefix DO_something then contact us.
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. Source file contains a program in Jam language. Jam program consists of a sequence of statements.
• 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. (Xilinx sw. does not include line: NOTE "DEVICE" "XC2x32A"; in Jam file).
• 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 will bring out this menu from any menu and any time immediately. Programmer Menu Programmer includes commands used for work with programmers. Programmer / Find programmer This item selects a new type of programmer and communication parameters.
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. Handler is an external device for special control of device operations in control program.
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. This mode may be enabled or disabled by item Automatic YES! mode.
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 / Self test ISP connector Command executes a selftest of ISP connector of current programmer using diagnostic POD for ISP connectors.
3. Run selftest of ISP connector in PG4UW (Programmer / Selftest ISP connector…). Diagnostic POD for ISP connectors #2 is used for testing 20 pins ISP connector of programmers. Diagnostic POD for ISP connector #2 is available as standard accessory for 866C, 866B and 859. The order number: 70-0680. Schematics of Diagnostic POD for ISP connectors #2 (if you are in hurry): Sequence for testing 20 pins ISP connector: 1. Insert Diagnostic POD for ISP connectors #2 into ZIF socket of the programmer.
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.
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" value for selected device or with customdefined value. This can be controlled by selection group box Erase value and Custom erase value edit field.
• 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. It contains following options: • Check box Stop verification after max. number of errors reached If checked, verify action will finish after Max. number of errors will be written in file. If not checked, all verify errors are saved to the file.
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. • option Amount of truncated text specifies the percentage of Log file text, which will be truncated after Maximum Log file size is reached. The higher value means more text will be truncated (removed) from Log file.
where 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. is project file name of recently used project, and without the project file name extension. Example 1: Let's use the project file c:\myproject.eprj and directory for Job Report set to d:\job_reports\. There are no report files present in the Job Report directory.
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.
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.
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. by using menu command Options / Protected mode. This command displays password dialog. User has to enter password twice to confirm the password is correct.
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. During next start of application PG4UWMC the recent Protected mode settings obtained from .ini file are used.
• • • • • • • 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. Once saved, it can be reloaded anytime and the operation can be repeated exactly.
• 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). • In "One operation" mode, only one operation can be run (the same operation on each sub-device) or each subproject can run it's own (one) operation, depending on projects the Multi-project consists of.
Example: Master-device: Sub-devices TV0057A002CAGD [FBGA107] #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. After successful loading of Multi-project, Multi-project Wizard is opened automatically.
• serialization is not supported in multiprogramming mode supports serialization) • count-down function is not supported now (only single programming 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.
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. Help / Device list (all programmers) This command makes device lists for all programmers and saves them to ?????DEV.TXT text files and ?????DEV.
PG4UWMC 115
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.
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: • Programmer Site selected • Programmer Site activity • current device operation status and/or result Each panel also contains button Run or button YES! used to start device operation.
Button is used to stop currently running device operations on all connected Programmer Sites. Button Help Button is used to display this help.
• 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. • If the checkbox is not checked, each Site will use its own project file defined by name in table of Sites in column Project file. In this mode each Site is using its own buffer of project data, which allows to program different data to different types of devices at the same time in each Site.
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" and so on... Following options can be set for Log file creation • option Append Log file sets usage of Log file on. Log file will be created after the first restart of PG4UWMC.
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. Programmers or Programmer Sites with different serial numbers will be ignored.
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__.jrp where 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.
Other Colors of the work result LEDs of programmer: • Standard LED color scheme (ERROR=red, BUSY=yellow) • Former LED color scheme (ERROR=yellow, BUSY=red) Note: These settings are available only for some types of programmers. If you can't see mentioned settings in menu, or menu is not enabled for editing, your programmer doesn't support LED color scheme customization.
Command line parameters Program PG4UWMC supports following command line parameters: /prj: Loads project file. Parameter 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:... Example: pg4uwmc.exe c:\projects\myproject.eprj Makes load project file "c:\projects\myproject.eprj".
Common notes 125
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: • Do not use and store the programmer in dusty places. • Humidity accelerates sedimentation of debris and dust in ZIF socket. • After end the job cover the ZIF socket of the programmer with enclosed dust cover.
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. Perform the calibration test if the programmer supports this feature. Warning: The ZIF socket of the programmer and the socket converters are considered as consumables.
/Saveproject: 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. Examples: /prj:c:\myfile.eprj Load project file with name c:\myfile.
1. Load project (/Prj:...) 2. Load file (/Load file:...) 3. EPROM/Flash select by ID 4. Program device (/Program[:switch]) 5.
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: 4. /Program 5. /Program:noquest 6. /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).
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. The addressing looks like following: the first Byte at the lowest address Buffer Address Data FF0000H ABH FF0001H CDH FF0002H EFH FF0003H 43H FF0004H 21H /writebufferex:INDEX:ADDR1:B11,B12,B13,B14,...,B1N[::ADDR2:B21,B22,B23,B24,...,B2M]..
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. order of processing command line parameters when using more parameters together is defined firmly as following: step1 Load file (/Loadfile:...) step2 Load project (/Prj:...
buffer content to project file. Data required for device are stored in file c:\1500125001\file_10.bin. Project file will be stored at c:\projects\project_10.eprj. Following command line parameters should be specified to realize wished operation: pg4uwcmd.exe /loadfile:c:\15001-25001\file_10.bin /saveproject:c:\projects\project_10.eprj When PG4UW receives the commands, it will do following procedures: 1. loads data file c:\15001-25001\file_10.bin 2.
eliminates the physical removal of chips from the system. This will save time and money, both during development in the lab, and when updating the software or parameters in the field. Target device is the device (microcontroller, PLD, etc…), which is to be in-system programmed. 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 …).
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. Target system mustn’t affect these signals during In-system programming. For in-system programmable devices manufacturers publish application notes.
B+K PRECISION’s recommended circuit for AT89Sxxx: ISP connector target device target system DATA IN DATA OUT SCK RST target VCC check only VCC GND C1 22n C2 1u/10V GND VCC R1 R2 R3 MOSI D2 1N4148 RST MISO SCK I1 AT89Sxxx R11 100k GND GND GND GND GND reset circuit ® PICmicro microcontrollers This interface corresponds with Microchip application notes TB013, TB017, TB016: How to TM 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 CLK VDD C1 22n MCLR/VPP VSS VDD D1 VSS *1 R7 47R VDD R11 22k D2 1N4148 C2 1u/25V VSS MCLR/VPP R6 1k R1 R2 RB7 RB6 I1 PICxxxxx VSS VSS VSS VSS reset circuit Note: External reset circuit is necessary only if VDD power-up slope is too slow.
Troubleshooting and warranty 138
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. • Try to install programmer and Pg4uw on another computer. If your system works normally on the other computer you might have a problem with the first one PC.
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 ). Your new target device might already be included in this version! If yes, download the file Pg4uwarb.exe and install the new version of the control program.
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. Clearly state in writing the performance problem and return any leads, connectors and accessories that you are using with the device.