Home
        Get Model 200 Manual
         Contents
1.   hexadecimal number OD i e  the  decimal number 13     ASCII    American Standard Code for  Information Interchange  The method  of encoding characters  letters   numbers  punctuation  and controls   into 7 bits  Specific examples used in  the Programmer description are     lt cr gt  represents the ASCII Carriage  Return character  value ODH      lt If gt  represents the ASCII Line Feed  character  value OAH      lt BREAK gt     BREAK is defined in the Programmer  by a non quiescent  positive  voltage  on the TXD input lasting at least 67  ms  As it is not always possible to  generate the BREAK character and  maintain software portability  the ASCII    lt 196 gt   character is allowed as an  alternative  In this case the character  must be sent at the speed being used  by the Programmer at the time      lt ENTER gt     Represents a press of the ENTER   RETURN  CR or CARRIAGE  RETURN key on the user terminal  keyboard     EPROM    Erasable Programmable Read Only  Memory  Usually means erasable by  means of UV light     PROM  Programmable Read Only Memory     PROM Programmer Series II User Manual    RS232C    American modem interface standard   very similar to a combination of the  CCITT standards V24 and V28  The  interface is widely used  or misused   as a form of interface for connection  between various items of computer  equipment  As RS232C was never  intended for this use  it is a constant  cause of headaches for computer  users  However you should encounter  no problem
2.  21V   21   27512 22   27513 23   87C64 24   87C256   25   8755 26   8755A 27   8355   28   8748   29   8749 30   8750 31   8748H 32   8749H   33   8750H 34   8741 35   8742 36   8041     37   8042   38   8048   39   8049   40   8050     41   8751 42   8752 21V 43   8744 44   8051     45   8052   46   8044   47   87C51 48   63705V   49  75P54 6 50   EMULATC 51   2816A 52   2817A   53   2864A   Type 18   27128A gt     May also be used with type number to  save displaying the menu  e g     NO TYPE  gt  T 10  2716  gt    VI  lt filoff gt  lt promoff gt   VM  lt filoff gt  lt romoff gt     VH  lt addr1 gt   lt addr2 gt   VB  lt addr1 gt   lt addr2 gt     Verify from Intel Hexadecimal  format   Verify from  Hexadecimal format  Verify from    Hexadecimal  Verify from Binary    Procedure is as for PI  PM  PH  PB   The file will be compared against the  PROM and the report will display the  first address which did not match  if  any     Motorola    unformatted    23    PROM Programmer Series II User Manual    X  EXCHANGE bytes command  This command reverses the default    setting for the byte sequence when  programming 16 bit wide PROMs     Default settings are     BINARY MOST SIG BYTE HIGHER ADDRESS  HEXADECIMAL MOST SIG BYTE HIGHER ADDRESS  INTEL MOST SIG BYTE HIGHER ADDRESS  MOTOROLA MOST SIG BYTE LOWER ADDRESS  e g    27210 X   Bytes REVERSED   27210       use to abort any command   Note  Program Binary and Verify  Binary can only be aborted by    providing the pre specified numb
3.  used by PROMDRIVER      MODULE HEADER RECORD    RECORD RECORD MODULE MODULE  RSVD CHECK  TYPE LENGTH NAME LENGTH NAME SUM  02 LLLL LL NN 00 00 CC  CONTENT RECORD   RECORD RECORD SEG OFFSET DATA CHECK  TYPE LENGTH ID BYTES SUM   06 LLLL 00 AAAA DD   DD CC  MODULE END RECORD   RECORD RECORD MOD SEG OFFSET CHECK  TYPE LENGTH TYPE ID SUM   04 05 00 00 00 0000 F7   END OF FILE RECORD   RECORD RECORD CHECK   TYPE LENGTH SUM   0E 01 00 F1    MQP Electronics Ltd    where   LLLL is 2 byte length     AAAA is 2 byte load address for the  data bytes     DD is a data byte  The number of data    bytes is only limited by the record  length     CC is the checksum byte     For an absolute object record the  Segment ID must be 0     LL is a one byte name length     N   N is a variable length ASCII string   the module name      RSVD is a reserved field of 2 zero  bytes     PROMDRIVER responds to  CONTENT records  and requires that  the file ends with an END OF FILE  record     All other record types are ignored   except for illegal types which cause a  file format error to be reported     When creating object files  PROMDRIVER generates     a Module Header record   a variable number of Content records  a Module End record   an End of File record     The MODULE NAME generated is    MQP ELECTRONICS    Intel 8080 Absolute Object files are  limited to 64 Kbytes in size     PROM Programmer Series II User Manual    MQP Electronics Ltd    9 7 Intel 8086 Absolute Object    This format is made up of re
4. 3 7A 56 8A   7C 45 F3 6D 74 28 D4 6E CD C3 C9 56 D6 94 3D 56  When reading in this format  PROMDRIVER will regard sequences  of valid hexadecimal characters as  bytes  ignoring overflow  and any  other characters  including new lines   as separators  thus    1 2 3 C D    01 02  03 0C 0D    101 102   103 FOC 30D    are all equivalent     9 3 Freeform Decimal Format    This format is the same as Freeform  Hexadecimal except that up to 3  decimal characters are used to  represent each byte     MQP Electronics Ltd    9 4 Intel Hexadecimal     Intel 8080 Hex ASCII and Intel 8086  Hex ASCIl     This format combines the Intel 8080  Hex ASCII and the Intel 8086 Hex  ASCII formats  The latter is a superset  of the former  PROMDRIVER reads  both formats and generates the 8080  subset wherever possible     The Intel Hexadecimal format is a way  of representing an object file in a  format which may be directly displayed  and read  as all characters within the  file are printable ASCII characters  or   lt cr gt  or  lt lf characters     Binary byte values are represented by  a hexadecimal representation of the  byte coded in ASCII  For example the  eight bit value 01011100 is 5C in  hexadecimal  To code this in ASCII the  2 bytes 00110101  ASCII for 5  and  01000011  ASCII for C  are required     A hexadecimal file is made up of  records  There are 4 possible record  types     Extended address Record    RECD REC ZEROES REC  USBA CHK   MARK LEN TYP SUM   E    02       0000       02       H
5. DATA CHK contiguous records each having the  CHARS COUNT SUM same basic format      S2       HH    HHH HHH    CCO  lt CR gt   lt lF gt   RECORD RECORD CONTENTS RECORD CHECK  i TYPE LENGTH SUM  End or EIG Recaro  T  VTE BYTE     RRECORD LENGTH   V  ier  START BYTE LOAD CHK RYTES  a ee All bytes are represented directly in  S8 03 0000 FC  lt CR gt   lt lF gt  d g i     SQ       03    0000 FC  lt CR gt   lt IF gt  the file by their binary values  All    where H represents a hexadecimal  character  0123456789ABCD  E F  coded in ASCII     CC is a single byte  2 character   checksum which is the one s  complement of the sum  modulo 256   of all the bytes  not characters  after  the start characters but before the  checksum in a record     The BYTE COUNT is the total number    of bytes following in the record   including the checksum   PROMDRIVER will read files    containing any of these record types     When creating object files  it will never  generate an SO or S8 record  and will  only generate an S2 record if  necessary  Therefore if a PROM  address plus File Address offset  exceed OOFFFFH then an S2 record  will be generated     13    multiple byte values are ordered least  significant byte first  The CHECKSUM  is the 2 s complement  modulo 256  of  all the other bytes in the record     In 8080 Absolute Object format  PROMDRIVER is only concerned with  the following record types   These  descriptions are not figorous and only  describe the records to the extent that  they are
6. HHH    CU  lt CR gt   Data Record   RECD REC LOAD REC DATA CHK   MARK LEN ADDR TYP SUM   A HUT    HHHH       00       HH HH       COC  lt CR gt   Start address Record   RECD REC ZEROES REC CS IP CHK  MARK LEN TYP SI IM SUM  Pi    04       0000       03       HHHH    HHHH    CC  End of file Record   RECD REC ZEROES REC CHK   MARK LEN TYP SUM   i    00         0000       01       FF  lt CR gt   lt IF gt     where H represents a hexadecimal  character  0123456789ABCD  E F  coded in ASCII     CC is a single byte  2 character   checksum which is the two s    PROM Programmer Series II User Manual    complement of the sum  modulo 256   of all the bytes  not characters  after  the record mark but before the  checksum in a record  and USBA is  the Upper Segment Base Address   which is multiplied by 16 and added to  the following record Load Addresses  to produce the actual load addresses   USBA is assumed to be 0000 until an    Extended Address Record is  encountered   PROMDRIVER will read files    containing any of these record types     When creating object files  it will never  generate a Start Address Record  and  will only generate an Extended  Address Record if it is necessary   Therefore if a PROM address plus File  Address offset exceed OOFFFFH then  an Extended Address Record will be  generated     Hexadecimal files contain address  information  When PROMDRIVER  creates a Hexadecimal file it  commences generating addresses    from the value of the File Address     Similarly w
7. IVER generates    an LHEADR record   a THEADR record    a variable number of PEDATA records  a MODEND record    The MODULE NAME generated is  MQP_ELECTRONICS    Intel 8086 Absolute Object files are  limited to 1 Mbyte in size     9 8 Intel 286 Absolute Object    This file format comprises the following  sequence    a FILE HEADER  1 byte   a BOOTLOADABLE MODULE  HEADER  95 bytes    a variable number of ABSTXT fields   variable length     a CHECKSUM  1 byte     FILE HEADER   One byte with the value A2H    BOOTLOADABLE MODULE HEADER    TOTAL RSVD ABSTXT RSVD LAST  RSVD    SPACE LOCATIO  LOCATI  4BYTE 71 ZERO 4BYTES 4ZERO 4BYTES 8 ZERO  BYTES BYTES BYTES    TOTAL SPACE is a 4 byte value  indicating the minimum number of  bytes in main memory needed to load  the module     ABSTXT LOCATION is a 4 byte value  representing the offset in bytes of the  ABSTXT section from the start of the  file     MQP Electronics Ltd    LAST LOCATION is a 4 byte value  representing the offset in bytes of the  last byte in the file from the start of the  file     ABSTXT field  REAL LENGTH TEXT  ADDRESS    3 BYTES 2 BYTES LENGTH BYTES    CHECKSUM is a single byte which is  the complement mod 256 of all the  previous bytes in the file     Intel 286 Absolute Object files are  limited to 16 Mbytes in size     PROM Programmer Series II User Manual    MQP Electronics Ltd    10 HOST COMPUTER  PROTOCOL    The Series II PROM Programmer  communicates with its host computer  via a serial RS232C link  The Host  Co
8. PROM Programmer Series Il User Manual  MQP Electronics Ltd    QI ELECTRONICS   PROM PROGRAMMER SERIES II  USER MANUAL   MODELS 160 170 180 200    MQP Electronics Ltd    Unit 2   Park Road Centre  MALMESBURY   Wiltshire   SN16 OBX   UK   Tel   44  0 1666 825666  Fax  44  0 1666 825141  e mail sales mqp com    Website   www map com    Issue 7 10 03    COPYRIGHT    1988 2003 MQP Electronics Ltd     MQP Electronics Ltd PROM Programmer Series Il User Manual    1 INTRODUCTION  Host protocol  Terminal mode protocol  2 DEFINITIONS  HEXADECIMAL VALUE REPRESENTATION   ASCII   lt BREAK gt    lt ENTER gt   EPROM  PROM  RS232C  TERMINAL EMULATOR  ZIF  3 SYSTEM REQUIREMENTS  4 INSTALLATION  4 1  Hardware Installation  4 1 1  Mains Power Connection  4 1 2  RS232C Connection  4 2  PROMDRIVER Installation  5 WARNINGS  6 PROMDRIVER OPERATION  MENU MODE  7 PROMDRIVER OPERATION   COMMAND LINE MODE  7 1 Syntax  7 2 Defaults  7 3 Instructions  8 PROBLEMS  9 FILE FORMATS  9 1 Binary Image  9 2 FreeformHexadecimal Format  9 3 Freeform Decimal Format  9 4 Intel Hexadecimal  9 5 Motorola Hexadecimal  9 6 Intel 8080 Absolute Object      o   o oo N DOD om O1 BB A P PHP WOW WWW CO CO CO GO D   ND          ch  M MU   sech    sch            ow non A             MQP Electronics Ltd PROM Programmer Series II User Manual    9 7 Intel 8086 Absolute Object  9 8 Intel 286 Absolute Object  10 HOST COMPUTER PROTOCOL  11 CALIBRATION AND SERVICING  Appendix 1 Terminal Mode  1  System Requirements  2  Terminal Mode O
9. RMINAL  MODE required   OFF   HOST  COMPUTER  Protocol   N C   HOST  COMPUTER  Protocol   ON     TERMINAL  Protocol     RS232 specifies that ON is a voltage  greater than  6 and OFF is a voltage more  negative than  6     24    MQP Electronics Ltd    Appendix 3 Data Flow Control    Four types of data flow control  or lack of  it  are used by the Series II Programmer     RS232 control line     The Programmer will stop transmitting if  the RS232 line DTR is turned OFF  and  will continue if it is turned ON  In Terminal  emulation it will turn CTS to OFF if it wants  the Terminal to stop transmitting     XON   XOFF     The Programmer will stop transmitting if it  receives an XOFF character  Control S   It  will resume if it receives an XON   Control Q   In Terminal emulator it will  send XOFF if turning CTS off did not stop  the flow  and will send XON when ready  for further characters     Character echo     This is only appropriate in Terminal  emulation when transmitting a file to the  Programmer for programming or verifying  a PROM  The method by which some  terminal emulation programs expect to  have their file transmission controlled is by  character echo  That is  the emulator will  send each successive character of the file  only after the last one has been echoed by  the Programmer   This is the method used  for example by the public domain program  MODEM7   If this method is used the  setting of File Echo ON must be used  If  the emulator allows file transmit flow  con
10. TEL  HEX     3 is the select file format number in the  PROMDRIVER menus     P PRODUNIT HEX    causes the device to be programmed  from the file named  It is mandatory to  have specified the device type before  this instruction  The user will see  information concerning the progress of  programming  together with the  opportunity to retry in the event of  failure     M    causes a message    Again  Y N     to  be displayed at the end of the  command line  If the user responds  with a  Y   the whole sequence of  instructions in the command line is  repeated  The  M  instruction can  appear anywhere on the command  line     MQP Electronics Ltd    Note that because we have not  specified otherwise  the following  defaults are assumed   File Address   000000    Polarity   TRUE  Byte Select   ALL  NORMAL     A similar command line could have  programmed two sets of PROMs  one  containing the ODD bytes  the other  the EVEN bytes of the file  If the target  device had been a micro processor  with a code locking function  the  device could be locked as part of the  same command line     See the examples below  A useful  feature is the option to request a  parameter from the user at the time of  programming  The normal parameter  is replaced with a question mark to  achieve this     To assist in the testing of new batch  commands  an instruction is available  to display the effects of each batch  instruction   D should be included in  the command line and removed when  testing is comp
11. addr gt    VI  file offset  prom offset        Display      Display  Intel      Display  Motorola      Display  plain Hex      Program  manually      Program  Intel      Program  Motorola     Program  plain Hex     Program  Binary      Verify  Intel    VM  file offset  orom offsetl      Verify  Motorola     VH  lt addr gt   lt addr gt    Verify  plain Hex     VB  lt addr gt   lt addr gt    Verify  Binary   B  Blankcheck C  Checksum E  file Echo  H  Help R  firmware Rev S  Status    T  Set type     or  lt BREAK gt   reset  l optional    X  Exchange Bytes    abort command    MQP Electronics Ltd    2 4 Command Descriptions   B   Blankcheck   Checks whether the PROM in the  socket is fully erased and reports  result    C   Checksum   Calculates PROM checksum by  adding together the values of all  the bytes in the PROM    D  lt addr1 gt   lt addr2 gt  lt R gt    Display PROM contents between  addresses entered  e g   2764 gt D013   0000 C3 04 07 FF 41 42 43 44 45  39 38 37 36 AB CD EF   0010 98 87 76 54   2764  gt    The display may be paused by  pressing the CTRL and the S keys  of the user terminal simultaneously  and may be restarted by pressing  CTRL and Q simultaneously  It may  be aborted by pressing      DI  lt addr1 gt   lt addr2 gt    DM  lt addr1 gt   lt addr2 gt    DH  lt addr1 gt   lt addr2 gt     Display PROM contents  addresses entered in     between    Intel Hexadecimal Format  Motorola Hexadecimal Format  unformatted Hexadecimal    Each of these 3 commands is inten
12. cords  having the same basic form as for  8080 Absolute Object     RECORD RECORD RECORD CONTENTS CHECK  TYPE LENGTH SUM  1 byte 2 byte  record length  1  bytes 1 byte  The following record types are relevant  to PROMDRIVER operation   THEADR RECORD  RECORD RECORD MODULE MODULE CHECK  TYPE LENGTH NAME LENGTH NAME SUM  80 LLLL NL NN CC  LHEADR RECORD  RECORL RECORD MODULE MODUL CHECI  TYPE LENGTH NAME LENGTH NAME SUM  82 LLLL NL NN CC  MODEND RECORD  RECORE RECORD MODULE TYPI  TYPE   LENGTH  8A 02 00 00 74  PEDATA RECORD  RECORE RECORD FRAME OFFSET DATA CHECK  TYPE LENGTH NO SUM  BYTES  84 LLLL AAAA OA DD  DD CC  PIDATA RECORD  RECORD RECORD FRAME OFFSET ITERATED CHECK  TYPE LENGTH NO DATA BLOCK SUM  86 LLLL AAAA OA DD   DD CC  ITERATED DATA BLOCK   REPEAT BLOCK CONTENT  COUNT COUNT    REPEAT COUNT is the number of  times the CONTENT field is to be  repeated     If BLOCK COUNT is non zero then the  CONTENT field is that number of    If BLOCK COUNT is zero then the  CONTENT field contains a DATA  COUNT byte followed by that number  of data bytes     Maximum iteration depth is 17     Load address is obtained from     FRAME NO   16   OFFSET     OFFSET must be less than or equal to  OFH     PROM Programmer Series II User Manual    PROMDRIVER responds to PEDATA  and PIDATA records  and requires that  the file ends with a MODEND record   All other record types are ignored   except for illegal types which cause a  file format error to be reported     When creating object files  PROMDR
13. ded  to be used to create a file using the file  capture facility of a terminal emulator  program  The procedure is     a   Enter the display command except  for the final  lt ENTER gt      b   Instruct the terminal emulator  program to start saving to a given file     c   Complete the command with the   lt ENTER gt  key     21    PROM Programmer Series II User Manual    d   The PROM will be displayed in the  appropriate format  When complete  the    Socket Active    lamp will be  extinguished  No prompt is yet  displayed  to avoid the prompt being  added to the saved file     e   Terminate the file capture by the  terminal emulator     f   Press the  lt ENTER gt  key  The  prompt will now be displayed     E  File Echo toggle    While programming or verifying from a  file the Programmer may be set to  echo each character sent to it by the  terminal emulation program  which  may use the echoed character as a  means of data flow control  If flow  control is implemented by RS232  control line or by XON XOFF character  protocol it may be required that the  Programmer not echo during object file  reception     Each time E lt ENTER gt  is typed  the  state of the file echo function is  toggled and the new state is reported     e g   8755  gt    File echo ON  8755  gt    H   Help    Displays the help menu shown  above     P  lt addr gt   manual Program    Permits manual programming of    sequential bytes of the PROM     Each address is displayed along with  the current contents of t
14. er of  bytes  or sending a  lt BREAK gt  or by  cycling the mains switch  Remember  that turning off the Programmer is  likely to damage the PROM in the  socket       or  lt BREAK gt   Reset Programmer     Resets the Programmer software  except that the PROM type remains  set   to prevent accidental damage  caused by changing type     may be keyed at any time  including  characters sent as part of an object  file  except while programmer is  expecting a binary file     lt BREAK gt  will be accepted at ANY  time by the Programmer    MQP Electronics Ltd    Appendix 2 RS232C Lead    The Programmer is equipped with a  female 25 way D type connector  Only pins  2  3  5  6  7  8  20 and 23 are connected   The pinout is designed so that connection  to an IBM PC  XT or compatible may be  achieved using an off the shelf male to  female RS232C cable which connects at  least pins 2  3  5  6  7  8 and 20     PC Connection Chart     IBM PC IBM AT MQP SERIES II  25 PIN MALE 9 PIN MALE 25 PIN FEMALE  1 GROUND  2 IXD O P 3 TXD OP 2 TXD VP  3 RXD IP 2 RXD IP 3 RXD O P  4 RTS OP 7 TRS OP  5 CTS W 8 CTS Pt 5 CTS Op   6 DSR IP 6 DSR IP  7 GROUND 5 GROUND 7 GROUND  8 DCD IP 1 DCD IP 8 DCD O P  2C DIR Ob 4 DR Ob 20 DIR VP   22  RI  P 9  R  Ww   23  DSRS   pr   flow control    xk    DSRS is not connected to anything if  PROMDRIVER is to be used  It must be  connected to pin 8 if TERMINAL mode is  required     H using the programmer with other host  computers a lead may be made up quite  simply usin
15. g the following table of pin  connection requirements  The use d pins  and connector by the Programmer is that    of a DCE  Data Communications  Equipment  or Modem    WARNING  When used with  PROMDRIVER under MS DOS all    connections are mandatory  The optional  requirement referred to in this section refer  to Terminal Mode operation only      PROM Programmer Series II User Manual    PROGRAMMER PIN DESCRIPTIONS FOR  USE WITH COMPUTERS OTHER THAN PC  COMPATIBLES     Pir Directior Name  2 INPUT TXD    3 OUTPUT RXD    5 OUTPUT CTS    6 OUTPUT DSR    7   GND  8 OUTPUT DCD    20 INPUT DTR    23 INPUT DSRS    Function    Data to  Programmer    Data from  Programmer    Data Flow Control    by Programmer    Programmer  on    Signal Ground    Programmer  on    Data Flow Control  by  host    Select  TERMINAL mode   i e  direct  connection of a  terminal to the  Programmer     Description  Mandatory    Mandatory    Optional output   Programmer turns  this signal OFF if  itis not prepared  to accept a  character at that  time   Optional output    In programmer  firmware versions  up to v 3 00 this  output is ON  whenever the  programmer is  powered     Mandatory    Optional output   This output is  always ON when  the programmer  is powered     If not used  connect to pin 8   IMPORTANT   If  DTR is taken to  OFF by the host  data transmission  on pin 3 will  cease after the  character  currently being  transmitted  and  will resume when  DTR is taken to  ON     Connect to pin 8 if  TE
16. hat location   followed by a prompt inviting a value to  be programmed at the location     MQP Electronics Ltd    Enter a hexadecimal value to program  a byte  or  lt ENTER gt  to skip to the next  byte  or   to terminate the command   The message    failed    will be displayed  next to any unsuccessfully  programmed byte     Remember that bits which are already  programmed will remain programmed     e g   8751  gt  P 345   0345 FF 04   0346 FF 87   0347 00 01 failed  0348 01 00   0349 FF     8751  gt    PI  lt filoff gt  lt promoff gt   PM  lt filoff gt  lt romoff gt     PH  lt addr1 gt   lt addr2 gt   PB  lt addr1 gt   lt addr2 gt     Program from Intel Hexadecimal  format    Program from Motorola  Hexadecimal format   Program from unformatted  Hexadecimal    Program from Binary     lt filoff gt  is File Address corresponding  to start of PROM      lt promoff gt  is desired offset in prom     a   Enter   command     lt ENTER gt      b   Instruct terminal emulation program  to transmit the file containing the  object file in the appropriate format     including    c   The file will be transmitted and  programming will take place  The  programmer will control the data flow  as it programs the bytes of the PROM     22    PROM Programmer Series II User Manual    d   On completion the    Socket active     lamp will be extinguished  may also be  caused by incorrect format   the file  echo  if not deselected  will show that  the transfer has ceased  and the  terminal emulator prog
17. he full 19200  bits second rate without losing characters   For example an IBM PC compatible using  the MSDOS Auxiliary driver is limited to  around 2400 bits sec in this application   although correct installation as explained  in the appropriate section normally permits  operation at 9600 or 19200 bits sec      If you have problems on a particular  computer with data loss as evidenced by     COMMUNICATION ERROR  messages or  lock ups then try running the serial link at  lower rate     Unfortunately  even using interrupt control  and hardware handshaking as  PROMDRIVER does in modes 3 to 12     MQP Electronics Ltd PROM Programmer Series II User Manual    there is nothing that can be done if data  from the Programmer arrives at a rate that  the interrupt routine cannot keep up with   This usually happens when other interrupt  driven software steals time away from  PROMDRIVER  This other software may  be resident software loaded by left resident  after use like PRINT EXE    H unsure  try booting up with empty  AUTOEXEC BAT and CONFIG SYS files   If this cures the problem  try putting back  the contents of those files a bit at a time     26    MQP Electronics Ltd PROM Programmer Series Il User Manual    Appendix 4 Serial Interface  Parameters    If using Terminal Mode the serial port  of the host computer should be set up  to communicate as follows     Mode  Asynchronous     Speed 300  600  1200  2400   4800  9600 or 19200 b s   The higher the rate the  faster the data transfer
18. hen programming   or  verifying a PROM from a file  the Prom   ffset must be set to the address     within the file which corresponds to the  first byte to be programmed into the  PROM     tel hexadecimal files are limited to 1  Mbyte in size     To allow compatibility with Digital  F  sd  rch Hex files a Record with a  record length of 00 is regarded as an  End of File Record     MQP Electronics Ltd    9 5 Motorola Hexadecimal   Exorciser and Exormax formats     This format combines the Exorciser  format and the Exormax format  The  latter is a superset of the former   PROMDRIVER reads both formats  and generates the Exorciser subset  wherever possible     Sign on record    PROM Programmer Series II User Manual    Hexadecimal files contain address  information  When PROMDRIVER  creates a Hexadecimal file it  commences generating addresses    from the value of the File Address     Similarly when programming   or  verifying a PROM from a file  the Prom  Offset must be set to the address  within the file which corresponds to the  first byte to be programmed into the  PROM     START BYTE LOAD DATA CHK  CHARS COUNT ADDR SUM H H imi  Gi gr ur eee cR we  Motorola hexadecimal files are limited  to 16 Mbyte in size   Data record  2 byte address    START BYTE LOAD DATA CHK 9 6 Intel 8080 Absolute Object  CHARS COUNT ADDR SUM  St HH HH  HDH CC  lt CR gt   lt F gt  Both 8080 and 8086 Absolute Object  Data record  3 byte address   formats are formed from a series of  START BYTE  LOADADE 
19. ill a  PROM are assumed to be intended for  the next PROM in a set     When programming or verifying  the  first byte in the file is assumed to  correspond to address 000000  This  does not prevent the PROM being  mapped at some different address in  subsequent use  but merely provides a  convenient way to refer to the contents  of the file  The File Address setting  function may be used to program or  verify a PROM from any convenient  point within the file  For example   setting the File Address to 002000   and the PROM type to 2764 would  allow programming to occur starting  with the  2000H th byte in the Binary  Image file  and thus relate to the  second PROM in the set     When reading a PROM to a file the  File Address offset has no effect on a  Binary Image file  The number of bytes    PROM Programmer Series Il User Manual    in the file will always equal the number  of bytes in the PROM     For normal use with PROMDRIVER  the Binary Image format is  recommended  as it involves less  processing the system response is  much faster     9 2 FreeformHexadecimal Format    This is a printable file format in which  each byte is represented by two ASCII  hexadecimal characters  which are  separated from adjacent bytes by  spaces or new lines  Like binary files  no address information is included in  the file     PROMDRIVER generates such files  with a space character after each byte   and a  lt cr gt  ltz pair after each 16  bytes  e g     03 36 5F 3D C4 DD 02 B3 65 7D 91 04 D
20. k rom lock select  s3     Select option _    PIC 16C5X FAMILY    PIC 16C5x SPECIAL FUNCTIONS    PROGRAMMABLE SETTINGS  Oscillator Type   Watchdog Timer Disabled  Memory Codelocked  Programmed ID    n b  Only options followed by a  p may still be programmed     Oscillator Type of OTP devices must not be reprogrammed   FOR INFORMATION ONLY  Calculated Checksum    7FFF    re read settings shown above  disable watchdog timer  activate code protect   program checksum or id  program oscillator configuration    Select option _    If item 4 is selected the following sub   menu appears     1   program checksum  s3   2   program user defined id  s4     Select option _    28    
21. lete  Using the example  above you can run the debug mode  with the modified command     PD  D T 31 O 3 P PRODUNIT HEX  M    7 1 Syntax      Arguments will be performed in the  order present       Arguments are separated by one or  more spaces       Arguments may not have embedded  spaces       Any parameter can be replaced by    or    in which case that parameter will  be requested from the user    requests  the parameter only the first time if the  M instruction is selected       All parameters except filename  file  address  and security parameter are    PROM Programmer Series II User Manual    decimal numbers equal to the normal  responses to menu mode questions     7 2 Defaults    Parameters not defined are assumed  to be their usual default as follows     OBJECT FILE FORMAT BINARY OR INTEL  HEX    FILE ADDRESS 000000  POLARITY NORMAL  BYTE SELECT ALL  NORMAL     7 3 Instructions    A comprehensive list of instructions  available in batch mode may be found  in the on line HELP     MQP Electronics Ltd    8  PROBLEMS    Whether you are using PROMDRIVER  or a Terminal Emulator  the problem  you are most likely to encounter is an  apparent total lack of communication   The following comments may help     The serial lead must be made up as  described or be one supplied by MQP  Electronics  Attempts to simplify the  lead wiring will not succeed     In Terminal Mode remember that DTR   pin 20  of the Programmer RS232  connector must be ON  greater than   6V relative to pin 7  f
22. llowing list summarises the  accepted by the    Request Model Description   D lt cr gt     Echo control    E01 lt cr gt  Echo ON  E00 lt cr gt  Echo OFF    Fast Transfer Commands FQ lt cr gt   FB  lt no of bytes gt  lt  lt addr gt  lt cr gt   FC lt no of bytes gt  lt addr gt  lt  cr gt   FP lt no of data bytes gt  lt start addr gt    lt data byte  gt data byte lt checksum gt  lt cr gt   FR lt no of bytes gt  lt addr gt  lt cr gt   PROM In socket check  l lt cr gt   Enter TERMINAL  Monitor  mode  M lt cr gt     No verify control    NO1 lt cr gt  Set No verify Mode  NOO lt cr gt  Set Verify Mode  Program    P lt no of data bytes gt  lt start addr gt   lt data  byte gt     lt data byte gt  lt checksum gt   lt cr gt     Read  R lt addr gt  lt cr gt   Security programming    S lt no of bytes gt  lt sec type gt     lt param gt     lt param gt   lt checksum gt  lt cr gt     Type set  T lt type no gt  lt cr gt     MQP Electronics Ltd PROM Programmer Series Il User Manual    Request Version No   V lt cr gt    Enter test mode  Z   Enter Baud Rate Selection Phase    or  lt BREAK gt     Possible Responses from the    Programmer   Y lt cr gt  lt lf gt  Command performed  no error  Y  lt param gt     lt param gt   lt cr gt  lt lf gt  Command performed   result  NB lt addr gt  lt cr gt  lt lf gt  PROM is not blank  NT lt cr gt  lt lf gt  Type error   NS lt cr gt  lt lf gt  Syntax error  Nl lt cr gt  lt lf gt  PROM in socket error  NP lt addr gt  lt cr gt  lt lf gt  Failure to program    Com
23. mands are sent to the  Programmer  Responses are received  from the Programmer as a result  but  are never sent by the Programmer  until the complete Command has been  received  except during fast transfer  commands which allow special  concessions to achieve high transfer  rates   The host computer also follows  this practice  waiting for a complete  response before transmitting any  characters of the next command  The  responses from the Programmer may  take up to 40 seconds from receipt of  Command  so the Driver must not  assume a communication failure if  there is not an immediate response     18    MQP Electronics Ltd    11 CALIBRATION AND  SERVICING    The Series Il PROM Programmer is  guaranteed for one year against any  defects of manufacture  Please note  that we cannot be responsible for any  unit which has been opened by the  user or has in the opinion of our  service engineers been misused     The Series II PROM Programmer  contains a small number of adjustable  components which are calibrated  during manufacture  These  components control the special  voltages used for Programming  various PROM types  Under normal  circumstances it is unlikely that any  further attention need be paid to these  adjustments     If recalibration appears necessary  as  evidenced perhaps by a difficulty in  achieving reliable programming  or if  your company has a requirement for a  calibration certificate on its items of  equipment then the Programmer may  be returned to MQP Electro
24. mputer Protocol was developed to  provide a secure data transfer which at  the same time may be implemented on  host computers without the limitations  of the serial port on some machines  causing problems     This section will present a brief  summary of the Protocol  A  comprehensive specification can be  purchased for a nominal fee from MQP  Electronics     The Protocol has two phases   Automatic Baud Rate Selection phase    and Normal Command Mode     After switch on  the Programmer is in  the Baud Rate Selection phase  until  Baud rate selection has been  satisfactorily accomplished  after  which it is in the Normal Command  mode  The Baud Rate Selection mode  may be re entered by transmitting a     character  ASCII character 2DH  or a   lt BREAK gt  condition to the  Programmer     Baud Rate Selection     The Rate  comprises     Selection Sequence    A  lt BREAK gt  condition or a    character  followed  after 0 25 seconds  by 4  ASCII  lt cr gt  characters  preferably sent  at intervals of approximately 0 25  seconds     A wait  lasting about 1 25 seconds  for  a sign on message from the  Programmer which provides version  information and terminates with the  characters  lt cr gt  lt lf gt   ASCII ODH OAH    The message has a maximum    PROM Programmer Series II User Manual    permitted length of 81 characters  including the  lt cr gt  lt lf gt  characters     Normal Command Mode     The  commands  Programmer     Blankcheck    B lt cr gt     Checksum  C lt cr gt     fo
25. nics for  servicing or calibration  Please contact  us first for information about the  charge for this     Make allowance for the fact that  EPROM devices are not indefinitely  reprogrammable  and can also very  easily be permanently damaged by    mishandling  Please consider this  before assuming a fault in the  Programmer     A good way to destroy an EPROM and  also to damage the Programmer is to  define the wrong PROM type before  programming  Such damage is readily  detectable by our engineers  and  would have to be regarded as being  caused by mishandling     MQP Electronics cannot be  responsible for damage to PROM    PROM Programmer Series II User Manual    devices or consequential loss  whether  or not caused by the Programmer     MQP Electronics Ltd    Appendix 1 Terminal Mode    This appendix is included for reference  purposes only  for those customers  who already use Terminal mode     MQP no longer recommends the use  of Terminal Mode  as its limitations  prevent its being generally useful     There is no customer help service for  questions relating to the use of  Terminal Mode     1  System Requirements    Terminal Mode is intended for  situations where   an MS DOS  computer is not available  The user  will need to provide a computer  running a serial communications  package     To use the Programmer in Terminal    Mode with all functions the  requirement is   Host computer with Serial    asynchronous RS232C port  300  600   1200  2400  4800  9600 or 19200  ba
26. ocessor  controlled  automatically selecting  correct voltage  programming timings   and sequencing for the PROM type  selected  Manufacturer approved fast  programming algorithms are  automatically employed where  appropriate     The firmware of the Programmers is  regularly upgraded to keep pace with  developments in the field and the    PROM Programmer Series II User Manual    upgrades are made available to  existing owners at a nominal charge     The internal RAM size was chosen to  provide sufficient storage not to  significantly slow down the transfer  protocol  This provides future proofing  as there is no limit to the size of  PROM which can be programmed with  an appropriate socket adapter and  internal firmware     Communication with the host  computer is via a serial RS232C link   The data rate may be any standard  rate between 300 b s and 19200 b s  and the Programmers automatically  adapt to the rate of the host computer     A unique feature of the range is that  two independent communication  protocols are built in   Host Computer  Protocol    and  Terminal Protocol      Host protocol    Host Machine Protocol is designed to  permit reliable communication with a  host computer  taking into account the  range of capabilities of serial ports on  different computer types  It allows the  use of the MQP Electronics host  computer software package   PROMDRIVER  with its many  advanced features     PROMDRIVER is a versatile support  program for MQP Electronics EPROM  Pr
27. ogrammer  Please  read the warnings in this section     NEVER switch the Programmer on or  off with a PROM in the socket     NEVER change the PROM type with a  PROM in the socket    NEVER insert a PROM of a type other  than that selected     NEVER insert a PROM or socket  adapter upside down or otherwise  misaligned     NEVER remove  or insert  a PROM  while the Programmer Active light is  on     BEWARE of misleading  PROM type numbers   There have been cases of  different types being given  the same number  There  are even cases of one  manufacturer producing   over the years  devices  with the same type number  but incompatible methods  of programming  If in  doubt check the data sheet  for your device against  one from the PROM TYPE  LIST in appendix 6  The  algorithms used are briefly  described below that list     PROM Programmer Series II User Manual    6  PROMDRIVER  OPERATION   MENU   MODE   The user interface provides pop up  windows for all functions     Context sensitive HELP is available by  pressing F1 and all options available  are indicated on screen    MQP Electronics Ltd    7  PROMDRIVER  OPERATION   COMMAND  LINE MODE    A complete and accurate detailed  description of the batch mode  commands is given in the help utility  accessed using F1 from the main  menu mode screen of PROMDRIVER  or by running PDHELP    PROMDRIVER may be invoked by a  single command line with complete  instructions for programming a PROM  or PROM set  This mode is available  to allow 
28. ogrammers  It is designed to support  MQP s Series I  Programmers  Models  160  170  180 and 200     PROMDRIVER runs on any MS   DOS PC DOS computer and provides  advanced programming facilities to the  user with an extremely helpful menu  driven presentation  lts capabilities  include displaying and printing of  PROMs and files  PROM security and  other special functions  byte splitting   data polarity control  prom set blowing   manual programming and the ability to    MQP Electronics Ltd    read and write a variety of industry  standard object file formats     Terminal mode protocol    Terminal Mode Protocol is designed to  be used with a VDU or computer  running a terminal emulation program  connected to the Programmer   Messages which it sends are intended  to be displayed directly on the terminal  screen  This permits the Programmers  to be used with any computer having a  serial interface and a suitable    terminal  emulation    or    communications     program  The use of the Programmer  with a terminal emulator is covered in  appendices 1 2 3 and 4     Programmers of this versatility are the  subject of continual technical review  and MQP Electronics reserves the  right to change details of the  specification for the purpose of product  improvement     PROM Programmer Series II User Manual    MQP Electronics Ltd    2  DEFINITIONS    HEXADECIMAL VALUE REPRESENTATION     Hexadecimal values are represented  in this manual by following them with  H eg  ODH represents the
29. or it to operate   H your computer cannot or does not  turn it on then connect pin 20 to pin 8  of the Programmer RS232 connector     If you have had a communication  failure and think you have found the  reason  switch the Programmer off and  on again and restart PROMDRIVER  from scratch     After the Programmer has established  its data rate you can only CHANGE  data rate if the Programmer receives a     character at its current rate  or  a lt BREAK gt  character  In   other  circumstances you must switch the  Programmer off and on again     The following are the more common  problems you may encounter      Unless   use a baud rate of 2400    or less I  keep getting     Communication errors     You may not have installed  PDINIT DAT correctly  For    PROMDRIVER to be aware of the  location of PDINIT BAT the  environment must contain  PDDIR  lt directory name gt  This is  achieved by typing  for example  SET  PDDIR  PD  This command is  normally included in the  AUTOEXEC BAT file executed by the  system at start up     PROM Programmer Series II User Manual     The various menus are  displayed on the screen but they  include some odd characters    lt  2J       This will not occur if PROMDRIVER is  installed in the standard way  If you  have modified PDINIT DAT to use  communication modes 0  1 or 2  or if  you have not put the    SET PDDIR    command into your AUTOEXEC BAT  then PROMDRIVER assumes you  have installed ANSI SYS  The odd  characters are cursor positioning  string
30. peration  2 1 Starting up  2 2 Entering a Command  2 3 Command List  2 4 Command Descriptions  Appendix 2 RS232C Lead  Appendix 3 Data Flow Control  RS232 control line   XON   XOFF   Character echo   Speed  Appendix 4 Serial Interface Parameters  Appendix 5 Security Programming etc   8751 Family  87C51 Family  93CS06 26 46 56 66 EEPROMs  Z86E11 21  SGS T   Z86E21  Zilog   PIC 16C5x Family    15  15  17  19  20  20  20  20  20  20  21  24  25  25  25  25  25  27  28  28  28  28  28  28  28    MQP Electronics Ltd    1  INTRODUCTION    This manual describes the Series II  range of EPROM Programmers   Models 160  170  180 and 200     The Programmers are designed to  program all common EPROM types   Models 170 and 200 are equipped with  a 32 pin ZIF socket as standard  and  will program parts up to 1Mbit and  beyond     The other models have 28 pin sockets   but they can also be used to program  32 pin parts with the addition of a  Socket Adapter     This table summarises the capabilities  of the models     STD SOCKET 28PINS 32PINS 28PINS  32PINS  24 PIN EPROMS Y Y Y Y  28 PIN EPROMS Y Y Y Y  32 PIN EPROMS R Y    Y  40 PIN EPROMS   EEPROMS Y Y  8 PIN SERIAL EEPROMS   8748 FAMILY   8751 FAMILY   EMULATORS Y Y  Y   YES     WITH SUITABLE ADAPTER    All these Programmers are designed  to operate with any host computer or  terminal having an RS232C port   However best performance is obtained  in conduction with the specially  designed PROMDRIVER software     The Programmers are micropr
31. ram may report  that the transfer has finished     e   Type   to terminate the command   A report on the success of the  operation will be displayed     Note  Binary file programming will not  be echoed and will terminate when   and only when the number of bytes  specified in the command has been  received by the Programmer  To use  the PB or VB commands the terminal  emulation program must employ either    RS232 control line flow control or  XON XOFF flow control   R    firmware Revision no    Displays the version number of the  Programmer firmware  e g    8748A  gt R   Rev V3 60   8748A  gt    S   Status report   Reports the result of the most recent  attempt to program or verify a PROM   e g    27513 gt  S   Failed at 87D4   27513  gt    SD  lt value gt    Scroll Delay   Sets delay after  lt cr gt   lt lf gt  combination  sent by Programmer  in units of about   008 milliseconds from 1 to ffff   hexadecimal   Default setting is 1000    or about 33 ms  Consider varying this  if your Terminal Emulator loses    MQP Electronics Ltd    characters from the Programmer as  the result of the time taken to perform  a software scroll     T  Type set  Displays PROM type menu and  requests type required  e g    NO TYPE gt T   01   2508 10MS02   2508 50MS 03   2516 10MS 04   2516 50MS   05   2532 10MS06   2532 50MS 07   2564 10MS 08   2564 50MS   09   2758 10  2716  11   2732 12  2732A 10MS   13   2732A 50M14   2764 50MS 15   2764 16   2764A   17   27128 18   27128A 19   27256 20   27256
32. rear panel that you have  the correct unit for the local mains  voltage     MQP Electronics Ltd    4 1 2  RS232C Connection    The Programmer is equipped with a  female 25 way D type connector  A  male to female RS232C cable is  required  cables for both the PC XT   and the AT are available  If any other  type of lead is required please contact  MQP Electronics     Appendix 2 contains a detailed  description of the RS232C interface     4 2  PROMDRIVER Installation    The software can quickly be installed  by following the instructions on the  MQP Electronics website or on the  disc supplied with your programmer     The first time PD is run it will call a  simple installation program for you to  set up the communications method  with your Programmer and printer     And that   s all there is to it  You can  now run PD regardless of which  directory you are in  your settings will  be saved in each directory you use     The serial port speed will govern the  rate at which you can communicate  with your PROM Programmer  The  maximum rate possible will depend on  your computer  By default   PROMDRIVER uses 9600 Baud   which should work on all close  compatibles     If your clock rate is greater than  4 77MHz you should be able to select  19200 Baud  To change your  communications settings just type PD I  instead of PD    PROM Programmer Series II User Manual    MQP Electronics Ltd    5  WARNINGS    There are some certain ways to  destroy EPROMs  and possibly even  to damage your Pr
33. s  ANSI SYS is a standard MS   DOS PC DOS system file      When in terminal emulator  mode the Herald is displayed but  no prompt appears  Instead    keep seeing  NS  messages      The Programmer is using Host Mode  Protocol  Pins 23 and 8 should be  linked  alternatively type M lt cr gt       The Programmer just locks up  after   issue a program  read or  verify command      First check the serial lead as explained  above     Although the host protocol and  PROMDRIVER have been designed to  make best use of the host computer  serial port  it is possible that the host  may not be capable of handling the full  19200 bits second rate without losing  characters     For example an IBM PC compatible  using the MSDOS Auxiliary driver is  limited to around 2400 bits sec in this  application  although correct  installation as explained in the  appropriate section normally permits  operation at 9600 or 19200 bits sec      If you have problems on a particular  computer with data loss as evidenced  by    COMMUNICATION ERROR   messages or lock ups  then try running  the serial link at lower rate     MQP Electronics Ltd    Unfortunately  even using interrupt  control and hardware handshaking as  PROMDRIVER does in modes 3 to 12   there is nothing that can be done if  data from the Programmer arrives at a  rate that the interrupt routine cannot  keep up with  This usually happens  when other interrupt driven software  steals time away from PROMDRIVER   This other software may be resident  
34. s if you use a lead supplied  by MQP Electronics with the  Programmer     TERMINAL EMULATOR     also known as  Program     Communications    A program which is run on a computer   usually with a serial interface  which  makes the computer appear to be a  VDU or terminal  perhaps of a  particular type   Usually permits the  capture of received data to a file  and  the ability to transmit data from a  text   file  Examples are the public domain  programs MODEM7 and SIMTERM     and commercial programs like  Communicator  from Computer  Concepts     ZIF    Zero Insertion Force  Refers to the  type of socket used for the PROMS to  be programmed     MQP Electronics Ltd    3  SYSTEM  REQUIREMENTS   In order to run PROMDRIVER  successfully  the following system    requirements must be met   MSDOS 2 0 or later   Windows  Parallel version only      RAM requirement   512k    Serial asynchronous RS232C port   300  600  1200  2400  4800  9600 or  19200 baud     Parallel Port     Program space of    4  INSTALLATION    4 1  Hardware Installation    The only hardware installation required  is to fit a mains plug and connect the  cable     Connect the programmer to your PC  using the lead provided  either to the  serial or to the parallel port depending  on which programmer option you have  chosen     Hint  If you are not sure if you have the  parallel option board installed  switch  on your programmer and watch the  red socket active LED  One flash on  powering up indicates serial  communica
35. s will  take place     Bits 8 data   no parity bit   1  stop bit  or 7 data   1 parity  bit  any pol     1 stop bit    second option does not  permit binary files in  Terminal Mode     Receive Parity  Ignore     27    MQP Electronics Ltd    Appendix 5  Security  Programming etc     This is a list of the security programming  and other special programming features  for each series of devices     The functions marked with an  S     number  in square brackets are those available in  batch mode  This means that  for example   S1 is the instruction to use in batch mode  to lock an 8751 device  also see chapter  7     8751 FAMILY    Special function s1   Lock PROM  y n       87C51 FAMILY   1  program lock bit 1  s1   2  program lock bit 2  s2   3  program encryption table  Select option       Item 3 refers to the 32 byte encryption  table that can be programmed in these  devices    93CS06 26 46 56 66 EEPROMS    SERIAL EEPROM SPECIAL FUNCTIONS    As throughout PROMDRIVER  addresses relate to 8 bit byt  The EEPROM stores 16 bit words  The byte address is obtai    by multiplying the required word address by two  1   protect register read   2   protect register write   3   protect register clear   4   protect register disable  irrevocable        Select option _  Z86E11 21  SGS T     1  eprom lock  2  external memory lock     prota bit   s1    protb bit   s2     Select option _       PROM Programmer Series II User Manual    Z86E21  ZILOG     1   eprom lock  s1   2   ram lock  s2   3   4
36. software loaded by AUTOEXEC BAT  or CONFIG SYS  or left resident after  use like PRINT EXE     H unsure  try booting up with empty  AUTOEXEC BAT and CONFIG SYS  files  If this cures the problem  try  putting back the contents of those files  a bit at a time     Finally a tip for the situation  where the Programmer locks up  with the ACTIVE light on and an  expensive device in the socket   as a result of using too high a  communications rate      e DO NOT remove device with light  on     e Reboot your PC  CTRL ALT DEL    e Type PD to start PROMDRIVER     e PROMDRIVER will reset the  Programmer safely     e Now  with the ACTIVE light off   remove your PROM     PROM Programmer Series Il User Manual    MQP Electronics Ltd    9 FILE FORMATS    Object files up to 16 Mbytes in size are  accommodated by PROMDRIVER     Files are permitted to be in any of the  following formats   Note that some  versions of PROMDRIVER may omit  certain file formats      9 1 Binary Image    This format is so called because each  O or 1 required in the prom is  represented by a 0 or 1 in the file  The  individual bytes of the file represent  the individual bytes in the prom in a  one to one relationship  No address  information is included in such a file   The file may be shorter than a prom in  which case PROMDRIVER will fill the  rest of the PROM with erased byte  value  It may be the same size as the  PROM  or it may be larger than the  PROM  In the latter case  bytes in  excess of those required to f
37. the use of PROMDRIVER by  non technical personnel  or as part of  an MS DOS batch file program  lt  allows a single MS DOS command  line to program a PROM or PROM set    either as a once off event or  repetitively   Suppose an end user frequently    manufactures a small production run  of a product  He wants to be able to  blow a number of identical EPROMs  from a file on the disk called  PRODUNIT HEX  The file is in Intel  Hex format  and is always to be  programmed into a 27128A  The user  wants to be able to type the word     BLOW  at the MS DOS prompt  and  be instructed exactly what to do to  program his devices  To achieve this  you should create for him an MS DOS  batch file called BLOW BAT  In its  simplest form the batch file would  contain a single line of text as follows     PD T 31 O 3 P PRODUNIT HEX M    The command line comprises  PD   followed by 4 instructions  Notice that  the instructions are all separated by  space characters and that there are no  space characters within an instruction   The instructions will be carried out in    PROM Programmer Series II User Manual    the order you specify them  They are  shown in upper case for clarity but  may equally well be in lower case     The command  PD    will invoke PROMDRIVER which will  switch to batch mode because you  have included instructions in the  command line     T 31    sets the device type to 27128A  31 is  the PROMDRIVER type number for  this device type     O 3    sets the Object file format to IN
38. tions and two indicates  parallel     If you are not using PROMDRIVER  you will need to ensure that the host  system serial communication  characteristics are correctly set  The  last of these is usually a software  function  involving running a short  Serial Port Parameter Setting  program  If hardware adjustments are    PROM Programmer Series II User Manual    required then refer to the parameter  details in appendix 4     4 1 1  Mains Power Connection  IMPORTANT SAFETY INFORMATION     WARNING  THIS APPARATUS MUST  BE EARTHED     It is essential that the Programmer is  correctly earthed through the use of a  correctly connected 3 pin mains plug     IMPORTANT  The wires in the mains  lead are coloured in accordance with  the following code     Green and yellow     Earth  Blue  Neutral  Brown   Live    As the colours of the wires in the  mains lead may not correspond with  the coloured markings identifying the  terminals in your plug proceed as  follows     The wire which is coloured green and   yellow must be connected to the  terminal in the plug which is marked by  the letter E or by the safety earth  symbol  or coloured green or green   and yellow     The wire which is coloured blue must  be connected to the terminal which is  marked with the letter N or coloured  black     The wire which is coloured brown must  be connected to the terminal which is  marked with the letter L or coloured  red     If using a 13A mains plug it must be  fitted with a 3A fuse     Check on the 
39. trol by RS232 line or by XON XOFF  then it may be necessary to turn File Echo  OFF  default setting is OFF      None     H no flow control is implemented then  successful communication depends on the  devices in communication being able to  process all input and output  communication without character loss     PROM Programmer Series II User Manual    25    Host computer protocol uses no flow  control in serial port modes 0  1 and 2  In  modes 3 to 12 it uses hardware  handshaking  using DTR and CTS     If using a Terminal Emulator  it is essential  to provide a form of positive flow control  when transmitting files to the Programmer  for programming or verifying a PROM  using commands PI  PM  PH  PB  VI  VM   VH or VB  Flow control by character echo  cannot be used by the PB or VB   commands     In many Emulators flow control is confined  to file transfer  The normal terminal  emulation may not be able to keep up with  the rate of reception from the Programmer  at the higher rates  If you cannot modify  the Emulator then you will have to run at a  slower rate  A good test of the Emulator is  whether the Programmer sign on message  is displayed correctly  For example a  version of Modem7 that we tested running  on a 4MHz Z80 would only display  characters received at 4800 bits sec or  less     Speed    Although the host protocol and  PROMDRIVER have been designed to  make best use of the host computer serial  port  it is possible that the host may not be  capable of handling t
40. ud     Terminal Emulation Program with  terminal file capture and file transmit  capability  using a suitable form of  handshaking     Console screen at least 80 columns by  24 rows     2  Terminal Mode Operation    In this mode all messages sent from  the programmer are intended to be  displayed directly on the screen of the  user terminal     2 1 Starting up    If using a terminal emulation program   start running this from the normal  operating system level of your  computer     PROM Programmer Series II User Manual    2 2 Entering a Command    Each command consists of a 1 or 2  letter command mnemonic possibly  followed by 1 or 2 hexadecimal  parameters  e g     2764  gt  D 0 FF    is an instruction to display the contents  of the PROM in the socket between  the addresses 0000h and OOFFh   Spaces must separate the parameters  from each other and from the  command mnemonic letters     A command is not actioned until   lt ENTER gt  is pressed  Until it is the  command may be modified using the   lt backspace gt  or  lt delete gt  keys  or  cancelled by typing       2 3 Command List    A complete list of commands is  available at any time by entering the  HELP command H  lt ENTER gt  which  will display the following menu     D  lt addr gt   lt addr gt    DI  lt addr gt   lt addr gt    DM  lt addr gt   lt addr gt    DH  lt addr gt   lt addr gt    P  lt addr gt    PI  file offset  prom offset   PM  file offset  prom offset   PH  lt addr gt   lt addr gt    PB  lt addr gt   lt 
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Cahier des charges 18-01-2012-1  ES 05 - produktinfo.conrad.com  Introduction  scarica il manuale SICURPAL-IGENA    Bosch GBM 32-4    Copyright © All rights reserved. 
   Failed to retrieve file