Home

User`s Manual for - Sos electronic s. r. o.

image

Contents

1. c cccccceeeeteeeeeeeeeeeeeee 124 If you have an unsupported target AeVICE ccccceeceeeceeeeeeeeeeeeeeaeeeeeneeeeeeeeeeeeaeeesecaeeeseeeesenaees 125 Warranty terms rnent doan adaa ii aana AAA de ede eae ea caida lade 125 GN C 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 lt gt e g lt F1 gt Terminology used in the manual Device any kind of programmable integrated circuits or programmable devices ZIF socket Zero Insertion Force socket used for insertion of target device PMI Programmer Module Interface connectors used for insertion programming module to programmer Buffer part of memory or disk used for temporary data storage Printer port type of PC port parallel which is primarily dedicated for printer connection USB port type of PC port serial which is dedicated for connecting portable and peripheral devices HEX data format format of data file which may be read with standard text viewers e g byte 5AH is stored as characters 5 and A which mean bytes 35H and 41H One line of this HEX file one record contains start address and data bytes All records are secured with checksum ELNEC s r o Introduction Fo Introduction This user s manual covers these ELNEC programmers BeeHive204AP and BeeProg2AP BeeHive204AP is the core for automa
2. Load project file with name c myfile eprj loadfile c filename with spaces bin Load file c filename with spaces bin to buffer Program switch forces start of Program device operation automatically when program is starting or even if program is already running also one of following optional switches can be used switch noquest forces start of device programming without question switch noanyquest forces start of device programming without question and after operation on device is completed program doesn t show Repeat operation dialog and goes directly into main program window Examples 1 Program 2 Program noquest 3 Program noanyquest Close this parameter has sense together with Program parameter only and makes program to close automatically after device programming is finished successfully Close always this parameter has sense together with Program parameter only and makes program to close automatically after device programming is finished no matter if device operation was successful or not Eprom_Flash_Autoselect xx forces automatic select EPROM or FLASH by ID when program is starting or even if program is already running xx means pins number of device in ZIF socket this time are valid 28 or 32 pins only and it is required just for older programmers without insertion test capability For others programmers is the value ignored Basic rules for using of executive command line parameters
3. 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 To avoid damage of PCB in programmer mounting screws must be maximum 8mm depth in programmer 40 E bp LNEC Setup 41 ELNEC s r o Pg4uw 42 MENEG ro 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 The control program delivered by ELNEC included on the CD in your package is granted to be free from any viruses at the moment of delivery To increase their safety our programs include a special algorithm for detecting possible virus infections Run the control program In Windows environment double click to icon Pg4uw F After start control program Pg4uw automatically scan all existing ports and search for the connected any ELNEC programmer Program Pg4uw is common for all the ELNEC programmers hence program try to find all supported programmers Notes When Pg4uw is started program is checked for its integrity Than the program display a standard user menu and waits for your instructions If the control
4. MENEG ce basic part optional part Comment meaning is basic part Basic part defines buffer address and array of bytes to write to buffer Basic part must be always defined after label in line optional part Optional part defines the second array of bytes and buffer address to write to buffer One optional part can be defined after basic part of data label1 labeln labels Labels are identifiers for each line of input file They are used for addressing each line of file The labels should be unique Addressing lines of file means the required start label entered by user defines line in input file from which serial values reading starts addr Addr defines buffer address to write data following the address byte0 byten byted 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 Data bytes are written to buffer from address addr to addr n The process of writing particular bytes to buffer is byteO to addr byte to addr 1 byte2 to addr 2 byten to addr n Optional part is delimited from the first data part by character comma and its structure is the same as in the first data part i e address and following array of data bytes Characters with special use labels must be defined inside square brackets character which delimiters bas
5. 1 command line parameters are not case sensitive 2 command line parameters can be used when first starting of program or when program is already running 3 if program is already running then any of command line operation is processed only when program was not busy no operation was currently executing in program Program must be in basic state i e main program window focused no modal dialogs displayed no menu commands opened or executed 4 order of processing command line parameters when using more parameters together is defined firmly as following Load project Pri Load file Load file EPROM Flash select by ID Program device Program switch Close of control program Close only together with parameter Program CGN Available command line parameters for starting program Pg4uw in demo mode 114 So Common notes Demo mode is useful in situations when no programmer device is available Demo mode can be used by clicking button Demo in dialog Find programmer or by command line parameter demo Recommended usage of the parameter is Pg4uw exe demo lt programmer name gt where lt programmer name gt 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
6. Biannual maintenance Perform the Selftest plus for every programmer or programming module 112 ee C Common notes Annual maintenance Gently clean the surface of the programmer with isopropyl alcohol or technical alcohol on a soft cloth Perform the calibration test if the programmer supports this feature Warning The ZIF socket of the programming modules are considered as consumables The life cycle of the programming module ZIF socket is generally from 5 000 to 10 000 mechanical cycles even if the life cycle of some specialized BGA ZIF sockets can be about 500 000 mechanical cycles Programmed devices environment and ZIF socket maintenance have direct influence to actual electrical lifetime of ZIF socket it means that ZIF socket does not cause programming failures yet Keep fingers away from contacts of ZIF socket because contacts of the ZIF socket fouled by smear and grime from fingers may cause the programming failures Change the ZIF socket or the socket converter if you noticed increased number of programming failures The warranty does not apply to the ZIF sockets that are wear or grimy and which cause large amount of failures during working with programmer 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 file
7. E l_L gt _ s 7 gt SSSSS S S SS S z 54 ENEG Paauw an even number of bytes If the conditions do not fulfill the program modifies addresses itself start address is moved on lower even address and or end address is moved on higher odd address Following swap modes are available user can select from 1 Swap 2 bytes inside 16 bit words swap of byte pairs inside 16 bit words 2 Swap 4 bytes inside 32 bit words swap of byte foursomes inside 32 bit words 3 Swap nibbles inside bytes swap of high and low nibbles inside each byte Examples of swap operation in buffer 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 bO b1 b3 bOm 0001h b1 bO b2 bim 0002h b2 b3 b1 b2m 0003h b3 b2 bO b3m 0004h b4 b5 b7 b4m 0005h b5 b4 b6 b5m 0006h b6 b7 b5 b6m 0007h b7 b6 b4 b7m bO b1 b2 means original buffer byte values from addresses 0 1 2 bOm b1m b2m means nibble swapped original bytes bO b1 b2 by following rules Original Byte bits bit7 bit6 bitS bit4 bit3 bit2 bit1 bitO Nibble swapped Byte Bits bit3 bit2 bit1 bitO bit7 bit6 bitS bit4 Buffer Erase If this command is selected the content of the buffer will be filled with topical blank character The reserved key
8. 2 Target system earth 3 Earth from external device Direction of connect ELNEC ISP programmer to target system During in system programming you connect two electrical devices ISP programmer and target system Unqualified connection can damage these devices Note When you don t keep below directions and you damage programmer during in system programming it is damage of programmer by unqualified manipulation and is out of warranty 1 Turn off both devices ISP programmer and target device 2 Assign same GND potential for all devices e g connect GND of all devices by wire 3 Insert one connector of ISP cable to ISP programmer turn on programmer and control program 4 In control program select target device and operation options 5 Start action on target device read program 6 After direction of control program connect other ISP cable connector to target system and turn on it 7 After direction of control program disconnect other ISP cable connector from target system and turn off it 8 If you need another action on target device you continue with step 5 The recommendation for design of target system with ISP programmed device The target system must be designed to allow all signals which are use for In system programming to be directly connected to ISP programmer via ISP connector If target system use these signals for other function is necessary isolated these signals Target system mustn t affect these si
9. individual projects to be loaded after running each Pg4uw Project file names can be entered manually or by dialog Select project file which can be opened for each Site by clicking on button placed on the right side of each project edit line If the project name edit line is blank the automatic project load will not be performed Checkbox Use Site 1 project for all Sites Checkbox Use Site 1 project for all Sites placed under the Sites numbers and Projects table When there is requirement to program the same device types with the same data the checkbox should be checked e If the checkbox is checked the project file for Site 1 will be used also for all other Programmer Sites In this mode all Sites are using the same shared buffer of project data and program the same device type e 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 104 dNea Patni project data which allows to program different data to different types of devices at the same time in each Site Checkbox Automatic YES Automatic YES checkbox when checked Automatic YES is set on for all programmers For more details about Automatic YES feature see Programmer Automatic YES This feature may not be available for some types of programmers Panel Timer refresh rate settings Timer refresh rate defines how often the Pg4uwMC program
10. 04 06 08 OA Odd 00 01 02 03 04 05 01 03 05 07 09 OB 1 4 00 01 02 03 04 05 00 04 08 OC 10 14 2 4 00 01 02 03 04 05 01 05 09 0D 11 15 3 4 00 01 02 03 04 05 02 06 OA OE 12 16 4 4 00 01 02 03 04 05 03 07 OB OF 13 17 Terms explanation Access to device address ADDR is written as Device ADDR Access to buffer address ADDR is written as Buffer ADDR ADDR value can be from zero to device size in bytes _ _ _ gt gt ___ E EE _ SS 62 MENEG ce All addresses are byte oriented addresses group Insertion test insertion test default ENABLE If enabled the programmer checks all pins of the programmed chip if have proper connection to the ZIF socket continuity test The programmer is able to identify the wrong contact misinserted chip and also partially backinserted chip Device ID check error terminates the operation default ENABLE Programmer provides ID check before each selected action It compares read ID codes from device with ID codes defined by device manufacturer In case of ID error control program behaves as follows 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 Note 1 Some old chips don t carry electronic ID Note 2 n some special cases
11. 3 5kg 7 7 Ib e operating temperature 5 C 40 C 41 F 104 F e operating humidity 20 80 non condensing 16 SBE BeeProg2AP BeeProg2AP ELNEC s r o Introduction BeeProg2AP is the core for automated programmers and automatic test equipments ATE It is a 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 BeeProg2AP is an industrial version of BeeProg2 programmer for usage in automated programmers The differences are the dimensions of the BeeProg2AP programmer are reduced compared to the BeeProg2 It is important mainly for implementation into ATE machines more mechanically stable case to be immune against vibration during operation The case of BeeProg2AP is prepared to be fastened from top or from bottom of programmer body into automated programmer working place For ISP programming only the case of BeeProg2AP can be fastened from left side too different construction of programming modules stable enough for insert replace chips by mechanical arm and also that allow to keep identical position of ZIF socket also after replacing of the module BeeProg2AP can be implemented into automated programmer or ATE machine as ISP programmer identically as BeeProg2 programmer using of standard PC BeeProg2AP can be connected to the control PC of automate
12. ALL Button is used to stop currently running device operations on all connected Programmer Sites 103 KN ELNEC s r o Button Help Button is used to display this help Pg4uwMC Settings dialog Multiprogramming Log file Job Report Sounds BeeHive4 multiprogramming system Sites Serial number Project file Device in project file Site 1 534 00001 c mx29F040 test pri Macronix MX29F040 V Site 2 534 0002 V Site 3 534 00003 V Site 4 534 00004 Automatic YES Timer refresh rate O Use Project settings J 200ms Always on O Never on v Use Site 1 project for all Sites Z ox X Cancel a Help Pg4uwMC Settings dialog is used to set or display following options e table containing information settings for Programmer Sites Site numbers Site serial numbers Site associated Project files checkbox Use Site 1 project for all Sites checkbox Automatic YES panel Timer refresh rate settings panel Log file settings Table containing information settings for Programmer Sites On the top of Pg4uwMC Control panel is table which contains three columns e column Sites contains checkboxes with Site numbers 1 2 3 4 used to enable disable using individual Programmer Site with specified Site number e column Serial number contains information about serial numbers for Programmer Sites e column Project file contains edit lines Project 1 Project 2 Project 4 for setting
13. Help Calls Help lt F2 gt Save Save file lt F3 gt Load Load a file into the buffer lt F4 gt Edit Viewing editing of buffer lt F5 gt Select default Target device selection from 10 last selected devices list lt Alt F5 gt Select manual Target device selection by typing device vendor name lt F6 gt Blank Blank check lt F7 gt Read Reads device s content into the buffer lt F8 gt Verify Compares contents of the target device with the buffer lt FQ gt Program Programs target device lt Alt Q gt Exit without save Terminates the Pg4uw lt Alt X gt Exit and save Terminates the Pg4uw and saving settings too lt Ctril F1 gt Displays additional information about current device lt Ctril F2 gt Erase Fill s the buffer with a given value lt Ctri Shift F2 gt Fill s the buffer with random values File 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 by binary MOTOROLA MOS Technology Intel extended HEX Tektronix ASCII space JEDEC and POF format The menu commands for loading and saving projects are located in this submenu too File Load Analyse file format and loads the data from specified file to the buffer You can choose the format desired binary MOTOROLA MOS Technology Tektronix Intel extended HEX ASCII space JEDEC and POF The control program stores a last valid mask for file listing You
14. 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 The samples will be returned to you after we include your target device in a new version of Pg4uw Warranty terms The manufacturer ELNEC s r o Presov Slovakia gives a guarantee on failure free operating of the programmer and all its parts materials and workmanship for three year BeeHive204AP and BeeProg2AP from the date of purchase This warranty is limited to 500 insertion of programming module to Programming Module Interface connectors 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 For repair within the warranty period the customer must prove the date of purchase 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 The warranty does not apply to products that are of wear and tear or mechanically damaged Equally the warranty does not apply to products opened and or repaired and or altered by personnel not authorized by ELNEC or to products that have been misused abused accidentated or that were i
15. and VPP2 voltages on each pin of PMI Result of the Calibration Test can be saved into file and or printed for next use Programmer Common notes Serial numbering Table bellow is showing differences between old and new serial numbering of programmers new numbering old numbering 050 00xxx 050 xxx 050 01 xxx 950 xxx 050 02xxx 850 xxx 050 03xxx 750 xxx Options The Options menu contains commands that let you view and change various default settings Options General options General options dialog allows user to control and set variety of Pg4uw program options The options can be saved to Pg4uw configuration file when closing Pg4uw application or anytime by command Options Save options File options File options page allows you to set options for erase buffer before loading auto reload of current file and recognition method of file formats for loaded files Erase buffer before loading option sets erasing buffer with desired value automatically before loading of data file In group When current file is modified by another process can be set mode of reloading of actually loaded current file There are three choices e Prompt before reloading file e Reload automatically e Ignore change scanning of current file There are three situations when file modification is tested e switching to the control program from another application e selecting the device operation Verify or Program e when repeat of last device operation i
16. assumed that the user has some experience with PCs and installation of software Once you have installed the control program we recommend you consult the context sensitive HELP within the control program rather than the printed User 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 current one will be out of date ELNEC s r o yit y Table of contents How to use this manual Ezisirerii aa iea e at ie E E R e a e 3 Introduction a6 Products configuration wal PC requirements 3428 Free additional S rvices sissisodan aed Ree iw an ete a iets 8 BeeHive204 AP E TREE desde E E A A dace cece suc akaesevsceuen sztcscdcovese soy PEE SEN 10 Mariao iLer AA EAE E ET A E T E E can divus leeveecsst gusesauacn qari 11 BeeHive204AP elements cc cccccccceeeeneeeeeneeeceaeeeeeaaeeeseaeeeceeaeeeseaaeeessaaeeeseaeeseeaaeeseeaeeeeneeeeeaees 13 Selftest and calibration check ccccccceseceeeeeeeeeeeeeeeeeaeeeseeaeeeseaeeeseaeeeeeeaeeeeeeaeeetenaeseseeeeeeeeeenas 14 Technical specifications sssini lel ata an ao tiene 16 BeeProg2 AP E EE EAE A A E E E SE VE EOT 17 lintroduCtion v AE EE A P EEE E EA ete ee E A EE EA 18 BeeProg2AP element ccccccccceeeseeeseeeeeeeeneeecesaeeeeeaaeeesen
17. before first programming has special function When the checkbox is checked program Pg4uw will ask user for entering correct project checksum before allowing to start the first device programming The checkbox has effect after loading of project file which was saved with the checkbox checked Usage of the checkbox is recommended for additional check that correct project file is recently loaded There is also recommended to use this checkbox along with active Protected mode the first checkbox Set Protected mode of software after loading of this project file checked Project information consists of e manufacturer and name of the first device selected in the project e date and time of project creation e user written description of project it can be arbitrary text usually author of project and some notes The first upper window contains information about currently selected project file in dialog Save project The second middle windows displays information about actual program configuration including currently selected device active programmer date time These actual program settings are used for creation of project description header The third bottom window is user editable and contains project description arbitrary text which usually consists of project author and some notes gt ECE ES S gt gt gt p p np _ a aSs _ _ _ _ _ _ _ 50 GELNEG Pg4uw File Reload file Choo
18. burning allows us to provide a three year warranty on parts and labor for the BeeProg2AP limited to 500 insertion of programming module to Programming Module Interface connectors BeeProg2AP elements 1 Programmer Module Interface PMI connectors 2 work result LEDs 3 power sleep LED of site 4 ISP connector 5 nuts for fastening BeeHive204AP to upper plate 6 programming module fixating screws Right top view to BeeProg2AP 19 ELNEC s r o 7 power supply connector 8 type B USB connector for PC lt gt 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 10 Rear view to BeeHive204AP Selftest and calibration check If you feel that your programmer does not react according to your expectation please run the programmer ISP connector selftest using AP1 PMI selftest pod AP1 ISP connector selftest pod enclosed with the standard delivery package Selftest of programmer e Insert AP1 PMI selftest pod into Programmer Module Interface PMI connectors of the programmer e Run selftest of programmer in Pg4uw Programmer Selftest plus AP1 PMI selftest pod 20 Op BeeProg2AP Selftest of ISP connector e Insert AP1 ISP connector selftest pod into Programmer Module Interface PMI connectors of the programmer e Interconnect 20 pins connector of AP1 ISP connector selftest pod with an ISP con
19. can enable or disable procedures according to your needs Jam Player executes only marked procedures Other procedures are ignored Number of procedures is different it depends on Jam file Variables Jam file of version 1 does not know statements action and procedure Program flow starts to run instructions according to boolean variables with prefix DO_something Jam Player executes all marked DO_something cases in algorithm Number of variables procedures is constant it does not depend on Jam file If you need some new boolean variables with prefix DO_something then contact us OK Accept selected action with appropriate procedures which are marked Information It displays information about Jam file You can preview Notes and source file in dialog Device according to Jam file File is made for a specific device Device name is found in Jam file in part NOTE identifier DEVICE Device name must be identical with name of the device selected in dialog Select 82 SE Pg4uw ELNEG a device When devices are different software will indicate this situation by warning message during start of the Jam Player JAM file information dialog Information pem Notes Source File Identifier Text CREATOR QUARTUS Il JAM COMPOSER 4 0 DATE 2004 03 22 DEVICE EPM70644E FILE c4_epm70644ELC44_10 pot TARGET 1 IDCODE 170640DD USERCODE FFFFFFFF CHECKSUM OOOEBCEC SAVE_DATA DEVICE_DATA SAVE_DATA_VARIABLES 0 412 413 425 A43 A9
20. 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 Example 1 writebuffer 7FF800 12 AB C5 D4 7E 80 Writes 6 Bytes 12H ABH C5H D4H 7EH 80H to buffer at address 7FF800H The addressing looks like following the first Byte at the lowest address Buffer Address Data 7FF800H 12H 7FF801H ABH 7FF802H C5H 7FF803H D4H 7FF804H 7EH 7FF805H 80H Example 2 writebuffer 7FF800 12 AB C5 D4 7E 80 FF0000 AB CD EF 43 21 the first block of data the second block of data Writes two blocks of data to buffer The first block of data 6 Bytes 12H ABH C5H D4H 7EH 80H are written to buffer at address 7FF800H in the same way as in Example 1 The second block of data 5 Bytes ABH CDH EFH 43H 21H are written to buffer at address FFOOOOH The addressing looks like following the first Byte at the lowest address Buffer Address Data FFOOOOH ABH FF0001H CDH FF0002H EFH FF0003H 43H e 116 eo Common notes FF0004H 21H 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 The INDEX parameter specifies the or
21. display additional information about the current device use button Device info or an lt Ctrl F1 gt key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device You can find here package information and other general information about current device too The currently displayed device list can be saved to text file by pressing button Save currently displayed list to file Select device All This window allows selecting the desired type of the device from all devices supported by current programmer Supported devices are displayed in a list box Device can be select by double click on a line from list with desired manufacturer name and device number or by entering manufacturer name and or device number in a search box use a key lt Space gt as a separation character and press lt Enter gt or click OK button Press a key lt Esc gt or click Cancel button at any time to cancel device selection without affecting the currently selected device Selected device is automatically saved to buffer of default devices This buffer is accessible with Device Select from default devices command If you wish display additional information about the current device use button Device info or an lt Ctrl F1 gt key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules wh
22. feature If the device does not support a chip ID and manufacturer s ID a message will be displayed indicating this as an unknown or not supported device 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 lt Enter gt or click OK button Press a key lt Esc gt or click Cancel button at any time to cancel device selection without affecting the currently selected device Warning The control program only support this time EPROM s and Flash with 28 and 32 pins Any of programmers determines pins number automatically For other programmers you must enter this number manually The programmer applies a high voltage to the appropriate pins on the socket This is necessary to enable the system to read the device ID Do not insert into the socket a device that is not an EPROM or Flash It may be damaged when the programmer applies the high voltage We don t recommend apply this command to 2764 and 27128 EPROM types because most of them ID not supports 61 ELNEC s r o Device Device options All settings of this menu are used for programming process serialization and associated file control Device Device options Operation options All settings of this command are used for programming process control This is a flexible environment which co
23. file name is incremented by 1 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 92 pe se Pg4uw ELNEQ 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 Example of typical Job Report dialog is shown bellow Remote control Remote control of Pg4uw control program allows to control some functions of Pg4uw application by other application This is very suitable feature for integrating device programmer to mass production handler system or other useful application Remote application that controls Pg4uw acts as Server Program Pg4uw acts as Client Communication between Pg4uw and remote control program is made via TCP protocol this allows the Pg4uw to be installed on one computer and remote control application to be installed on another computer and these computers will be connected together via network Default TCP communication settings for remote control are Port telnet Address 127 0 0 1 or localhost Address setting applies for Pg4uw Client only Port setting applies for Pg4uw Client and also for Server ap
24. for industrial environment One BeeHive204AP control unit in the system serve as a master unit Here is running also multiprogramming control software serialization engine and interface to the host system Interfacing of BeeHive204AP control units is done over standard LAN and external LAN switch Interfacing of BeeHive204AP master control unit and host systems is over LAN or RS232 other interface on request Implementation of BeeHive204AP into available 3rd party automated programmers and handlers is using simple remote control of the Pg4uwMC control software There exist examples of implementation for standard programming languages and of course we are ready to help customer with this task Note For other standard parameters of BeeHive204AP programmer see description of BeeHive204 please BeeHive204AP programming modules have schematics identical like modules for BeeHive204 programmer but these modules are mechanically designed for perfect stability 11 FAI ELNEC s r o yi pee at the top of the programmer and also in intent to keep identical position if the programming module is exchanged There are available programming module for device in PLCC SOIC PSOP SSOP TSOP TSSOP TQFP QFN MLF BGA and other packages BeeHive204AP programmer is driven by comfortable and easy to use control program which work with all versions of MS Windows from Windows XP to Windows 7 64 bit It is important to reme
25. if exist some special errors Programmer Selftest plus Command executes a selftest plus of current programmer using AP1 PMI selftest pod which is included in standard delivery of programmer Recommendations how often run Selftest plus you can find at Maintenance section Programmer Self test ISP connector Command executes a selftest of ISP connector of current programmer using AP1 ISP connector selftest pod AP1 ISP connector selftest pod is used 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 Sequence for testing 20 pins ISP connector 1 Insert AP1 ISP connector selftest pod into PMI connectors of the programmer 2 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 1 1 2 2 20 20 3 Run selftest of ISP connector in Pg4uw Programmer Selftest ISP connector 87 met ELNEC s r o We recommend run this test every 6 months 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 BeeProg2AP The order number 71 2008 There are tested voltage levels of TTL drivers VCCP VPP1
26. position In edit mode Forward from the current position or start of buffer to the end of the buffer is the default Backward searches toward the beginning In view mode searches all buffer Origin specifies where the search should start Find amp Replace dialog box Enter the search string in the Text to find string input box and enter the replacement string in the Replace with input box In Options box you can select prompt on replace if program finds instance you will be asked before program change it Origin specifies where the search should start 53 my iil ELNEC s r o Direction box specifies which way you want to search starting from the current cursor position In edit mode Forward from the current position or start of buffer to the end of the buffer is the default Backward searches toward the beginning In view mode searches all buffer Press lt Esc gt or click Cancel button to close dialog window By pressing Replace button the dialog box is closed and a Question window is displayed This window contains following choices Yes replaces found item and finds next No finds next item without replacing current one 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 F9 go to address F10 change mode view edit F11 switch the mode of buffer data view between 1 bit
27. program cannot communicate with the programmer an error message appears on the screen including error code and description of possible reasons disconnected programmer bad connection power supply failure incompatible printer port Eliminate the error source and press any key If error condition still exists the program resumes its operation in the demo mode and access to the programmer is not possible If you cannot find the cause of the error follow the instructions in Troubleshooting section In addition the control program checks communication with programmer prior to any operation with the programmed device 43 ELNEC s r o Description of the user screen Windows program Pg4uw PG4UW v2 77b 03 2011 universal control program for Elnec programmers File Buffer Device Programmer Options Help P H Sd SF SF HEV g Load Save Load prj Save prj View Edit Select def Select Blank Read Verify Program Erase o h 2h dy eee Fae a _ Programmer activity log gt gt 24 03 2011 09 32 35 Scanning port s for 5l AV Rprog Waiting for re enumeration 7s al Scanning port s for BeeHive4d Site Scanning port s for BeeHived Site 1 Scanning port s for BeeHive204 Site 1 4 Scanning port s for BeeHive204AP Site 1 Scanning port s for BeeHiveSS Site 1 Scanning port s for BeeHive2085 Site 1 Scanning port s for BeeProg Scanning port s for BeeProg Scanning port s for BeeProg2 S
28. programmed one by one the serial number value is changed for each device automatically and inserted into buffer before programming device so each device has unique serial number There are three types of serialization e Incremental mode e From file mode e Custom generator mode 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 disabled Actual serialization settings for actually selected device are saving to disk along with associated device by File Exit and save command When incremental mode is active following actual settings are saved to configuration file address size serial value incremental step and settings of modes ASCII BIN DEC HEX LS byte MS Byte first When from file mode is active following actual settings are saved to configuration file name of input serialization file and actual label which indicates the line with actual serial number in input file When program is in multiprogramming mode multiple socket programmer is actually selected the special section Action on not programmed serial values due to error is displayed in dialog Serialization In this section two choices are ava
29. project file name without prefix prj 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 Pg4uwMC can handle from 1 to 8 programmer sites One programmer site means one ZIF socket module 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 dialog serial numbers of programmers are detected automatically User does not need and can not specify serial numbers by himself Communication error s while searching for programmers If some kind of communication error s occurs please close all Pg4uw applications and Pg4uwMC and then start Pg4uwMC and click button Connect programmers to start Pg4uw applications for each Site and connect programmers All programmers are connected correctly but unstable working If communication with programmers is lost randomly during device operatio
30. running E _ _ _ _ _ Bnh9 _ _ S S S S SEs Z 97 ANN ELNEC s r o e 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 If Automatic YES function is turned on no Repeat dialog is displayed after device operation is completed but Automatic YES window will appear The window shows status of programmer socket and notice about removing of programmed device and inserting of new device to programmer socket After inserting of new device multichip device operation sequence will start automatically For more details about Automatic YES function please take a look at Programmer Automatic YES For multiprogramming by Pg4uwMC or standalone programmer e Load Multi project by Load project menu e 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 The side effect of this concept is that device progress indicators are reset to 0 at beginning of each sub device operation so it looks li
31. save verify errors to file just from last verify action Before first write of new verify action is file deleted and created as new one e option Append verify errors from all verify actions are cumulated into the same file If file does not exist the new file will be created Box Error report file size limit contains settings that allow to set max number of verify errors saved to file It contains following options e Check box Stop verification after max number of errors reached If checked verify action will finish after Max number of errors will be written in file If not checked all verify errors are saved to the file e Edit box Max number of errors specifies number of verify errors that can be written to error file in one verify operation Log file This options associates with using of Log window All reports for Log window can be written into the Log file too The Log file name is Report rep as default The control program creates this file with name and directory specified in Log file name edit box Following Log file options are available e No default content of Log window is not copied to Log file i e all reports will be displayed to Log window only e New deletes old Log file and creates new one during each start of control program e Append 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 allows user to set date informatio
32. several microcontrollers don t provide ID if copy protection feature in the chip is set even if device ID check setting in control program is set to Enable group Command execution blank check before programming default DISABLE erase before programming default DISABLE 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 It contains following settings Enable target system power supply enables supplying of target system from programmer Supply voltage for target system is switched on before action with programmed device and is switched off after action finished If Keep ISP signals at defined level after operation is enabled then programmer will switch off supply voltage after pull up pull down resistors are deactivated Voltage supply voltage for target system Supply voltage range is from 2V to 6V Note The voltage value given to target system depends also on current flowing to target system To reach exact voltage supply for target system the proper Voltage and Max current values has to be defined The Max current value specified has to be as exact as possible equal to real current consumption of target system Max current maximum current consumption of powered target system Current consumption range is from 0 to 300mA Voltage ri
33. so buffer has to be Address Data 0000040 34CD 34AB 3434 3412 XXXX XXXX XXXX XXXX We can do this by following steps A write four RETLW instructions at address 40H to main buffer this can be done by hand editing buffer or by loading file with proper content The bottom 8 bits of each RETLW instruction are not important now because serialization will write correct serial number bytes at bottom 8 bits of each RETLW instruction The buffer content before starting device program will look for example as following Address Data 0000040 3400 3400 3400 3400 xxxx xxxx XXXX XXXX 8 bits of each RETLW instructions are zeros they can have any value B Set the serialization options as following S N size 4 Bytes Address 40H Start value 1234ABCDH Step 1 S N mode BIN Style HEX Save to buffer LS Byte first Check the option Split serial number at every N byte s and split value N set to 2 It means split of serial number to buffer at every second Byte The correct serial number is set tightly before device programming operation starts The buffer content of serial number when programming the first device is Address Data 0000040 34CD 34AB 3434 3412 XXXX XXXX XXXX XXXX That s it Example 3 Following example uses the same serialization options as Example number 2 instead the serial number split is set to 3 and 4 When Split serial number at every 3 byte s is set the buffer content will look as Byte buff
34. sound Panel Allow sound for following actions contains following options 89 FAN ELNEC s r o e 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 e 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 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 Errors This option allows to set a device verify errors saving to file When verify errors occur first 45 differences are written to Log window If user wants to save the verify errors data differences to file he can set options in section Save device verify errors to file to one of two methods cumulate errors from all verify actions to the same file or save errors to file just from last verify action Verify errors will be saved to file with name specified by Error file name edit box Following error report file options are available e option No default verify errors saving to file is disabled Errors are displayed just on screen e option New
35. starts to check the socket for new device inserted This interval is in seconds and must be from 1 to 120 default value is 2 seconds In Device insertion complete time is possible to set a time within all pins of the device have to be properly inserted after a first pin s detected so that the program will not detects incorrectly inserted device This interval is in seconds and must be from 1 to 120 default value is 5 seconds The Suspend on error defines if the Automatic YES function will be temporary disabled on error to see result of operation or will going on without suspension The options are set to defaults after new device is selected by Device Select device This setting is saved to disk by command Options Save options 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 Otherwise Automatic YES function will think the pins are still connected and it will not allow user to insert new device and start new programming Programmer Selftest Command executes a selftest of current programmer without AP1 PMI selftest pod We strongly recommend execute also Programmer Selftest plus of programmer because Selftest procedure without AP1 PMI selftest pod is not able to check whole programmer and to discover
36. 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 The Response time is interval between insertion of the chip into the ZIF socket and the start of selected device operation If longer positioning of the chip in the ZIF socket is necessary select elongated response time Programming adapter used shows name of adapter used with currently selected device Pins of programmer s ZIF excluded from sensing contains list of pins that will be ignored from testing by Automatic YES The reason to ignore the pins is mostly capacitors connected to these pins Button Setting Automatic YES parameters will run wizard that can detect permanently connected pins pins with capacitors and set these pins to list of pins excluded from sensing After selecting of device list of excluded pins contains default excluded pins for selected device adapter If other bypass capacitors to universal programmer and or device adapter are added by customer there is necessary to run Automatic YES parameters wizard to override default parameters and detect other pins with capacitors 86 2 Pg4uw ELNEG a In Device removal hold off time is time period between you removed device from the ZIF socket and the time when software
37. there are disabled certain program operation and commands that can modify buffer or device settings Protected mode is used for prevent operator from modify buffer or device settings due to insignificance Protected mode is suitable for the programming of a large amount of the same type of devices Protected mode function is available independently in single programming control software Pg4uw and in multiprogramming control software Pg4uwMC Protected mode in Pg4uw There are two ways how to switch program to Protected mode 1 by using menu command Options Protected mode This command displays password dialog User has to enter password twice to confirm the password is correct After password confirmation program switches to Protected mode The entered password is then used to switch off Protected mode 2 by reading project that was previously saved in Protected mode For details see File Save project To switch program from Protected mode to normal mode use the menu command Options Normal mode The Password required dialog appears User has to enter the same password as the password entered during switch to Protected mode Other way to cancel Protected mode of program is closing of program because program Protected mode is active until program is closed The next program start will be to Normal standard mode the only exception is case of project loaded by command line parameter name of project and the project was saved in Protec
38. unlimited respectively is limited by free disk space only e option Maximum Log file size specifies the maximum size of Log file in kB e option Amount of truncated text specifies the percentage of Log file text which will be truncated after Maximum Log file size is reached The higher value means more text will be truncated removed from Log file The Log file settings can be saved to disk by command Options Save options Job Report Job Report represents the summary description of operation recently made on device Job is associated with project file and it means the operation starting with Load project until loading of new project or closing program Pg4uw Job Report contains following information e project name e project date e Protected mode status e Pg4uw software version e programmer type and serial number e start time of executing the Job it means time when Load project operation was performed e end time of executing the Job time of creating the Job Report e device name e device type e checksum e device operation options 91 hi ARANT i ELNEC s r o e serialization information e statistics information Job Report is generated in following cases e user command Load project is selected e closing or disconnecting programmer sites is selected e closing the Pg4uw e device Count down counter reaches 0 finished status e manually by user when menu File Job Report is used The Job Report is
39. used for calculating checksum of buffer data e checked status user defined addresses are used to calculate checksum of buffer data e Fields From address and To address are used to enter address range for main checksum calculation Addresses are used only when checkbox Apply user defined buffer addresses for main checksum is checked Selection group Checksum type allows selecting wished kind of checksum to be used for main checksum More information about Main checksum types can be found bellow e Field Checksum contains actual value of recently calculated checksum e Button Apply is used to confirm checksum settings from Main checksum options Please note that once the button is pressed previous checksum settings are lost Button Close is used to close the Checksum dialog Group Exclude buffer data for checksum contains options for specifying blocks of buffer data which have to be excluded from checksum calculation This is useful for example for serialization Serialization modifies data at specified addresses in buffer So there is problem to check the checksum of buffer when data on some addresses are changed by serialization engine before programming of each device If part of buffer used for serialization is excluded from checksum calculation the checksum of buffer data will not be changed by serialization data changes One or more excluded blocks can be specified Tab Checksum calculator contains on demand checksum calculator It contains f
40. user specified Log file name by the following rules If user specified log file name has format lt user_log_file_name gt lt log_file_extension gt The name with added date will be lt user_log_file_name gt lt yyyy mmm dd gt lt log_file_extension gt 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 If do you wish to have log file name without any prefix before date information you can specify the log file name as lt log_file_extension gt dot is the first in file name Example User specifies Log file name c logs log The final log file name with added date will look like this have a date November 7th 2006 c Vogs 2006 nov 07 log Advanced options about Log file size limit are available too e option Use Log file text truncating when file size limit is reached when checked the Log file size limit is on It means that when Log file size reaches specified value the part of text included in Log file will be truncated When the option is unchecked the size of Log file is unlimited respectively is limited by free disk space only e option Maximum Log file size specifies the maximum size of Log file in kB e option Amount of truncated text specifies the percentage of Log file text which will be tru
41. 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 If you notice the system performance slow down when using faster refresh select higher refresh value to make refresh less often On the Pentium 4 computers there is almost no performance penalty depending on timer refresh rate but on slower computers it is sometimes useful to select longer less often timer interval Panel Log file settings are used to set mode of using Log file report Pg4uwMC Settings Multiprogramming Log file Job Report Sounds Log file settings O Rewrite Log file Append Log file Log file 1d Settings peter 4pplication Data Poduw reportme log Browse Add date information to Log file name Log files size limit v Use Log files text truncating when file size limit is reached Maximum Log file size 4000 kB 200 kB 200000 kB Amount of truncated text 65 v X Cancel Log file is text file containing information about Pg4uwMC control program operation flow which means information about loading project files device operation types and device operation results Multiprogramming sy
42. 2 494 A95 A50 STAPL_VERSION JESD71 JAM_VERSION 2 0 ALG_VERSION 35 Cancel Notes statements are used to store information about the Jam file The information stored in NOTE fields may include any type of documentation or attributes related to the particular Jam program Source file contains a program in Jam language Jam program consists of a sequence of statements Jam statement consists of a label which is optional an instruction and arguments and terminates with a semicolon Arguments may be literal constants variables or expressions resulting in the desired data type i e Boolean or integer Each statement usually occupies one line of the Jam program but this is not required Line breaks are not significant to the Jam language syntax except for terminating comments An apostrophe character can be used to signify a comment which is ignored by the interpreter The language does not specify any limits for line length statement length or program size More information can be found on the website http Awww altera com Jam file with extension jbc is Jam STAPL Byte code format which is not visible Converting JED file to Jam STAPL file for XILINX devices install Xilinx Integrated Software Environment ISE 6 3i software free download WebPACK_63_fcfull_i exe 6 3 _02i_pc exe 315MB or so run Xilinx ISE 6 Accessories iIMPACT in dialog Operation Mod Selection What do you want to do first choose Prepare Co
43. 8 F es 2 5 a 2al age Hal E o w D n Elo oO xX 5 2 fo w iN gt no 7 D D 2 5 IZ O Ss 8 2 a E s D C Sial i E a x T lt lt BeeHive204AP e e e 1x 1x 1x 4x e e e e BeeProg2AP e e e e e e e e e e Before installing and using your programmer please carefully check that your package includes all next mentioned parts If you find any discrepancy with respective parts list and or if any of these items are damaged please contact your distributor immediately nL ELNEC s r o PC requirements Minimal PC requirements OS Windows space MB 2x BeeHive204AP C2D 2 6GHz BeeHive204AP 2000 BeeProg2AP 2000 Recommended PC requirements OS Windows free disk space MB 2x BeeHive204AP C2Quad 2000 BeeHive204AP 1000 BeeProg2AP 1000 These PC requirements are valid for 2 77 03 2011 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 Very easy indication if your PC in hardware software configuration is good enough for the current software version and current situation with Pg4uw Pg4uwMC is to run Windows task manager Ctrl Alt Del and see the performance folder It have to be max
44. 80 of CPU usage at full run of programming system Free additional services Why is it important to use the latest version of the control program e Semiconductor manufacturers continuously introduce new devices with new package types manufactured by new technologies in order to support the need for flexibility quality and ee C Introduction speed in product design and manufacturing To keep pace and to keep you up to date we usually implement more than 7000 new devices into the control program within a year e Furthermore a typical programmable device undergoes several changes during its lifetime in an effort to maintain or to improve its technical characteristics and process yields These changes often impact with the programming algorithms which need to be upgraded the programming algorithm is a set of instructions that tells the programmer how to program data into a particular target device Using the newest algorithms in the programming process is the key to obtaining high quality results In many cases while the older algorithm will still program the device they may not provide the level of data retention that would be possible with an optimal algorithm Failure to not use the most current algorithm can decrease your programming yields more improper programmed target devices and may often increase programming times or even affect the long term reliability of the programmed device e We are making mistakes too Our com
45. Button is used for build of new Multi project file which uses projects listed in table Sub projects Table 1 Sub projects Table contains list of projects that are included in recent Multi project Button Add project Button is used for adding of new project file s to list of project files in Table 1 e Button Remove project Button is used for removing of selected project file from list of project files in Table 1 Buttons Move up a Move down Buttons are used for moving of selected project in Table 1 one position up or down Projects are processed in specified sequence order the upper most 1 as first Button Help Shows this help Buttons of device operation Blank Verify Program Erase Buttons are used for running of selected device operation on all chips sub devices listed in table Sub projects One type of operation can be run at a time Following two basic actions have to be performed when using Multi project e Making building of Multi project or Multi project file e Using of Multi project for running of device operation Making building of Multi project or Multi project file Following steps are recommended when making Multi project file e Create classic projects one project for each sub device of multichip device Projects are created in the same way as projects for generic devices e select sub device according to required chip of multichip device 1 e set device parameters settings and load required device data to bu
46. EC programmer Start Menu folder Elnec Additional tasks Install Multiprogramming control support For Following programmers BeeHive2085 BeeHivedS BeeHive204 BeeHive2044P BeeHive4 BeeHive BeeProg2 BeeProg2AP BeeProg BeeProg Check your setting and then click on Install button 27 ELNEC s r o i Setup Einec Peduw Installing Please wait while Setup installs Elnec Pg4uw on your computer Extracting files C Program Files ELNEC_sw Programmerpa4uw exe Installation process will start Step 10 sy Setup Elnec Pgd4uw Completing Elnec Programmers Software Setup Wizard Setup has finished installing Elnec Pa4uw on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup Click Finish button to finish setup 28 MENEG Se Step 11 For Windows Vista only Program Compatibility Assistant This program might not installed correctly If this program didn t install correctly try reinstalling using settings that are compatible with this version of Windows Ca Program Elnec Pg4uw Setup f Publisher Location E Downloads pg4uwarc236i exe Reinstall using recommended settings Cancel _ What settings are applied Click This program installed correctly New versions of programmer software In order to exploit all the capabilities of programmer we recomm
47. Eg o User s Manual for BeeHive204AP Extremely fast universal 4x 48 pindrive concurrent multiprogramming system core for automated programmer BeeProg2AP Extremely fast universal 48 pindrive programmer core for automated programmer ELNEC s r o Presov Slovakia 24 March 2011 it ELNEC s r o This document is copyrighted by ELNEC s r o Presov Slovakia All rights reserved This document or any part of it may not be copied reproduced or translated in any form or in any way without the prior written permission of 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 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 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 ELNEC s r o respects those trademarks COPYRIGHT 1991 2011 ELNEC s r o GN C ELNEC s r o How to use this manual This manual explains how to install the control program and how to use your programmer It is
48. Jam file Xilinx Xilinx ISE Webpack or Foundation software generates STAPL file or SVF file for use by utility SVF2Jam JAM player dialog Jam Player Action Variables Identifier Optional Recommended DO_ERASE DO_BLANKCHECK DO_PROGRAM DO_VERIFY DO_READ_UES DO_READ_USERCODE C DO_SECURE DO_SECURE_ALL v OK Cancel Information Help Device according to Jam file EPM70644E Jam Player version 1 see Action and Variables controls 81 ELNEC s r o Jam Player Action aea v Procedures Identifier Optional Recommended C DO_BLANK_CHECK DO_VERIFY C DO_SECURE C DO_LOW_TEMP_PROGRAMMING C DO_DISABLE_ISP_CLAMP C DO_READ_USERCODE Device according to Jam file EPM7064AE Jam Player version 2 see Action and Procedures controls Action Select desired action for executing Jam file of version 2 consists of actions Action consists of calling of procedures which are executed Jam file of version 1 does not know statements action and procedure therefore choice Action is not accessible Program flow starts to run instructions according to boolean variables with prefix DO_something If you need some new boolean variables with prefix DO_something then contact us Procedures Program flow executes statements from each procedure Procedures may be optional and recommended Recommended procedures are marked implicitly You
49. 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 USB driver We recommended install software before connecting programmer to PC to avoid unwanted complication during installation Software setup Insert delivered CD to your CD drive and install program starts automatically if not run setup exe Install program will guide you through the installation process and will do all the necessary steps before you can first run the control program Step 1 n to install sc software for programmers oag A set a d alone multiprogrammer View documentation Beatneabecnvesnh Oct sel afier multiprogrammers for programmers ammers bP Install V d iS Adobe Acrobat Reader i Step 2 Welcome to Elnec programmers software Setup Ca Please select the language that you would like to use during the installation of Elnec programmers software English Select language and than click on OK button 24 Setup Welcome to Elnec programmers software setup wizard Setup will install PG UW PG4UWMC universal control program For Elnec programmers version 2 77 03 2011 It is recommended that you close all other applications before continuing In case of unusual behaviour during the installation please check your antivirus Firewall configuratio
50. again and install new USB drivers 31 ELNEC s r o Installation to target system This chapter contains mechanical drawing of BeeHive204AP and BeeProg2AP and other information needed for installation BeeHive204AP and BeeProg2AP to target system BeeHive204AP On picture bellow are overall dimensions of BeeHive204AP with programming modules 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 BeeHive204AP with dimensions 32 SRS Setu ELNE lf 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 If USB connector and power cable are connected to right side connectors total width of programmer will be 310mm length of B type USB connector on USB cable Total depth of programmer may be 310mm 50mm Q Mounting USB cable to case and length of USB connector with cable bending For proper connection DC adapter to programmer arrow on cable connector must be oriented to arrow on programmer connector Arrows on power supply connectors This connector has locking mechanism to avoid unwanted disconnection For disconnecting is needed pull locking collar on cable connector 33 ELNEC s r o BeeHive204AP can be mounted on base
51. al number are set to zero After this action the number is always inside 0 1FFFFFFF interval this is basic style of overflow handling Step Step options specify the increment step of serial value incrementation S N mode S N mode option defines the form in which serial value has to be written to buffer Two options are available e ASCII e Bin ASCII means the serial number is written to buffer as ASCII string For example number 0528CD is in ASCII mode written to buffer as 30h 35h 32h 38h 43h 44h 0 5 2 8 C D i e six bytes Bin 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 Style Style option defines serial number base There are two options e Decimal i _ _ _ _ E _ _ __ i a 7 gt S 66 SE Pg4uw ELNEQ i e Hexadecimal Decimal numbers are entered and displayed using the characters 0 through 9 Hexadecimal numbers also use characters A through F The special case is Binary Dec which means BCD number style BCD means the decimal number is stored in hexadecimal number i e each nibble must have value from 0 to 9 Values A to F are not allowed as nibbles of BCD numbers Select the base in Style options before entering numbers of serial start value and ste
52. and 8 bit view It can be also doing by mouse clicking on the button to the right of View Edit mode buffer indicator This button indicates actual data view mode 1 bit or 8 bit too Arrow keys move cursor up down right and left Home End jump on start end current line PgUp PgDn jump on previous next page Ctrl PgUp PgDn jump on start end current page Ctrl Home End jump on start end edit area Backspace move cursor one position left back Note Characters 0 and 1 immediately changes content of edit area Buffer Fill block Selecting this command causes filling selected block of buffer by requested hex or ASCII string Sets start and end block for filling and requested hex or ASCII string Buffer Copy block This command is used to copy specified block of data in current buffer on new address Target address needn t be out from source block addresses Buffer Move block This command is used to move specified block of data in current buffer on new address Target address needn t be out from source block addresses Source address block or part will be filled by topical blank character Buffer Swap block This command swaps a high and low order of byte pairs foursomes or nibbles inside bytes depending on swap mode selected by user Swap operation is performed on buffer block specified by Start and End addresses This block must start on even address and must have gt gt gt gt a _
53. at is written into the buffer when the Calculate amp insert operation was executed Insert address Address in buffer where a result of chosen checksum is written when the Calculate amp insert was executed Address can not be specified inside the range lt From address gt to lt To address gt Address is always defined as Byte address e Size Size of chosen checksum result which will be written into the buffer A size of inserted checksum may be Byte 8 bit Word 16 bit or DWORD 32 bit If size is smaller then selected checksum size only lower byte s of checksum value will be written into the buffer Note f Word size was selected a low byte of checksum value will be written on address specified in box Insert address and a high byte will be written on address incremented by one Similarly it is for DWORD Byte order mode for Word and Word CY checksums box This box contains setting of byte orientation in words summed for Word and Word CY checksums Available settings are Little endian and Big Endian Description of both settings is in section Word sum Little Endian x16 and Word sum Big Endian x16 of Automatic checksum calculator help Calculate button Click on the button Calculate starts calculating checksums for selected block in buffer No writes into the buffer are executed Calculate amp insert button Click on the button Calculate amp insert starts calculating checksums for selected block in the buffer and w
54. ative to parent playlist serialization file Example of playlist serialization file following file header is required FILETYPE Pg4uw SERIALIZATION PLAYLIST FILE j references to serialization data files nav1 file1 dat nav2 file2 dat nav3 file3 dat label n filex dat end of file For more detailed and fully functional example of serialization type From file playlist look the example files placed in the Pg4uw installation directory in Examples subdirectory as following lt Pg4uw_inst_dir gt Examples Serialization fromfile_playlist_example The typical path can look like this C Program Files EInec_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 select dialog from menu Device Device Options Serialization 5 Set the From file mode and in the panel From file mode options select our example serialization file fromfile_playlist ser 6 click the OK button to accept the new serialization settings 8 run Program device operation You can see at the serialization indicating labels in the main window of Pg4uw and also in info progress window during device programming and repeating of programming Additional operatio
55. be used when E command line parameter is specified it means no zero Last serial value in dialog Serialization is specified T11 lt message gt Less important warning or message The serialization will not be interrupted 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 The data from dat file are immediately read to internal programmer buffer and used as data for programming device Also next serial number information record T02 is remembered in Pg4uw Typical flowchart of device programming is following 1 Start of programming batch 2 Device insertion test 3 Serialization sequence consists from four steps call of serialization generator with proper command line parameters to generate serialization dat file waiting for serialization dat file to be available reading of serialization dat file data to programmer buffer the data will be used for programming device delete serialization dat file after reading of data from it Device programming Device verification Operation result check This is fully managed by Pg4uw control program Serialization generator does not have to do any operation according to operati
56. ble Disable socket checkbox array allows user to set enabling and disabling of each socket individually Disabled sockets are ignored for any device operation Programmer Automatic YES This command is used for setting Automatic YES mode In this mode you just take off the programmed device then put new device into ZIF socket and a last operation will be repeated automatically Program automatically detects an insertion of a new device and runs last executed operation without pressing any key or button An insertion of device into ZIF socket is displayed on the screen Repeated operation executing will be cancelled by pressing key lt ESC gt during waiting for insert remove a device to from ZIF socket 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 After the program indicates one or more pins of new device in the ZIF socket the BUSY LED will goes to light continually From this the program will wait a requested time for insert the rest pins of new device If a requested time Device insertion complete time overflows and a device is not correctly inserted the program will lights the ERROR LED to indicate this
57. by fax please use black ink a good pen and large letters easily to read Then call your local dealer or ELNEC customer support center phone number in the control program menu Help About Please keep your manual the programmer and the completed DEVICE PROBLEM REPORT form just faxed available so that you can respond quickly to our questions e If your programmer is diagnosed as defective consult your local dealer or ELNEC about the pertinent repair center in your country Please carefully include the following items in the package e defective product e completed DEVICE PROBLEM REPORT form e photocopy of a dated proof of purchase Without all these items we cannot admit your programmer to repair Note You may find the DEVICE PROBLEM REPORT form e at our Internet site www elnec com section Support Problem report a 124 Troubleshooting and warrant GELNEQ Troubleshooting and warranty If you have an unsupported target device If you need to operate on a target device not supported by the control program for programmer please do not despair and follow the next steps e Look in the device list of the latest version of the control program on our Internet site section Download file corresponded to your programmer Your new target device might already be included in this version If yes download the file Pg4uwARC exe and install the new version of the control program e Contact ELNEC direct filling up a Device
58. cal maximum programming speed BeeHive204AP is an industrial version of BeeHive204 programmer for usage in automated programmers The differences are the dimensions of the BeeHive204AP programmer are reduced compared to the BeeHive204 in intent to minimize overhead of the handler s arm movement more mechanically stable case to be immune against vibration during operation The case of BeeHive204AP is prepared to be fastened from top or from bottom of programmer body into automated programmer working place different construction of programming modules stable enough for insert replace chips by mechanical arm and also that allow to keep identical position of ZIF socket also after replacing of the module Two BeeHive204AP units can be attached to one control PC to better utilize programming workplace Elnec offer Windows XP Embedded driven BeeHive204AP control unit which is able serve two BeeHive204AP programmers BeeHive204AP can be implemented into automated programmer as a replacement of obsolete programmer or into some handler by two ways 1 using of standard PC for example 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 2 using BeeHive204AP control unit option Up to 2 BeeHive204AP programmers are controlled by BeeHive204AP control unit The BeeHive204AP control unit is Windows XP Embedded driven computer optimized
59. can save the mask into the config file by command Options Save options The reserved key lt F3 gt will bring out this menu from any menu and any time Note for special x16 formats Intel HEXx16 is Intel Hex file format with 16 bits data word for TMS320F devices Motorola HEXx16 is Motorola file format with 16 bits data word for TMS320F devices Checking the check box Automatic file format recognition tells program to detect file format automatically When program can t detect file format from one of supported formats the binary file format is assumed When the check box Automatic file format recognition is unchecked program allows user to manually select wished file format from list of available file formats on panel Selected file e 46 MENEG con format Default set is from Options General options in panel Load file format at tab File options Attention Program doesn t know recognize files in ASCII Hex format automatically it recognizes them as binary So download files in ASCII Hex format with disabled option for automatic file format recognition 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 Opt
60. canning port s for BeeProg2AP Scanning port s for JetProg Scanning port s for LabProg Scanning port s for MEMprog Scanning port s for MEMprog2 Scanning port s for MEMprogL Statistics Scanning port s for PIKprog Sucat Scanning port s for PIKprog a Ol eer a 5 Other failure 0 Scanning port s for PIKprog2 Scamming port s for PREPROM O2aLV z1 W213 RFF Total 0 Scanning port s for SEEprog Scanning port s for SmartProg Ol Reset statistics Scanning port s for SmartProg2 Scanning port s for TSlprog a Ol Scanning port s for T5lprog2 Cnc Died v Reload Count down Addresses hex Programmer Org Size End Type BeeProg2AP Statu Device x8 200000 1FFFFF Port Buffer x8 200008 1FFFFF YES Manual File x8 Device CheckSum 1FE00000h x8 A 5 Adapter AP1 PSOP44 ZIF 600mil NOR 2 Serialization None Note See also Device info lt Ctrl F1 gt Split None To customize device use menu View editt list of sectors lt Alt 5 gt Filename Toolbars Under main menu are placed toolbars with button shortcuts of frequently used menu commands Toolbars are optional and can be turned off by menu command Options View Log window Log window contains the flow control progress information about almost every operation made in Pg4uw Operation can be e starting of Pg4uw e programmer search e file project load save e selection of devi
61. ce LU yyy YSt_ _VT7W1WT1 1 _W 1_7 1 1 1 _ __ __ 44 pe se Pg4uw ELNEQ e device operations device read blank check programming e remote control application connection and disconnection e and other Content of Log window can be saved to file concurrently while information is written to Log window This option can be set by menu Options General options and tab Log file in dialog General options 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 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 e Split menu Device Device options Operation options e Serialization menu Device Device options Serialization e Checksum menu Buffer Checksum at section Checksum displayed in main window Panel Programmer Panel Programmer contains information about currently selected programmer The information includes e programmer type e port via programmer is connected to computer e programmer status can be one of following e Ready programmer is connected successfully found and ready to work e Not found programmer is n
62. ce operation options special options and some level of safety features It completely defines the way how to treat with the device Once saved it can be reloaded anytime and the operation can be repeated exactly 95 FAN ELNEC s r o 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 The Wizard also allows to start device operation according to projects sub devices included in Multi project More information about Multi project Wizard is described bellow Multi project Wizard Multi project device operation requires Multi project file which contains partial sub projects associated to sub devices chips of Master device Multi project file can be created in Multi project Wizard The Wizard has following main functions e Select of sub projects and build final Multi project file e Load of existing Multi project file 1 e Start device operation of recent Multi project Note 1 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 e Button Load multi prj Button is used for load of existing Multi project file Button Build Multi project
63. ce program operation The only requirement for creating additional serialization file is load project with serialization turned on 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 I Load project The dialog Save project contains three additional windows in Project description panel placed at the bottom of dialog Save project The windows are for displaying information about currently selected project file in dialog Save project and information about current project which has to be saved Dialog Save project contains also additional checkboxes and button with picture of key displayed The first checkbox named Set Protected mode of software after loading of this project file and button with key are used to save project in special mode called Protected mode Clicking on the button with key displayed password dialog appears which is used to specify Protected mode password of recently saving project Projects saved with active Protected mode checkbox and password are special projects also called Protected mode projects For more detailed information about Protected mode projects see Options Protected mode The second checkbox named Require project file checksum
64. ctor must be oriented to arrow on programmer connector o s Arrows on power supply connectors This connector has locking mechanism to avoid unwanted disconnection For disconnecting is needed pull locking collar on cable connector BeeProg2AP can be mounted on base plate by 2 screws M3 or by 4 screw M4 bellow base plate Length of screw depend on base plate thickness 37 ELNEC s r o Drawing for mounting programmer on base plate Assembly holes n base plane when programmer s on base plate base plate programmer outline 23 5 E 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 38 Op EL NE Setup Drawing for mounting programmer bellow base plate Assembly holes n base plane when programmer is bellow base plate base plate programmer outline Hole for programming module 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 A 39 ELNEC s r o Drawing for mounting programmer with left side on base plate Assembly holes n base plane when programmer left s de s on base plate base plate programmer outline
65. d for setting project files extension used as default extension in File Load project and File Save project dialogs Buffer This page allows you to select Erase buffer before selecting of new device action This can be useful for some kind of special devices which require exact type of data at certain addresses and the data are not part of data file loaded to buffer for this device Buffer can be erased filled with default blank value for selected device or with custom defined value This can be controlled by selection group box Erase value and Custom erase value edit field Notes We do not recommend to use this function for large devices more than 8 MB because it can consume more time to make buffer erase The setting is saved to Pg4uw configuration file It is not saved to project file Language This page allows you to select another language for user interface such as menu buttons dialogs information and messages It also allows to select wished help file in another language For another language support of user interface the language definition file is required Sound Panel Sound settings page allows user to select the sound mode of program Program generates sounds after some activities e g activities on device programming verifying reading etc Program generates sound also when warning or error message is displayed User can now select sound from Windows system sound required installed sound card PC speaker or none
66. d loads the data from binary file from disk and it saves them into the part of memory reserved for an encryption security table File Save encryption table This command writes the content of the memory s part reserved for an encryption table into the file on the disk as a binary data 51 ELNEC s r o File Exit without save The command deallocates heap cancels buffer on disk if exists and returns back to the operation system File Exit and save The command deallocates heap cancels buffer on the disk if exists saves current setting of recently selected devices to disk and returns back to the operation system 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 Use arrow keys for select the object for edit Edited data are signified by color You can use lt F4 gt hot key also View Edit Buffer F1 display help of actual window F2 fill block causes filling selected block of buffer by requested hex or ASCII string Sets start and end block for filling and requested hex or ASCII string Ctri F2 erase buffer with specified blank value Ctrl Shift F2 fill buffer with random data F3 copy block is used to copy speci
67. d programmer too Up to 8 BeeProg2AP can be attached to one computer using USB hub or USB ports of the PC Implementation of BeeProg2AP into available 3rd party automated programmers and handlers is using simple remote control of the Pg4uwMC control software There exist examples of implementation for standard programming languages and of course we are ready to help customer with this task Note For other standard parameters of BeeProg2AP programmer see description of BeeProg2 please BeeProg2AP programming modules have schematics identical like modules for BeeProg2 programmer but these modules are mechanically designed for perfect stability at the top of the programmer and also in intent to keep identical position if the programming module is exchanged There are available programming module for device in PLCC SOIC PSOP SSOP TSOP TSSOP TQFP QFN MLF BGA and other packages Fe BeeProg2AP GENE eerrog 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 7 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 With our unique quick reaction to customer s needs software update can be ready within a day from request by OnDemand software Advanced design including protection circuits original brand components and careful manufacturing and
68. d project and without the project file name extension Example 1 Let s use the project file c myproject eprj and directory for Job Report set to d job_reports There are no report files present in the Job Report directory The final Job Report file name will be d job_reports job_report_000_myproject jrp 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 ob_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 Newly generated Job Report is saved to file without any dialogs or messages if no error occurs while saving to file If the checkbox Automatically save Job Report file is unchecked the Pg4uwMC 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 Pg4uwMC Log Window only 108 FINE Pg4uwMC Example of typical Job Report dialog is shown bellow Red Job Report Macronix MX29F040 Job Start Time 2008 10 09 13 07 00 Job End Time 2008 10 09 13 07 07 Job Elapsed Time 0 Hours 0 Minutes 7 Seconds Device Name Macronix MX29F040 Device Size 80000hx8 bit Ch
69. der of buffer where data will send The main buffer has index 1 The first secondary buffer has index 2 etc Please note the secondary buffer s is are available for some kinds of devices only e g Microchip PIC16F628 The kind of buffer indexed by parameter buffindex depends on order of buffer in application Pg4uw in dialog View Edit buffer For example device Microchip PIC16F628 has additional buffer with label Data EEPROM This buffer can be accessed for data write s by this function when buffindex 2 is specified 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 the first Byte at the lowest address Buffer Address Data 00002FH 12H 000030H ABH 000031H C5H 000032H D4H 000033H 7EH 000034H 80H Basic rules for using of executive command line parameters 1 program Pg4uwcmd exe must be located in the same directory as program Pg4uw exe 2 if Pg4uw exe is not running when Pg4uwcmd exe is called it will be automatically started 3 command line parameters are not case sensitive 4 command line parameters can be used when first starting of program or when program is already running 5 if program is already runn
70. device Address Data OO7FFFO xx xx XX XX XX XX XX XX XX XX XX XX 00 00 00 16 The 2nd device Address Data OO7FFFO xx xx XX XX XX XX XX XX XX XX XX XX 01 00 00 16 The 3rd device Address Data E ESE SE S Ei _ _ _ _ _ _ _ _ _ _ _ zZ 67 it Ady ae 9 ELNEC s r o OO7FFFO xx xx XX XX XX XX XX XX XX XX XX XX 02 00 00 16 etc xx mean user data programmed to device Serial numbers are written to device from address 7FFFCH to address 7FFFFH because serial number size is 4 bytes Example 2 Following example shows usage of SQTP serialization mode when serial number is split into RETLW instructions for Microchip PIC16F628 devices Note Serial quick turn programming SQTP is Microchip specified standard for serial programming of Microchip PIC microcontrollers Microchip PIC devices allows you to program a unique serial number into each microcontroller This number can be used as an entry code password or ID number Serialization is done by using a series of RETLW Return Literal W instructions with the serial number bytes as the literal data To serialize you can use Incremental mode serialization or From file mode serialization Incremental serialization offers serial number Split function Serial number split allows usage of incremental numbers separated into even or odd bytes and between each byte of serial number RETLW instruction code is inserted From file serialization is u
71. e Delay after reset active this parameter determine delay after Reset signal active to start action with device This delay depends on values of used devices in reset circuit of device and can be chosen from these values 10ms 50ms 100ms 500ms or 1s Inactive level of ISP signals this parameter determine level of ISP signals after finishing access to target device Signals of ISP connector can be set to Pull up signals are tied through 22k resistors to supply voltage or Pull down signals are tied through 22k resistors to ground Keep ISP signals at defined level after operation enables keeping set level of ISP signals after access to target device finished Control program indicates activated pull up pull down resistors by displaying window with warning After user close this window control program will deactivate resistors group Programming parameters This group is available for some types of devices It contains settings of which device parts or areas has to be programmed group Erase parameters This group is available for some types of devices It contains special settings of erase modes of selected device Device Device options Serialization Serialization is special mode of program When a serialization mode is activated a specified value is automatically inserted on predefined address into buffer before programming each m E gt E a E S S S A 64 FS Pg4 ELNEO alti device When more devices are
72. e Perform the Selftest plus for every programmer or programming module Quarterly maintenance Gently clean the surface of the programmer with isopropyl alcohol or technical alcohol on a soft cloth Perform the calibration test if the programmer supports this feature Daily use developing laboratory office Daily maintenance After end of the job cover the ZIF socket of the programming module It is also recommended to protect the ZIF socket of programming modules from dust and grime Weekly maintenance Check the ZIF socket of the programming modules for their condition and wear Remove debris dust and grime from the ZIF sockets with clean dry and compressed air Clean the ZIF sockets both in closed and opened position Quarterly maintenance Perform the Selftest plus for every programmer or programming module Biannual maintenance Gently clean the surface of the programmer with isopropyl alcohol or technical alcohol on a soft cloth Perform the calibration test if the programmer supports this feature Occasional use Daily maintenance After end of the job cover the ZIF socket of the programming module It is also recommended to protect the ZIF socket of programming modules from dust and grime Quarterly maintenance Check the ZIF socket of the programming modules for their condition and wear Remove debris dust and grime from the ZIF sockets with clean dry and compressed air Clean the ZIF sockets both in closed and opened position
73. eck box should be checked Otherwise it has to be unchecked the default state is unchecked If checked custom generator is called by Pg4uw control program after each device operation is completed no matter the result of device operation is OK or Error Parameters for generator are created by Pg4uw serialization engine Two parameters are used RESULT n TRUE FALSE where n is optional Programmer Site order number if multiprogramming is used TRUE means that device operation was finished OK FALSE means that device operation was finished with error N lt serial number gt specifies current serial number in the same way as for normal calling of serialization generator Custom generator program Custom generator program or serialization generator is program that will generate the unique sequence of serial numbers and write the serial data to serialization dat file This program is made by user The path and name of the serialization program must be specified in the Serialization options dialog in Custom generator mode options The program will be called from Pg4uw every time the new serial data have to be generated This is usually made before each device programming operation Pg4uw control program passes command line parameters to serialization program and serialization program generates serialization dat file which is read by Pg4uw control program Following command line parameters are used N lt serial number gt Specifies cur
74. ecksum OSFCE3ABh Byte sum x38 Device operation options Addresses Device start 0000000000 Device end 000007FFFF Buffer start 0000000000 Split None Insertion test Insertion test Disable Device ID check error terminates the operation Disable Command execution Erase before programming Disable Save amp Print Pg4uwMC Search for Programmers dialog si Search for Programmers Please select multiprogramming system from list bellow and click on button Search to start search for Programmers Multiprogramming system nx BeeHive204AP Search results Programmer 1 Programmer found 1 BeeHiv 2044P sin 1202 00005 x 7 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 When at least one programmer was found button Accept is enabled and user can click on it to accept new settings Command line parameters Program Pg4uwMC supports following command line parameters Iprj lt file_name gt Loads project file Parameter lt file_name gt means full or relative project file path and name 109 FAN ELNEC s r o There is also available to make Load project operation from command line by entering
75. ected manufacturer This window allows selecting the desired device type by manufacturer First select a required manufacturer in Manufacturer box using mouse or cursor keys It will cause a list of selected manufacturer devices will be displayed 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 lt Space gt as a separation character and press lt Enter gt or click OK button Press a key lt Esc gt or click Cancel button at any time to cancel device selection without affecting the currently selected device Selected device is automatically saved to buffer of default devices This buffer is accessible with Device Select from default devices command If you wish display additional information about the current device use button Device info or an lt Ctrl F1 gt key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device You can find here package information and other general information about current device too Device Select EPROM Flash by ID Use this command for autoselect an EPROM or Flash as active device by reading the device ID The programmer can automatically identify certain devices by the reading the manufacturer and the device ID that are burnt into the chip This only applies to EPROM or Flash that supports this
76. eesesaaeeeseaaeeesaeeesseaeesesaaeeseeaeeeseneeseeaees 19 Multiprogramming by BeeProg2AP c cccceececeeeneeeeeneeeeeeeeeseeaeeeseaeeesseaeeeseaeeeseeeeeeseaeeeseneeeeteaee 22 Selftest and calibration CHECK cccceeceeeeeeeeeeeeeeeeeeeeeaeeeeeeaeeeseeaeeeseaeeeeeeeeeeeeaeeesenaeeeseeeeeteeeeeae 20 Technical specification sisariston irasas eaea ct a ea e araa Sa Sa Ea ataa Gis aa aa ianao ateevdeenee 22 SD OUND EEEE TAE RTTA T AE A AE T EAO E OSTAT 23 Software Setup erain ieissar isuadadiescestassoedavacecadve u Sa EARN a di Naa deadanieigediusadseeduassenaetee 24 Hardware Setup niad a edi ea AEE EA EA a O ile a cee 29 eer E E E T AET A A E ES 42 Pg4uw the programmer SOfWALEC cccccececeeeeeeeneeeeeeeeeeeaeeeceaeeeeeaeeeseaeeeeceaeeeseeeeseeeeeeeseneeeeeaes 43 File a Sheela tele edged Mec daes E eaa aanas enna ened oaa aTa aa aa ad ohare dass 46 B ffet r araoa aa a aaa leila e a ala end te ee 52 Devi ei a alee a a aa a heal ae e aaa a eat eee 59 Programmera noire a I A A O E lee Sats E 85 OPUIONS ved EE EE T E A T cay du sie roan A T S 88 FOU A E E ET E E E A A EA T A A 98 Pg4uwMC 101 Common notes 111 Maintenance rz i saviehcvisd eee ceed lide eee diy laate levee velista ss sieved avons e shel deel hes tere 112 SOMWANG A E ET A E cay ded diac ndeva teh vei A ede 113 Hardware n se 119 ISP In System Programming Othmaan iiis 122 Troubleshooting and warranty 123 Troubleshooting
77. end current buffer Backspace move cursor one position left back Note characters 20H FFH mode ASCII and numbers 0 9 A F mode HEX immediately changes content of edit area 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 By default is set simple text editor Notepad exe which is standard part of all versions of Windows In Print buffer dialog are following options Block start Defines start address of selected block in buffer Block end Defines end address of selected block in buffer External editor This item defines path and name of external program which has to be used as text viewer for selected block of buffer By default is set simple text editor Notepad exe which is standard part 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 Find dialog box Enter the search string to Find to text input box and choose lt Find gt to begin the search or choose lt Cancel gt to forget it Direction box specifies which way you want to search starting from the current cursor
78. end 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 Setup will start with Step 2 from previous chapter Hardware setup When the programmer is connected to USB port before control program was installed Windows will detect new hardware and ask user to select driver installation method automatically or manually To detect programmer correctly control program installation CD must be inserted to computer s CD ROM drive and following steps have to be done 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 Step 4 Programmer turn on At this time all work result LEDs light up successive and then LEDs switch off 29 we Step 5 Windows will start with Found new hardware wizard For Windows XP Service Pack 2 users only Found New Hardware Wizard ELNEC s r o Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windo
79. er organization Address Data 0000080 CD xx xx AB xx xx 34 xx xx 12 XX XX XX XX XX XX Word16 buffer organization Address Data E S E SB ys gt sS E_ _E _ _ SS _ _ _ _ _ Z 69 my yi ELNEC s r o 0000040 xxCD ABxx xxxx XX34 12XX XXXX XXXX XXXX When Split serial number at every 4 byte s is set the buffer content will look as Byte buffer organization Address Data 0000080 CD xx xx xx AB xx xx xx 34 xx xx xx 12 Word16 buffer organization Address Data 0000040 xxCD xxxx xxAB XXXX xx34 XXXX XX12 XXXX Note When you are not sure about effects of serialization options there is possible to test the real serial number which will be written to buffer The test can be made by following steps 1 select wished serialization options in dialog Serialization and confirm these by OK button 2 in dialog Device operation options set Insertion test and Device ID check if available to Disabled 3 check there is no device inserted to programming module ZIF socket 4 run Device Program operation for some types of devices it is necessary to select programming options before programming will start 5 after completing programming operation mostly with some errors because device is not present look at the main buffer View Edit buffer at address where serial number should be placed Note Address for Serialization is always assigned to actual device organization and buffer organization that control prog
80. er s manual for any of our USB interfaced concurrent multiprogramming system programmer The basic description of the main parts of Pg4uwMC J Pesuwnic v2 77n703 2011 Muttiprogramming Control Panel File Device Programmer Options Help a3 we amp ya yo s 5 4 KA BeeHive204AP muitiprogramming system es Settings Load prj Blank Verify Program Erase Help Statistics Checksum Site 1 Site 2 Site 3 i Stone 2 7F80FFO0h ACTIVE ACTIVE ACTIVE Opr failure Other failure Next serial value BUSY S f Bus Total Rone R56 x ERROR Count down Status Disabled Osn Remains 0 of 0 0 Reload Count down M29 64 ON TS C C Ch 7F80FFO0h Ch 7F80FFO0h Ch 7F80FFO0h Ch 7F80FFO0h Status window Programmers activity log ializati LO137 Serialization Lote 10139 10140 Lott Lo142 10143 10144 10145 10146 p nme ve Run Blank L10147 X Disconnect programmers X Stop ALL lt Device AMD Am29LY640MH TSOP56 x16 Project file D workprog ELNEC temp programmer am29lv640mh_eprj Pg4uwMC main window Main window of Pg4uwMC consists of following parts 102 OE OF NEO Pg4uwMC Menu and tool buttons Menu and tool buttons allow access to most of Pg4uwMC functions Tool button Settings Button is used to open Pg4uwMC Settings dialog Settings dialog is described bellow Panels Site 1 Site 2 Panels are used to inform about e Programmer Site selected e Programmer S
81. ers they ask us for possibility to be used the same serialization software Therefore the Serialization data file is compatible with dat files of Complex serialization system available in BP Micro software 74 pi Pg4uw ELNEG e ee Note The data file is completely and periodically overwritten during device programming with serialization Be sure to enter the correct name of wished dat file Example c serial_files serial dat Serialization generator Specifies the path and name for the executable file which will generate serialization data file First serial number This option is required to specify the initial serial number that will be passed to custom generator serialization program 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 The generator is responsible for testing the value of last serial number and generate serial dat file with appropriate error information in the serialization dat file in case of current serial number greater then last serial number If the value of Last serial number is zero the value will not be passed to generator program Check box Call generator with RESULT parameter after device operation completed This new option has special purpose If there is requirement to call custom generator with special parameter RESULT the ch
82. es the programmed data of the all device or its part with data in buffer The control program reports a result of verify operation to Info window and Log window The menu command Device Device options Operation options allows to set another working area as the standard 79 FAN ELNEC s r o Setting in dialog General options menu Options General options in tab Errors allows to control how to write the found errors to user specified report file Also first 45 found errors are written to Log window Note e Verify operation compares content of the whole chip with the data in the software therefore it might happen in case of incomplete programmed chip the verification after programming shows none error but solo verify operation does not pass e 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 The menu command Device Device options Operation options allows to set another working area as the standard and set other operation options for programming process control Device Erase This command allows erasing the whole programmable device The program reports the end without error or end with the error by writes the warning report on the displa
83. feel that your programmer does not react according to your expectation please run the programmer ISP connector selftest using AP1 PMI selftest pod AP1 ISP connector selftest pod enclosed with the standard delivery package Selftest of programmer e Insert AP1 PMI selftest pod into Programmer Module Interface PMI connectors of the programmer e Run selftest of programmer in Pg4uw Programmer Selftest plus AP1 PMI selftest pod 14 Oy BeeHive204AP Selftest of ISP connector e Insert AP1 ISP connector selftest pod into Programmer Module Interface PMI connectors of the programmer e 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 1 1 2 2 20 20 e Run selftest of ISP connector in Pg4uw Programmer Selftest ISP connector AP1 ISP connector selftest pod Calibration test e Insert AP1 calibration test pod into Programmer Module Interface PMI connectors of the programmer e Run calibration test of programmer in Pg4uw Programmer Calibration test AP 1 calibration test pod 15 mith ELNEC s r o yi I Technical specification GENERAL e external power supply unit operating voltage 100 240V AC rated 90 264 VAC max 47 63 Hz e power consumption max 60W active e dimensions 310x205x61 mm 12 2x8 1x2 4 inch e weight programmer
84. ffer by Load file command in Pg4uw _ SSSSEEEEE E _ _ _ o _L_L__ _ LLL EEE 96 SE Pg4uw ELNEQ e optionally make test of device operation by running the device operation on device e if everything is OK the project file can be created by Save project command e Select Master multichip device the Multi project has to be used for After selection of multichip device Multi project Wizard is automatically opened e In Multi project Wizard add required projects by Add project button Each project represents one sub device of multichip device e After completing of sub project selection use button Build Multi project to create final Multi project file Program will prompt for name of new Multi project file Final Multi project file will contain all sub projects listed in Table 1 Sub projects Notes 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 Multi project Wizard can be opened by one of following actions e selecting of Master multichip device from Select Device dialog in Pg4uw e loading of created Multi project file e opening dialog Multi project Wizard directly from Pg4uw menu Options Multi project Wizard 1 Convent
85. fied block of data in current buffer on new address Target address needn t be out from source block addresses F4 move block is used to move specified block of data in current buffer on new address Target address needn t be out from source block addresses Source address block or part will be filled by topical blank character F5 swap bytes command swaps a high and low order of byte pairs in current buffer block This block must start on even address and must have an even number of bytes If these conditions do not fulfill the program modifies addresses itself start address is moved on lower even address and or end address is moved on higher odd address F6 print buffer F7 find string max length 16 ASCII characters F8 find and replace string max 16 ASCII chars F9 change current address F10 change mode view edit F11 switch the mode of buffer data view between 8 bit and 16 bit view It can be also doing by mouse clicking on the button to the right of View Edit mode buffer indicator This button indicates actual data view mode 8 bit or 16 bit too F12 checksum dialog allows to count checksum of selected block of buffer change mode view edit a 52 MENEG ce Arrow keys move cursor up down right and left Home End jump on start end current line PgUp PgDn jump on previous next page Ctrl PgUp PgDn jump on start end current page CtrltHome End jump on start end current device ShifttHome End jump on start
86. fies the serialization data format Following formats are supported now T03 50 or T03 55 ASCII Space data format T03 99 Intel Hex data format T04 indicates the serialization data will follow from next line to the end of file Serialization data are stored in one of standard ASCII data file formats for example Intel Hex ASCII Space and so on The format used for data must be specified by record T03 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 line T03 serialization data format after line T04 is Intel Hex line T04 serialization data which will be loaded to buffer of Pg4uw before programming device data are represented in Intel Hex format Optional records are T05 lt message gt Warning or error message This record causes the serialization is stopped and warning or error message is displayed in Pg4uw software TO6 Current serial number greater than limit _ SEEEEEEEEEE E _ _ _ _ _ _ __ LLL EE 76 pS GELNEO Eai This record causes the serialization is stopped and warning or error message is displayed in Pg4uw software The reason of turning serialization off is the current serial number is greater then allowed maximum ending serial number This record can
87. fter operation on device is completed program doesn t show Repeat operation dialog and goes directly into main program window Examples 4 Program 5 Program noquest 6 Program noanyquest Close This parameter has sense together with Program parameter only and makes program Pg4uw to close automatically after device programming is finished no matter if operation was successful or not Saveproject lt file_name gt The command is used to save currently selected device type buffer contents and configuration to project file Command Saveproject is _ _ SS S S S S _a_a aannana _ 115 ELNEC s r o equivalent to user selected command Save project in Pg4uw control program Eprom_Flash_Autoselect xx Forces automatic select EPROM or FLASH type by reading of electronic ID from the chip inserted currently in ZIF socket of programming module Optional parameter xx means pins number of device in ZIF socket this time are valid 28 or 32 pins only and it is required just for older programmers without insertion test capability For others programmers the xx parameter can be omitted because is ignored Examples Eprom_Flash_Autoselect Eprom_Flash_Autoselect 32 writebuffer ADDR1 B11 B12 B13 B14 B1N ADDR2 B21 B22 B23 B24 B2M 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
88. g and reprogramming of device positioned inside the end system Using a simple interface the ISP programmer communicates serially with the device reprogramming nonvolatile memories on the chip In system programming eliminates the physical removal of chips from the system This will save time and money both during development in the lab and when updating the software or parameters in the field Target device is the device microcontroller PLD etc which is to be in system programmed Target system is the physical Printed Circuit Board PCB which contains the device to be in system programmed ISP programmer is programmer which has in system programming capability for example BeeProg2AP BeeProg SmartProg2 T51prog2 PiIKprog2 General rules for in system programming We recommended respect following rules to avoid damage PC ISP programmer and target device or target system e Ensure common earth point for target system ISP programmer and PC e For laptop or other PC that is not connected to common earth point make hard wired connection from laptop to common earth point for example use LPT or COM port D connector e Any devices connected to target system must be connected to common earth point too 119 ait ELNEC s r o ye iu User PC ISP programmer l Target mema System s i 4 1 2 3 1 Earth connection to PC A Common earthing point
89. generated for recently loaded project file only when statistics value of Total is greater than 0 It means at least one device operation program verify must be performed Following options are available for Job Report Checkbox Enable Job Report function when checked the Job Report function is active enabled Otherwise the Job Report function is disabled Checkbox Automatically save Job Report file when 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_ lt ordnum gt _ lt prjname gt jrp where lt ordnum gt 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 lt prjname gt is project file name of recently used project and without the project file name extension Example 1 Let s use the project file c myproject eprj and directory for Job Report set to d job_reports There are no report files present in the Job Report directory The final Job Report file name will be d job_reports ob_report_000_myproject jrp 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_O00_myproject jrp The final Job Report file name of new report will be d job_reports iob_report_001_myproject jrp Note the order inside
90. gnals during 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 Please read some notes for following recommended circuits e Purpose of D1 diode is to protect the target circuit against a higher voltage which is provided by ISP programmer e If your target board supply differs from mentioned 5V choose please the Zener diode D1 voltage according to this supply voltage e We recommend to use resistors R1 R2 R3 to separate the target device from target system If pins needed for ISP programming are inputs in target system then separation by resistors is sufficient and resistors make a low pass filter too If pins are outputs then use of resistors saves a programming time Of course the isolation resistors R1 R2 R3 can be replaced by switches or jumpers if necessary In that case during the ISP programming of target device the switches jumpers must be open But the using of switches jumpers adds a next manipulation time to programming procedure 120 ee C Common notes Example of application note Microcontrollers Atmel AVR and AT89Sxxx series This interface corresponds with Atmel applicati
91. ible to choose device by name by type or by manufacturer Note 1 The names of the programmable devices in software don t contain all characters shown at the top of the chip or mentioned in the datasheet section part numbering The names contain all characters necessary to identification of the device but don t contain such codes that have none influence to the programming for example temperature code speed code packing type code etc If such code letter is at the end of the name is omitted if such code letter is in the middle of name then is replaced by character x Examples e Devices Am27C512 150 Am27C 512 200 and Am27C512 250 are shown in the software only once as Am27C512 e S29GL064N11TF1010 device is shown in the software as S29GLO64NxxTxx01 Note 2 f some device is listed twice and the second time with suffix x16 it means that programming algorithm provides faster word mode Selected device is automatically saved to buffer of default devices This buffer is accessible with Device Select from default devices command _ a ao lE gt E gt E gt _ _ SSSSSSSSSSSS Z 59 ELNEC s r o In the Search mask field you can enter mask for filtering of whole device list by device name manufacturer and or programming adapter names The space as delimiter of filter items fragments has OR function If you want to enter exact filter string including spaces use quotation mark character If you wish
92. ic part and optional part of data the semicolon character means the beginning of a comment All characters from to the end of line are ignored Comment can be on individual line or in the end of definition line Note e Label names can contain all characters except and J The label names are analyzed as non case sensitive i e character a is same as A b is same as B etc e All address and byte number values in input file are hexadecimal e Allowed address value size is from 1 to 4 bytes gt S gt gt S _ _ _ _ ii _ _ ih __ zZ 71 wey yi ELNEC s r o e Allowed size of data arrays in one line is in range from 1 to 64 bytes When there are two data arrays in one line the sum of their size in bytes can be maximally 80 bytes e Be careful to set correct addresses Address must be defined inside device start and device end address range In case of address out of range warning window appears and serialization is set to disabled None e Address for Serialization is always assigned to actual device organization and buffer organization that control program is using for current device If the buffer organization is byte org x8 the Serialization Address will be byte address If the buffer organization is wider than byte e g 16 bit words x16 the Serialization Address will be word address Example of typical input file for Classic From file
93. ice target system The reserved key lt Ctrl F1 gt will bring out this menu from any menu and any time immediately 84 MENEG ce 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 If a Search all is selected the control program finds all supported programmers Establish communication allows manual or automatic establishing communication for a new programmer Speed sets speed if a manual establishing communication is selected which PC sends data into the programmer Speed is expressed as a percent from a maximal speed Port selects a port which will be scanned for a requested programmer If All port is selected the control program scans all ports which are available on standard addresses Pressing key lt Enter gt 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 This setting is saved to disk by command Options Save options Programmer Refind programmer This menu command is used to refind reestablish communication with currently selected programmer To select other type of programmer prog
94. ich supported this device You can find here package information and other general information about current device too Select device Only selected type This window allows selecting the desired type of the device At the first you must select a device type e g EPROM and device subtype e g 64Kx8 27512 using mouse or cursor keys It will cause a list of manufacturers and devices will be displayed Device can be select by double click on a line from list with desired manufacturer name and device number or by entering manufacturer name and or device number in a search box use a key lt Space gt as a separation character and press lt Enter gt or click OK button Press a key lt Esc gt or click Cancel button at any time to cancel device selection without affecting the currently selected device Selected device is automatically saved to buffer of default devices This buffer is accessible with Device Select from default devices command If you wish display additional information about the current device use button Device info or an lt Ctrl F1 gt key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device _ EEEEEEE _ EE _ _ gt LE z 60 oe Pg4 GELNEO ali You can find here package information and other general information about current device too Select device Only sel
95. ilable e Ignore not programmed serial values e Add not programmed serial values to file Ignore not programmed serial values means the not programmed serial values are ignored and no action is done with them Add not programmed serial values to file means the not programmed serial values are added to file The file of not programmed serial values has the same text format as serialization file for From file serialization mode So there is possible to program the serial values later on by From file serialization mode Notes f device programming is stopped by user program will not change the serial values ready for next batch of devices The same situation is if device program is incomplete e g for device insertion test error Ignoring or writing not programmed serial values is only used when at least one device from current batch of devices in multiple socket module programmer is completely programmed and verified without errors Serialization can work with control program s main buffer or extended buffers available for some types of devices for example Microchip PIC16Fxxx devices with Data EEPROM Memory The selection which buffer has to be used by serialization routine is available in D 65 meh ELNEC s r o dialog Serialization The extended buffer selection is ignored for From file serialization in playlist file mode For more details about this limitation see the From file mode serialization mode descriptio
96. ile Exit and save Device Device options Special options 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 If the name of this menu item is starting by View Edit then the Read device command will read the content of the chip configuration and it can be viewed and edited by this menu command Device Blank check This command allows to blank check of all devices or its part if possible The control program reports a result of this action by a write of a warning message to INFO window The menu command Device Device options Operation options allows to set another working area as the standard Device Read This command allows to read all device or its part into the buffer The read procedure can also read the content of the chip configuration if it exists and is readable The special device configuration areas can be viewed or edited in dialogs available by menu View Edit buffer and menu Device Device options Special options Alt S The control program reports a finish of Read action by writing a message to INFO window The menu command Device Device options Operation options allows to set another working area as the standard Setting an option Verify data after reading in this menu command means a higher reliability for device reading Device Verify This command compar
97. ing then any of command line operation is processed only when program was not busy no operation was currently executing in program Program must be in basic state i e main program window focused no modal dialogs displayed no menu commands opened or executed 6 order of processing command line parameters when using more parameters together is defined firmly as following step1 Load file Loadfile step2 Load project Prj 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 l 117 me Ih ELNEC s r o Following operations will perform start Pg4uw exe if not already running load file c empfile hex start program device operation without questions Pg4uwcmd exe is still running and periodically checking status of Pg4uw exe when device programming completes Pg4uwcmd exe is closed and is returning ExitCode depending on load file and device programming results in Pg4uw exe When all operations were successful Pg4uwcmd exe returns 0 otherwise returns value 1 or more IRON Example 2 Pg4uwcmd exe program noanyquest prj c emproject eprj The operations are the same as in Example 1 just Load file operation is replaced by Load project file c emproject eprj command Example 3 Using Pg4uwcmd exe in batch file and testing return code of Pg4
98. ion for Master device and Sub device part names in Pg4uw device list Master device Multichip_original_part_name package_type Sub devices Multichip_original_part_name package_type part1 Multichip_original_part_name package_type part2 Multichip_original_part_name package_type part n Example Master device TV0057A002CAGD FBGA107 Sub devices 1 TV0057A002CAGD FBGA107 NAND 2 TV0057A002CAGD FBGA107 NOR Using of Multi project for running of device operation Typical usage of existing Multi project file has following order For single programming in Pg4uw e Load created Multi project by File Load project menu command in Pg4uw main window or Load multi prj button in Multi project Wizard After successful loading of Multi project Multi project Wizard is opened automatically In Wizard run wished device operation using 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 And this is main purpose of Multi project to automate running sequence of device operations for each chip of multichip device The side effect of this concept is that device progress indicators are reset to 0 at beginning of each sub device operation so it looks like progress bar is jumping to O few times while multichip operation is
99. ions General options at tab Hex file options 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 Note Big endian and little endian are terms that describe the order in which a sequence of bytes are stored in computer memory Big endian is an order in which the big end most significant value in the sequence is stored first at the lowest storage address Little endian is an order in which the little end least significant value in the sequence is stored first For example in a big endian computer the two bytes required for the hexadecimal number 4F52 would be stored as 4F52H in storage address 1000H as 4FH is stored at storage address 1000H and 52H will be at address 1001H In a little endian system it would be stored as 524FH 52H at address 1000H and 4FH at address 1001H Number 4F52H is stored in memory Address Big endian system Little endian system 1000H 4FH 52H 1001H 52H 4FH Panel Buffer offset for loading Panel Buffer offset for loading contains one shot offset setting for loading data from file to buffer The setting is used to specify optional offset of loaded data to store to buffer When Load file dialog window is opened offset has always default se
100. ions e serialization information e statistics information Job Report is generated in following cases e user command Load project is selected e closing or disconnecting programmer sites is selected closing the Pg4uwMC 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 It means at least one device operation program verify must be performed Job Report dialog settings are in dialog Pg4uwMC Settings menu Options Settings in tab Job Report 107 ELNEC s r o my Following options are available for Job Report Pg4uwMC Settings Multiprogramming Logfile Job Report Sounds Job Report v Automatically save Job Report file Job Report directory C Documents and Settings peter Application Data See Job Report V ox 2 cancel 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_ lt ordnum gt _ lt prjname gt jrp where lt ordnum gt 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 lt priname gt is project file name of recently use
101. ite activity e current device operation status and or result Each panel also contains button Run or button YES used to start device operation Box Statistics Box Statistics informs about number of programmed devices and number of good and failed devices Checksum Checksum is showing simple checksum of data loaded from current project file Panel Status window Panel Status window informs about current state of each Site State can be Blank Site is no active Ready Site is active and ready to work Programmer is connected No device operation is running and other informationcurrently running device operation result programmer connection state and so on Log window on the right side of Status window Log window contains information about connecting disconnecting programmers device operation results and other information Button Connect programmers Button is used to connect all selected Programmer Sites This button is usually used as the first step after starting Pg4uwMC Button Disconnect programmers Button is used to disconnect all connected Programmer Sites and close Programmer Sites control programs The button will apply only if no device operation is currently running on any connected programmer Button Run lt operation gt Button is used to start device operations on all connected programmers at the same time The value of lt operation gt can be one of following types Program Verify Blank check Erase Button Stop
102. ject description placed at the bottom of dialog This window is for displaying information about currently selected project file in dialog Load project Project information consists of e manufacturer and name of the first device selected in the project e date and time of project creation e user written description of project it can be arbitrary text usually author of project and some notes Note for projects with serialization turned on Serialization is read from project file by following procedure 1 Serialization settings from project are accepted 2 Additional serialization file search is performed If the file is found it will be read and serialization settings from the additional file will be accepted Additional serialization file is always associated to the specific project file When additional serialization file settings are accepted project serialization settings are ignored Name of additional serialization file is derived from project file name by adding extension sn to project file s name 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 49 my ELNEC s r o The additional serialization file will be c Program Files Programmer serialization my_work prj sn Additional serialization file is created and refreshed after successful devi
103. k on Next button Step 6 iA Setup Elnec Pg4uw Select Start Menu Folder Where should Setup place the program s shortcuts r AA Setup will create the program s shortcuts in the following Start Menu folder To continue click Next If you would like to select a different folder click Browse HE Inec Browse For change default folder click on Browse button select the destination folder Then click on Next button 26 as ELNE Setup Step 7 iG Setup Elnec PGIUWPGIUWMC Select Additional Tasks Which additional tasks should be performed Select the additional tasks you would like Setup to perform while installing Elnec Pa4dUWiPG4UWMC then click Next Fi Create a Start menu icon C Create a desktop icon C Create a Quick Launch icon Install Multiprogramming control support For Following programmers BeeHive2085 BeeHivedS BeeHive204 BeeHive2044P BeeHived BeeHivet BeeProg2 BeeProg24P BeeProg BeeProg Check if Install Multiprogramming control support is selected Change default setting if you want Then click on Next button Step 8 iG Setup Elnec Pa4UWiPG4U WMC Ready to Install Setup is now ready to begin installing Elnec PG UW PG4UWMC software version 2 77b 03 2011 on your computer Click Install to continue with the installation or click Back iF you want to review or change any settings Destination location D workprog ELN
104. ke progress bar is jumping to O few times while multichip operation is running After programming of all sub devices is completed or error occurs information with result of device operation is displayed in Pg4uwMC Programmed device can be removed from programmer socket and new device can be inserted Pressing operation button for the Site or YES button on programmer Site will start multichip device programming sequence again If Automatic YES function is turned on sequence of device operation is started again automatically after removing of programmed and inserting of new device to programmer socket For more details about Automatic YES function please take a look at Programmer Automatic YES Notes e serialization is not supported in multiprogramming mode only single programming supports serialization e count down function is not supported now Options Save options This command saves all settings that are currently supported for saving even if auto save is turned off Following options are saved options under the Options menu ten last selected devices file history main program window position and size Help Menu Help contains commands that let you view supported devices and programmers and information about program version too Pressing the lt F1 gt key accesses the Help When you are selecting menu item and press lt F1 gt you access context sensitive help If Pg4uw is executing an operation with the progra
105. lt Ctrl F2 gt will bring out this menu from any menu and any time Buffer Fill random data If this command is selected the content of the buffer will be filled with random data The reserved key lt Shift Ctrl F2 gt will bring out this menu from any menu and any time Buffer Duplicate buffer This command performs duplicate buffer content in range of source EPROM to range of destination EPROM This procedure is suitable if there is used for example 27C512 EPROM to 27C256 EPROM position Note The procedure always uses buffer start address 00000h 55 ELNEC s r o Buffer Checksum Checksum of data stored in buffer of Pg4uw is useful to check the data are correct Pg4uw contains following functions according to checksum e Automatic checksum calculator with Main checksum value displayed in main window of Pg4uw in table Addresses and in Log window of Pg4uw e On demand checksum calculator that can calculate and display various types of checksums of various data blocks in buffer Settings for Automatic checksum calculator and on demand checksum calculator are available in dialog Checksum Dialog Checksum contains two tabs panels e Tab Main checksum options e Tab Checksum calculator Tab Main checksum options allows to set mode of Automatic checksum calculator It contains following controls e Checkbox Apply user defined buffer addresses for main checksum e unchecked status global Buffer start and Buffer end address is
106. mber 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 software Advanced design including protection circuits original brand components and careful manufacturing and burning allows us to provide a three year warranty on parts and labor for the BeeHive204AP limited to 500 insertion of programming module to Programming Module Interface connectors 12 i oh BeeHive204AP elements 1 Programmer Module Interface PMI connectors 2 work result LEDs 3 power sleep LED of site 4 ISP connector 5 holes for fastening BeeHive204AP to bottom plate 6 nuts for fastening BeeHive204AP to upper plate 7 programming module fixating screws 8 right site power supply connector 9 right site type B USB connector for PC lt gt BeeHive204AP communication cable 10 right site tie mount for fixating USB cable Right top view to BeeHive204AP 13 mya ELNEC s r o 11 rear site power supply connector 12 rear site type B USB connector for PC lt gt BeeHive204AP communication cable 13 rear site tie mount for fixating USB cable 14 temperature controlled fans 15 GND screw can be used for grounding of the programmer 12 13 x x n m DP a SN 1202 00005 CE ELNEC Rear view to BeeHive204AP Selftest and calibration check If you
107. mitment is to implement support for these new or modified parts before or as soon as possible after their release so that you can be sure that you are using latest and or optimal programming algorithms that were created for this new device e free technical support phone fax e mail e free lifetime software update via Web site Free software updates are available from our Internet address www elnec com We also offer the following new services in our customer support program Keep Current and AlgOR e 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 For more information see www elnec com e AlgOR Algorithm On Request service allows you to receive from ELNEC software support for programming devices not yet available in the current device list For more information see www elnec com J ELNEC s r o BeeHive204AP OFT NEG BeeHive204AP Introduction BeeHive204AP is the core for automated programmers and automatic test equipments ATE It is extremely fast universal 4x 48 pindrive concurrent multiprogramming system designed for high volume production programming BeeHive204AP consist from four BeeProg2 based independent programming modules The chips are programmed at near theoreti
108. mmer lt F1 gt generates no response The following Help items are highlighted F _ _ eo i i _ _ _ _ _ 98 ELN C Pg4uw e words describing the keys referred to by the current Help e all other significant words e 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 Detailed information on individual menu commands can be found in the integrated on line Help Note nformation 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 It is useful especially when user wants to find any device supported by at least one type of programmers Prefix g_ before name of device means the device is supported by multi socket programmer Help Supported programmers This command displays information about programmers where supported this program Help Device list current programmer This command makes a list of all devices supported by current programmer and saves it to device list is generated for Help Device list all programmers are generated for Note The control p
109. mproperly installed For unwarrantable repairs you will be billed according to the costs of replacement materials service time and freight ELNEC or its distributors will determine whether the defective product should be repaired or replaced and judge whether or not the warranty applies Manufacturer gt lt ELNEC s r o Jana Bottu 5 SK 08001 Presov Slovakia 42151 77 34 328 77 31 007 fax 77 32 797 www elnec com e mail nospam version elnec at elnec dot com 125 meh 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 ELNEC is not liable for e Damage caused by inappropriate use or handling of products e Damage caused by users or third parties modifying or trying to modify products e Any further damage or consequent damage caused by hardware errors or software bugs For example Jost profits lost savings damages arised from claims of third parties against a client damage or loss of recorded data or files renown loss caused by impossibility to use etc 126
110. n for example device programming please close other programs especially programs which consumes large amount of system resources multimedia CAD graphic applications and so on Note We also recommend to use computer USB ports placed on back side of computer and directly connected to motherboard because computer USB ports connected to computer motherboard indirectly via cable may be unreliable when using high speed USB 2 0 transfer modes This recommendation is valid not only for programmers but also for other devices 110 So Common notes Common notes 111 ELNEC s r o 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 e Do not use and store the programmer in dusty places e Humidity accelerates sedimentation of debris and dust in ZIF socket e After end the job cover the ZIF socket e Do not expose the programmer to direct sunlight or position near a source of heat Intensively daily use programming centre production Daily maintenance Check the ZIF sockets of the programming module for their condition and wear Remove debris dust and grime from the ZIF sockets with clean dry and compressed air Clean the ZIF sockets both in closed and opened position Weekly maintenanc
111. n especially custom rules for Files copying Note for programmers with USB connection Please disconnect the programmer s USB cable until installation of the Elnec PG4UW PG4UWMC software has been completed Click Next to continue or Cancel to exit Setup Click on Next button Step 4 5 Setup Elnec PG4U WiPG4U WHC Installation mode Default or Custom Select installation mode with default settings Default or customizable Custom Please select an installation mode with default or custom settings such as Program Destination Location Start Menu Folder Additional tasks by selecting Default or Custom option and pressing Next button Default Use default installation settings Custom Choose this only if you want to customize some installation settings For default setting click on Next button Setup will be continue with Step 6 For change default setting click on Custom and then on Next button 25 ELNEC s r o iG Setup Elnec PGIUWPGIUWMC Select Destination Location Where should Elnec PG UW PG4UWMC be installed CJ Setup will install Elnec PG4 UW PG4UWMC into the Following Folder To continue click Next IF you would like to select a different Folder click Browse D wor kprog ELNEC rog rammer Browse At least 105 2 MB of free disk space is required For change default folder click on Browse button select the destination folder Then clic
112. n into Log file name specified by user in Log file name edit box When the checkbox is checked program automatically adds current date string into user specified Log file name by the following rules _ SEEEEEEEE E E E _ _ __ k_ _ _ _ LLL EEE 90 MENEG ce If user specified log file name has format lt user_log_file_name gt lt log_file_extension gt The name with added date will be lt user_log_file_name gt lt yyyy mmm dd gt lt log_file_extension gt 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 Vlogs myfile 2006 nov 07 log If do you wish to have log file name without any prefix before date information you can specify the log file name as lt log_file_extension gt dot is the first in file name Example User specifies Log file name c logs log The final log file name with added date will look like this have a date November 7th 2006 c Vogs 2006 nov 07 log Advanced options about Log file size limit are available too e option Use Log file text truncating when file size limit is reached when checked the Log file size limit is on It means that when Log file size reaches specified value the part of text included in Log file will be truncated When the option is unchecked the size of Log file is
113. n please If you wish to exclude serialization data from main checksum automatic calculation you can use Exclude buffer data for checksum feature available in dialog Checksum in tab Main checksum options Device Device options Serialization Incremental mode The Incremental mode enables to assign individual serial numbers to each programmed device A starting number entered by user will be incremented by specified step for each 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 Address Address option specifies the buffer address where serial value has to be written Note that address range must be inside the device start and device end addresses Address must be correctly specified so the last highest or lowest byte of serial value must be inside device start and device end address range Start value Start value option specifies the initial value from which serialization will start Generally the max value for serialization is 1FFFFFFF in 32 bit long word When the actual serial value exceeds maximum value three most significant bits of seri
114. n with used files This group box contains three types of operation User can select one of the operation to do with used serialization data files in Playlist From file mode Following operation are available e option Do nothing gt i L S i i iE gt E _ i S E S S E Z 73 ELNEC s r o program does not make any operation with used serialization data files e option Move used file to specified directory program moves used serialization data files to user specified directory of used serialization files e option Delete used file program deletes used serialization data files Directory This option is available in playlist From file serialization mode and selected option Move used file to specified directory User can specify target directory into which used serialization data files will be moved Following error indicators are used in Playlist From file serialization e s n error 3 serialization data file does not exist e s n error 34 used serialization data file can not be deleted maybe serialization files are placed on write protected disk e s n error 35 used serialization data file can not be moved to target directory of used serialization files maybe serialization files are placed on write protected disk or target directory does not exist Device Device options Serialization Custom generator mode Custom generator serialization mode provide maximum flexible serialization mode becau
115. ncated after Maximum Log file size is reached The higher value means more text will be truncated removed from Log file Common information Index of Programmer Site is integer number from 1 to 8 which defines unambiguously each running Programmer Site Serial number of Programmer Site defines unambiguously the programmer or programmer site used Instance will search all programmers connected on USB Bus until it finds programmer site with desired serial number Programmers or Programmer Sites with 106 OE OFT NEO Pg4uwMC 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 On one computer 8 Programmer Sites can be run at the same time Job Report settings are used to set mode of using Job Report Job Report represents the summary description of operation recently made on device Job is associated with project file and it means the operation starting with Load project until loading of new project or closing program Pg4uwMC Job Report contains following information e project name e project date e Protected mode status e Pg4uwMC software version e programmer type and serial number e start time of executing the Job it means time when Load project operation was performed e end time of executing the Job time of creating the Job Report e device name e device type e checksum e device operation opt
116. nector of the programmer with an ISP cable included in delivery programmer package Be sure that pins are interconnected properly i e 1 1 2 2 20 20 e Run selftest of ISP connector in Pg4uw Programmer Selftest ISP connector AP1 ISP connector selftest pod Calibration test e Insert AP1 calibration test pod into Programmer Module Interface PMI connectors of the programmer e Run calibration test of programmer in Pg4uw Programmer Calibration test AP 1 calibration test pod 21 ELNEC s r o Multiprogramming by BeeProg2AP During installation of Pg4uw at Select Additional Tasks window you check if is allowed install BeeProg2AP multiprogramming control support For start of BeeProg2AP multiprogramming is necessary run special control program Pg4uwMC exe At this program user assign BeeProg2AP to control programs may load projects for all BeeProg2AP and run Pg4uw for every connected and assigned BeeProg2AP Technical specification GENERAL e external power supply unit operating voltage 100 240V AC rated 90 264 VAC max 47 63 Hz e power consumption max 20W active about 2W sleep e dimensions 84x205x61 mm 3 3x8 1x2 4 inch e weight 0 7kg 1 5 Ib e operating temperature 5 C 40 C 41 F 104 F e operating humidity 20 80 non condensing 22 OE N C Setup Setup 23 ELNEC s r o The programmer package contains a CD with the control program useful utilities and
117. nfiguration Files in dialog Prepare Configuration Files want create a choose Boundary Scan File in dialog Prepare Boundary Scan File want create a choose STAPL File in dialog Create a New STAPL File write name of Jam file with extension stapl in dialog Add Device select JED file with extension jed in the created jtag chain select device e g XC2C32A left mouse button and select sequence operation e g Erase Blank Program Verify right mouse button in menu select item Output Stapl file Stop writing to Stapl file run Pg4uw select device e g Xilinx XC2x32A QFG32 Jam load Jam file Files of type select STAPL File A 83 ELNEC s r o my e 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 select action and procedures finish dialogs press button Play Jam from toolbar and read Log window The IspVM Virtual Machine The IspVM Virtual Machine is a Virtual Machine that has been optimized specifically for programming devices which are compatible with the IEEE 1149 1 Standard for Boundary Scan Test The IspVM EMBEDDED tool combines the power of Lattice s IspVM Virtual MachineTM with the industry standard Serial Vector Forma
118. ng In system programming to avoid programming errors 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 MCLR VPP Son VSS VDD AN VDD MCLR VPP Il PICxxxxx VSS VSS VSS VSS reset circuit Note External reset circuit is necessary only if VDD power up slope is too slow Other 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 122 GENE Troubleshooting and warranty Troubleshooting and warranty 123 i AN ELNEC s r o piee SeS iu Troubleshooting We really want you to enjoy our product Nevertheless problems can occur In such cases please follow the instructions below e It might be your mistake in properly operating the programmer or its control program Pg4uw e Please read carefully all the enclosed documentation again Probably you will find the needed answer right away e Try to install programmer and Pg4uw on another computer If your system works normally on the other computer you might have a problem with the first one PC Compare differences between both computers e Ask your in house g
119. ntent items associated with current device and programmer type Items which are valid for the current device but aren t supported by current programmer are disabled These settings are saving to disk along with associated device by File Exit and save command 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 device end address default device size 1 buffer start address default 0 Split default none This option allows setting special mode of buffer when programming or reading device Using split options is particularly useful when using 8 bit data memory devices in 16 bit or 32 bit applications Following table describes buffer to device and device to buffer data transfer Split type Device Buffer Address assignment None Device ADDR Buffer ADDR Even Device ADDR Buffer 2 ADDR Odd Device ADDR Buffer 1 2 ADDR 1 4 Device ADDR Buffer 4 ADDR 2 4 Device ADDR Buffer 1 4 ADDR 3 4 Device ADDR Buffer 2 4 ADDR 4 4 Device ADDR Buffer 3 4 ADDR Real addressing will be following all addresses are hexadecimal Split type Device addresses Buffer addresses None 00 01 02 03 04 05 00 01 02 03 04 05 Even 00 01 02 03 04 05 00 02
120. ollowing controls e From address This is a start address of block selected for calculating checksums in buffer Address is always defined as Byte address e To address This is an end address of block selected for calculating checksums in buffer Address is always defined as Byte address e Fields displaying values of calculated checksum types BYTE sum by bytes to DWORD CY flag is ignored E _ _ _ _ _ _ _ __ _ a amp c __E _L_ EES S 56 pecs Pg4uw ELNEQ WORD sum by words to DWORD CY flag is ignored BYTE CY sum by bytes to DWORD CY flag is added to result WORD CY sum by words to DWORD CY flag is added to result CRC CCITT sum by bytes to Word using RESULT PREVIOUS x 16 x 12 x 5 1 CRC XMODEM sum by bytes to Word using RESULT PREVIOUS x 16 x 15 x 2 1 CRC 32 sum by bytes to DWORD using standard CRC 32 algorithm Column marked as NEG is a negation of checksum so that SUM NEG FFFFH Column marked as SUPPL is complement of checksum so that SUM SUPPL 0 carry Word is 16 bit word DWORD is 32 bit word Supported hash sums MD5 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 amp insert operation Insert checksum Kind of checksum th
121. on 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 DATA IN DATA OUT target VCC check only a e E D Get R11 100k c2 RESET 1u 10V gt ul ATMEL AVR L GND GND GND GND reset circuit ELNEC recommended circuit for AT89Sxxx ISP connector target device target system DATA IN DATA OUT target VCC check only Il AT89Sxxx GND reset circuit PICmicro microcontrollers This interface corresponds with Microchip application notes TB013 TB017 TB016 How to Implement ICSP Using PIC16CXXX OTP PIC12C5XX OTP PIC16F8X Flash MCUs These application notes describes requirement for target system with In system programming device and ISP programmer Following signals are use for In system programming of PICmicro microcontrollers e MCLR VPP reset switch to programming mode e RB6 GP1 clock e RB7 GPO data input output e VDD power supply e GND ground 121 a mei ELNEC s r o ye When PICmicro device is programmed pin MCLR VPP is driven to approximately 12 V Therefore the target system must be isolated from this voltage provided by programmer RB6 and RB7 signals are used by the PlCmicro for In system programming therefore target system mustn t affect these signals duri
122. on result Control program will call serialization generator with required command line parameters OK Pg4uw makes request for next serial number Next serial number was read from dat file in step 3 Call of serialization generator will have next serial number specified in command line ERROR Pg4uw does not make request for new serial number Recent serial number will be used for next device Next call of serialization generator will have recent serial number specified in command line 7 Repeat programming with next device Yes goto step 2 No continue at step 8 8 End of programming batch Oo Notes In case of error programming result recent serial number is used but generator will be called at step 3 anyway even if the same number is used as for previously programmed device If error of serialization dat file is detected program Pg4uw reports serialization error and stops continuing of programming batch immediately S _ _ _ ___ _ _ _ _ _ _ _ _ _ _ _ _ zZ 77 ELNEC s r o i Device Device options Statistics Statistics gives the information about actual count of device operations which were proceeded on selected type device If one device is corresponding to one device operation e g programming the number of device operations will be equal to number of programmed devices The next function of statistics is Count down Count down allows checking the number of de
123. on values Count down and Remains Meaning of the values is Success number of operations which where successfully completed Failure number of operations which where not successfully completed Total number of all operations Count down informs about Count down activity Enabled or Disabled Remains informs about remaining number of device operations to do Note When new device type is selected all statistics values are set to zero and Count down is set to Disabled Reset button in Statistics panel reset statistics values Reload Count down button in Statistics panel reloads initial value to Count down For Pg4uw software the statistics information is saved to Log window when closing Pg4uw 78 2 Pg4uw ELNEG eee a 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 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 You can save both settings i e associated file and enabling of automatic load of this file to disk by command F
124. ot found e Demo when user selects option button Demo in dialog Find programmer e YES mode some types of programmers allow to use special modes of starting next device operation in one of following ways e manually by control program dialog Repeat e manually by button YES placed directly on programmer e automatically programmer automatically detects device removing and insertion of new device For more details please look at Programmer Automatic YES Panel Device It contains information about currently selected device The information includes e device name type and manufacturer e device adapter needed to use with currently selected programmer e reference to detailed Device info dialog available also by menu Device Device info e reference to Advanced device options this is available for some types of devices only Panel Statistics It contains statistics information about currently selected device The information includes e number of successful failure and total device operations e count down status indicating number of remaining devices 45 meh ELNEC s r o Statistics and count down options are available by menu command Device Device options Statistics or by mouse right click on panel Statistics and select item Statistics from popup menu Panel File The panel is placed on the bottom of Pg4uw main window Panel shows currently loaded file or project name size and date List of hot keys lt F1 gt
125. p Save to buffer 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 e LSByte first used by Intel processors will place the Least Significant Byte of serial number to the lowest address in buffer e MSByte first used by Motorola processors will place the Most Significant Byte first to the lowest address in buffer Split serial number at every N byte s The option allows dividing serial number into individual bytes and placing the bytes at each Nth address of buffer This feature is particularly useful for example for Microchip PIC devices when the device serial number can be the part of program memory as group of RETLW instructions The example of using serial number split is listed in section Examples bellow as example number 2 Example Example 1 Write serial numbers to AT29C040 devices at address 7FFFAH size of serial number is 4 bytes start value is 16000000H incremental step is 1 the serial number form is binary and least significant byte is placed at the lower address of serial number in device To make above described serialization following settings have to be set in Serialization dialog Mode Incremental mode S N size 4 bytes S N mode Bin Style Hex Save to buffer LS Byte first Address 7FFFCH Start value 16000000H Step 1 Following values will be written to device The 1st
126. plate or bellow base plate by 6 screws M4 Length of screw depend on base plate thickness Drawing for mounting programmer on base plate euTTINO s wwe 104d d seq uo st sewwesboud uaym auetd seq uo s qoy rqw ssy ea w n a j a cy 34 OF NE Setup Drawing for mounting programmer bellow base plate se npow butwweuboud 40 JOH auTTINo sawue boad aerd aseq agd aseq mo teq st sawwesboud uaym auetd seq uo safoy Alquessy Attention 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 A 35 reaS Bes lt Q N ELNEC s r o 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 36 le RS Setup ELNE 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 AN Mounting USB cable to case and length of USB connector with cable bending For proper connection DC adapter to programmer arrow on cable conne
127. plication Default settings allow to use remote control on one computer address localhost Pg4uw Client and remote control Server have to be installed on the same computer Note f firewall is installed on system firewall can display warning message when remote control Server or Client is starting When firewall is showing warning with question asking to allow or deny network access for remote Server or Client please select Allow option otherwise remote control will not work Of course you can specify in firewall options more strict rights to allow remote Server Client access on specified address and port only For more information about remote control of Pg4uw and demonstration remote control applications please see the application note remotemanual pdf placed in subdirectory RemoteCtrl which is in the directory where Pg4uw is installed Manual for remote control is available also from Windows Start Programs menu link to Remote manual created during Pg4uw installation Save options Page allows you to select the program options saving when exiting program Three options are available here Don t save don t save options during quitting program and don t ask for saving options Auto save save options during quitting program without asking for saving options Prompt for save program asks user for saving options before quitting program User can select to save or not to save options Other Page Other allows user to manage othe
128. r About When you choose the Info command from the menu a window appears showing copyright and version information 100 H C Pg4uwMC Pg4uwMC 101 ELNEC s r o 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 Pg4uwWMC 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 Pg4uwWMC is using a project file to control the multiprogramming system Project file contains user data chip programming setup information chip configuration data auto programming command sequence etc Therefore the operator error is minimized because the project file is normally created and proofed by engineering and then given to the operator The optional protected mode can be set for project file to avoid unwanted changes of the project file Each chip may be programmed with different data such as serial number configuration and calibration information Program Pg4uwMC consists of following main windows e main window e settings dialog window e Search for Programmers dialog window For more details about multiprogramming and how to use Pg4uwMC please refer to us
129. r program settings Panel Application priority allows user to set the priority of the program Priority settings can affect performance of programmer device programming time especially if there are running more demanding applications in the system Please note that setting application priority level to Low can significantly slow down the program C S SS S _ 93 ELNEC s r o 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 Directory in which program was lastly ended means the last current directory when program was lastly ended This directory assumes the first directory from directory history list Options View Use the View menu commands to display or hide different elements of program environment such as toolbars Following toolbars are available now Options View Main toolbar Choose this command to show or hide the Main toolbar Options View Additional toolbar Choose this command to show or hide the Additional toolbar 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
130. r save to project file Pg4uwcmd application will return ExitCode value equal or greater than 1 118 So Common notes Note When using the above commands user must be sure the Pg4uw is not performing any device operation for example device programming If the Pg4uw is busy it will refuse the commands and returns error status ExitCode equal or greater than value 1 Hardware Due a large variety of parallel port types a case may occur when the programmer cannot get concerted with the PC This problem may be shown as none communication between the PC and the programmer or by unreliable communication If this behavior occurs try to connect your programmer to some other PCs or other parallel ports near you If you find none solution please document the situation i e provide us an accurate description of your PC configuration including some other circumstances bearing on the problem in question and advise the manufacturer of your problem Don t forget please enter of PC type manufacturer speed operation system resident programs your parallel port I O manufacturer and type Use please Device problem report form for this purpose Warning Class A ITE notice Devices described at this manual are class A products In domestic environment this products may cause radio interference in which case the user may be required to take adequate measures ISP In System Programming Definition In system programming allows programmin
131. ram is using for current device If the buffer organization is byte org x8 the Serialization Address will be byte address If the buffer organization is wider than byte e g 16 bit words x16 the Serialization Address will be word address Device Device options Serialization Classic From file mode When you use a 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 as From file serialization There are two user options Start label Start label defines the start label in input file The reading of serial values from file starts from defined start label File name File name option specifies the file name from which serial addresses and values will be read The input file for Classis From file serialization must have correct format File format Classic From file serialization input file has text format The file includes addresses and arrays of bytes defining buffer addresses and data to write to buffer Input file has text type format which structure is label1 addr byte0 byte7 byten labeln addr byte byte bytem addr byted byte7 bytek SSEEEEEE E _____ _ _ _ _ E E E E_ E E E E _ EE E_EEEE Z 70
132. rammer communication parameters and to establish communication with newly selected programmer use menu Programmer Find programmer Programmer Handler In dialog Handler a Handler type and Handler communication parameters can be set Handler is an external device for special control of device operations in control program When None Handler is selected this means default state of control program i e device operations are controlled directly by user otherwise control program is in special mode when device operations are controlled automatically with co operation with Handler 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 lt Enter gt or button OK initiates scanning for Handler by set parameters If selected Handler type is None no Handler scanning will be processed Current Handler settings are saved to configuration file by command Options Save options or when control program is closed _ Ee gt Ss S SSS _ q gt i _ _ _ i S 7 gt S S S S S S S z 85 my ELNEC s r o Handler is not available for sale Programmer Module options This option is used for multiple socket programmers for defining MASTER socket and activity of each socket MASTER socket group box allows user to set socket which is preferentially used for device reading operation Ena
133. rent serial number E lt serial number gt Specifies ending or last serial number The parameter is only passed when value of Last serial number specified in dialog Serialization in Pg4uw software is no D hh gt _ gt E_ ___ S _ aA 75 FAN ELNEC s r o zero The serialization program should return error record T06 in the serialization dat file if the current serial number is greater than ending serial number For details look at section Serialization dat file format Serialization dat file format Serialization dat file generated by serialization generator must meet following text format Serialization dat file consists of records and serial data section 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 Required records are records T01 T02 T03 and T04 Other records are optional T01 lt serial number gt Contains current serial number value passed to generator by command line parameter N lt serial number gt T02 lt serial number gt Contains next serial number value that Pg4uw will use in next serialization cycle This value is generated by serialization generator and informs Pg4uw which serial number will follow after current serial number T03 lt data format code gt Speci
134. rites the chosen checksum into the buffer on address specified by Insert address This function is available for Byte Word CRC CCITT and CRC XMODEM checksums e Close button Closes dialog Checksum D 57 ELNEC s r o Main checksum types Checksum value displayed in main program window in table Addresses shows sum of current data in main buffer Sum is calculated with following rules e Address range of data block the checksum is calculated can be set to one of two modes e Default addresses Buffer Start and Buffer End that are displayed in table Addresses in the main program window e Custom defined addresses The settings are available in dialog Checksum tab Main checksum options check box Use custom defined buffer addresses for checksum calculation Custom checksum address mode is indicated as addrfrom addrto string displayed after checksum value in main program window in table Addresses 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 Following checksum types are available for Main checksum Byte sum x8 Buffer data are summed byte by byte irrespective of current buffer view mode x8 x16 x1 organization Any carry bits exceeding 32 bits are neglected This checksum mode is indicated b
135. rogram loses all information about current device after this command is executed Reselect wished device again by any of select methods in menu DEVICE Help Device list cross reference This command makes cross reference list of all devices supported by all programmers available on market and supported by this control program The resulting list is in HTML format and consists of following files 99 meth ELNEC s r o one main HTML file TOP_DEV htm with supported device manufacturers listed 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 Programmer Create problem report Command Create problem report is used for writing more particular diagnostic information to Log window and consequently copy Log window content to clipboard The Log window content can be placed from clipboard to any text editor Problem report is useful when error occurs in control program or programmer and kind of the error is that user can not resolve it oneself and he must contact programmer manufacturer In this case when customer send message to manufacturer about his problem it is good to send also problem report Problem report can help manufacturer to localize the reason of error and resolve it soone
136. s that aren t present in standard Pg4uw SW delivery on CD If you need to program these devices look at www elnec com section Download Command line parameters We recommend using special utility Pg4uwcmd exe to make command line parameter control of Pg4uw For backward compatibility there is possible to use some command line parameters also directly with Pg4uw exe but better way is to use Pg4uwcmd exe which has support of more command line commands and also it has capability to return ExitCode or ErrorLevel value indicating success or error result of executing command line parameters For more information about using Pg4uwcmd exe command line controller for Pg4uw please take a look at Remote command line control of Pg4uw Command line parameters which can be used directly with Pg4uw exe Prj lt file_name gt forces project load when program is starting or even if program is already running lt file_ name gt means full or relative project file path and name Loadfile lt file_name gt _ forces file load when program is starting or even if program is already running lt file_name gt means full or relative path to file that has to be loaded file format is detected automatically 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 A 113 ELNEC s r o
137. s selected in dialog Repeat Load file format allows to set mode of file format recognition for loading files When automatic file format is selected program analyses format of loading file and test file for each 88 pS GELNEO coer 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 File may be loaded no completely or incorrectly if file format does not match to user selected format 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 project from list or close the dialog without loading of project file File extensions File extensions page allows you to set file masks File format masks is used for setting file name masks to use as a filter for file listing in File Save and File Load file window for all file formats Mask must contain one of wildcards at least and must be applied correctly by syntax Note More masks can be specified for each file format Semicolon is used as delimiter for extensions Example Motorola MOT S19 Defines two file masks MOT and S19 for Motorola file format Project file default extension is use
138. se the user have serialization system fully in his hands When Custom generator mode of serialization is selected serial numbers are generated by user made program on the fly before each device is programmed in Pg4uw or Pg4uwMC Custom generator mode serialization allows user to generate unique sequence of serial numbers desired Serial numbers can be incremented as a linear sequence or completely non linear sequence The user made serial number generator program details are described later in the following section Custom generator program Examples There are also example exe and C C source files available The files are placed in the Pg4uw installation directory in Examples subdirectory as following lt Pg4uw_inst_dir gt Examples Serialization customgenerator_example The typical path can look like this C Program Files EInec_sw Programmer Examples Serialization customgenerator_example There are following options for Custom generator serialization in Pg4uw control software In dialog Serialization select in Mode panel option Custom generator mode The following options will be displayed Serialization data file Specifies the path and name for the data file that will contain the current serial number When device is to be programmed the Pg4uw software calls user made serial number generator that updates the data file The recommended extension of data file is dat Because many of our customers use also BP Microsystems programm
139. se this option to reload a recently used file When you use a file it is added to the Reload file list Files are listed in order depending on time of use of them Lastly used files are listed before files used far off 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 File Reload project Choose this option to reload a recently used project When you use a project it is added to the Reload project list Projects are listed in order depending on time of use of them Lastly used projects are listed before projects used far off To Reload a project 1 From the File menu choose Reload project 2 List of lastly used projects is displayed Click the project you want to reload File Project options This option is used for display edit project options of actually loaded project Project options mean basic description of project including following project data e device name and manufacturer e project creation date e user defined project description arbitrary text e g project author and other text data for more detailed project description User can directly edit user defined project description only Device name manufacturer project date and program version are generated automatically by program File Load encryption table This comman
140. se time determines skew rate of rising edge of target system power supply voltage switch on supply voltage _ _ gt E s gt SSSS S S S S SESSSSSS S _ _ _ _ _ _ _ _7 63 mel ELNEC s r o Target supply settle time determines time after which must be supply voltage in target system stabilized at set value and target system is ready to any action with programmed device Voltage fall time determines skew rate of falling edge of target system power supply voltage switch off supply voltage Power down time determines time after switch off target system power supply within target system keeps residual supply voltage e g from charged capacitor After this time elapsed target system has to be without supply voltage and can be safely disconnected from programmer 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 Control program checks or sets it depends on programmer type entered supply voltage in target system before every action on device Disable test supply voltage disables measure and checking supply voltage of programmed device set in Supply voltage edit box before action with devic
141. serialization nav1 A7890 78 89 56 02 AB CD comment nav2 A7890 02 02 04 06 08 OA nav3 A7890 08 09 OA OB AO CO comment2 nav4 A7890 68 87 50 02 OB 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 this is last line end of file 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 the last byte of this value will be written to address FFFFF Note Address for Serialization is always assigned to actual device organization and buffer organization that control program is using for current device If the buffer organization is byte org x8 the Serialization Address will be byte address If the buffer organization is wider than byte e g 16 bit words x16 the Serialization Address will be word address Device Device options Serialization Playlist From file mode When you use a Playlist From file mode the serialization file has not serial values directly included The file contains name list of external files that contain serialization data Serialization data are then read from these external data files each file means one serialization step one device programmed Playlis
142. set in special cases only This option contains a heuristic analyze which can treat some data in file incorrectly There are especially critical files which contain a fragmented addresses range and which exceeds a size of selected device some block can be ignored e Automatic negative offset option is not available for some kinds of special devices that require HEX files with exactly specified blocks used for the devices for example Microchip PlCmicro devices For these special devices there are available only manual offset settings None Positive offset Negative offset Example for negative offset using A file contains data by Motorola S format A data block started at address FFFFOH It is a S2 format with length of address array of 3 bytes For all data reading you can set Negative offset option and value of negative offset to FFFFOH It means that the offset will be subtracted from current real addresses and so data will be written from buffer address 0 List of file format codes and error codes There can occur some errors during file download in some of supported formats The error is written to LOG window in face Warning error xxy in line rrr xx is file format code y is error code and rrr is line number in decimal File format codes 00y binary 10y ASCII Space 20y Tektronix 30y Extended Tektronix 40y Motorola 50y MOS Technology 60y Intel HEX Load file error codes xx1 bad fir
143. sing proprietary serial numbers file This file can consist of various serial numbers The numbers can have format suitable for SQTP that means number RETLW b1 RETLW b2 and so on Note that Pg4uw serial file format is not compatible with SQTP serial file generated by Microchip MPLAB Device PIC16F628 has 14 bit wide instruction word Instruction RETLW has 14 Bit Opcode Description MSB 14 Bit word LSB RETLW Return with literalin W 11 01xx kkkk kkkk where xx can be replaced by 00 and k are data bits i e serial number byte Opcode of RETLW instruction is hexadecimal 34KKH where KK is data Byte serial number byte 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 Serialization without serial number split will write the following number to buffer and device Address Data 0000080 CD AB 34 12 xx xx XX XX XX XX XX XX XX XX XX XX Note address 80H is because buffer has byte organization and PIC has word organization so it has equivalent program memory address 40H When buffer has word organization x16 the address will be 40H and number 1234ABCDH will be placed to buffer as following 68 MENEG ce Address Data 0000040 ABCD 1234 xxxx XXXX XXXX XXXX XXXX XXXX We want to use RETLW instruction
144. ssword required dialog appears User has to enter the same password as the password entered during switch to Protected mode When Protected mode is active the label Protected mode is visible near the top of Log window of Pg4uwMC main window Note Sometimes when Protected mode is switched from active state to inactive state Normal mode some commands for example command Load project may remain disabled This can be resolved by clicking on button Stop ALL Multi projects Multi project is special feature designed to simplify the programming tasks for multichip devices Multichip device is device with two or more independent chips of the same or various types in single package Sub device an individual part of multichip device Sub device is selectable from Pg4uw device list Once selected you can work with respective chip in fully manner You can define test and save the project file for the partial chip Master device a multichip device unit consists of sub devices Master device is selectable from Pg4uw device list too Once selected you can use Multi project Wizard to build up the Multi project file from individual project files and save load execute it Multi project file is special file that contains user selected project files Multi project file can include one or more projects Projects included in Multi project file are also called sub projects Project file a special file that combines buffer data Devi
145. st character header xx2 bad character in current line xx3 bad CRC xx4 bad read address xx5 bad length of current line xx6 too big negative offset FE E __ _ _ _ _ _LL_L _ _ __LhL_ _L_ _ _ _ _ _ _ Z 48 2 Pg4uw ELNEG p xx7 address is out of buffer range xx8 bad type of selected file format xx9 the file wasn t loaded all File Save Saves data in the buffer which has been created modified or read from a device onto a specified disk The file format of saved file can be chosen from supported formats list box 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 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 Standard save file operation is using little endian byte order The reserved key lt F2 gt will bring out this menu from any menu and any time File Load project This option is used for loading project file which contains device configuration buffer data saved and user interface configuration The standard dialog Load project contains additional window Pro
146. stem 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 The file name prefix is followed by the number of Site in the form of _ lt Snum gt Example The Log file name specified by user is report log Then names of Log files will be Pg4uwMC main Log file name report log Site s 1 Log file name report_ 1 log Site s 2 Log file name report_ 2 log Site s 3 Log file name report_ 3 log and so on 105 FAN ELNEC s r o Following options can be set for Log file creation e 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 e option Rewrite 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 rewritten and new Log file will be created Data from previous Log file will be deleted Checkbox Add date information to Log file name allows user to set date information into Log file name specified by user in Log file name edit box When the checkbox is checked program automatically adds current date string into
147. 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 The Jam STAPL programming solution consists of two components Jam Composer and Jam Player 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 The devices can be programmed in ZIF socket or in target system through ISP connector It is indicated by PLCC44 Jam or ISP Jam suffix after name of selected device in control program Multiple devices are possible to program and test via JTAG chain JTAG chain ISP Jam More information on the website http www altera com See please application notes AN 425 Using the Jam Player to Program Altera Devices AN 100 In System Programmability Guidelines AN 122 Using Jam STAPL for ISP amp ICR via an Embedded Processor and related application notes for details Software tools Altera MAX plus II Quartus Il SVF2Jam utility converts a serial vector file to a Jam file LAT2Jam utility converts an ispLSI3256A JEDEC file to a
148. t 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 The VME file is a hex coded file that takes the chain information from the IspVM System window The devices can be programmed in ZIF socket or in target system through ISP connector It is indicated by PLCC44 VME or ISP VME suffix after name of selected device in control program Multiple devices are possible to program and test via JTAG chain JTAG chain ISP VME More information on the website http www latticesemi com Software tools Lattice ispLEVER IspVM System ISP Programming Software PAC Designer Software svf2vme utility converts a serial vector file to a VME file Device Device info The command provides additional information about the current device size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device You can find here package information part number description and full information for ISP implementation For example description of ISP connector pins for currently selected chip recommended target design around in circuit programmed chip 24 Device info Common information ISP connection details Part number description Recommended target circuit design ISP connector target dev
149. t From file mode is indicated in main window and info window of Pg4uw control program on panel Serialization as From file pl serialization File format From file serialization playlist file includes list of filenames which contain serialization data The file format is similar to classic serialization file format Following file format differences are for playlist files 1 the playlist file must have special header at the first no empty line of file The header is text line in format FILETYPE Pg4uw SERIALIZATION PLAYLIST FILE 2 each serial data batch is represented by separate line in format label x datafilename _ SSSSSS _ _ _ _ _ _ _ _ _ E EEE _ _ _ LLL 72 MENEG PAUN labelx represents label Labels are identifiers for each no empty line of input file They are used for addressing each line of file The labels should be unique within the file Addressing lines of file means that the required start label entered by user defines line in input file from which serial values reading starts datafilename defines name of data file which contains serialization data When serialization requires new serial value the data file will be loaded by standard Pg4uw Load file procedure to Pg4uw buffer 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 rel
150. ted mode Protected mode in Pg4uwMC Program Pg4uwMC has Protected mode very similar to program Pg4uw The difference is that Protected mode can be activated by menu command but cannot be activated by Project file Another difference is that Protected mode settings of Pg4uwMC are saved to e 94 pis Pg4uw ELNEG eae 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 After selecting the menu Options Protected mode password dialog appears User has to enter password twice to confirm the password is correct After successful password confirmation program switches to Protected mode Protected mode settings are saved to configuration ini file of Pg4uwMC During next start of program Pg4uwMC the Protected mode settings from ini file are used There is also available one special option Keep Load project operation allowed The option is set to disable at default it means the Load project operation button and menu will be disabled when Protected mode is active If the option is enabled checked the Load project operation button and menu will be allowed in Protected mode To switch program from Protected mode back to Normal mode use the menu command Options Normal mode The Pa
151. ted programmers and automatic test equipments ATE It is extremely fast universal 4x 48 pindrive concurrent multiprogramming system designed for high volume production programming BeeHive204AP is an industrial version of BeeHive204 The chips are programmed at near theoretical maximum programming speed Using build in ISP connectors the programmer is able to program ISP capable chips in circuit BeeProg2AP is the core for automated programmers and automatic test equipments ATE too It is a extremely fast universal programmer with 48 powerful pindrivers designed for low volume production programming BeeProg2AP is an industrial version of BeeProg2 Using build in ISP connector the programmer is able to program ISP capable chips in circuit Advanced design including protection circuits original brand components and careful manufacturing allows us to provide a three years warranty for BeeHive204AP and BeeProg2AP on parts and labor for the programmers limited to 500 insertion of programming module to 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 Products configuration sa a ojo 7 5 2 8_ 2 zs Elo D o wn DB OVDic g no i oO E OO 0 o Z 6 oO ai o i gae s 5 8 e oe a be ke 5 8 3 3l8 883
152. tting None It means no offset is used to store read data in buffer Available offset options are None this setting means no offset is applied for loading data from file to buffer Positive offset set of offset value which is added to current address to store data to buffer This offset is available for all formats and is used in x8 format if current buffer organization is x8 or in x16 format if current buffer organization is x16 Negative offset mode has two options Negative offset and Automatic negative offset set by two ways manual or automatic For manual set use option Negative offset and put wished offset value to its edit box i Ss s gt S gt S gt SFS gt SSSSSS S S S S S S S S S S SSSS_ _ _ _ _ _Z 47 ney ELNEC s r o For automatic offset detection use option Automatic negative offset This value is subtracted from current address for save data to buffer Negative offset value manually defined or automatically detected is subtracted from current buffer address for store data to buffer Negative offset is applied only for all HEX file formats and is using always x8 format Negative offset settings are ignored for binary files and other non HEX files Notes e 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 e We recommend automatic set of negative off
153. ttle Endian x16 or Shift Ctrl 3 for Word sum Big Endian x16 etc Options are also available in dialog Checksum tab Main checksum options Checksum type is saved to configuration file and project file Setting from project file has higher precedence Device Menu Device includes functions for a work with selected programmable devices device select read data from device device blank check device program device verify and device erase 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 This list is saved to disk by command File Exit and save If you wish display additional information about the current device use an lt Ctrl F1 gt key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device You can find here package information and other general information about current device too Use a lt Del gt key for delete of current device from list of default devices There isn t possible to empty this list if you repeat this access The last device stays in buffer and the lt Del gt key isn t accepted Device Select device This window allows selecting the desired type of the device from all devices supported by current programmer It is poss
154. uru every office has one e Ask the person who already installed programmer elf the problem persists please call the local dealer from whom you purchased the programmer or call ELNEC direct Most problems can be solved by phone e mail or fax If you want to contact us by e Mail fax Copy the DEVICE PROBLEM REPORT form and fill it in following the instructions at the end of the form Write everything down that you consider being relevant about the programmer software and the target device 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 E mail Use DEVICE PROBLEM REPORT form on the CD or from our Internet site and fill it in following the instructions at the end of the form Use standard ASCII editor Write everything down that you consider being relevant about the programmer software and the target device Send the completed form by e mail to your local dealer or to ELNEC nospam version elnec at elnec dot com e Phone Copy DEVICE PROBLEM REPORT form and fill it in following the instructions at the end of the form Write everything down that you consider being relevant about the programmer software and the target device 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
155. use special tool Pg4uwemd exe which has many advantages The main advantage is size of the Pg4uwemd which result the calling of Pg4uwcemd results a much faster response than calling of Pg4uw directly Program Pg4uwcmd exe can be used to 1 start Pg4uw application with specified command line parameters 2 force command line parameters to Pg4uw that is already running Very good feature of Pg4uwcmd exe is its return code according to command line parameters operation result in Pg4uw Return values of Pg4uwcmd exe If the command line parameters processed in Pg4uw were successful the ExitCode or ErrorLevel of Pg4uwcmd exe is zero Otherwise the ExitCode value is number 1 or more Return value of program Pg4uwcmd exe can be tested in batch files Following executive command line parameters are available to use with Pg4uwcmd exe Prj lt file_name gt Loads project file Parameter lt file_name gt means full or relative project file path and name Loadfile lt file_name gt Loads file Parameter lt file_name gt means full or relative path to file that has to be loaded File format is detected automatically Program switch Forces start of Program device operation automatically when program is starting or even if program is already running Also one of following optional switches can be used switch noquest forces start of device programming without question switch noanyquest forces start of device programming without question and a
156. uwcmd 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 FAILURE echo Command line operation error s BATCHEND echo echo This is end of batch file or continue pause rem end of batch Example 4 Let s assume the Pg4uw control program is running and has user selected device We need to load required data to Pg4uw device buffer and save the selected device settings and buffer content to project file Data required for device are stored in file c 15001 25001 file_10 bin Project file will be stored at c projects project_10 eprj Following command line parameters should be specified to realize wished operation Pg4uwcmd exe loadfile c 15001 25001 file_10 bin saveproject c projects project_10 eprj When Pg4uw receives the commands it will do following procedures 1 loads data file c 15001 25001 file_10 bin 2 saves the currently selected device settings and buffer data to project file c projects project_10 eprj 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 o
157. vice 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 When count down value reach zero it means specified number of devices is complete and user message about complete count down will be displayed Statistics dialog contains following options Check boxes Program Verify Blank Erase and Read define operations after which statistics values increment Any selected and performed device operation will increment the Total counter and one of Success or Failure counters depending on device operation result success or failure A combination of partial operations is counted as one operation only For example a Read operation including Verify after Read is one operation A Program operation including Erase and or Verify operations is counted as one operation 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 Actual statistics values are displaying in main window of control program in Statistics panel Statistics panel contains three statistics values Success Failure Total and two Count down informati
158. ws Update to search for software O Yes this time only Yes now and every time connect a device No not this time Click Next to continue For all This wizard helps you install software for BeeProg24P Universal 48 pindrive Programmer If your hardware came with an installation CD or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Select Install the software automatically and then click on Next button 30 Setup Step 6 Found New Hardware Wizard Please wait while the wizard searches a BeeProg24P Universal 48 pindrive Programmer Wizard start searching programmer and start install driver automatically Step 7 After successfully installing of programmer you will see following window Found New Hardware Wizard x Completing the Found New Hardware Wizard The wizard has finished installing the software for a BeeProg24P Universal 48 pindrive Programmer Click Finish to close the wizard Click Finish button to finish setup Step 8 Found new hardware wizard will launch for each programmer programmer site one time for BeeHive204AP 4 times Hardware setup will be continued with Step 5 Note If a different USB port on the PC is used for the next connection of programmer Found new hardware wizard will launch
159. y The Blank check procedure is applied after Chip erase command for such chips where doesn t exist other way how to check the chip is really erased Device Test This command executes a test with device selected from list of supported devices e g static RAM on programmers which support this test Device IC test This command activates a test section for ICs separated by type to any libraries on distribution CD First select an appropriate library wished device and then a mode for test vectors run LOOP SINGLE STEP Control sequence and test results are displayed to LOG WINDOW In case of need is possible to define the test vectors directly by user Detailed description syntax and methods of creation testing vectors is described in example_e lib file which is in programs installation folder Note Because the rising falling edges of programmers are tuned for programming of chips it may happen the test of some chips fails although the chips aren t defective counters for example Device JAM VME Player Jam STAPL was created by Altera engineers and is supported by a consortium of programmable logic device PLD manufacturers programming equipment makers and test equipment manufacturers The Jam Standard Test and Programming Language STAPL JEDEC standard JESD 71 is a standard file format for ISP In System Programming purposes Jam STAPL is a freely e 80 AR Pg4uw ELNEQ een licensable open standard It
160. y string x8 displayed after checksum value in main program window Word sum Little Endian x16 Buffer data are summed word by word irrespective of current buffer view mode organization Any carry bits exceeding 32 bits are neglected This checksum mode is indicated by string x16 LE displayed after checksum value in main program window Term Little Endian means the buffer checksum is calculated from words read from buffer in Little Endian mode Word sum Big Endian x16 Buffer data are summed word by word irrespective of current buffer view mode organization Any carry bits exceeding 32 bits are neglected This checksum mode is indicated by string x16 BE displayed after checksum value in main program window Term Big Endian means the buffer checksum is calculated from words read from buffer in Big Endian mode CRC CCITT Buffer data are summed by bytes to 16 bit word using standard CRC CCITT algorithm RESULT PREVIOUS x 16 x412 x45 1 CRC XMODEM Buffer data are summed by bytes to 16 bit word using standard CRC XMODEM algorithm RESULT PREVIOUS x 16 x415 x42 1 CRC 32 Buffer data are summed by bytes to 32 bit word using standard CRC 32 algorithm MD5 and SHA 1 Buffer data are summed by MD5 or SHA 1 hash sum algorithms 58 EB ELNEQ aa The checksum modes 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 Li

Download Pdf Manuals

image

Related Search

Related Contents

Ion Science MVI User Manual  PDFファイル  TCON-14B      RESUMOS - Universidade de Évora  F725  Philips SWV3792NZ 1,5 m S-video/stereo audio cable  2. Operating Instructions - Digital-News  "user manual"  

Copyright © All rights reserved.
Failed to retrieve file