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
User manual for BeeHive204AP Extremely fast universal 4x 48-pindrive concurrent multiprogrammer – core for automated programmer BeeProg2AP Extremely fast universal 48-pindrive programmer – core automated programmer...
Page 2
Please consult manual on www.elnec.com. Elnec s.r.o. assumes no responsibility for misuse of this manual. Elnec s.r.o. reserves the right to make changes or improvements to the product described in this manual at any time without notice. This manual contains names of companies, software products, etc., which may be trademarks of their respective owners.
User manual. Revisions are implemented in the context sensitive help before the printed User 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 current one...
PC requirements..........................8 Free additional services: ........................9 BeeHive204AP ............................10 Introduction ............................11 BeeHive204AP elements ........................13 Connecting BeeHive204AP to the PC ....................14 Selftest and calibration check ......................14 Technical specification ........................16 BeeProg2AP............................17 Introduction ............................18 BeeProg2AP elements ........................
Page 5
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...
Programming Module Interface connectors). This warranty terms are valid for customers, who purchase a programmer directly from Elnec company. The warranty conditions of Elnec sellers may differ depending on the target country law system or Elnec seller’s warranty policy.
Elnec s. r. o. PC requirements Minimal PC requirements 2x BeeHive204AP 1000 BeeHive204AP 1000 BeeProg2AP 1000 1024 x 768 is minimal monitor resolution. The "Minimal PC requirements" mean that the device programmer and SW will run at these conditions, but not with fully enjoyable experience.
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.
BeeHive204AP can be connected to the control PC of automated programmer (up to 2 BeeHive204AP can be attached to one computer using USB hub or USB ports of the PC). BeeHive204AP can be implemented into available 3rd party automated programmers and handlers by using simple remote control of the PG4UWMC control software.
Page 12
It is important to remember that in most cases new devices require only a software update due to the BeeHive204AP is truly universal programmer. With our unique quick reaction to customer's needs - software update can be ready within a day from request by OnDemand...
3. power/sleep LED of site 4. ISP connector (20 pins connector 2-1634689-0 from TE connectivity) 5. detachable part with three Ø 4,5mm holes for fastening BeeHive204AP to bottom plate 6. M4 nuts for fastening BeeHive204AP to upper plate 7. programming module fixating screws 8.
14. temperature controlled fans 15. "GND" screw can be used for grounding of the programmer Rear view to BeeHive204AP Connecting BeeHive204AP to the PC Recommendation for connecting programmer to PC: 1. make ground connection between programmer and PC or other ground 2.
Page 15
BeeHive204AP AP1 PMI selftest pod Selftest of ISP connector Insert AP1 ISP connector selftest pod into Programmer Module Interface (PMI) connectors of the programmer. Interconnect 20 pins connector of AP1 ISP connector selftest pod with an ISP connector of the programmer with an ISP cable, included in delivery programmer package. Be sure that pins are interconnected properly (i.e.
310x205x61 mm (12.2 x 8.1 x 2.4 inch) Dimensions were measured without programming module inserted and does not include projections. Total height of BeeHive204AP programmer with programming module inserted depends on ZIF socket height and can vary between 80-90mm.
Elnec s. r. o. Introduction BeeProg2AP is the core for automated programmers and automatic test equipments (ATE). It is an extremely fast universal programmer with 48 powerful pindrivers designed for low volume production programming. Using build-in ISP connector the programmer is able to program ISP capable chips in-circuit.
Page 19
BeeProg2AP Note: The programming modules have reference pin (corner) points to Left-Up corner of programming module. We accept also orders for other orientation of ZIF socket at programming module if needed, discuss please situation with our sales department. BeeProg2AP programmer is driven by comfortable and easy to use control program, which work with all versions of MS Windows from Windows XP to Windows 10 64-bit It is important to remember that in most cases new devices require only a software update due to the BeeProg2AP is truly universal programmer.
1. Programmer Module Interface (PMI) connectors 2. work result LEDs 3. power/sleep LED of site 4. ISP connector (20 pins connector 2-1634689-0 from TE connectivity) 5. M4 nuts for fastening BeeHive204AP to upper plate 6. programming module fixating screws Right top view to BeeProg2AP...
BeeProg2AP 7. power supply connector 8. type B USB connector for PC BeeHive204AP communication cable 9. tie mount for fixating USB cable 10. temperature controlled fan 11. "GND" screw can be used for grounding of the programmer Rear view to BeeProg2AP...
Page 22
Elnec s. r. o. AP1 PMI selftest pod Selftest of ISP connector Insert AP1 ISP connector selftest pod into Programmer Module Interface (PMI) connectors of the programmer. Interconnect 20 pins connector of AP1 ISP connector selftest pod with an ISP connector of the programmer with an ISP cable, included in delivery programmer package.
BeeProg2AP Calibration test Insert AP1 calibration test pod into Programmer Module Interface (PMI) connectors of the programmer. Run calibration test of programmer in PG4UW (Programmer / Calibration test). AP1 calibration test pod Multiprogramming by BeeProg2AP During installation of PG4UW at Select Additional Tasks window you check, if is allowed install BeeProg2AP multiprogramming control support.
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 port, control program requires correctly installed...
Page 26
Elnec s. r. o. Step 3. Click on “Next” button Step 4. For default setting click on “Next” button. Setup will be continuing with Step 6. For change default setting click on “Custom” and then on “Next” button.
Page 27
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 28
Elnec s. r. o. Step 7. Check your setting and then click on “Install” button Step 8. Installation process will start.
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. Copy pg4uwarc.exe to a temporary directory, disconnect programmer from PC and then launch it.
Page 30
Elnec s. r. o. Step 1. Directly connect USB cable to type B USB port on programmer. Step 2. Directly connect USB cable to type A USB2.0 port on PC. Step 3. Connect connectors of power supply cable to appropriate connectors on programmer and wall plug.
Page 31
Y axis. Warning: If you integrated BeeHive204AP to automated programming machine and BeeHive204AP is mounted on moving part (programmer is not static) then use high flexibility USB cable for connect programmer to PC. External programmer power supply must be mounted on same part as programmer and connected by high flexibility power cord set to mains.
Page 32
Elnec s. r. o. If USB connector and power cable are connected to rear connectors, total depth of programmer will be 205mm + length of B type USB connector on USB cable. Total depth of programmer may be 205mm + 50mm.
Page 33
Setup BeeHive204AP can be mounted on base plate by 6 screws M4 with nuts. Length of screw depends on base plate thickness. On base plate can be ø 4,5mm holes replaced with M4 internal threads. Drawing for mounting programmer on base plate:...
Page 34
Elnec s. r. o. BeeHive204AP can be mounted bellow base plate by 6 screws M4. Length of screw depends on base plate thickness. Attentions: For proper mounting of programmer bellow base plate, mounting screws must be minimal 3mm depth in programmer. To avoid damage of PCB in programmer mounting screws must be maximum 8mm depth in programmer.
Page 35
Setup BeeProg2AP On picture bellow are overall dimensions of BeeProg2AP with programming module. Total height of programmer with installed programming modules depends of programming module ZIF socket height. Total height can be determined by 68,5mm + ZIF socket height. Right top view to BeeProg2AP with dimensions Notes: Minimal distance between programmers must be: 2+ cm in face to face configuration of programmers 5+ cm in tail to face configuration of programmers...
Page 36
Elnec s. r. o. USB connector and power cable are connected to rear connectors, total depth of programmer will be 205mm + length of B type USB connector on USB cable. Total depth of programmer may be 205mm + 50mm.
Page 37
Setup BeeProg2AP can be mounted on base plate by 2 screws M3. Length of screw depends on base plate thickness. Attention: For proper mounting of programmer on base plate, mounting screws must be minimal 3mm depth in programmer. To avoid damage of PCB in programmer mounting screws must be maximum 8mm depth in programmer.
Page 38
Elnec s. r. o. BeeProg2AP can be mounted bellow base plate by 4 screws M4. Length of screw depends on base plate thickness. Attention: For proper mounting of programmer on base plate, mounting screws must be minimal 3mm depth in programmer. To avoid damage of PCB in programmer mounting screws must be maximum 8mm depth in programmer.
Page 39
Setup BeeProg2AP can be mounted with left side on base plate by 4 screws M3. Length of screw depends on base plate thickness. Attention: Before mounting BeeProg2AP in this way, unscrew two screws M3 located on left side. Then replace them with new M3 screws with proper length. For proper mounting of programmer on base plate, mounting screws must be minimal 3mm depth in programmer.
PG4UW 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. Using the programmer software...
Page 42
Elnec s. r. o. 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.
Page 43
PG4UW Panel Addresses 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.
Elnec s. r. o. 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>...
Page 45
PG4UW ASCII SPACE format Very simple hex file format similar as ASCII HEX without checksum field, without start (STX) and end (ETX) characters. Each data byte is represented as 2 hexadecimal characters, and is separated by white space from all other data bytes. The address field is separated by white space from data bytes.
Page 46
Elnec s. r. o. If the checkbox Swap bytes is displayed, the user can activate function of swapping bytes within 16bit words (or 2-byte words) during reading of file. This feature is useful especially when loading files with Motorola representation of byte order in file (big endian). Standard load file is using little endian byte order.
Page 47
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 48
Elnec s. r. o. MOTOROLA, MOS Technology, Tektronix, Intel (extended) HEX, ASCII space, JEDEC and POF. If the checkbox Swap bytes is displayed, the user can activate function of swapping bytes within 16bit words (or 2-byte words) during writing to file. This feature is useful especially when saving files with Motorola representation of byte order in file (big endian).
Page 49
PG4UW Enter job identification dialog The dialog will be showed when loading protected project files. It contains two editable fields: Operator identification this parameter will be used to identify programmer's operator. Operator ID must be at least 3 chars. User has to enter Operator identification value, because it is mandatory parameter, when creating Job Report for protected project.
Page 50
Elnec s. r. o. project file is recently loaded. There is also recommended to use this checkbox along with active Protected mode. When the request of project file unique ID is active, the software indicates this by label (ID) next to project file name in bottom status line in control program main window.
PG4UW User can directly edit user defined project description only. Device name, manufacturer, and project date are generated automatically by program. File / Load encryption table This command loads the data from binary file from disk and it saves them into the part of memory, reserved for an encryption (security) table.
Page 52
Elnec s. r. o. Shift+F3 load data from binary file to buffer. This command is available for secondary buffers only. For more information see notes for save buffer data command (Shift+F2) above. move block is used to move specified block of data in current buffer on new address.
Page 53
PG4UW of all versions of Windows. User can define any text editor for example wordpad.exe, 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.
Page 54
Elnec s. r. o. Buffer / Fill block Selecting this command causes filling selected block of buffer by requested hex (or ASCII) string. Selecting option "Allow address history logging" activates saving of recently confirmed values. These are saved for each device separately; count is limited to last 15 items.
Page 55
PG4UW Swap 2-bytes Swap 4-bytes Swap Mirror bits Original Address inside 16-bit inside 32-bit nibbles inside Data words words inside bytes bytes 0000h 0001h 0002h 0003h 0004h 0005h 0006h 0007h b0, b1, b2 ... means original buffer byte values from addresses 0, 1, 2... b0n, b1n, b2n ...
Page 56
Elnec s. r. o. 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.
Page 57
PG4UW Insert at address Address in buffer where a result of chosen checksum is written, when the Calculate & insert was executed. Address can not be specified inside the range <From address> to <To address>. Address is always defined as Byte address. Size Size of chosen checksum result, which will be written into the buffer.
Page 58
Elnec s. r. o. from Main Checksum settings. So Checksum calculator options are equal to recent Main Checksum options after starting software or loading project. Dialog Checksum options offers also useful functions such as Reset to defaults, or Copy Checksum calculator settings to Main Checksum settings, and vice versa.
PG4UW Device dependent checksum - applies for some devices, e.g. STMicroelectronics's STM8 family. The checksum modes for main checksum can be set in pop-up menu by clicking on label checksum in main program window or by menu shortcuts Shift+Ctrl+1 for Byte sum (x8), Shift+Ctrl+2 for Word sum Little Endian (x16) Shift+Ctrl+3 for Word sum Big Endian (x16) etc...
Page 60
Elnec s. r. o. Fragments of query are by default compared using AND logic, but there is an option to switch to OR logic if needed. Matching results have computed relevancy according to how close the match is (with respect to AND/OR logic). By default, results are ordered by relevancy.
Page 61
PG4UW If more devices with identical chip ID and manufacturer's ID were detected, the list of these devices will be displayed. A corresponding device can be chosen from this list by selecting its number (or manufacturer name) from list and press <Enter> (or click OK button). Press a key <Esc>...
Page 62
Elnec s. r. o. Split type Device Buffer Address assignment None Device [ADDR] Buffer [ADDR] Even Device [ADDR] Buffer [2*ADDR] Device [ADDR] Buffer [1+(2*ADDR)] Device [ADDR] Buffer [4*ADDR] Device [ADDR] Buffer [1+(4*ADDR)] Device [ADDR] Buffer [2+(4*ADDR)] Device [ADDR] Buffer [3+(4*ADDR)]...
Page 63
PG4UW group Command execution: blank check before programming (default DISABLE) erase before programming (default DISABLE) verify after reading (default ENABLE) verify (ONCE, TWICE) verify options (nominal VCC +/-5% nominal VCC +/-10% VCCmin - VCCmax) group Target system power supply parameters This group is available in ISP mode for some types of devices.
Page 64
Elnec s. r. o. 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.
Page 65
PG4UW Note: Calling of new serial number request before programming can be suppressed in case of previous unsuccessful device programming result by option Serial number usage if programming action fails: When Reuse generated serial number for next programmed device option is selected, request for new (next) serial number is suppressed in case of unsuccessful previous device operation result.
Page 66
Elnec s. r. o. means the serial number is written directly to buffer. If the serial number has more than one byte length, it can be written in one of two possible byte orders. The byte order can be changed in Save to buffer item.
Page 67
PG4UW Split serial number: unchecked (empty box) Following values will be written to device: The 1st device Address Data 007FFF0 xx xx xx xx xx xx xx xx xx xx xx xx 00 00 00 16 The 2nd device Address Data 007FFF0 xx xx xx xx xx xx xx xx xx xx xx xx 01 00 00 16 The 3rd device...
Page 68
Elnec s. r. o. Let’s assume we want to write serial number 1234ABCDH as part of four RETLW instructions to device PIC. The highest Byte of serial number is the most significant Byte. We want to write the serial number to device program memory at address 40H. Serial number split us very useful in this situation.
Page 69
PG4UW The second device will have: Address Data 0000040 34CE 34AB 3434 3412 xxxx xxxx xxxx xxxx Next devices will have same format of serial number, of course incremented by 1 for each device. Example 2.b Use of serialization split with NOP instructions for Microchip PIC24FJ256 devices Device PIC24FJ256 has 24 bit wide instruction word.
Page 70
Elnec s. r. o. Next devices will have same format of serial number incremented by 1 for each device. Example 3: Following example uses the same serialization options as Example 2a; instead the serial number Split gap is set to 2 and 3.
Page 71
PG4UW "Classic" From-file mode: the serialization file has serial values directly included. Serialization data are then read directly from serialization file to buffer on address specified in the file. Classic From-file mode is indicated in main window and info window of PG4UW control program on panel "Serialization"...
Page 72
Elnec s. r. o. Delete used file: Program deletes used serialization data file(s) Directory This option is available in playlist From-file serialization mode when option "Move used file to specified directory" is selected. User can specify target directory, into which used serialization data files will be moved.
Page 73
PG4UW addr - Addr defines buffer address to write data following the address. byte0...byten, byte0...bytem, byte0...bytek - Bytes arrays byte0...byten, byte0...bytem and byte0...bytek are defining data, which are assigned to write to buffer. Maximum count of bytes in one data field following the address is 64 bytes.
Page 74
Elnec s. r. o. In the example file six serial values with labels „nav1“, „nav2“, ...“nav6“ are defined. Each value is written to buffer on address $A7890. All values have size 6 bytes. The line with „nav6“ label has also second value definition, which is written to buffer on address $FFFF6 and has size 10 bytes, i.e.
Page 75
PG4UW The typical path can look like this: C:\Program Files\Elnec_sw\Programmer\Examples\Serialization\fromfile_playlist_example\ You can test the serialization by following steps: 1. start PG4UW 2. you need to have our programmer connected and correctly found in PG4UW 3. select wished device, the best are devices with erasable memory, (not OTP memory) 4.
Page 76
Elnec s. r. o. Serialization generator Specifies the path and name for the executable file which will generate serialization data file, for example c:\serialization\generator.exe. First serial number This option is required to specify the initial serial number that will be passed to custom generator serialization program.
Page 77
PG4UW generator.exe - N<serial number> - E<serial number> N<serial number> Specifies current serial number, that generator has to use to create proper serial data file. Generator must return the same value at line T01:<serial number> in data file. More information about serialization .dat file format is available in the next section, few lines lower.
Page 78
Elnec s. r. o. Example: Typical serialization data file: T01:000005 T02:001006 T03:99 T04: :0300000000096B89 :03000300000005F5 :02000C005A0197 :01003F004F71 :00000001FF The file consists of following information: line T01 - current serial number 000005h line T02 - ending (last) serial number 001006h (this value will be used as new current serial...
Page 79
PG4UW 4. Device programming 5. Device verification 6. Operation result check. This is fully managed by PG4UW control program. Serialization generator does not have to do any operation according to operation result. Control program will call serialization generator with required command line parameters. OK - PG4UW makes request for next serial number.
Page 80
Elnec s. r. o. Check box Count down sets Count down activity (enable or disable). Edit box following the Count down check box defines initial number of count down counter, from which count down starts. Statistics dialog can be also opened by pressing right mouse button on Statistics panel and clicking displayed item Statistics.
Page 81
PG4UW For multiprogramming PG4UWMC software, the statistics information is saved to Job Summary report. Device / Device options / Associated file This command is used for setting associated file with current device. This is a file, which can be automatic loaded to buffer after device is selected from default devices select list or by start control program.
Page 82
Elnec s. r. o. Device / Verify This command compares content of the whole device, including special areas and settings (if available), with data stored in the PC (buffer and/or other storage areas) or in the programmer itself (depends on the model of the programmer).The control program reports a result of verify operation to Info window and in the Programmer activity log.
Page 83
PG4UW in first cycle write data 0x55 to the address 0x0 (CE/=L WE/=L OE/=H) and compare with data read from same address (CE/=L WE/=H OE/=L), data have to be valid then other combination control pins (CE/=L WE/=H OE/=H), (CE/=H WE/=H OE/=L), ..., is set and data have to be not valid - data bus driver have to be inactive sRAM test, basic part.
Page 84
Elnec s. r. o. licensable open standard. It supports programming or configuration of programmable devices and testing of electronic systems, using the IEEE 1149.1 Joint Test Action Group (JTAG) interface. Device can be programmed or verified, but Jam STAPL does not generally allow other functions such as reading a device.
Page 85
PG4UW Action Select desired action for executing. Jam file of version 2 consists of actions. Action consists of calling of procedures which are executed. Procedures Program flow executes statements from each procedure. Procedures may be optional and recommended. Recommended procedures are marked implicitly. You can enable or disable procedures according to your needs.
Page 86
Elnec s. r. o. language does not specify any limits for line length, statement length, or program size. More information can be found on the website: http://www.altera.com Jam file with extension .jbc is Jam STAPL Byte code format which is not visible.
Page 87
PG4UW Information about converting PDB file to JAM STAPLE for ACTEL devices Actel PDB file is a proprietary file format that can be supported by Actel programmers only, e.g. FlashPro programmer. PG4UW control program can program Actel devices only with Jam STAPL file.
Page 88
Elnec s. r. o. with the industry-standard Serial Vector Format (SVF) language for Boundary Scan programming and test. The IspVM System software generates VME files supporting both ispJTAG and non-Lattice JTAG files which are compliant to the IEEE 1149.1 standard and support SVF or IEEE 1532 formats.
PG4UW 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 Select programmer and communication parameters in PG4UW software.
Page 90
Elnec s. r. o. Programmer in this section is shown list of all programmers available in current version of PG4UW software. Select the programmer which you want to connect. If option Search all is selected, then PG4UW will try to find any of supported programmers and first found programmer will be connected.
Page 91
PG4UW Dialog Handler contains following items: Selected Handler select wished Handler type. Search at port select a COM port, which will be scanned for a requested Handler. Pressing key <Enter> or button OK initiates scanning for Handler by set parameters. If selected Handler type is None, no Handler scanning will be processed.
Page 92
Elnec s. r. o. To keep software update downloads for free also for devices programmed in ISP mode, we come to conclusion to apply a very small fee for programming of those devices, where the implementation of ISP support takes very long and/or for rarely used devices.
Page 93
PG4UW 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. If a new programmer is selected Options / Find programmer, this mode will be disabled.
Page 94
Elnec s. r. o. Programmer / Selftest Executes selftest of connected programmer. First a selftest with AP1 PMI selftest pod is executed, AP1 PMI selftest pod is included in programmer's delivery package. If no error occurs, then a selftest without AP1 PMI selftest pod will be executed.
Page 95
AP1 ISP connector selftest pod is necessary to use for testing 20 pins ISP connector of programmers. AP1 ISP connector selftest pod is available as standard accessory for BeeHive204AP and BeeProg2AP. The order number: 71-2007. Selftest can be executed once or multiply times. It can be selected in dialog, shown below.
Programmer / Calibration test Command executes test of programmer's calibration values using AP1 Calibration test pod, which is standard accessories for BeeHive204AP and optional accessories for BeeProg2AP. The order number: 71-2008. There are tested voltage levels of TTL drivers, VCCP, VPP1 and VPP2 voltages on each pin of PMI.
Page 97
PG4UW Check box Show "Load recent project" dialog on program start sets the dialog to appear on application PG4UW start. Dialog Load recent project contains list of recent projects (project history). User can quickly select and load any of the projects from list, or close the dialog without loading of project file.
Page 98
Elnec s. r. o. In the panel Programmer internal speaker sound settings is possible to set sound options for some programmers with built-in internal speaker. Sound beeps are then generated from internal programmer speaker after each device operation for indicating device operation result good or bad result.
Page 99
PG4UW Create none content of Log window is not copied to Log file, i.e. all reports will be displayed to Log window only Rewrite deletes old Log file and creates new one during each start of control program Append default, adds Log window reports into existing Log file. If file does not exist, the new file will be created Checkbox Add date information to Log file name (to create new log file each new day) allows user to have different Log file for each day.
Page 100
Elnec s. r. o. Job Report contains following information: project name project date Protected mode status PG4UW software version programmer type and serial number start time of executing the Job (it means time when Load project operation was performed) end time of executing the Job (time of creating the Job Report)
Page 101
PG4UW Example 2: Let's use the conditions from Example 1, but assume there is already one report file present. Name of this file is d:\job_reports\job_report_000_myproject.jrp The final Job Report file name of new report will be: d:\job_reports\job_report_001_myproject.jrp Note: The order inside file name is incremented by 1. When Automatically save Job Report file setting is set, no Job Report dialogs appears when generating Job Report.
Page 102
Elnec s. r. o. Address setting applies for PG4UW (Client) only. Port setting applies for PG4UW (Client) and also for Server application. Default settings allow using remote control on one computer (address localhost). PG4UW (Client) and remote control Server have to be installed on the same computer.
Page 103
PG4UW Options / View / Device options before device operation Choose this command to enable/disable display of Device options before device operation is confirmed. Options / Protected mode Protected mode is special mode of program. When program is in Protected mode, there are disabled certain program operations (reset statistics...) and commands related to buffer content (load/save data to/from buffer, edit buffer...), device settings (edit device options, special options...) or device operations (device read...).
Page 104
Elnec s. r. o. Activate this option, if you wish to disable also viewing of buffer content in Protected mode. In this case, we recommend activating also option Encrypt project file (with password). For details see File / Save project.
Page 105
PG4UW Mode…, password dialog appears. User has to enter password twice to confirm the password is correct. After successful password confirmation program switches to Operator mode. Checkbox Keep "Load project" operation allowed is set to inactive state by default - it means the Load project operation button and menu will be disabled when Operator mode is active.
Page 106
Elnec s. r. o. Multi-projects Multi-project is special feature which provides possibility to run any sequence of operations with any device, based on informations saved during creation of sub-projects and multi- project itself. In practice, using Multi-projects you are able to: comfortably program multi-chip devices configure and run any sequence of device operations (e.g.
Page 107
PG4UW Select of sub-projects and build final Multi-project file Load of existing Multi-project file Start device operation of recent Multi-project Note: Existing Multi-project file can be loaded from main menu of PG4UW using menu File / Load project or from Multi-project Wizard by Load multi-prj command. Multi-project Wizard contains following controls: Button Load multi-prj is used for load of existing Multi-project file.
Page 108
Elnec s. r. o. Note: There is possible to create Multi-project from any classic project files. So association with Master device is not mandatory. It is only on user's consideration how to combine correct sub-devices (sub-projects) into one Multi-project. This feature can be especially useful when using ISP programming of devices in JTAG chain with different projects defined.
PG4UW For multiprogramming by PG4UWMC or standalone programmer: Load Multi-project by Load project menu. Run wished device operation by one of available device operation buttons (Blank, Verify, Program, Erase); mostly Program device operation is used. Selected device operation is executed as sequence of sub-project loading and consequent sub-device programming for each sub-device defined in Multi-project.
Page 110
Note: Information provided in this manual is intended to be accurate at the moment of release, but we continuously improve all our products. Please consult manual on www.elnec.com. Help / Supported devices This command displays list of all devices supported by at least one type of all supported programmers.
Page 111
PG4UW Help / Create problem report Command Create problem report is used for writing more particular diagnostic information to Log window and consequently for creating a Problem report information file from Log window. The created file can be opened and content can be read by any text editor. Problem report file is useful when problem appears during device programmer usage and kind of the error is so complicated, that user can not resolve it oneself and he must contact programmer manufacturer.
Page 113
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 114
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 115
Button Help Button is used to display this help. Button Start remote control of BeeHive204AP/BeeProg2AP The button is available for automated programmers only and only if Use Site #1 project for all Sites in PG4UWMC Settings dialog/Multiprogramming/Project options is checked. It is used to start remote control of PG4UWMC interface.
Page 116
Elnec s. r. o. Additional serialization file is always placed to the directory "serialization\" into the control program's directory. Example: Project file name: my_work.prj Control program's directory: c:\Program Files\Programmer\ The additional serialization file will be: c:\Program Files\Programmer\serialization\my_work.prj.sn Additional serialization file is created and refreshed after successful device program operation.
Page 117
PG4UWMC 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) manually by user, when menu "File / Job Report" is used The Job report is generated for recently loaded project file, only when statistics value of Total is greater than 0.
Page 118
Elnec s. r. o. support to customize Start-End device addresses. Some devices (for example NAND FLASH) have customizable sector or page count/range, and the "whole device" means range of device specified by these options. Device / Program This command executes device programming. The control program reports a result of this action by messages in INFO window and LOG.
Page 119
PG4UWMC Note: Red colored programmers indicate that there are some sites which are expected to be present, but cannot be found. These sites are listed in "Not found" column. Otherwise the column is hidden. Programmer / Credit box info The menu item Credit box info provide all necessary information about Credit box (boxes) attached to the PC: type, serial number, information about activation and about credits available.
Page 120
Elnec s. r. o. Keep "Load project" operation allowed is set to inactive state by default - it means the Load project operation button and menu will be disabled when Operator mode is active. If the option is enabled (checked), the Load project operation button and menu will be allowed in Operator mode.
Page 121
PG4UWMC Options / General options PG4UWMC General options dialog is used to set or display configuration options of PG4UWMC. panel Multiprogramming There is table which contains following columns: column Sites contains checkboxes with Site numbers #1, #2, #3, #4 used to enable/disable using individual Programmer Site with specified Site number column Serial number S/N contains information about serial numbers for Programmer Sites column Site name...
Page 122
Elnec s. r. o. which allows to program different data to different types of devices at the same time in each Site. Checkbox Auto-load recent project(s), when connecting Sites When checked, recent project(s) are automatically loaded every time programmer Sites (their PG4UWs) are started and connected to PG4UWMC.
Page 123
PG4UWMC operation results. Multiprogramming system generates few of Log files. One main Log file of program PG4UWMC and Log files for each of running Programmer Sites. Each Site has its own one Log file. The name of Site's Log file has the same prefix as the name of Log file specified in edit box Log file.
Page 124
Elnec s. r. o. text included in Log file will be truncated. When the option is unchecked, the size of Log file is unlimited, respectively is limited by free disk space only. option Maximum Log file size specifies the maximum size of Log file in kB.
Page 125
PG4UWMC Job Report dialog settings are in dialog PG4UWMC Settings (menu Options / Settings) in tab Job Report. Following options are available for Job Report: 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...
Page 126
Elnec s. r. o. When Automatically save Job Report file setting is set, no Job Report dialogs appears when generating Job Report. Newly generated Job Report is saved to file without any dialogs or messages (if no error occurs while saving to file).
Page 127
PG4UWMC new device and runs last executed operation without pressing any key or button. An insertion of device into ZIF is displayed on the screen. Repeated operation executing will be canceled by pressing key <Esc> during waiting for insert/remove a device to/from ZIF. This feature may not be available for some types of programmers.
Page 128
Elnec s. r. o. 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. If the program detects removal of a device from ZIF socket, then the status LED goes off, but the LED Busy is still blinking to indicate readiness of the program to repeat last operation with new device.
Page 129
PG4UWMC Timer refresh rate defines how often the PG4UWMC program will request status information from running Programmer Sites. Status information means current device operation type, progress, result and so on. Current status information is displayed in main window of PG4UWMC. The default timer refresh rate value is 200ms. If you wish faster refresh of status information displayed in Operation panel of PG4UWMC, select shorter refresh interval.
Page 130
Elnec s. r. o. Check box Enable Count down sets Count down activity (enable or disable). Edit box following the Count down check box defines initial number of count down counter, from which count down starts. Statistics & Count down dialog can be also opened by pressing right mouse button on Statistics panel or Count down panel and clicking displayed item Statistics &...
Page 131
PG4UWMC Typical configuration of remotely controlled multiprogramming system running on two computers Installation During installation, the Network Mode feature will not be installed by default. You have to activate executing installation procedure with command-line parameter /networkmode (e.g. Start / Run / C:\pg4uwarc.exe /networkmode). After some initial screens, an option to include installation of PG4UWMC Network Agent and selection of Programmers Group will appear.
Page 132
Elnec s. r. o. Installation procedure – customized...
Page 133
PG4UWMC Installation procedure with checked Installation of PG4UWMC Network Agent and selected name of Programmers group This way should PG4UW be installed on each computer on network which is considered to work in Programmers group. Each computer in Programmers group must have PG4UWMC Network Agent running in background.
Page 134
Elnec s. r. o. Installation procedure with checked Installation of PG4UWMC Network Agent and selected name of Programmers group We are on network, thus we need to set network path to project file, and log file. Configuring PG4UWMC read project from network, save logs to network paths.
PG4UWMC Search for programmers Evaluate what was found Check the legend (for help what to do) Resolve problems to meet restrictions Enable, Disable, Move, Remove programmers as you desire Apply changes or Cancel. Search in Programmers group on network From this point, working with PG4UWMC should be as usual. Troubleshooting If searching programmers does not finish as expected, please check following: each computer in Programmers group must run PG4UWMC Network Agent with same...
Page 136
Help. Note: Information provided in this manual is intended to be accurate at the moment of release, but we continuously improve all our products. Please consult manual on www.elnec.com. Since the Help system is continuously updated together with the control program, it may contain information not included in this manual.
Page 137
PG4UWMC Troubleshooting Serial numbers For successful using of multiply programmers, correct serial numbers must be specified for each used programmer in panel Serial numbers. If there is empty field for serial number, application PG4UW for the programmer Site won't start. When PG4UWMC application is searching for connected programmers in "Search for programmers"...
Common notes Maintenance We recommend following 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.
Software PG4UW is common control program for all of the Elnec programmers. During work with this SW you can find some features and menu items that are not available for currently selected programmer.
Page 141
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 142
Elnec s. r. o. pg4uw.exe /demo /<programmer name> where <programmer name> has to be replaced by name of wished programmer as it is used in PG4UW control program. Remote command line control of PG4UW PG4UW can accept set of commands from the command line (command line parameters). The remote control can be achieved also by these command line parameters, but more efficient way is to use special tool pg4uwcmd.exe, which has many advantages.
Page 143
Common notes Command /writebuffer is used to write block of Bytes to PG4UW main buffer at specified address. Write buffer command has one block of data required and other block(s) of data (marked with [...]) optional. Please do not use spaces or tabs in the command. Buffer address is always defined as Byte address, it means, that for buffer organization x16, the address AAAAx16 in buffer has to be specified in command /writebuffer as 2*AAAA (x8).
Page 144
Elnec s. r. o. Example 1: /writebufferex:1:7FF800:12,AB,C5,D4,7E,80 The command is equivalent to command /writebuffer:1:7FF800:12,AB,C5,D4,7E,80 described in section about command /writebuffer. Example 2: /writebufferex:2:2F:12,AB,C5,D4,7E,80 The command writes 6 Bytes 12H ABH C5H D4H 7EH 80H to secondary buffer with index “2” at address 2FH. The addressing looks like following:...
Page 145
Common notes Example 3: Using pg4uwcmd.exe in batch file and testing return code of pg4uwcmd.exe. rem ------- beginning of batch ------------------------- @echo off rem Call application with wished parameters pg4uwcmd.exe /program:noanyquest /prj:c:\emproject.eprj rem Detect result of command line execution rem Variable ErrorLevel is tested, value 1 or greater means the error occurred if ErrorLevel 1 goto FAILURE echo Command line operation was successful goto BATCHEND...
Elnec s. r. o. /autoconnectsites The command forces PG4UWMC to connect programmer Sites (start control program PG4UW for each Site) during start of PG4UWMC, for all Site-s that were used, when PG4UWMC was recently closed. There is also equivalent option "Auto-connect Sites" available in "Settings"...
Page 147
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. Please, read some notes for following recommended circuits.
Page 148
Elnec s. r. o. Elnec recommended circuit for ATMEL AVR: ISP connector target device target system DATA IN DATA OUT RESET target VCC check only 1N4148 100k MOSI MISO RESET 1u/10V ATMEL AVR reset circuit Elnec recommended circuit for AT89Sxxx:...
Marginal verify is used after programming. Programmer must verify the program memory ® contents at both minimal and maximal power supply, therefore VDD pin of PICmicro must be isolated from rest of target system during programming. Elnec recommended circuit for PICmicro: ISP connector target device target system DATA...
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! E-mail - Use "DEVICE PROBLEM REPORT"...
If yes, download the file pg4uwarc.exe and install the new version of the control program. Contact Elnec direct, filling up a "Device Problem Report" form following the instructions at the end of this form. We may need detailed data sheets of your target device and, if possible, samples.
Page 153
Troubleshooting and warranty 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 BeeHive204AP and is the answer not in the manual?
Questions and answers