Extremely fast universal 8x 48-pindrive stand-alone concurrent multiprogramming
system. internal pc is driven by microsoft windows embedded 8.1 industry pro (52 pages)
Page 1
ELNEC s. r. o. User's Manual for BeeHive204 Very fast universal 4x 48-pindrive concurrent multiprogramming system with ISP capability BeeHive4+ Fast universal 4x 48-pindrive concurrent multiprogramming system with ISP capability BeeProg2 Very fast universal 48-pindrive Programmer with USB/LPT interface and ISP capability...
Page 2
ELNEC s.r.o. The control program is copyright ELNEC s.r.o., Presov, Slovakia. The control program or any part of it may not be analyzed, disassembled or modified in any form, on any medium, for any purpose.
HELP within the control program rather than the printed User's Manual. Revisions are implemented in the context sensitive help before the printed User’s Manual. Dear customer, thank you for purchasing one of the ELNEC programmer. _____________________________________ Please, download actual version of manual from ELNEC WEB site (www.elnec.com), if...
Manipulation with the programmed device ...................45 In-system serial programming by SmartProg2................46 Selftest ............................47 Technical specification........................47 MEMprog2 ............................51 Introduction ...........................52 MEMprog2 elements ........................53 Connecting MEMprog2 to PC .......................54 Manipulation with the programmed device ...................54 Selftest ............................54 Technical specification........................55 T51prog2 ............................58 Introduction ...........................59 T51prog2 elements ........................60 Connecting T51prog2 to PC ......................61...
Page 5
ELNEC s. r. o. Connecting PIKprog2 programmer to PC..................68 Manipulation with the programmed device ................... 68 In-System serial programming by PIKprog2................. 68 Selftest............................69 Technical specification ......................... 70 SEEprog ............................73 Introduction........................... 74 SEEprog elements........................75 Connecting SEEprog programmer to PC ..................75 Manipulation with the programmed device ...................
Page 6
ELNEC s. r. o. 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...
Page 8
It has design, which allows easily add new devices to the device list. Nice "value for money" in this class. MEMprog2 is a small, fast and powerful USB interfaced programmer for EPROM, EEPROM, Flash EPROM, NVRAM, serial EEPROM and static RAM tester. MEMprog2 can be upgraded to SmartProg2.
All programmers are driven by an easy-to-use, control program with pull-down menus, hot keys and online help. Control program is common for all the ELNEC programmers. Advanced design, including protection circuits, original brand components and careful manufacturing allows us to provide a three-years warranty for BeeHive204, BeeHive4+,...
LPT IEEE1284 These PC requirements are valid for 2.66/01.2010 version of control program for programmers. For other version see www.elnec.com. 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.
We also offer the following new services in our customer support program: Keep-Current and AlgOR. • Keep-Current is a service by which ELNEC ships to you the latest version of the control program for programmer and the updated user documentation. A Keep-Current service is your hassle-free guarantee that you always have access to the latest software and documentation, at minimal cost.
Page 13
Double click on After start, control program Pg4uw automatically scans all existing ports and searches for any connected ELNEC programmer. Program Pg4uw is common for all ELNEC programmers hence Pg4uw will try to find all supported programmers. Menu File is used for source files manipulation, settings and viewing directory, changes drives, changes start and finish address of buffer for loading and saving files and loading and saving projects.
Page 14
ELNEC s. r. o. 4. check, if the device is blank: click on 5. program device: click on 6. additional verify of device: click on...
BeeHive204 / BeeHive4+ Introduction BeeHive204 is very fast universal 4x 48-pindrive concurrent multiprogramming system designed for high volume production programming with minimal operator effort. The chips are programmed at near theoretical maximum programming speed. BeeHive4+ is fast universal 4x 48-pindrive concurrent multiprogramming system designed for high volume production programming with minimal operator effort.
Page 18
ELNEC s. r. o. FPGA based totally reconfigurable 48 powerful TTL pindrivers provide H/L/pull_up/pull_down and read capability for each pin of socket. Advanced pindrivers incorporate high-quality high- speed circuitry to deliver signals without overshoot or ground bounce for all supported devices.
BeeHive204 / BeeHive4+ Jam files of JEDEC standard JESD-71 are interpreted by Jam Player. Jam files are generated by design software which is provided by manufacturer of respective programmable device. Chips are programmed in ZIF or through ISP connector (IEEE 1149.1 Joint Test Action Group (JTAG) interface).
ELNEC s. r. o. power supply connector power switch "GND" connector can be used for grounding of the programmer "ESD wrist strap" connector is place for attaching of ESD wrist strap 10) temperature controlled fans 11) type B USB connector for PC ↔ BeeHive204 / BeeHive4+ communication cable...
Page 21
BeeHive204 / BeeHive4+ 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. For general definition, recommendation and direction about ISP see section Common notes / ISP please.
(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.elnec.com, section Support / Application Notes. Note: Pin no. 1 is signed by triangle scratch on ISP cable connectors.
Page 23
BeeHive204 / BeeHive4+ 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 •...
ELNEC s. r. o. Technical specification Specification (BeeHive204 BeeHive4+ multiprogramming system) • 4x universal programming module (4x 48-pin DIL ZIF sockets) • operation result LEDs, LED power • USB 2.0 high-speed compatible port • line power input 100-240VAC/60W max. • banana jack for ESD wrist straps connection •...
Page 25
BeeHive204 / BeeHive4+ • ESD protection on each pin of ISP connector (IEC1000-4-2: 15kV air, 8kV contact) • two output signals, which indicate state of work result = LED OK and LED Error (active level: min 1.8V) • input signal, switch YES! equivalent (active level: max 0.8V) DEVICE SUPPORT Programmer, in ZIF socket •...
Page 26
• Altera: MAX 3000A, MAX 7000A, MAX 7000B, MAX 7000S, MAX 9000, MAX II • Xilinx: XC9500, XC9500XL, XC9500XV, Coolrunner XPLA3, Coolrunner-II Notes: For all supported devices see actual Device list on www.elnec.com. Package support • support all devices in DIP with default socket •...
Page 28
ELNEC s. r. o. File load/save • no download time because programmer is PC controlled • automatic file type identification/recognition Supported file formats • unformatted (raw) binary • HEX: Intel, Intel EXT, Motorola S-record, MOS, Exormax, Tektronix, ASCII-SPACE-HEX, ASCII HEX •...
ELNEC s. r. o. Introduction BeeProg2 is a very fast universal USB/LPT interfaced universal programmer built to meet the strong demand of the small manufacturing and developer’s community for the fast and reliable universal programmer. BeeProg+ is a fast universal USB/LPT interfaced universal programmer built to meet the strong demand of the small manufacturing and developer’s community for the fast and...
Page 31
BeeProg2 / BeeProg+ Built-in protection circuits eliminate damage of programmer and/or programmed device due environment or operator failure. All the inputs of the BeeProg2 / BeeProg+ programmer, including the ZIF socket, ISP connector, connection to PC and power supply input, are protected against ESD up to 15kV.
ELNEC s. r. o. Attaching of more BeeProg2 / BeeProg+ programmers to the same PC (through USB port) is achieved a powerful multiprogramming system, which support as many chips, as are supported by BeeProg2 / BeeProg+ programmer and without obvious decreasing of programming speed.
BeeProg2 / BeeProg+ Power supply connector LPT connector for PC ↔ BeeProg2 / BeeProg+ communication cable 10) USB connector for PC ↔ BeeProg2 / BeeProg+ communication cable Connecting BeeProg2 / BeeProg+ to the PC Using USB port In this case, order of connecting USB cable and power supply to programmer is irrelevant. Using LPT port Switch off PC and programmer.
ELNEC s. r. o. Problems related BeeProg2 BeeProg+ interconnection, and their removing If you have any problems with BeeProg2 / BeeProg+ 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 35
BeeProg2 / BeeProg+ H/L/read driver pins 3, 5, 7, 9, 11, 13 of ISP connector pin 14 of ISP connector pin of ISP pin of ISP drivers in programmer drivers in programmer connector connector Float Read YES! Pull-up/ Pull-down pins 15, 16 of ISP connector drivers in programmer pin of ISP pin of ISP...
ELNEC s. r. o. These specifications correspond with application notes published of device manufacturers. Used application notes you may find on www.elnec.com, section Support / Application Notes. Note: Pin no. 1 is signed by triangle scratch on ISP cable connectors.
BeeProg2 / BeeProg+ 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. • Interconnect 20 pins connector of Diagnostic POD for ISP connectors #2 with an ISP connector of the programmer with an ISP cable, included in delivery programmer package.
Page 38
ELNEC s. r. o. • three D/A converters for VCCP, VPP1, and VPP2, controllable rise and fall time • VCCP range 0..8V/1A • VPP1, VPP2 range 0..26V/1A • selftest capability • protection against surge and ESD on power supply input, parallel port connection •...
Page 40
ELNEC s. r. o. • For all supported devices see actual Device list on www.elnec.com I.C. Tester • TTL type: 54,74 S/LS/ALS/H/HC/HCT series • CMOS type: 4000, 4500 series • static RAM: 6116.. 624000 • user definable test pattern generation Package support •...
Page 41
BeeProg2 / BeeProg+ • blank check, read, verify • program • erase • configuration and security bit program • illegal bit test • checksum • interprete the Jam Standard Test and Programming Language (STAPL), JEDEC standard JESD-71 • interprete the VME files compressed binary variation of SVF files •...
SmartProg2 Introduction SmartProg2 is next member of new generation of Windows based ELNEC universal programmers. Programmer is built to meet the demands of the development labs and field engineers to universal, but portable programmer. SmartProg2 is a small, fast and powerful programmer of all kinds of programmable devices.
ELNEC s. r. o. 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.
SmartProg2 USB connector for PC ↔ SmartProg2 communication cable Power supply connector Power supply connector Note: Due to low power consumption of SmartProg2 in inactive state, it doesn't require power switch. When the power LED indicator glows with a low intensity the SmartProg2 is in inactive mode.
(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.elnec.com, section Support / Application Notes. Note: Pin no. 1 is signed by triangle scratch on ISP cable connectors.
SmartProg2 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 48
ELNEC s. r. o. 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..25V/50mA) •...
Page 49
SmartProg2 • For all supported devices see actual Device list on www.elnec.com. I.C. Tester • Static RAM: 6116..624000 Programming speed Device Operation Mode Time 27C010 programming and verify in ZIF 24 sec AT29C040A programming and verify in ZIF 32 sec...
Page 50
ELNEC s. r. o. 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.
MEMprog2 can be upgraded to SmartProg2 using Xprog2 to SmartProg2 upgrade kit (ord.no.60-0048). MEMprog2 is small, fast and powerful programmer for virtually all memory types - EPROM, EEPROM, NVRAM, Flash EPROM and serial EEPROM - low voltage types including. MEMprog2 isn't only programmer, but also static RAM tester.
TSSOP and other packages. MEMprog2 elements 40 pin ZIF socket power/sleep LED work result LEDs YES! Button Connector for ISP (useable after upgrade to SmartProg2 only, details: see SmartProg2) USB connector for PC ↔ MEMprog2 communication cable Power supply connector...
ELNEC s. r. o. Power supply connector Connecting MEMprog2 to PC For MEMprog2 order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the MEMprog2 PC interconnection, and their removing If you have any problems with MEMprog2 PC interconnection, see section Common notes please.
MEMprog2 Technical specification HARDWARE Programmer • two D/A converters for VCCP and VPP, controllable rise and fall time • VCCP range 0..7V/350mA • VPP range 0..25V/200mA • USB 2.0/1.1 compatible interface • selftest capability ZIF socket, pindriver • 40-pin DIL ZIF (Zero Insertion Force) socket accepts both 300/600 mil devices up to 40-pins •...
Page 56
ELNEC s. r. o. • For all supported devices see actual Device list on www.elnec.com. I.C. Tester • Static RAM: 6116..624000 Programming speed Device Operation Mode Time 27C010 programming and verify in ZIF 24 sec AT29C040A programming and verify in ZIF...
T51prog2 Introduction T51prog2 is next member of new generation of Windows based ELNEC specialized programmers. Programmer is capable to support all today available microcontrollers of MCS51 series (up to 40 pins) and AVR microcontrollers (8-40 pins) by parallel and serial way.
ELNEC s. r. o. All known data formats are supported. Automatic file format detection and conversion during load of file. The rich-featured autoincrement function enables to assign individual serial numbers to each programmed device - or simply increments a serial number, or the function enables to read serial numbers or any programmed device identification signatures from a file.
T51prog2 Power supply connector Connecting T51prog2 to PC For T51prog2 order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the T51prog2 PC interconnection, and their removing If you have any problems with T51prog2 PC interconnection, see section Common notes please.
ELNEC s. r. o. These specifications correspond with Atmel application note AVR910: In-System Programming. Used application note you may find on www.elnec.com, section Support / Application Notes. Note: Pin no. 1 is signed by triangle scratch on ISP cable connectors.
• Serial E(E)PROM: 24Cxxx, 24Fxxx, 25Cxxx, 59Cxxx, 85xxx, 93Cxxx series Programmer, through ISP connector • Microcontrollers Atmel: AT89Sxxx, AT90Sxxxx, ATtiny, ATmega series • Microcontrollers Philips: LPC series Note: For all supported devices see actual Device list on www.elnec.com. Programming speed Device Operation Time...
Page 64
ELNEC s. r. o. SOFTWARE • Algorithms: only manufacturer approved or certified algorithms are used. • Algorithm updates: software updates are available approx. every 4 weeks, free of charge. • Main features: revision history, session logging, on-line help, device and algorithm...
ELNEC s. r. o. Introduction PIKprog2 is next member of the new generation of Windows based ELNEC specialized programmers. Programmer is capable to support all currently available Microchip ® PICmicro series microcontrollers (8-40 pins) using parallel and serial algorithms. The PIKprog2 programmer isn't development grade programmer, but meets all Microchip's requirements to manufacturing grade of programmers.
PIKprog2 All known data formats are supported. Automatic file format detection and conversion during load of file. The rich-featured autoincrement function enables to assign individual serial numbers to each programmed device - or simply increments a serial number, or the function enables to read serial numbers or any programmed device identification signatures from a file.
ELNEC s. r. o. Power supply connector Connecting PIKprog2 programmer to PC For PIKprog2 order of connecting USB cable and power supply to programmer is irrelevant. Problems related to the PIKprog2 PC interconnection, and their removing If you have any problems with PIKprog2 PC interconnection, see section Common notes please.
PIKprog2 These specifications correspond with Microchip application note: In-Circuit Serial Programming™ (ICSP™) Guide. Used application note you may find on www.elnec.com, section Support / Application Notes. Note: Pin no. 1 is signed by triangle scratch on ISP cable connectors. ISP cable of PIKprog2 Warnings: •...
• Microcontrollers Microchip PICmicro: PIC10xxx, PIC12xxx, PIC16xxx, PIC17xxx, PIC18xxx, dsPIC series Notes: • (*1) - suitable adapters are available for non-DIL packages and devices with more than 40 pins • For all supported devices see actual Device list on www.elnec.com.
Page 71
PIKprog2 Programming speed Device Operation Mode Time A PIC16C67 programming and verify in ZIF 12 sec PIC18F452 programming and verify in ZIF 8 sec PIC16F876A programming and verify 5 sec PIC12C508 programming and verify 3 sec Conditions: P4, 2,4GHz, USB 2.0 HS, Windows XP SOFTWARE •...
Page 72
ELNEC s. r. o. • HEX: Intel, Intel EXT, Motorola S-record, MOS, Exormax, Tektronix, ASCII-SPACE-HEX GENERAL • operating voltage 15..20V DC, max. 500mA • power consumption max. 6W active, 1.4W inactive • dimensions 160x97x35 mm (6.3x3.8x1.4 inch) • weight (without external power adapter) ca. 500g (17.65 oz) •...
ELNEC s. r. o. Introduction SEEprog is universal programmer of all serial EEPROM in 8-pin DIL package. SEEprog programs EEPROM with interface IIC, SPI and Microwire, and also specialty as for example digital thermometers. The programmer supports LV (3.3V) devices too.
SEEprog SEEprog elements 14 pin ZIF socket. Only 8 bottommost pins are active, as shown at the picture at the left. power LED LPT connector for PC ↔ SEEprog communication cable work result LED Power supply connector Power supply connector Connecting SEEprog programmer to PC Switch off the PC and programmer.
ELNEC s. r. o. • When connecting the programmer to the PC: FIRST insert the communications cable and THEN the power-supply connector. • When disconnecting the programmer from the PC: FIRST disconnect the power-supply connector and THEN the communication cable.
Page 77
SEEprog • For all supported devices see actual Device list on www.elnec.com. SOFTWARE • Algorithms: only manufacturer approved or certified algorithms are used. • Algorithm updates: software updates are available approx. every 4 weeks, free of charge. • Main features: revision history, session logging, on-line help, device and algorithm...
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 ELNEC programmers work. For programmers connected through USB (LPT) port, control program requires correctly...
Page 80
ELNEC s. r. o. Step 3. Click on “Next” button Step 4. For change default folder click on “Browse” button, select the destination folder. Then click on “Next” button...
Page 81
Setup Step 5. For change default folder click on “Browse” button, select the destination folder. Then click on “Next” button Step 6. Check if “Install Multiprogramming control support” is selected. Change default setting, if you want. Then click on “Next” button...
Page 82
ELNEC s. r. o. Step 7. Check your setting and then click on “Install” button Step 8. Installation process will start.
Page 83
Setup Step 9. This window will be displayed 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 84
ELNEC s. r. o. Step10. Click “Finish” button to finish setup. Step 11. For Windows Vista only: Click “This program installed correctly”...
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 Pg4uwARC.exe) from our Internet site www.elnec.com, part download. Copy Pg4uwARC.exe to a temporary directory, disconnect programmer from PC and then launch it.
Page 86
ELNEC s. r. o. 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 87
Setup Step 6. Click on “Continue Anyway” button. For Windows Vista: Click “Install this driver software anyway”...
Page 88
ELNEC s. r. o. Step 7. Click “Finish” button to finish setup. Step 8. “Found new hardware wizard” will launch for each programmer one time (for BeeHive204 / BeeHive4+ 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,...
ELNEC s. r. o. Pg4uw-the programmer software Program Pg4uw.exe is common control program for all ELNEC 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.
Page 91
Pg4uw 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 92
ELNEC s. r. o. Panel Addresses also contains some advanced information about current status of Split, Serialization and buffer checksum. For more information about each of the options, please look at: • Split - menu Device / Device options / Operation options •...
Pg4uw 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 94
ELNEC s. r. o. Panel Additional operation Checking the check box Erase buffer before loading tells the program to erase all buffer data using entered Erase value. Buffer erase is performed immediately before reading file content to buffer and it is functional for binary and all HEX file formats. Using this one-shot setting disables current setting of Erase buffer before loading option in menu Options / General options at tab Hex file options.
Page 95
Pg4uw Notes: • Since the value of negative offset is subtracted from real address, the result of subtraction can be negative number. Therefore take care of correct setting of this value! • We recommend automatic set of negative offset in special cases only. This option contains a heuristic analyze, which can treat some data in file incorrectly.
Page 96
ELNEC s. r. o. There can be also entered the Buffer start and Buffer end addresses which exactly specify part of buffer to save to file. Supported file formats now are binary, MOTOROLA, MOS Technology, Tektronix, Intel (extended) HEX, ASCII space, JEDEC and POF.
Page 97
Pg4uw Command File / Save project deletes additional serialization file, if the file exists, associated with currently saved project. File / Save project This option is used for saving project file, which contains settings of device configuration and buffer data saved. Data saved to project file can be restored anytime by menu command File / Load project.
Page 98
ELNEC s. r. o. To Reload a file: 1. From the File menu, choose Reload file. 2. List of lastly used files is displayed. Click the file you want to reload. Note: When reloading a file the file format is used, by which the file was lastly loaded/saved.
Pg4uw Buffer Menu Buffer is used for buffer manipulation, block operation, filling a part of buffer with string, erasing, checksum and of course editing and viewing with other items (find and replace string, printing...). Buffer / View/Edit This command is used for view (view mode) or edit (edit mode) data in buffer (for viewing in DUMP mode only).
Page 100
ELNEC s. r. o. Warning: Editing of ASCII characters for word devices is disabled. Print buffer This command allows write selected part of buffer to printer or to file. Program uses at it an external text editor in which selected block of buffer is displayed and can be printed or saved to file, too.
Page 101
Pg4uw Replace All replaces all found items Abort search aborts this command View/Edit buffer for PLD Ctrl+F2 erase buffer with specified blank value Ctrl+Shift+F2 fill buffer with random data go to address... change mode view / edit switch the mode of buffer data view between 1 bit and 8 bit view. It can be also doing by mouse clicking on the button to the right of View/Edit mode buffer indicator.
Page 102
ELNEC s. r. o. Swap bytes operation from Start address 0 to End address N modifies data in buffer by following tables: Address Original Swap 2-bytes Swap 4-bytes Swap nibbles Data inside 16-bit words inside 32-bit words inside bytes 0000h...
Page 103
Pg4uw • Tab Main checksum options • Tab Checksum calculator Tab Main checksum options allows to set mode of Automatic checksum calculator. It contains following controls: • Checkbox Apply user-defined buffer addresses for main checksum • unchecked status global Buffer start and Buffer end address is used for calculating checksum of buffer data •...
Page 104
ELNEC s. r. o. an MD5 hash expressed as a sequence of 32 hexadecimal digits (128 bits) SHA-1 "Secure Hash Standard" expressed as a sequence of 40 hexadecimal digits (160 bits) • Insert checksum options box. This box contains following options for Calculate & insert operation: •...
Pg4uw Checksum address range settings are associated to currently selected device only. After new device is selected, address range is set to default addresses mode "Buffer Start" and "Buffer End" for selected device. Checksum address mode is also saved to project files. •...
Page 106
ELNEC s. r. o. Device / Select from default devices This window allows selecting the desired type of the device from list of default devices. This one is a cyclic buffer in which are stored recently selected devices including their device options.
Page 107
Pg4uw 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. The currently displayed device list can be saved to text file by pressing button Save currently displayed list to file.
Page 108
ELNEC s. r. o. Device can be select by double click on a line from list with desired manufacturer name and device number or by entering device number in a search box (use a key <Space> as a separation character) and press <Enter> or click OK button.
Page 109
Pg4uw The commonly used term are also explained in the user's manual to programmer. The special terms used here are exactly the terms used by manufacturer of respective chip. Please read the documentation to the chip you want to program for explanation of all used terms. List of commonly used items: group Addresses: device start address (default 0)
Page 110
ELNEC s. r. o. - if item is set to ENABLE, selected action is finished - if item is set to DISABLE, selected action continues. Control program just writes warning message about ID error to LOG window. If enabled, the programmer checks the electronic ID of the programmed chip.
Page 111
Pg4uw group Target system parameters This group is available in ISP mode for some types of devices. It contains following settings: Oscillator frequency (in Hz) - oscillator's frequency of device (in target system). Control program sets programming speed by its, therefore is necessary set correct value. Supply voltage (in mV) - supply voltage in target system.
Page 112
ELNEC s. r. o. Dialog Serialization contains also settings for associated serialization position files that are used with project files with serialization turned on. For more detailed information about using serialization in project files, look at Serialization and projects. Basic rules of serialization: If a new device is selected, the serialization function is set to a default state i.e.
Page 113
Pg4uw device program operation and loaded in selected format to specified buffer address prior to programming of each device. There are following options, that user can modify for incremental mode: S / N size 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.
Page 114
ELNEC s. r. o. Save to buffer option specifies the serial value byte order to write to buffer. This option is used for Bin S / N mode (for ASCII mode it has no effect). Two options are available: • LSByte first (used by Intel processors) will place the Least Significant Byte of serial number to the lowest address in buffer.
Page 115
Pg4uw 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 116
ELNEC s. r. o. 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 117
Pg4uw 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.
Page 118
ELNEC s. r. o. 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 119
Pg4uw Example of typical input file for Classic From file serialization: [nav1] A7890 78 89 56 02 AB CD ; comment1 [nav2] A7890 02 02 04 06 08 0A [nav3] A7890 08 09 0A 0B A0 C0 ; comment2 [nav4] A7890 68 87 50 02 0B 8D [nav5] A7890 A8 88 59 02 AB 7D ;next line contains also second definition [nav6] A7890 18 29 36 42 5B 6D , FFFF6 44 11 22 33 99 88 77 66 55 16...
Page 120
ELNEC s. r. o. procedure to Pg4uw buffer. File format can be binary or Hex file (Intel Hex etc.). The auto- recognition system recognizes proper file format and forces load of file in the right file format. Data filename is relative to parent (playlist) serialization file.
Page 121
Pg4uw 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. Following error indicators are used in Playlist From-file serialization: •...
Page 122
ELNEC s. r. o. This option is required to specify the initial serial number that will be passed to custom generator serialization program. The number is entered and displayed in hexadecimal format. Last serial number This option specifies the maximum value of serial number allowed. If the value is non-zero, it will be passed to serialization generator program.
Page 123
Pg4uw Record is line, which begin with one of Txx prefixes as described bellow. Value of “xx” represents the record type code. Records are used to inform Pg4uw software about serialization status (current and last serial numbers, serialization data and data format, errors, etc.).
Page 124
ELNEC s. r. o. Flowchart of device programming with custom-generator serialization When Custom-generator serialization is used, it means, that before each device programming is started, serialization engine calls serialization generator executable, to generate serial .dat file. Pg4uw serialization engine manages proper command line parameters for calling of serialization generator.
Page 125
Pg4uw The next function of statistics is Count down. Count down allows checking the number of device operations, and then number of devices, on which device operations have to be done. After each successful device operation the value of count down counter is decremented. Count down has user defined start number of devices to do.
Page 126
ELNEC s. r. o. You can edit the associated file name in file name box, put a full pathname. The control program checks the present of this file on the disk. Also is possible enabling or disabling automatic load of this file.
Page 127
Pg4uw • Verify operation can report errors also in case of protected devices, that have active read protection of data. Device / Program This command allows to programming of the all device or its part by the data of the buffer. The control program reports a result of this action by a write of an error message to INFO window.
Page 128
ELNEC s. r. o. The Jam Composer is a program, generally written by a programmable logic vendor, that generates a Jam file (.jam) containing the user data and programming algorithm required to program a design into a device. The Jam Player is a program that reads the Jam file and applies vectors for programming and testing of devices in a JTAG chain.
Page 129
Pg4uw 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 130
ELNEC s. r. o. 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 131
Pg4uw • 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). In dialog “Jam player”...
ELNEC s. r. o. 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. Programmer / Find programmer This item selects a new type of programmer and communication parameters. This command contains following items: Programmer - sets a new type of programmer for find.
Page 133
Pg4uw Address for special port - sets address of LPT port, if a Special port is selected. Pressing key <Enter> or button OK initiates scanning for programmer by set parameters. There is same activity as at start the control program. The command clears a list of default devices without the current device, if the new selected programmer supports this one.
Page 134
ELNEC s. r. o. After an operation with a device is executed, one of the OK or ERROR (status) LEDs on the programmer will lights in dependence on the result of an operation and the BUSY LED will blinking. If the program detects removal of a device, then status LED will switched off, but the BUSY LED will still blinking to indicate readiness of the program to repeat last operation with new device.
Page 135
Pg4uw Note: When using device socket adapters with some passive or active parts, for example capacitors for bypassing supply voltage, the Automatic YES! function may need to set these pins to Pins with capacitors list. This is necessary to make Automatic YES! function working properly.
Page 136
ELNEC s. r. o. 2. Interconnect 6 pins connector of Diagnostic POD for ISP connectors with an ISP connector of the programmer with an ISP cable, included in programmer delivery package. Be sure that pins are interconnected properly (i.e. 1-1, 2-2, ..., 6-6).
Pg4uw Programmer / Calibration test Command executes test of programmer's calibration values using 48 Pins Calibration test POD, Type I, which is optional accessories for BeeHive8S, BeeHive204, BeeHive4+, BeeHive4, BeeProg2, BeeProg+ and BeeProg. 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 138
ELNEC s. r. o. of supported formats that are available in program. If file format matches one of supported formats, the file is read to buffer in detected format. Manual file format allows user to select explicitly wished file format from list of supported file formats.
Page 139
Pg4uw • Check box Successful operation When checked, sound will be generated after device operation successfully completed. When unchecked, no sound will be generated after successful device operation. • Check box In case of error When checked, sound will be generated after device operation is finished with error. When unchecked, no sound will be generated after device operation finished with error.
Page 140
ELNEC s. r. o. If user specified log file name has format: <user_log_file_name>.<log_file_extension> The name with added date will be: <user_log_file_name><-yyyy-mmm-dd>.<log_file_extension> The new part representing of date consists of yyyy - year, mmm - month and dd - day. Example: User specifies Log file name: c:\logs\myfile.log The final log file name with added date will look like this (have a date November, 7th, 2006): c:\logs\myfile-2006-nov-07.log...
Page 141
Pg4uw • serialization information • statistics information Job Report is generated in following cases: • user command Load project is selected • closing or disconnecting programmer sites is selected • closing the Pg4uw • device Count down counter reaches 0 (finished status) •...
Page 142
ELNEC s. r. o. If the checkbox Automatically save Job Report file is unchecked, the Pg4uw will show Job Report dialog every time needed. In the Job Report dialog user can select operation to do with Job Report. If user selects no operation (Close button), the Job Report will be written to Pg4uw Log Window only.
Page 143
Pg4uw In the panel Tool buttons, hint display options on toolbar buttons in main program window can be modified. In the panel Start-up directory can be selected mode of selecting directory when program starts. Default start-up directory means directory, from which program is called.
Page 144
ELNEC s. r. o. 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. There is one menu command - Options / Protected mode - that allows to use Protected mode in application Pg4uwMC.
Page 145
Pg4uw Multi-project Wizard - an assistant for Multi-project file building. The Wizard allows user to select projects that have to be included in Multi-project and save them to one Multi-project file. Process of saving selected project files to one Multi-project file is called Multi-project file building.
Page 146
ELNEC s. r. o. • optionally make test of device operation by running the device operation on device • if everything is OK, the project file can be created by Save project command • Select Master multichip device, the Multi-project has to be used for. After selection of multichip device, Multi-project Wizard is automatically opened.
Pg4uw • After programming of all sub-devices is completed (or error occurs), standard "Repeat" dialog is displayed. Programmed device can be removed from programmer socket and new device can be inserted. Pressing Yes button in dialog Repeat or YES! button on programmer *, will start multichip device programming sequence again.
Page 148
ELNEC s. r. o. • all other significant words • current cross-references; click on this cross-reference to obtain further information. Since the Help system is continuously updated together with the control program, it may contain information not included in this manual.
Page 149
Pg4uw - partial HTML files with list of supported devices for each device manufacturer Main HTML file is placed to directory where this control program for programmers is located. Partial HTML files are placed to subdirectory DEV_HTML placed to the directory where control program for programmers is located.
Page 151
Pg4uwMC 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 152
ELNEC s. r. o. 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.
Page 153
Pg4uwMC 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 154
ELNEC s. r. o. • 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.
Page 155
Pg4uwMC 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. For all other next starts of Pg4uwMC, the existing Log file will be preserved and new data will be appended to the existing Log file.
Page 156
ELNEC s. r. o. programmer (site) with desired serial number. Programmers or Programmer Sites with different serial numbers will be ignored. If the Pg4uwMC does not find desired Programmer Site, the Programmer Site will be set to Demo mode with status set to "Not found".
Page 157
Pg4uwMC 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 158
ELNEC s. r. o. Pg4uwMC "Search for Programmers" dialog Dialog allows to scan all connected USB devices for programmers matching selected multiprogramming system. After finishing of scanning operation, dialog offers "Search results" list of found programmers. For some multiprogramming systems user can modify the order of Programmer Sites or delete unwanted Programmer Sites.
Page 159
Pg4uwMC Example: Pg4uwMC.exe c:\projects\myproject.eprj Makes load project file "c:\projects\myproject.eprj". Programmers supported by Pg4uwMC The list of currently supported programmers can be displayed in Pg4uwMC by menu Help | Supported programmers. Generally, supported programmers in Pg4uwMC are 48-pin universal programmers with USB interface. Also all of our USB connected multiprogramming systems are supported.
Common notes 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: •...
Software Pg4uw is common control program for all of the ELNEC programmers. Thus, during work with him it is possible to find some items, those refer not to current selected programmer. Some special devices (e.g. Philips Coolrunner family) require external DAT files, that aren’t present in standard Pg4uw SW delivery on CD.
Page 163
Common notes 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.eprj. /loadfile:"c:\filename with spaces.bin"...
Page 164
ELNEC s. r. o. Available command line parameters: /Axxx check programmer present on LPT port with address xxx only example: /A3bc /SPP force PC <-> programmer communication in unidirectional mode Available command line parameters for starting program Pg4uw in demo mode Demo mode is useful in situations, when no programmer device is available.
Page 165
Common notes /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). /Saveproject:<file_name> The command is used to save currently selected device type, buffer contents and configuration to project file.
Page 166
ELNEC s. r. o. Buffer Address Data FF0000H FF0001H FF0002H FF0003H FF0004H /writebufferex:INDEX:ADDR1:B11,B12,B13,B14,...,B1N[::ADDR2:B21,B22,B23,B24,...,B2M].. Command /writebufferex is used to write block of Bytes to Pg4uw main buffer at specified address. The command is very similar to command /writebuffer, except one more parameter – INDEX.
Page 167
Common notes step2 Load project (/Prj:...) step3 EPROM/FLASH autoselect step4 Program device (/Program[:switch]) step5 Close of control program (/Close only together with parameter /Program) Example 1: Pg4uwcmd.exe /program:noanyquest /loadfile:c:\empfile.hex Following operations will perform: 1. start Pg4uw.exe (if not already running) 2.
ELNEC s. r. o. If the result of operations performed is OK, Pg4uwcmd application will return ExitCode (or ErrorLevel) value 0. If there are some errors (can not load file or save to project file), Pg4uwcmd application will return ExitCode value equal or greater than 1.
Page 169
In-system programming. For in-system programmable devices manufacturers publish application notes. Design of ELNEC programmers together with respect of these application notes allows proper In- system programming. Condition is exactly respecting these application notes. Applications notes, which ELNEC use in ISP programmers, are published in www.elnec.com, section Support / Application Notes.
Page 170
Microcontrollers Atmel AVR and AT89Sxxx series This interface corresponds with Atmel application note AVR910: In-System Programming. This application note describes the recommended ISP interface connector layout in target system (top view). ELNEC recommended circuit for ATMEL AVR: ISP connector target device target system...
Other Attention to multitasking OS (Windows 98/Me/NT/2000/XP/Vista). There is needful for regular running of control program for any ELNEC programmer that printer port, on which is programmer connected, must be reserved for this programmer only. Otherwise, any other program must not simultaneously to use (or any way to modify) this printer port.
Page 172
Pg4uw SW can handle all modes of LPT port (full IEEE 1284 support), thus you don't need to configure LPT port for connection of ELNEC programmers. Please don't move Info window during BUSY LED is on - watching circuit can be activate to switch the programmer in safe status as in case communication PC-programmer error.
Send the completed form by mail or fax to ELNEC (fax number in the control program, menu Help / About) or to your local dealer. If you send the form by fax please use black ink, a good pen and large letters! •...
DIL ZIF socket or 10,000-cycles on other ZIF sockets). If the product is diagnosed as defective, ELNEC s.r.o. or the authorized repair center will repair or replace defective parts at no charge. Parts used for replacement and/or whole programmer are warranted only for the reminder of the original warranty period.
Page 176
ELNEC s. r. o. ELNEC has used its best efforts to develop hardware and software that is stable and reliable. ELNEC does not guarantee that the hardware and software are free of "bugs", errors or defects. ELNEC's liability is always limited to contract's net value paid by a buyer.
Need help?
Do you have a question about the MEMprog2 and is the answer not in the manual?
Questions and answers