home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HAMRADIO / EABURN.ZIP / BURN2817.DOC next >
Encoding:
Text File  |  1988-08-29  |  10.1 KB  |  208 lines

  1.  
  2.  
  3.  
  4.             S I M P L E    E E P R O M    P R O G R A M M E R
  5.            ===================================================
  6.  
  7.                            Version 1.0
  8.  
  9.             Copywrite 1988 by Peter Mello
  10.  
  11.          Peter Mello
  12.          Unisys Corp.
  13.          2 Enterprize Dr.
  14.          Shelton, Conn 06484
  15.  
  16.          or 'PETER MELLO' 
  17.          on the Circuit Cellar Bulletin Board (203)871-1988
  18.  
  19.  
  20.  
  21.    The following is a discription of an EEPROM ( or is it an EAPROM, never
  22.    could keep em straight ) programmer I've been using to program an
  23.    INTEL 2817A EEPROM chip. I decided to use an EEPROM to hold my machine
  24.    code for an 8031 circuit I am currently playing with. My primary reason
  25.    for this was I couldn't justify spending $100.00 dollars for an EPROM
  26.    progammer ( plus an eraser lamp ). The total cost of this circuit comes
  27.    to $8.00 to $15.00 depending on where you buy your parts and how fancy
  28.    you want to box it up ( not including power supply, 5v only needed).
  29.    An added benifit turns out to be ease of use , no erasing needed, and
  30.    it's quick. The full 2k x 8 EEPROM writes in less than 25 seconds on my
  31.    12Mhz AT, aproximatly.
  32.      While the following is not exactly a wiring net list, the circuit is
  33.    simple enough that I don't feel too guilty not churning one out. The
  34.    two chip pinouts list the pinouts of the two main chips along with
  35.    name of the signal on that pin. This along with the block diagram
  36.    gives someone who really wants to build the circuit a fairly good
  37.    chance of doing so.
  38.      Also, while not shown, during debuging of the circuit I included
  39.    LEDS on the 8 data buss lines going to the PC along with the four
  40.    control lines connected to the PC. This coupled with some stratigic
  41.    break points in the eeprom burner program helped to show the errors
  42.    of logic in hardware and software while designing.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.        Input pins from PC 'D' connector to my pc card.
  49.  ==============================================================
  50.  
  51.   printer port signal                       signal name in 2817 circuit.
  52.  ---------------------                      ----------------------------------
  53.  
  54.  01)  -STROBE            { OUT OF PC }       EXT /WR. WRITE SELECT FOR 8255.
  55.  02)  data buss 0                            DATA_BUS_D0
  56.  03)  data buss 1                            DATA_BUS_D1
  57.  04)  data buss 2                            DATA_BUS_D2
  58.  05)  data buss 3                            DATA_BUS_D3
  59.  06)  data buss 4                            DATA_BUS_D4
  60.  07)  data buss 5                            DATA_BUS_D5
  61.  08)  data buss 6                            DATA_BUS_D6
  62.  09)  data buss 7                            DATA_BUS_D7
  63.  10)  -ACK                     Not Used
  64.  11)  +BUSY              { IN TO PC }        Wait signal from earom.
  65.  12)  +PE                                    Not Used
  66.  13)  +SLCT                            Not Used
  67.  14)  -Auto Fd XT        { OUT OF PC }      EXT /RD. READ SELECT FOR 8255.
  68.  15)  -Error                                Not Used
  69.  16)  -INIT              { OUT OF PC }      EXT A0.  REGISTER SELECT FOR 8255
  70.  17)  -SLCT IN           { OUT OF PC }      EXT A1.  REGISTER SELECT FOR 8255
  71.  18)  Grnd                                  Grnd
  72.  19)  Grnd                                  Grnd
  73.  20)  Grnd                            Grnd
  74.  21)  Grnd                     Grnd
  75.  22)  Grnd                    Grnd
  76.  23)  Grnd                    Grnd
  77.  24)  Grnd                    Grnd
  78.  25)  Grnd                    Grnd
  79.  
  80.  
  81.                           74LS245 Pinout connections
  82.                          ============================
  83.  
  84.                 EXT /RD   (01) DR              Vcc (20)   Vcc
  85.             DATA_BUS_D0   (02) A0              /E  (19)   GND
  86.             DATA_BUS_D1   (03) A1              B0  (18)   8255_D0
  87.             DATA_BUS_D2   (04) A2              B1  (17)   8255_D1
  88.             DATA_BUS_D3   (05) A3              B2  (16)   8255_D2
  89.             DATA_BUS_D4   (06) A4              B3  (15)   8255_D3
  90.             DATA_BUS_D5   (07) A5              B4  (14)   8255_D4
  91.             DATA_BUS_D6   (08) A6              B5  (13)   8255_D5
  92.             DATA_BUS_D7   (09) A7              B6  (12)   8255_D6
  93.                     GND   (10) GND             B7  (11)   8255_D7
  94.  
  95.  
  96.  
  97.  
  98.       circuit signal         8255 Pinouts ( ppi chip )        circuit signal
  99.      ----------------      ============================      ----------------
  100.  
  101.            D3              (01) PA3             PA4 (40)      D4
  102.            D2              (02) PA2             PA5 (39)      D5
  103.            D1              (03) PA1             PA6 (38)      D6
  104.            D0              (04) PA0             PA7 (37)      D7
  105.            EXT /RD         (05) /RD             /WR (36)      EXT /WR
  106.            LOW             (06) /CS           RESET (35)      LOW
  107.            GND             (07) GND             D0  (34)      DATA BUSS D0
  108.            REG SELECT A1   (08) A1              D1  (33)      DATA BUSS D1
  109.            REG SELECT A0   (09) A0              D2  (32)      DATA BUSS D2
  110.            Unused          (10) PC7             D3  (31)      DATA BUSS D3
  111.            /WE             (11) PC6             D4  (30)      DATA BUSS D4
  112.            /OE             (12) PC5             D5  (29)      DATA BUSS D5
  113.            Unused          (13) PC4             D6  (28)      DATA BUSS D6
  114.            A8              (14) PC0             D7  (27)      DATA BUSS D7
  115.            A9              (15) PC1             VCC (26)      Vcc
  116.            A10             (16) PC2             PB7 (25)      A7
  117.            Unused          (17) PC3             PB6 (24)      A6
  118.            A0              (18) PB0             PB5 (23)      A5
  119.            A1              (19) PB1             PB4 (22)      A4
  120.            A2              (20) PB2             PB3 (21)      A3
  121.  
  122.  
  123.  
  124.  
  125.      circuit signal         2718A Pinouts (earom)         circuit signal
  126.      ---------------     ===========================      ---------------
  127.  
  128.    PC'S BUSY (NOTE 3)   (01) RDY/BUSY        VCC (28)     VCC
  129.                         (02) NC              /WE (27)     PC6 (NOTE 1)
  130.                  PB7    (03) A7              NC  (26)
  131.                  PB6    (04) A6              A8  (25)     PC0
  132.                  PB5    (05) A5              A9  (24)     PC1
  133.                  PB4    (06) A4              NC  (23)
  134.                  PB3    (07) A3              /OE (22)     PC5 (NOTE 2)
  135.                  PB2    (08) A2              A10 (21)     PC2
  136.                  PB1    (09) A1              /CE (20)     LOW
  137.                  PB0    (10) A0              D7  (19)     PA7
  138.                  PA0    (11) D0              D6  (18)     PA6
  139.                  PA1    (12) D1              D5  (17)     PA5
  140.                  PA2    (13) D2              D4  (16)     PA4
  141.                  GND    (14) GND             D3  (15)     PA3
  142.  
  143.  
  144.  
  145.  
  146.        ===============================================================
  147.              B L O C K    D I A G R A M    O F    C I R C U I T
  148.        ===============================================================
  149.  
  150.     IBM PC           LS245              8255                  2817A
  151.  
  152.     ----+            +-----+           +-------+              +------+
  153.         |  D0 <-> D7 |     | D0 <-> D7 |       |              |      |
  154.         | <<------->>|     |<<------->>|       | <<-------->> |      |
  155.         |            |     |           |       |              |      |
  156.         |            |     |           |       | PC0 -> PC7   |      |
  157.         |            |     |           |       | PB0 -> PB7   |      |
  158.         |            |     |           |       | PA0 -> PA7   |      |
  159.         |            | DR  |           |       |              |      |
  160.         |            +-----+           +-------+              +------+
  161.         +-------+       ^               ^ ^ ^                    ^
  162.                 |       |               | | |                    |
  163.       EXT  /RD ---------+---------------+ | |                    |
  164.       EXT  /WR ---------------------------+ |                    |
  165.    EXT A0 + A1 -----------------------------+                    |
  166.                 |                                                |
  167.                 |                                                |
  168.                 |          LS00             ^                    |
  169.                 |         +-----+           +  10k OHM           |
  170.                 |         |     |           +  PULLUP            |
  171.     BUSY     --------<<---|     |-<<--------+--------------------+
  172.                 |         |     |
  173.                 |         +-----+
  174.    -------------+
  175.  
  176.  =========================================================================
  177.  =========================================================================
  178.  
  179.  
  180.     NOTES TO DIAGRAM:
  181.     =================
  182.  
  183.    1) PC6 OF THE 8255 CHIP GOES THROUGH AN INVERTER (74LS00) GATE TO
  184.       THE /WE PIN OF THE 2817A CHIP.
  185.  
  186.    2) PC5 OF THE 8255 CHIP GOES THROUGH AN INVERTER (74LS00) GATE TO
  187.       THE /OE PIN OF THE 2817A CHIP.
  188.  
  189.    3) PIN 1 OF THE 2817A GOES THROUGH AN INVERTER  ON IT'S WAY OUT
  190.       OF THE CIRCUIT BACK TO THE PC PARALLEL PORT.
  191.       THE 10K OHM PULLUP RESISTOR ON THE WAIT LINE FROM THE 2817A
  192.       CHIP IS REQUIRED AS THIS IS AN OPEN DRAIN OUTPUT.
  193.  
  194.  
  195.  +--------------------+
  196.  | GENERAL COMMENT.   |
  197.  +--------------------+---------------------------------------------------+
  198.  |  If a close inspection of the circuit reveals a design deficintcy      |
  199.  |  where i could be reading the busy bit of the 2817 through the         |
  200.  |  8255 instead of through the busy signal line of the parallel port,    |
  201.  |  making for a 'cleaner' circuit, this abnomality is because of the     |
  202.  |  overhead required whenever changing the IBM PC to 8255 interface      |
  203.  |  from write to read, or read to write.                                 |
  204.  |                                                                        |
  205.  |                                                                        |
  206.  |                                                      peter mello       |
  207.  |                                                      08/22/88          |
  208.  +------------------------------------------------------------------------+