Home

Model 7228 user`s manual Document number &7228.PUB Copyright

image

Contents

1. Inc Model 7228 Table of Contents Model 7228 user s manual Document number amp 7228 PUB Copyright 1983 1987 GTEK INC Date 18 December 1987 Fourth Edition READ THIS IF NOTHING ELSE The end of the programming socket marked Ground is where ground is This means that pin 12 of a 24 pin part and pin 14 of a 28 pin part goes at this end Apply AC power before putting devices into the 7228 Do Not attempt to read a masked rom without checking to see if Vpp is applied during reads for that part type number See information about baud rates and cables if programmer fails to communicate This document contains user information on the Gtek Model 7228 eprom programmer Its contents are proprietary and may not be reproduced in whole or in part without the express written consent of GTEK INC The information in this manual is provided As Is without warranty of any kind either expressed or implied Gtek Inc does not assume any liability for damages Technical information and specifications included in this document are subject to change without notice Page i Table of Contents Model 7228 Inc Notes Page ii Inc Model 7228 Table of Contents Table of Contents INTRODUCTION 1 Il COMMANDS 3 BlockProgram 3 Intel hex program 3 S Motorola hex program Tektronix hex program Block Read4 OI Intel hex Output 5 OM Motorola hex file Output OT Tektronix hex
2. 2764 gt ci2764A _ TI Intelligent The TI toggle command is used to select between adap tive and standard programming When using adaptive programming the prompt will indicate this with a small i before the prompt For example if you were programming a 2732 and you wanted to use the adaptive algorithm press TI and the prompt would indicate i2732 This works on the following chips 2732 2732 2764 and 27128 Itis used automatically on the 2764A 27128A 27256 and other parts Press TI again and the small i dis appears T Split The TS toggle puts the 7228 into a split mode used for programming two eproms whose intended destination is for use in a true 16 bit data path environment While in the split mode the command prompter is prefixed by either a lower case h or l indicating high Odd Address byte or low Even Address byte respectively It should be noted that if a programming error occurs while in the split mode that the address of the error given by the 7228 will be the address within the eprom being programmed not the ad dress in the hex file See TB command TB Byte The TB command is used in conjunction with the split mode TS to target the selected device for the high ODD bytes or low EVEN bytes from an Intel Hex or Motorola S record source file TR Reset The TR command resets any previous toggle command ex cept the adaptive command for the 2764A 68766 68764 27128A and 27256 whi
3. md ti 4K 13 TMS27P32A 21 00 N md ti 4K 13 TMS2564 25 0 N mj 8K 13 TMS2764 210 me ti 8K 13 TMS27P64 210 me ti 8K 13 TMS27C64 125 m1 2 TMS27C128 125 2 16 2 27 128 125 2 16K 2 TMS27C256 125 mz 32K 2 TMX27PC256 125 mz 32K 2 TMX27C512 125 m7 64K 2 TOSHIBA EPROMS N nmos C cmos Part Volts Type Menu Size notes TMM2764D 21 0 N me ti 8K 3 TMM2764DI 210 me ti 8K 3 TMM2764AD 125 m1 2 TMM2464AP 125 m1 2 TMM27128D 210 mfti 16K 3 TMM27128DI 210 mfti 16K 3 TMM27128AD 12 5 m2 16K 2 TMM24128AP 12 5 m2 16K 2 TMM27256D 210 32K 2 TMM27256DI 210 32K 2 27256 125 mz 32K 2 TMM24256AP F12 5 mz 32K 2 TC57256D 210 N m8 32K 2 TMM27512D 125 m7 64K 2 Page 67 Appendix C Model 7228 GTEK Inc VLSI EPROMS N nmos C cmos Part Volts Type Menu Size notes VT27C64 125 m1 8K 2 VT27C128 125 m2 16 2 VT27256 125 mz 32K 2 XICOR EEPROMS N nmos C cmos Part Volts Type Menu Size notes X2816A TTL N mq 2K 1 X2864A TTL N m9 8K 1 X28C64 TTL m9 8K 1 GTEK believes that the information contained in this list is correct However GTEK assumes no responsibility or liability for the accuracy of this list Page 68 Inc Model 7228 Appendix D Appendix D GTEK is a registered trademark and PGMX PGX GHEX Model 9000 Model 7228 are trademarks of GTEK Inc AMD is a registered trademark of Advanced Micro Devices Inc
4. Page 40 Inc Model 7228 Chapter VIII and it may be faster to split the 16 bit file with the 7228 since basic runs so slowly unless it s compiled You would have to split a 32 bit file with the basic program first to obtain 4 8 bit files S TO HEX COM Program to take a Motorola Hex file and convert it to an Intel Hex file Ittakes input from the keyboard and outputs itto the console To modify whole files use the DOS redirection commands Example gt 5 TO HEX lt moto mik gt intel hex will take a Motorola mik or ptp file by the name of MOTO MIK and convert it to an Intel hex file by the name intel hex Page 41 Chapter VIII Model 7228 GTEK Inc Notes Page 42 Inc Model 7228 Chapter IX USAGE OF GHEX EXE GHEX EXE is a program provided for you to be able to convert a binary file into an INTEL HEX file This capability is built in to the PGMX COM program but you may want to use it for convenience General usage is C GHEX filename ext cr OR C GHEX filename ext offset Offsetis an ASCII HEX numberthatspecifies where you wantyourcode to begin in the HEX file C GHEXfiletest bin Will result in an INTEL HEX file being created on your disk by the name filetest hex The load addresses begin at 0000H since no offset was specified GHEX does not destroy the input file C GHEXfiletest bin 55 Will result in an INTEL HEX file being created on your disk by the name filetest hex
5. Samsung is a registered trademark of Samsung Semiconductor Inc 5890 is a registered trademark of Seeq Technology Inc Sidekick is a trademark of Borland International Signetics is a registered trademark of Signetics Corporation SGS is a registered trademark of the SGS Group STis atrademark of SGS Thomson Microelectronics SMOS is a registered trademark Tektronix is a registered trademark of Tektronix Inc Texas Instruments is a registered trademark of Texas Instruments Inc Textool is a registered trademark of 3M Thomson Mostek is a registered trademark of Thomson Components Mostek Corporation Toshiba is a registered trademark of Toshiba America Inc VLSI is a registered trademark of VLSI Technology Inc WaferScale is a registered trademark and RPROM is a trademark of WaferScale Integration Inc Xicor is a registered trademark of Xicor Inc Page 70
6. ATMEL is a registered trademark of ATMEL Corporation CP M is a registered trademark of Digital Research Incorporated Cypress is a registered trademark of Cypress Semiconductor Corpora tion Dallas Semiconductor is a registered trademark of Dallas Semiconduc tor Corp Exel is a registered trademark of Exel Microelectronics Inc a subsidiary of Exar Corporation Fujitsu is a registered trademark and Quick Pro is a trademark of Fujitsu Microelectronics Incorporated General Instrument are registered trademarks of General Instrument Corporation Hitachi is a registered trademark of Hitachi America Ltd IBM is a registered trademark and PC XT AT PS 2 are trademarks of International Business Machines Corporation ICT is a registered trademark of International CMOS Technology Inc Intel is a registered trademark and Intelligent 5 86 QuickPulse are trademarks of the Intel Corporation MS DOS is a registered trademark and DOS and QuickBasic are trademarks of Microsoft Corporation Mitsubishi is a registered trademark of Mitsubishi Electronics America Inc Motorola is a registered trademark of Motorola Inc National is a registered trademark of National Semiconductor Corpora tion Page 69 Appendix D Model 7228 NEC is a registered trademark of NEC Electronics Inc OKI is a registered trademark of OKI Semiconductor Inc Rockwell is a registered trademark of Rockwell International Corp
7. just like before except the load addresses start at AA55H Page 41 Chapter IX Model 7228 GTEK Inc Notes Page 42 GTEK Inc Model 7228 ChapterX USING DEBUG COM You may use DEBUG COM supplied with PC DOS in conjunction with our GHEX EXE to modify an INTEL HEX file without worrying aboutthe checksums in the INTEL HEX file The following is a short tutorial to modify 4K byte INTEL HEX file with DEBUG The procedure is to run DEBUG first C DEBUG lt cr gt From the prompter within DEBUG use the N command to specify the name of your INTEL HEX file Nfilename HEX lt cr gt Use the L command to load the hex file with an offset if it begins at 0000H You must do this since if it starts loading at 0000H within the segment it will overwrite your file control block at 5Ch L 100 lt cr gt The CX register now contains the number of bytes read into memory with an offset of 100 hex You may have to modify the CX register to properly reflect the correct number bytes you must write back to the disk Remember that this is going to write from CS CX when you issue the command RCX lt cr gt CX 1000 lt cr gt Page 43 Chapter X Model 7228 GTEK Inc Your data is now loaded into the memory of the computer at offset 100H Use the E command to modify the bytes you need to modify An example of modifying locations starting at 0A55H with data is shown Locations A55H through A57H contain FFH EA55 01 0
8. the selection or hit return xxxx ME 12764 gt M Menu appears here Make your part selection enter selection gt E lt i2764 gt _ The part you select can usually use several different algorithms Dif ferent GTEK models use different algorithms on power up default The 7228 uses the standard algorithm as default unless you change it on all parts capable of the adaptive algorithm except for the parts that Page 56 GTEK Inc Model 7228 Appendix C require the adaptive algorithm like the 2764A For instance a 2764 in most cases can be programmed adaptively 2764 Ti i2764 gt ME 2764 Some parts default to the adaptive algorithm like 2764A for example 2764 M1 i2764A gt _ In the following list under the menu selections the suggested algorithm is shown When using the interactive terminal mode or PGMX to select a part a ti might also be shown That means to also select the intelligent algorithm for that part Page 57 Appendix C AMD EPROMS N nmos Part 2716 2716 2732 2732 AM2732AP AM2732B 2764 AM2764P AM2764A AM2764AP 27128 27128 27256 27512 MPU S Part 8741 8742H 8748 ATMEL Volts 25 0 12 5 25 0 21 0 21 0 12 5 21 0 21 0 12 5 12 5 21 0 12 5 12 5 12 5 EPROMS N nmos Part AT27256 AT27C256 Volts 12 5 12 5 Model 7228 Type Menu Size N mb 2K N m4 2K N mc ti 4K N md ti 4K N md 4K N mn 4K N
9. 13 USBA 14 15 Check sum 16 17 CR LF Start Address Record MCS 86 hex format Byte Number 1 Colon 2 3 Record length 04 4 7 0000 8 9 Record type 03 10 13 8086 CS value 14 17 8086 IP value 18 19 Check sum 20 21 CR LF The checksumis the two scompliment of the 8 bit sum without carry of all the data bytes the two bytes in the load address and the byte count Page 22 Inc Model 7228 Chapter VII Motorola Format Comment Record Byte Number 1 2 S0 3 n Comment field x 1 x 2 CR LF Data Records Byte Number 1 2 S1 3 4 Number of data bytes 3 5 6 Load address high byte 7 8 Load address low byte 9 x Data bytes 2 characters each x 1 x 2 Checksum 3 4 Byte Number 1 2 52 3 4 Number of data bytes 4 2 characters 5 10 Load address 24 bits 6 characters 11 x Data bytes 2 characters each x 1 x 2 Checksum 2 characters 3 4 Page 23 Chapter VII Model 7228 GTEK Inc Byte Number 1 2 53 4 Number of data bytes 5 5 12 Load address 32 bits 8 characters 13 x Data bytes 2 characters each x 1 x 2 Checksum 3 4 Byte Number 1 2 S9 3 4 CR LF In the above S records the byte count includes the load address and checksum Thus the byte count is equal to the number of data bytes plus the following 3 for S1 4 for S2 and 5 for S3 type re
10. NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES SO THE Page 47 Chapter XI Model 7228 GTEK Inc ABOVE EXCLUSION MAY NOT APPLY TO YOU THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE GTEK Inc does not warrant that the functions contained in the pro gram will meet your requirements or that the operation of the program will be uninterrupted or error free However GTEK Inc warrants the diskette s on which the program is furnished to be free from defects in materials and workmanship under normal use for a period of ninety 90 days from date of delivery to you as evidenced by a copy of your receipt Licensee herein acknowledges thatthe software licensed hereunder is ofthe class which inherently cannot be tested against all contingencies by Licensor Licensee acknowledges Licensee s obligation to test all programs produced by the licensed software to determine suitability and correctness prior to use Limitations of Remedies GTEK Inc s entire liability and your exclusive remedy shall be 1 the replacement of any diskette s not meeting GTEK s Limited Warranty and which is returned to GTEK Inc with a copy of your receipt or 2 if GTEK Inc or the dealer is unable to deliver a replacement diskette s which is free of defects in materials or workmanship you may terminate this Agreement by returning the program and your money will be refunded IN NO EVENT WILL GT
11. PGMX by depressing control F EXAMPLES C lt gt Enter PGMX and establish communication with the programmer as suming everything is hooked up properly C PGMX FILENAME cr Results in communication being established with the programmer and sending FILENAME HEX Intel Hex Format from the disk to the programmer When PGMX is through you are returned to the DOS system prompt C PGMX FILENAME OPTIONS lt cr gt Results in PGMX establishing communication with the programmer and then performing according to selected options Programming the eprom in binary or Intel Hex format or Reading the eprom in the same formats may be accomplished by giving the proper options OPTIONS are always enclosed in square brackets and separated by comma s Invalid commands result in an appropriate and descriptive ERROR message Page 29 Chapter VIII Model 7228 GTEK Inc VALID OPTIONS read file default is program mode binary mode select defaolb cold EX sssss Epreseedeounds Mx menu selection Tx toggle command 3 max on command line Vsssss eeeee ve rify erasure D display data as itis being received from the 7228 MORE EXAMPLES PGMX lt cr gt fromthe DOS command line establishes communication with the 7228 and after log on displays the 7228 Command Prompter which is the currently selected eprom type LOG ON MESSAGE EXAMPLE remember these are examples and your display may not be exactly like thi
12. RTS RTS4 6 DSR 1 EG 1 EG 2 TXD 2 TXD 3 RXD 3 RXD 7228 Programmer DTE IBM 25 pin or 25 pin DTE connector female female Page 19 Chapter VI HOOK TO CABLE SHEILD 5 CTS 6 DSR 7 SG Model 7228 7228 Programmer DTE female AT DB9 male to 7228 DB25 female AT CD 1 RXD 2 TXD 3 DTR4 SG 5 DSR 6 RTS 7 CTS 8 RD 9 7228 8 CD 2 TXD 3 RXD 5 CTS 7 SG 4_RTS 6 DSR 20 DTR Page 20 8 CD ri ge Inc 8 CTS 9 RI IBM 9 pin or DTE 9 pin connector female Inc Model 7228 Chapter VII HEX FORMATS Intel Format Data Record Byte Number 1 Colon 2 3 Number of binary data bytes 4 5 Load address high byte 6 7 Load address low byte 8 9 Record type 10 x Data bytes 2 ascii hex characters X41 x 2 Checksum two ascii hex characters x 3 x44 CR LF End Record Byte Number 1 Colon 2 3 Record length must be 00 4 7 Execution address 8 9 Record type 10 11 Check sum 12 13 CR LF Page 21 Chapter VII Model 7228 GTEK Inc Extended Address Record MCS 86 hex format Byte Number 1 Colon 2 2 3 Record length should be 02 4 7 Load address field should be 0000 8 9 Record type must be 02 10
13. file Output List formatted Output Verify Erasure 6 Menu 6 Toggle command set 7 TC Compare moder TI Intelligent mode TS Split mode 8 AR oo lt lt TB Byte 8 TR Reset 9 TN Checksum 9 TZ Zap 9 Space 9 Identify device 9 X Return Version Number 10 Abort 10 Diagnostics 11 General 11 Error Codes 11 IV Interfacing Note 3 Flow chart Figure 4 1 14 Page iii Table of Contents V VI VII VIII Automation Hint 5 Specifications 17 Model 7228 Programmer Interface 18 Making A Cablte Hex Formats 21 Intel Format 21 Data Record End Record 21 21 Extended Address Record 21 Start Address Record Motorola Format 22 Comment Record 22 Data Records 22 End Record 23 Tektronix Format 23 Data Blocks 23 Termination Block 24 Abort Block 24 Example 24 25 Using Interface Program PGMX and PGMX7 22 Installation of PGMX and Operation 28 Example 29 Valid Options 30 Example 30 Using Control 32 Definitions 33 Valid Commands Example 34 94 Advanced Example 36 Batch file automation 36 Error return codes for batch file processing Other programs available Page iv 39 27 38 Inc Inc Model 7228 Table of Contents IX GHEXEXE 41 X DEBUG COM 43 XI Warranty and Ser
14. me ti 8K N me ti 8K N m1 8K N m1 8K N mf ti 16K N m2 16K N mz 32K N m7 64K Type Menu Size N mr 1K N mu 2K N mr 1K N mt 1K N mu 2K N mu 2K C cmos Type Menu Size N mz 32K mz 32K Page 58 2 gt o Inc GTEK Inc Model 7228 Appendix C DALLASSEMICONDUCTOR BATTERY BACKED STATIC RAM N nmos C cmos Part Volts Menu Size notes DS1220 TTL N mq 2K 1 DS1225 TTL N m9 8K 1 FUJITSU EPROMS N nmos C cmos Part Volts Type Menu Size notes MBM2764 21 0 N me ti 8K 3 MBM27C64 210 me ti 3 27128 210 mfti 16K 3 MBM27C128 21 0 C mfti 16K 3 27256 125 N mg 32K 7 MBM27C256 21 0 C m8 32K 2 MBM27C256A 125 mg 32K 7 27 512 125 m7 64K 2 MPU S 8742H 210 N mu 2K 4 Page 59 Appendix C Model 7228 GENERALINSTRUMENT EPROMS N nmos C cmos Part Volts Type Menu 27C64 125 m1 27HC64 125 m1 27C128 125 m2 27256 125 mz 276256 125 mz HITACHI EPROMS N nmos C cmos Part Volts Type Menu HN482716G 250 mb HN482732G 250 mc ti HN482732AG 21 0 N md ti HN482764G 21 0 N me ti HN482764P 21 0 N me ti HN27C64 21 0 C me ti HN4827128P 21 0 N mf ti HN27128A 125 m2 HN27256G 125 N mz HN27512 125 m7 EEPROMS HN58064P TTL N m9 Page 60 Size 8K 8K 16K 32K notes gt mo Po no S rena CO
15. reproduce and include the copyright notice on any copy modification or portion merged into another program YOU MAY NOT USE COPY MODIFY OR TRANSFER THE PROGRAM OR ANY COPY MODIFICATION OR MERGED PORTION IN WHOLE OR IN PART EXCEPT AS EXPRESSLY PROVIDED FOR IN THIS LICENSE IF YOU TRANSFER POSSESSION OF ANY COPY MODIFICATION OR MERGED PORTION OF THE PROGRAM TO ANOTHER PARTY YOUR LICENSE IS AUTOMATICALLY TERMINATED Term The license is effective until terminated You may terminate it at any other time by destroying the program together with all copies modifications and merged portions in any form It will also terminate upon conditions set forth elsewhere in this Agreement or if you fail to comply with any term or condition of this Agreement You agree upon such termination to destroy the program together with all copies modifications and merged portions in any form PGX PGMX and PGMX7 Limited Warranty THIS PRODUCT IS NOT A CONSUMER PRODUCT WITHIN THE MEANING OF THE UNIFORM COMMERCIAL CODE AND APPLICABLE STATE LAW THE PROGRAM IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORA PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE DEFECTIVE YOU NOT GTEK INC ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION SOME STATES DO
16. the user with no additions or dele tions See the section on toggles and hex formats for clarification on how to program two devices for device use on a true 16 bit data bus The segment base address register maintained by the Page 3 Chapter Il Model 7228 GTEK Inc 7228 is automatically cleared if a programming error occurs the end record is detected or if any other command is executed other than the Intel Hex command S Motorola hex program This command functions precisely the same way that the Intel hex program command does except the format is the Motorola S record format Records may be of type 50 51 52 S3 59 Tektronix hex program When in the command state receipt of a slash is interpreted as the lead character in a Tektronix hex block The 7228 automat ically enters the program mode and programs the data con tained in the hex block at the address specified in the header of the hex block The checksums are verified at the end of the hex block and the programmer then returns to the command state but does not re issue the command prompter unless the block happened to be the termination block This is done in anticipa tion of another hex block All characters from the hex file sent to the Model 7228 will be echoed back to the user with no addi tions or deletions R Block Read Ascii Hex Output The R command followed optionally by beginning and ending addresses causes the Model 7228 to output a continuo
17. this part and selection Uses Standard algorithm only Page 55 Appendix C Model 7228 GTEK Inc 10 This CMOS part would normally use the standard algorithm You can use the NMOS equivalent part selection to program this part Adaptively TI command 11 These parts are programmed using a 705 adapter programmer through programming a 2732 or 2732A on a GTEK or any programmer and then putting the 2732 into the 705 so the 68705 can copy the data from the 2732 into the Eprom of the 68705 12 The C after the part number in this case deontes the case style There are other C parts now available that program with Intelligent algorithms with 12 5 volts rather than the 21 volts of this part Using the 21 volt selection will damage a 12 5 volt part beyond use If you have a C part call GTEK for details on programming it 13 These parts may REQUIRE the Adaptive algorithm TI started producing chips using a fast algorithm without changing their part numbers You may not be able to determine which algorithm to use with these parts To be safe always use the Adaptive algorithm with these parts Programming with the dumb algorithm might damage the part GTEK believes that the information contained in this list is correct However GTEK assumes no responsibility or liability for the accuracy of this list To select a part using a GTEK programmer do the following From the default power up prompter you type M and then you can either type
18. works the same way as the OM and OI com mand does except that the output is Tektronix Hexadecimal For mat L Listformatted Output The L command outputs the data between optionally specified addresses in a formatted fashion similar to many dump utilities If no addresses are specified the entire contents will be listed and the command may be aborted with the dollar sign Each line of the listing includes the beginning address in ASCII HEX sixteen data bytes in ASCII HEX and the ascii representation of the data Non printable bytes are replaced with periods in the ASCII representation field Example 2716 L90 AF cr 0090 4845 4C4C 4FFF FFAB 99FF HELLO 00 0 FFFF FFFF FFDD FFFF FFFF 2716 prompter indicates end of commang Note The lines are shortened at the to allow printing on this page Unlike the R Ol and OM commands the L command will output a carriage return and line feed at the beginning of the list ing This is because the L command is primarily used when the host is functioning as a terminal and it would be irritating to have the first line of the listing overwrite the command line Page 5 Chapter Il Model 7228 GTEK Inc V Verify Erasure The V command checks the cells between the optionally specified addresses for erasure FF s or 00 s as the device type dictates If no addresses are specified the entire device is check ed If a non erased cell is encountered i
19. 2 03 gt Now specify a new file name to write to the disk with since you can t use an extension of HEX with the file you are writing You want to call ita BIN or IMG file instead since that is what the data really is anyway NNEWFILE BIN cr Now you can use the Write command to write the new data to the disk DEBUG will write an exact image of CS CX bytes to the disk starting at an offset of 0100H bytes W lt cr gt Writing 1000H bytes Now use GHEX to make it an INTEL HEX file or use PGMX s binary file transfer Page 44 Inc Model 7228 Chapter XI Warranty and Service Limited Warranty GTEK INC warrants to the original purchaser of this GTEK INC product that it is to be in good working order for a period of 1 year from the date of purchase from GTEK INC or an authorized GTEK INC dealer Should this product in GTEK INC s opinion malfunction during the warranty period will at its option repair or replace it at no charge provided that the product has not been subjected to misuse abuse or non GTEK authorized alterations modifications and or repairs Products requiring Limited Warranty service during the warranty period should be delivered to GTEK with proof of purchase If the delivery is by mail you agree to insure the product or assume the risk of loss or damage in transit You also agree to pre pay the shipping charges to GTEK ALL EXPRESS AND IMPLIED WARRANTIES FOR T
20. 2 J 2564 O F27C64 Y 12816 U 874xH 2K D 2732A K 168766 0 127664 9 X2864A V 8751 N 2732B 3 12817A W 8755 E 2764 Z 127256 8 27 256 874xAH 1 i2764A G F27256 F 27128 7 i27512 2 127128 Enter Selection E 2764 gt i2764 gt _ You must give the 7228 a device type on power up before at tempting to perform any commands other than Menu An SL ERR will be generated if this is not done XXXX gt _ default command prompter for V8 26 See the selection chart in the appendix to select parts that are not on the 7228 s menu but can be programmed using this programmer Toggle command set The toggle command is used as a prefix to a subset of com mands These commands are as follows TC Compare The TC toggle command is used to turn the compare mode on and off When in the compare mode the com mand prompter is prefixed by a lower case c The com pare mode is used to compare the contents of a device against that of a source file To use the compare mode use the TC toggle to turn on the compare mode Then use Page 7 Chapter Il Model 7228 GTEK Inc one of the various programming commands as if you were going to program the device Instead of programming the device the 7228 will make a comparison of the source byte to the contents of the device If they are not the same a comparison error will be issued and the 7228 will return to the command state See Diagnostics Section for details Example
21. 228 GTEK Inc badpart echo The Eprom programmer issued an error such as WP or echo NE or DT or any other error which it might issue echo In any case you should reject echo this part goto enbat enbat 1 echo done The above batch file will allow you to automatically program an eprom and abort if there are any problems Add to it any other commands or programs nececssary for your specific application Other programs available Note the following programs are written so you can compile them easily with QuickBasic We don t guarantee these programs to be error free but they should present no problem to the experienced user CBIN BAS A program to calculate a checksum from a binary file The file must contain the exact number of bytes that fits in the eprom for you to get the same checksum as the TN command will give you unless you specify boundaries with TN CHEX BAS A program to calculate a checksum from an Intel Hex file The file must contain data for every byte in the eprom A file that does not fully program the eprom will not give the same checksum as the TN command unless you know what part and how much of the eprom is not programmed INTR16 BASandINTR32 BAS Programs to combine 2 intr16 or 4 intr32 8 bit BINARY files into 1 binary file SPLIT16 BASandSPLIT32 BAS Programs to split 1 BINARY file into 2 split16 or 4 split32 binary files to program sets of eproms The 7228 already has a 16 bit split mode
22. 4 TTL N m9 8K 1 MPU S MC68705P3 210 note 1 11 MC68705P5 210 note 1 11 MC68705R3 210 note 2 11 MC68705R5 210 note 2 11 MC68705U3 210 note 2K 11 6870505 210 note 2 11 NATIONAL EPROMS N nmos C cmos Part Volts Type Menu Size notes MM2758 250 N ma 1K 1 MM2716 25 0 N mb 2K 3 NMC27C16 250 mb 2K 3 NMC27C32 250 40 3 NMC27C64 125 m1 2 NMC27CP128 125 mz 16 2 NMC27C256 125 mz 32K 2 NMC27C512 125 m7 64K 2 NMC98C64A 2 m9 8K 1 63 Appendix C NEC EPROMS Part uPD2716D uPD2732D uPD2732C uPD2732AD uPD27C32D uPD2764D uPD2764C uPD27C64D uPD27C64C uPD27128D uPD27128C uPD27256D uPD27256C uPD27C256D uPD27C256C MPU S 8741 8742H 8748 8748H 8749H OKI EPROMS Part 5 2764 5 27128 ROCKWELL EPROMS Part 87C64 Model 7228 N nmos C cmos Vols Type Menu Size 250 N mb 2K 250 N mc ti 4K 250 N mc ti 4K 21 0 N md ti 4K 21 0 N md ti 4K 210 N me ti 8K 21 0 N me ti 8K 21 0 C 8K 210 6 ti 8K 21 0 N mfi 16K 21 0 mfi 16K 21 0 m8 32K 21 0 m8 32K 210 C m8 32K 21 0 C m8 32K 250 N mr 1K 21 0 mu 2K 250 mr 1K 21 0 mt 1K 21 0 mu 2K N nmos C cmos Vols Menu Size 210 me ti 8K 21 0 N mfi 16K N nmos C cmos Vols Type Menu Size 125 m1 8K Page 64 Inc notes notes Inc SEEQ EPROMS Part 5133 5133H
23. 5143 27256 27C256 EEPROMS DQ2816A DQ2817A DQ2864 DQ28C64 5212 5213 52B13 52B23 52B33 52B13H 52B23H 52B33H SIGNETICS EPROMS Part 27664 87664 276256 876256 Model 7228 N nmos C cmos Vols Type Menu Size 210 me 8K 210 N me 8K 21 0 N mf 16K 125 N mz 32K 125 mz 32K TTL N my 2K TTL N m3 2K TTL N m9 8K TIL C m9 8K TTL N mp 1K TTL N mp 2K TTL N mp 2K TTL N m9 4K TTL N m9 8K TTL N m9 2K TTL N m9 4K TTL N m9 8K N nmos C cmos Vols Menu Size 125 m1 8K 125 m1 8K 125 mz 32K 125 mz 32K Page 65 Appendix C notes C0 CO notes mo nm Appendix C 505 5 2716 2716 2732 M2732AP M2764 M2764P M2764A M2764AP M27128A M27256 M27512 SMOS EPROMS Part 27C64 27128 27C256 EEPROM 2864 Model 7228 N nmos C cmos Volts Type Menu Size 250 N mb 2K 250 N mb 2K 21 0 N md ti 4K 21 0 N md ti 4K 21 0 N me ti 8K 21 0 N me ti 8K 125 m1 8K 125 N m1 8K 125 N m2 16K 125 N mz 32K 125 N m7 64K N nmos C cmos Volts Type Menu Size 210 me ti 8K 21 0 N mf ti 16K 125 mz 32K TTL N m9 8K Page 66 5 o NNNNDNO O notes Inc GTEK Inc Model 7228 Appendix C TEXASINSTRUMENTS EPROMS N nmos C cmos Part Volts Type Menu Size notes TMS2516 250 N mh 2 8 TMS2532 250 N mi 4K 1 TMS2532A 21 0 m 4K 2 TMS2732 250 mc ti 4K 13 TMS2732A 21 0
24. EK INC BELIABLE TO YOU FORANY DAMAGES INCLUDING ANY LOST PROFITS LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH PROGRAM EVEN IF GTEK INC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR FOR ANY CLAIM BY ANY OTHER PARTY SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU Page 48 Inc Model 7228 Chapter XI General You may not substitute assign or transfer the license or the program except as expressly provided in this Agreement Any attempt otherwise to sublicense assign or transfer any of the rights duties or obligations hereunder is void This Agreement will be governed by the laws of the State of Mississippi Should you have any questions concerning this Agreement you may contact GTEK Inc by writing to GTEK Inc Sales and Service P O Box 2310 Bay St Louis MS 39521 2310 Page 49 Chapter XI Model 7228 GTEK Inc Notes Page 50 Inc Model 7228 Appendix B Appendix A Introduction Parts in the follwing list are listed by manufacturer In most cases you could use a generic selection directly from the menu you get from the 7228 except for the notable exceptions of the 27256 If you don t see your part on the list you may send a data sheet to GTEK or try calling GTEK to see if we can tell you ab
25. HIS PRODUCT INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER CHANTABILITYANDFITNESSFORAPARTICULARPURPOSE ARE LIMITEDINDURATIONTOTHEABOVE 1 YEARPERIOD Somestates do not allow limitations on how long an implied warranty lasts so the above limitations may not apply to you UNDER NOCIRCUMSTANCES WILL GTEK INC BELIABLE IN ANY WAY TO THE USER FOR DAMAGES INCLUDING ANY LOST PROFITS LOST SAVINGS OR OTHER INCIDENTAL OR CONSE QUENTIALDAMAGESARISING OUT OF THEUSEOF ORINABILITY USE SUCH PRODUCT Some states do not allow the exclusion or limitation of incidental or consequential damages for consumer products so the above limitations or exclusion may not apply to you THISWARRANTY GIVES YOU SPECIFIC LEGALRIGHTS AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH MAY VARY FROM STATE TOSTATE Page 45 Chapter XI Model 7228 GTEK Inc The limited warranty applies to hardware products only Service For warranty service or non warranty service contact GTEK INC at 601 467 8048 to obtain an RMA Return of Material Authorization number We will need the serial number and date of purchase along with the invoice number or a copy of the old invoice Send the program mer freight prepaid to GTEK INC RMA Number 399 Highway 90 Bay St Louis MS 39520 Be sure to include the RMA on the shipping label and in the package so we will know what to do with it Out of warranty service charges are determined on an hourly labor plus materia
26. Inc Inc INTEL EPROMS Part 2758 2716 2732 2732A 27512 P27512 EEPROMS Part 2816A 2817A 2864 Model 7228 5 Volts Menu 25 0 250 mb 25 0 N mc ti 21 0 N mal ti 210 N mal ti 210 N me ti 12 5 m1 12 5 m1 125 m1 125 m1 210 N mfjti 12 5 m2 12 5 N mz 12 5 N mz 125 mz 125 mz 12 5 m7 125 N m7 5 Volts Menu m3 TTL N m9 Page 61 Size 64K Size 2K 2K 8K Appendix C Appendix Intel MPU S Part 8741 8742H 8742AH 8748 8748H OTHER 8755 MITSUBISHI EPROMS Part M5L2716K M5L2732K M5L2764K M5L27128 M5M27C128 M5L27256 M5M27C256K M5L27512 Model 7228 Type Menu Size N mr 1K N mu 2K N m 2K N mr 1K N mt 1K N mu 2K N mv 4K N mv 4K N mv 4K N mw 2K N nmos C cmos Volts 25 0 25 0 21 0 21 0 21 0 12 5 12 5 12 5 Type Menu Size N mb 2 mc ti 4K N me ti 8K N mf ti 16K mf ti 16K N mz 32K mz 32K N m7 64K Page 62 GTEK Inc 5 c gt c CO GTEK Inc Model 7228 Appendix C MOTOROLA EPROMS N nmos C cmos Part Volts Type Menu Size notes MCM2716 250 N mb 2K 3 MCM2532 250 N mi 4K 1 MCM68732 250 N mc ti 4K 3 MCM68764 25 0 N mk 2 68766 250 mk 2 EEPROM 2833 TTL N 9 4K 1 286
27. ONS Dimensions H x W x D 2 75 5 25 x 6 75 70mm x 133mm x 171mm Power Requirements 120VAC 60HZ 10VA 240VAC 50HZ optional Interface Connector DB25P configured as Data Terminal Equipment Data word size 1 Start bit 8 data 1 stop bit no parity Auto Select Baud Rate 1200 19200 version 8 xx 300 2400 version 7 xx Weight 3 pounds 1 4 KG Page 17 Chapter VI Model 7228 GTEK Inc Operating Environment 45 95 deg 7 35 deg 596 to 95 non condensing relative humidity PROGRAMMER INTERFACE The model 7228 has a DB25P connector configured as Data Terminal Equipment DTE 7228 Pins Direction Function 1 EG lt gt Equipment Ground 2 TXD gt Transmit Data 3 RXD lt ReceiveData 4 RTS gt Request To Send Always active when power is on 5 CTS Clear To Send High enables 7228 to transmit data Pulled high internally 6 DSR Data Set Ready Not used 7 SG lt gt Signal Ground 20 DTR gt Data Terminal Ready High when programmer willing to accept data MAKING A CABLE Refer to the Specifications section for information on making a cable for other than an IBM PC Page 18 Model 7228 Chapter VI IBM PC XT AT DB25 female to 7228 female Gtek pn RSMDTE 7228 EG 1 1 EG TXD 2 3 RXD RXD 3 2 TXD CTS 5 20 DTR 56 7 7 50 DTR 20 5 CTS DSR 6 4
28. PGMX license is a single user license Insert GTEK program disk in drive A and copy the programs to your hard disk with C COPY A This will copy all the programs on the GTEK disk over to the subdirec tory that you are logged on to on your hard disk If you don t have a hard disk use DISKCOPY or COPY to the B drive Refer to the DOS manual for specific instructions on using the COPY command The desired end result is a backing up of the original GTEK copy Store the original program disk in a safe place Now you should insert the backup copy in the drive A and or go to the subdirectory where PINSTALL and PGMX are located You must first run the PINSTALL program to install the serial drivers for PGMX C PINSTALL lt cr gt Page 27 Chapter VIII Model 7228 GTEK Inc After the copyright and version number appears you are asked to select a letter which corresponds to the type of installation you wish to perform Most people with Version 8 xx will probably select to set up to com municate at 19 200 baud on computer serial port COM1 or the selection for 19 200 baud on COM2 People with Version 7 xx will use 2400 IRQ4 is used in conjunction with an interrupt service routine for COM when PGMX is invoked if you installed it for COM1 This is a hardware line on your PC to give the system an interrupt whenever a character is received If you know that something else in your computer is using this hardware interrupt line the
29. all the 8 bit bytes of all the part without carry Blank 27128s give you C000 for the checksum i27128A control F Control generally means to press and hold the CONTROL key on your keyboard and press a command letter Valid command letters are P F and C The ESCape key is also a valid control command key but you do not hold the control key down to press ESC The ESC key is a valid control character already The escape control command may also be obtained by pressing CONTROL on the IBM keyboard or by holding down the ALT key and entering 027 on the numeric keypad Pressing and holding the CONTROL C key for instance is represented by a caret and the letter that must also be pressed eg C The definitions of the CONTROL commands are P start sending stop sending toggle data simultaneously to the printer F enter a command line Examples follow C Abort most programmer commands and return to the DOS or PGMX command prompter This command will work even though you may be in the process of programming reading verifying etc an eprom in the automated control F mode ESC or Escape from program This command is used as an alternative to control alt del and is not normally used This is an EMERGENCY command and the results could be unpredictable USING control F 2716 F Enter Command line gt FILENAME 0 1FF V TN lt cr gt Results in PGMX doing a blank check on the eprom between 0 and 1FF inclusive Th
30. and receive data The standard algorithm prereads cells prior to programming skips the cell if it is not necessary to program it and post verifies the cells to assure that it is properly programmed Extended diagnostics pinpoint the cause of errors In addition to this algorithm the user may elect to use an adaptive algorithm on the 27128 2764 2732 2732 Adaptive algorithms are required and automatically used on the 27256 and MC68766 64 s for instance Adaptive algorithms typically offer a six fold improvement in programming time over the standard algorithm The Model 7228 V8 26 may be used with hardware CTS DTR hand shake Baud rate selection is done automatically through your interface program PGMX The 7228 defaults to 2400 baud on power up Used in conjunction with any terminal or computer with an RS 232 port the 7228 is capable of programming and reading the devices listed in Appendix C of this manual 40 pin devices require socket adapters Page 1 Chapter I Model 7228 GTEK Inc All voltages and pin configurations are set up by the onboard mpu and no personality modules are required ROMs may be read safely only with certain eprom selections such as i27512 168766 F27C64 and 27C32 Page 2 Inc Model 7228 Chapter Il COMMANDS P Block Program Sending a P followed optionally by an ascii hex address and a valid delimiter puts the 7228 into the program mode Once in the program mode ascii hex data to be p
31. ch is permanent on those chips Page 8 Inc Model 7228 Chapter Il TN Checksum The TN command is used to generate a 16 bit checksum from the data in the eprom This is the sum of all the 8 bit DATA bytes added together without carry You may make a checksum between any two addresses by specifying them like the Ol and V and the other commands that use a start and end address TZ Zap The TZ command is the chip erase command used in con junction with EEPROMS The device is erased and erasure is verified The UV error is issued in the event that the user attempts to execute the TZ command when the device is not capable of supporting it The SEEQ 5213 Intel 2816A and Xicor X2816A and others are capable of modifying bytes randomly and Zapping is not necessary The Hitachi 48016 however does not have this feature Thus in order to reprogram a 48016 the chip erase Zap com mand must first be executed Space Sending a space ascii 32 char to the programmer causes it to reissue the command prompter Identify device The Model 7228 will reissue the command prompter in the same way that the space command does X Return Version Number The X command will return the version number of the firmware installed in the chip shown as follows 2716 X GTEK INC Model 7228 Vx xx Copyright 1987 2716 Abort Character Causes the operation in progress to abort to the command prompter when received dur ing operat
32. cords The checksum is the one scompliment of the 8 bit sum without carry of the byte count the two bytes of the load address and the data bytes Page 24 Inc Model 7228 Chapter VII Tektronix Hex Format Data Blocks Byte Number 1 Header which is a forward slash 2 5 Location counter which is 4 ascii hex characters representing the load address of the data bytes 6 7 Byte count which is 2 ascii hex bytes specifying the number of binary data bytes in the data field of the block 8 9 First Checksum which is 2 ascii hex bytes specifying the HEX SUM of the values of the previous six digits location counter and the byte count 10 X Binary data bytes which are each represented as 2 ascii hex digits in other words 16 binary bytes are represented as 32 ascii hex bytes X 1 X 2 Second Checksum 2 ascii hex bytes representing the SUM modulo 256 of the binary values of the ascii data bytes 8 bit sum without carry X n Always acarriage return CR Termination Block Byte Number 1 Header forward slash 2 5 Transfer address which is the address for execution of code 6 7 Byte count always 00 for a termination block 8 9 Checksum of the six digits that make up the transfer and byte count 10 Always a carriage return CR Page 25 Chapter VII Model 7228 GTEK Inc Abort Block Byte Number 1 Header forward slash 2 Header forward slash 3 X 69 Message up to 69 chara
33. cters for error information etc X 70 Always acarriage return CR Example of Data block and 1 Abort block 000010100102030405060708090A0B0CODOEOF0038 THISIS ANERRORMESSAGE HERE Note programmer will issue a DT error on the second mark and return to the command state without displaying the abort message Example of Data block and 1 Termination block 000010100102030405060708090A0B0CODOEOF0038 00000000 NOTE Mostterminals will display Tektronix data only onone line since the format calls for only a carriage return at the end of a record Page 26 Model 7228 Chapter VIII Using Interface Program PGMX and PGMX7 Installation of PGMX and PGMX7 PGMX is a high speed communication program which runs on IBM PC XT AT s Itallows flexible manipulation transmission and reception of Intel HEX files and binary files On the PGMX program disk you will have at least 3 programs PGMX COM PINSTALL COM and GHEX EXE PGMX is the program used to communicate with your 7228 PINSTALL is the program that you must run to install the serial drivers in PGMX so that you can communicate with the 7228 Other programs and document files are provided to allow conversion from Motorola format to Intel hex and other programs to split and interleave to and from 8 16 and 32 bit binary formats If you try to run the PGMX program without installing the serial drivers itwill tell you to run the PINSTALL program Remember that the
34. ed by a dash followed by the ending address eeee will cause PGMX to search through the specified FILENAME to find the specified locations inclusive to be sent to the 7228 In the case of a binary file specified by a on the same command line only the symbol means that the data specified by the 96 sign offset will go to the ssss eeee specified by the sign within the eprom and eeee less ssss bytes will be sent In the case of an Intel Hex file no 96 the symbol means that PGMX will search the Intel Hex file for data located between the startaddress ssss andthe end address eeee inclusive and send that data to the same locations within the eprom 3 9600000 A percent sign 96 followed by an offset you may omit specifying an offset of 0 but PGMX may warn you that you did not specify it just in case you forgot will cause PGMX to treat the EXTension you specified literally and not add a HEX extension Any offset you specify 00000 will cause PGMX to scan up to that location in the file before sending any data to the 7228 EXAMPLES To program 3 2716 s from a binary file that contains 1093H bytes xxxx MB 2716 F Enter Command line gt TEST BIN 0 0 7FF lt cr gt Causes PGMX to look for a file called TEST BIN on the disk and when found start sending from relative offset location O within TEST BIN to locations 0 through 7FFh within the eprom The number of bytes sent Page 35 Chapter VIII Model 7228 GTEK I
35. en FILENAME HEX is opened and any hex data falling between the specified boundaries is sent During data transfer PGMX displays the load addresses ofthe hex records that itis sending Finally the checksum is calculated between the specified addresses and displayed Page 32 Inc Model 7228 Chapter VIII The options are always set off by an opening square bracket and the ending square bracket is optional Invalid commands result in an error message and a return to the 7228 command prompter Page 33 Chapter VIII Model 7228 GTEK Inc DEFINITIONS Please note that the listed commands are generally passed on to the programmer unchanged except for the order in which they appear in the command line PGMX will send the commands specified to the programmer in the following order 1 menu command 2 toggle commands except TN is done last 3 blank check or verify erasure 4 program or read 5 checksum tn Some commands particularly the R command work differently from the 7228 command The 96 and the command are not valid commands for the 7228 except on the PGMX command line They are used to give PGMX information not the 7228 You may not specify any command more than once inside the brackets except the toggle commands and you are allowed a maximum of 3 of those SSSSS 24 bit starting address Hex characters 0 9 and A F eeeee 24 bit ending address Hex characters 00000 24 bit offset amo
36. he programmer will return to the command state Any automation software should take this into account The effective addressing range of a device is determined by it s size If a 2K byte device is being used then it only has 11 significant address lines and only the lowest 11 bits of the address field are significant Thus as far as the 7228 is concerned 000H is equivalent to 800H or F000H in a 2K device You don t need to compare the characters that are echoed to what you sent The characters are echoed to the host as they are removed from the FIFO and would not reflect a programming error However the 7228 will detect any programming error and the host need only trap the error message The PGX utilities for CP M and MSDOS based computers send echoed characters to the screen console PGMX duetoits high baud rates does notattemptto display allthe information being transferred unless the D option has been specified The 7228 is in the command state after the prompter is sent The prompter always ends with a gt You can use this character to let your program know that Ol OM OT V or L command has finished You should probably have one mode of operation where you communi cate directly with the 7228 turn your computer into a terminal This will give you easy use of the L V P and M commands Page 15 Model 7228 GTEK Inc Notes Page 16 Inc Model 7228 Chapter VI SPECIFICATI
37. ions of the OI OM OT R P L V U Refer to those commands for further information Page 9 Chapter Il Model 7228 GTEK Inc Notes Page 10 Inc Model 7228 Chapter III DIAGNOSTICS General 1 All error codes to be issued by the Model 7228 are preceded by an asterisk This makes error trapping very easy 2 After an error occurs and the error mes sage is output the input FIFO is cleared and the programmer returns to the command state 3 Errors are output on a real time basis i e they are output as soon as they are detected 4 Error codes include the address nnnn where the error occurred except attempt to program on power up before selecting the eprom type SL err Error Codes WP ERR nnnn cell Won t Program Eprom is no good or the wrong device type was selected or the device was improperly in serted in which case it may or may not be any good now ERR nnnn cell Needs Erasing Can t program the cell be cause there are some bits that can t be moved from a 0 to a 1 state ERR nnnn ComPare error Issued in the event of a dif ference between source code and destination contents of target device See TC command ERR nnnn Data error Not valid hex data Character is not a 0 through 9 or A through F or CR or LF CS ERR nnnn CheckSun error Data check sum does not add up to what was sent in the HEX record Only applies to Intel and Motoro
38. la hex format program commands Page 11 Chapter Ill Model 7228 Inc SN ERR nnnn SyNtax error Not a valid programmer com mand See commands SL ERR nnnn SeLect error No such menu code or if no nnnn present you tried to program after power up without selecting an eprom type ST ERR nnnn STack error FIFO overflow Reduce baud rate or see interfacing section for handshaking methods The 7228 version 7 xx can take data at 300 bps with no handshake on any algorithm 7228 version 8 xx requires hardware handshaking UV ERR nnnn Un aVailable error Issued in the event the user tries to use a function of the 7228 that is not available for that particular device such as the Zap command on the 12816 Page 12 Inc Model 7228 Chapter IV INTERFACING NOTES The Model 7228 is surprisingly easy to interface and there are several methods of handshaking which can be utilized if it is desired to operate at the higher baud rates The following section describes some of the methods You can use only the second method with the 7228 version 8 xx 1 Software handshake This is perhaps the easiest method of all When you begin to send data to be programmed send the first byte but don t wait for it to be echoed That would effectively cut your communication rate in half Instead send the second byte receive the first send the third byte receive the second etc This technique will allow you t
39. ls basis PGX PGMX and PGMX7 Software License Agreement This software is a proprietary product of GTEK Inc It is protected by copyright and trade secret laws It is licensed not sold for use on a single micro computer system and is licensed only on the condition that you agree to this LICENSE AGREEMENT GTEK INC provides this program and licenses its use worldwide You assume responsibility for the use of this software to achieve your intended results and for the installation use and results obtained from the software License The Licensee may a use the program on a single machine b copy the program into any machine readable or printed form for backup or modification purposes in support of your use of the program on the single machine c modify the program and or merge it into another program for your use on the single machine Any portion of this program merged into another program will continue to be subject to the terms and condiions of this Agreement and Page 46 GTEK Inc Model 7228 Chapter XI d transfer the program and license to another party if the other party agrees to accept the terms and conditions of this Agreement If you transfer the program you must at the same time either transfer all copies whether in printed or machine readable form to the same party or destroy any copies not transferred this includes all modifications and portions of the program contained or merged into other programs You must
40. n v 0 7ff 1000 tn echo now you are done use 2 percents in a batch file Page 37 Chapter VIII Model 7228 GTEK Inc Page 38 Inc Model 7228 Chapter VIII Error return codes for batch file processing These error return codes may be used by a calling batch file or process which drives a chip handler like those manufactured by EXATRON PGMX7 can NOT be used like this ONLY PGMX ERCODE 1 for any 7228 error messages like or WP ERCODE 2 for PGMX aborted by user with control C ERCODE 5 for PGMX aborted by a disk error like file not found or disk full or any command syntax error like option error ERCODE 6 for PGMX when it was expecting a response from the 7228 and a timeout occured before any response was received ERROR BATprogram echo off pgmx 1 if errorlevel 6 goto lostcom if errorlevel 5 goto syssner if errorlevel 2 goto abort if errorlevel 1 goto badpart echo This part programmed ok goto enbat lostcom echo You have lost communications with the programmer goto enbat syssner echo There is a disk system error or a syntatical error echo Example PGMX cannot find the file you specifyed or echo you are trying to use a command that does not exist echo or if you are reading a file maybe the disk is full goto enbat abort echo Someone typed a control C while the file was transferring The echo program has been aborted goto enbat Page 39 Chapter VIII Model 7
41. n you should use the other com line which uses IRQ3 COM2 IRQ3 is also used in the same manner for COM2 when PGMX is invoked if you installed it for COM2 If you know something in your system uses IRQ3 for interrupts then you must use the other com port The next selection that you have to make is where your line printer is located on parallel port 1 2 or 3 Ipt1 Ipt2 or Ipt3 This has to be done so that PGMX knows where to send printed data After you have made that last selection you are returned to the DOS command prompter and PGMX is set up to run under those conditions that you specified See the example for C gt PGMX lt cr gt later in the manual OPERATION PGMX is a command driven program as opposed to a MENU driven program which means that everything you do is done by entering a command on the command line instead of selecting the command from a menu This makes the program very fast when you have learned what the commands are Page 28 Inc Model 7228 Chapter VIII In most cases the commands are exactly the same command as what the programmer is expecting so the selection of the command is somewhatintuitive There are 2 ways that commands may be given to PGMX 1 From the PC or MS DOS command line 2 From within PGMX Commands executed from DOS return to DOS upon completion Commands executed from within PGMX return to PGMX upon com pletion Command lines may be entered from within
42. nc is the number of bytes between 0 to 7FFh inclusive If you don t specify boundaries you will Wrap Around to location 000H at location 800H because you are still sending data to the programmer through PGMX 2716 F Enter command line gt TEST BIN 800 0 7FF lt cr gt Causes PGMX to look for a file called TEST BIN on the disk and when found start sending from relative offset 800H from within TEST BIN to locations 0 to 7FFh within the eprom 2716 F Enter command line gt TEST BIN 1000 0 7FF lt cr gt Causes PGMX to look for a file called TEST BIN on the disk and when found start sending from relative offset 1000H from within the TEST BIN to locations 0 through 7FFh within the eprom However the program will terminate when it encounters the end of the file you are sending from since there are only 94H bytes leftinthe file TEST BIN left to send Reading an eprom to a disk file is accomplished with the R option C pgmx lt gt Results in reading the selected eprom to the Intel hex disk file FILENAME HEX C pgmx filename r lt cr gt Results in reading the selected eprom to a binary disk file whose name is FILENAME no extension was specified Notice an offset value included with the has no meaning during a read operation Use the command to read between specified locations within an eprom C pgmx lt cr or 2716 F enter selection gt tn ma cr from wi
43. o program as fast as the algorithm in use permits Some devices program faster some slower See figure 4 1 for flowchart 2 CTS DTR hardware handshaking The Model 7228 is configured as data terminal equipment which means that the CTS clear to send line is an input to the programmmer which when pulled low forces the programmer to stop sending On the other hand the DTR data terminal ready line is an output from the programmer Version 7 DTR will go low when the buffer is about 50 full and high again when the buffer is about 30 full Version 8 xx has about the same amount of buffering but DTR is constantly toggling to obtain the higher baud rates If you are using hardware hand shake and the DTR line goes low you should stop sending Immediately to the 7228 The RTS line is pulled high whenever the programmer is plugged in See Specifications for Cable 3 Xon Xoff software handshaking If you do not monitor the DTR line the 7228 will transmit an Xoff character if there gets to be 9 characters in the FIFO When the FIFO level drops below 6 characters an Xon will be transmitted Likewise when the programmer is sending you data you may send an XOFF character which will stop the programmer from sending until it receives an Xon character Xon s and Xoff s are not put into the FIFO but are processed as soon as they are re ceived Even if you don t use XON XOFF handshaking you will find it useful when using the L list command to sto
44. otuse Vppduring reads are 2751 2 F27C256 68766 F27C64 27C32 Page 51 Appendix Model 7228 and 2532 This may not always hold true on the 7228 however Rom equivalents of MPU s may only be read after modifying the calibration of the 7228 and in some cases the adapter socket 4 Roms may be maskedto use what would be address lines on eproms as chip select lines This means that a rom may have several chip enables You may be able to read the part between the addresses of an eprom which forms the appropriate chip enable combination Some roms may have no eprom equivalents with respect to the additional chip enable lines Page 52 Inc Model 7228 Appendix B Appendix B Adapters for the 7228 481 for MCS 48 family parts 8741 8742 8742H 8748 8748H 8749 8749H 483 for MCS 48A family parts 8742 511 for MCS 51 family parts 8744 8751 8751 Do Not try to program an 87C51 on the 7228 Use a Model 9000 programmer instead 755 for 8755 8755A Pio chip Adapters for these parts are made so that the handle of the adapter matches the handle of the programming socket as per the illustration below Page 53 Appendix Model 7228 54 GTEK Inc Model 7228 Appendix C Manufacturer s Cross Reference vs Menu Selection GTEK believes that the information contained in this list is correct However GTEK assumes no responsibility or liability for the accuracy of thi
45. out a particular part Be sure to have a data sheet handy when calling unless you have not been able to get one in which case we may or may not be able to tell you if it will program or how to program it General Rules 1 A B or AH version parts program at lower voltages than their predecssors If you try to program verify list or output read one of these parts using the wrong algorithm the part will probably be destroyed in microseconds due to over voltage on the programming pin The part may appear to be OK and may even still contain data that you had in the part previously but if you erase it and then try to program it you will probably get a WP err 0000 This goes for MPU s also 2 Cmos eproms generally use different algorithms to program than the nmos parts but if the voltage is the same you might try the nmos equivalent algorithm if you wantto try programming the part adaptively Some of the newer cmos eproms use the same algorithm as the nmos part like the Intel 276276 use menu selection Z 3 Roms are generally readable on the 7228 if you take precautions to not use a selection that is going to use the verify mode to read it If you are not sure use a spec sheet for the menu selection part number you would like to use and check the Vpp pin for that part during reads Ol or L commands to see if programming voltage appears there This is done with NO part in the socket of course Some of the parts which do n
46. p and start the data flow to your Page 13 Chapter IV Model 7228 GTEK Inc screen Xon and Xoff are the keyboard equivalents of control Q and control S Version 8 xx does not send Xon Xoff but will accept it 4 Please note that the 7228 may communicate at many different baud rates To initialize to a new baud rate send a break signal to the programmer for more than 100 milliseconds and then at least 5 milliseconds after you restore from the break send an 80H character at the baud rate you wish to begin sending After that a space command will cause the prompter to be reissued Figure 4 1 Flowchart showing a programming example open file send character get character e charis eof ischar eof charis not eof send character v receive character display character 2 ot an asterisk is char char is an asterisk 2 display character charisnot oris eof y A v receive character e display character char is not a gt ischar gt 14 GTEK Inc Model 7228 Chapter V AUTOMATION HINTS When you automate the transfer of data from your computer to the 7228 you should examine the echoed characters to see if an asterisk has been sent If you receive one it means that an error message will follow and that t
47. rogrammed is sent The data may be a continuous stream or the bytes groups of two ascii hex characters may be separated by valid delimiters The program mode is terminated upon the receipt of an ascii dol lar sign or if an error occurs Thus the program command may be used to program one byte or a block of bytes at any given location Valid delimiters are spaces commas carriage returns line feeds or dashes It may be useful to note that the 7228 totally ignores null characters All characters sent are echoed as they are removed from the input FIFO type ahead buffer Xon and Xoff characters are never put into the FIFO The following example illustrates how 33h and 23h are programmed to locations 444h and 445h in a 2716 Example 2716 P444 33 23 2716 Ready for next command This command is handled by PGMX s binary mode Intel hex program When in the command state receipt of a colon is interpreted as the lead character in an Intel hex record The 7228 automatically enters the program mode and programs the data contained in the hex record at the address specified in the header of the hex record The check sum is verified at the end of the hex record and the 7228 then returns to the command state but does not reissue the command prompter unless the record happened to be the END record This is done in anticipation of another hex record i e all characters from the hex file sent to the Model 7228 will be echoed back to
48. s list These Notes are beside the Eprom selections on the following pages 1 Standard algorithm only is available for this part which is typically 50ms EEproms may use a 10ms algorithm as the standard algorithm 2 Adaptive algorithm only is available for this part which is typically 1ms X total number of cycles to program 15 25 overprogram pulse of 3 or 4 times the total number of cycles 3 Can use Standard or Adaptive algorithm Some parts may not program with Adaptive algorithm The selection shown is for the recommended algorithm If your part will not program try the alternative algorithm 4 Use Model 481 adapter with this part and selection on the 7228 programmer Uses Standard algorithm only 5 Use Model 483 adapter with this part and selection Uses Adaptive algorithm only Programming the security byte on the 8742AH chip is accomplished by programming data OFFh at location FF1Fh 6 Use Model 511 adapter with this part and selection Uses Standard algorithm only Programming the security byte on the 8751 or 8744 chip is accomplished by programming data 00h at location OFFFFh The data in location OFFFh in the 8751 may be anything but zero or else the security byte will not program 7 This Fujitsu 12 5 volt algorithm selection is different from the Intel selection by the use of the CE pin This selection was 2508 on earlier versions before V7 11 8 7228 Version 7 12 or later 9 Use Model 755 adapter with
49. s one C pgmx lt cr gt High Speed Interface Package Version 9 33 Copyright 1983 1984 1986 1987 GTEK INC All Rights Reserved worldwide I O Hardware Driver Vers 1 01 PC AT Serial port 1 19 200 bps Printer port LPT1 GTEK INC MODEL 7228 V8 26 Page 30 Inc Model 7228 Chapter VIII COPYRIGHT 1987 00 _ The programmer is ready and waiting for a command at this point If you want to do a Menu command pressing an M and the code necessary will select eprom type or press M lt cr gt to get a menu 2732 M lt cr gt EPROMSELECTIONMENU NMOS NMOS CMOS EEPROM W ADAPT A 2758 H 2516 27616 P 5213 R 874x 1K B 2716 2532 M 27C32 Q X2816A S 874x 2K 4 2716B 2532A 48016 874xH 1K C 2732 J 2564 O F27C64 Y 12816 U 874xH 2K D 2732A 168766 0 127C64 9 X2864A 8751 N 2732B 3 12817 W 8755 E 2764 Z 127256 8 F27C256 874xAH 1 i2764A F27256 F 27128 7 127512 2 i27128A Enter Selection gt 2 i27128A _ Results in the programmer giving you a menu of parts to select from Refer to the appendix parts list for help in selecting the correct part At thattime enter the menu selection number and the prompter will reflect the part number selection that you made or dial in the right selection i27128A gt TN cr C000 i27128A gt Page 31 Chapter VIII Model 7228 GTEK Inc Results in the programmer giving you a 16 bit addition of
50. thin PGMX Page 36 Inc Model 7228 Chapter VIII Results in selecting 2758 note menu selection has side effect of resetting all toggles and calculating the checksum ADVANCED EXAMPLE C pgmxfilename mz ts v tn 220000 2FFFF Results in selecting 27256 split mode doing a blank check program ming the eprom with hex data residing between the 20 bit addresses of 20000 and 2FFFF inclusive and calculating it s checksum This particular file is big Don t be afraid that PGMX has hung up It has to check the load addresses of every record in the file and it would take a minute before it reached records at load address 20000 unless the file was created with an exotic compiler in such a manner that segment records with apparently random addresses are placed at apparently random locations every few records in the file No joke intended The boundaries specified cover a 64k range butthe eprom is only 32k Thereasonforthis is thatin the split mode the 2 eproms are considered as one eprom of twice the size However if an error message is issued during programming in the split mode the address given by the error message is the physical address in the single eprom Batch file automation Automating the process could be accomplished with a batch file such as this TEST BAT pgmx test bin mb v 0 7ff 0 tn pause remove eprom insert new blank pgmx test bin v 0 7ff 800 tn pause remove eprom insert new blank pgmxtest bi
51. ts contents and address are output The process continues until the end address is reached or the command is aborted with a dollar sign The following example uses the same eprom used in the P and R command examples Example 2716 V lt cr gt 33 Q 0444 23 0445 2716 Note the command verifies the whole selected part because boundaries were not specified The command outputs a cr If before each unerased byte is displayed so the command line is not overwritten A new prompter indicates end of command M Menu The Menu command is used to select the device type you intend to work with The current device type always becomes part of the command prompter Sending an M lt cr gt causes a menu to be output from which the desired device is then selected If the code letter for the device is already known then just send M code and the device will be selected Selecting a device establishes the programming algorithm to be used as well as the device pinout proper programming voltage and prompter Menu Command Examples follow Page 6 Model 7228 Chapter Il xxxx MD 2732A Note that a cr lf and new prompt are output subsequent to send ing the code letter D which selects the 2732 device type 2732A lt gt EPROMSELECTIONMENU NMOS NMOS CMOS EEPROM W ADAPT A 2758 H 2516 L 27C16 P 5218 R 874x 1K B 2716 2532 M 27032 Q X2816A S 874x 2K 4 2716B 2532A X 48016 874xH 1K C 273
52. unt Hex Characters A delimiter is a dash a comma a space a carriage return or a line feed ascii characters 2Dh 2Ch 20h or OAh Carriage return and line feed are re presented by a cr or lf A FILENAME is a valid DOS filename to be used by PGMX to look for a file on the disk In the case where a percent 96 sign is specified the filename specified will be taken literally In other words you must be explicit and give the extension of the filename also If the percent sign was not specified then PGMX will automatically supply a HEX exten sion and look for a HEX even if you specified an extension An EXT isa valid DOS extension for the filename in your directory You are allowed to use any extension you wish here in the binary mode and the data will be sent to the programmer UNCHANGED The EXT will only be valid when you have specified a percent sign 96 within the brackets Page 34 Inc Model 7228 Chapter VIII AND REMEMBER The effective addressing range of a device is determined by it s size If a 2K byte device is being used then it only has 11 significant address lines and only the lowest 11 bits of the address field are significant Thus as far as the 7228 is concerned 000H is equivalent to 800H or FOOOH in a 2K device VALID COMMANDS FOR PGMX 1 Any valid programmer command except Ol OM OT R 2 Osssss eeeee An O symbol followed by the starting address 5555 follow
53. us string of ASCII HEX characters between the specified addresses If no addresses are specified the 7228 will output the entire contents of the selected device The R command may be aborted at any time by sending a dollar sign to the programmer The follow ing uses the eprom programmed in the example of the P com mand Example 2716 R444 445 lt cr gt 3323 2716 terminated by cr f followed by prompt Note The R command is primarily for automated reading of eproms If you execute the command line as shown in the above example you will find that the data output over writes the com mand line unless your terminal is in an auto line feed mode Example 3323 R444 445 lt cr gt 2716 Page 4 Inc Model 7228 Chapter Il The R command is handled by PGMX with the binary 96 read mode Don t confuse it with PGMX s R command which is to read Intel Hex 0 Intel Hex Output The Ol command has the same command syntax as the R com mand It differs in that the 7228 will output the device contents as an Intel hex file including the end record between the specified addresses or if no addresses are specified the entire device Again the command may be aborted if desired with a dollar sign OM Motorola Hex Output The OM command functions precisely the same way the OI com mand does except that the file output is in the Motorola S record format OT Tektronix hex file Output The OT command
54. vice 45 Limited Warranty 45 Service 46 PGMX Software License Agreement 46 License 46 Term 47 PGMX Limited WarranigZ Limitations of Remedie48 General 49 Appendix A Introduction 51 General Rules 51 Appendix B Adapters for the 7228 53 Appendix C Cross ReferenaB_ Appendix D Trademarks 69 Page v Table of Contents Model 7228 Inc Notes Page vi GTEK Inc Model 7228 Chapter INTRODUCTION Congratulations You now have what we believe to be the most cost effective and advanced eprom programmer on the market today The design philosophy used on the 7228 allows for simple future expansion of capabilities All communications with the 7228 is in printable ASCII characters and it supports Intel Motorola and Tektronix hex formats as well as simple block formats Additionally the 7228 supports the MCS 86 extended hex format and Motorola s S record format with features for automatically split programming two eproms for use in a true 16 bit data path Resident features include facilities for making source to eprom content comparisons erasure checks formatted device listings menu driven device selection a Zap command for chip erasing EEPROMs and more The 7228 s interrupt driven type ahead buffer allows it to program and verify in real time while data is being sent The model 7228 programs and verifies in real time transparent to the user whose sole respon sibility is to send

Download Pdf Manuals

image

Related Search

Related Contents

INSTALLATION MANUAL  Page 1 of 18  Getting Started - Community RTI Connext Users  STROBO Light Versalight D  Als PDF herunterladen  USER MANUAL  - NEC Display Solutions Europe  Untitled - Leduc.s  GeoLite® MicroSilicato  Philips HipCase DLA28000H  

Copyright © All rights reserved.
Failed to retrieve file