PACKET OF CARDS No.2                                            23.12.1997

SERIAL PROGRAMMER FOR PIC AND EEPROM AND PHOENIX INTERFACE
----------------------------------------------------------

Lumir PRIBYL

     This packet was in origin made for Czech satellit fans. For others
I have written a few notices.


==========================================================================


Uniprog IV-A
------------

UNI4_A.BMP       PCB of serial programmer UNIPROG IV-A
UNI4_AO.BMP      layout of components

     It is a version of the Ludipipo serial PIC and EEPROM programmer. It
don't require a separate power supply, but takes the power from the serial
port of a PC. Connection with the PC is made by a cable 1-1, 9pin
connectors, male-female.


Basic schematic diagram:
------------------------

     TxD ---*-----------------------------
     (3)    I                            I
           ---                          ---
           I I                          I I
           I I 2k2                      I I 10k
           ---                          ---
            I       I\I                  I
            *-------I-I-----*---------   I
            I       I/I     I        I   I
          ----\             I +      I   I
           /\  \           ---    14 I   I 4
          /  \    5V6      ---   --------------
          ----         10u  I    I  Vdd Vpp   I
            I               I    I            I
            I               I  5 I            I
     GND ---*---------------*----I Vss        I
     (5)           22k           I            I
                  -----       12 I            I
     RTS ---------I   I----------IRB6 (clock) I
     (7)          -----          I            I
                  -----       13 I            I
     DTR ---------I   I----*-----IRB7 (data)  I
     (4)          -----    I     I            I
                   2k2     I     I  PIC 16C84 I
     CTS ------------------I     I------------I
     (8)


List of components:
-------------------

1 x  slot for ISO card (eight pins are enough for programming cards from
     packet No.1)
1 x  female 9pin connector RS232
1 x  resistor 1K0
2 x  resistor 2K2
1 x  resistor 10K
2 x  resistor 22K
1 x  capacitor 10-100uF/10-16V
1 x  1N4148
1 x  Zener diode 5.6V
1 x  LED green
2 x  single switch on-on
1 x  double switch on-on
1 x  socket 8pin
1 x  socket 18pin

     PIP02 v.1.18 with COM84 is the best software for programming.


Setting of switches:
--------------------

Programming on the board:

Before programming erase (both) PIC (twice in some cases).

    Type of card                       Chip             SW1   SW2   SW3
                                                        PR1   PR2   PR3
--------------------------------------------------------------------------
 A. 1xPIC (RB7) (single PIC card)      SLAVE(RB7)        A     A     A
--------------------------------------------------------------------------
 B. 1xPIC (RB6) (single PIC card)      MASTER(RB6)       A     A     B
--------------------------------------------------------------------------
 C. 1xPIC (RB7) 1xEEPROM (Multimac II) EEPROM            B     B     B
                                       SLAVE(RB7)        A     A     A
--------------------------------------------------------------------------
 D. 2xPIC (RB6,RB7) (twine PIC card)   MASTER(RB6)       A     A     B
                                       SLAVE(RB7)        A     A     A
--------------------------------------------------------------------------
 E. 2xPIC (RB6,RB7) 1xEEPROM (Quadra)  EEPROM            B     B     B
                                       MASTER(RB6)       A     A     B
                                       SLAVE(RB7)        A     A     A
--------------------------------------------------------------------------
 F. 2xPIC (RB6,RB7) 2xEEPROM (Quadra)  EEPROM1           B     B     B
                                       MASTER(RB6)       A     A     B
                                       SLAVE(RB7)        A     A     A
Attention! EEPROM2 can be programmed only in a socket!
--------------------------------------------------------------------------
 G. 1xPIC(RB7) (wafer card)            PIC               A     A     A
--------------------------------------------------------------------------
 H. 1xPIC(RB7) 1xEEPROM                EEPROM            B     B     B
                 (MM2 wafer card)      PIC               A     A     A
--------------------------------------------------------------------------
 J. 1xPIC(RB7) 1xEEPROM                PIC               A     A     A
                 (gold MM2 wafer card) EEPROM        use Phoenix interface
--------------------------------------------------------------------------

Programming in a socket:

    Type of card                       Chip             SW1   SW2   SW3
                                                        PR1   PR2   PR3
--------------------------------------------------------------------------
 A. - F.                               PIC               A     A     A
                                       EEPROM            A     A     A
--------------------------------------------------------------------------


A note from original source (I have not tested):
-----------------------------------------------

Programming other cards:

Set switch 1 in position A
Use switch 2 to switch between master/slave chip (RB6 CARDS)
Use switch 3 to switch between RB7/RB6 cards (RB7 in position A)


==========================================================================


Phoenix interface
-----------------

PHOENIX.BMP      PCB of the Phoenix interface
PHOENOXO.BMP     layout of components of the Phoenix interface


     It is an interface used for communication a PC with a smartcard
(original as well as pirate). The Phoenix interface can also be used to
update the EEPROM 24(L)C16 on the Multimac II cards (gold wafer cards).
     This interface require a separate power supply (9 - 30V). Connection
with the PC serial port is made by cable 1-1, 9pin connectors,
male-female.


Basic schematic diagram:
------------------------

              +-------------+  +
  +-----------|1     V    16|---+---o +5V (VCC)
 +|          +|             |  ===
 === +5V o-||-|2  MAX232  15|---+---o GND (card & RS-232)
  |           |             |
  +-----------|3      +---14|-                +5V (VCC)   +-<-o DTR
           +  |       |     |                   o         |
     +---||---|4      | +-13|----o RTS          |         +->-o DSR
     |        |       | v   |                   /         |
     +--------|5      | +-12|----o RST          \         +->-o CTS
          +   |       |     |                   / 22K
     GND o-||-|6      +-<-11|-                  \
              |             |                   |
     RxD o----|7  ---<--- 10|-------------------+----o I/O
              |             |              |\   |
     TxD o----|8  --->---  9|--------------| |--+
              +-------------+             1|/ 2
                                          74LS07
    At the MAX232, pin 2 delivers
    +10 V and pin 6 delivers -10 V.        (also connected to 74LS07:
                                           pin 7=GND, pin 14=VCC)


     1M         2.2K        3|\4
  +-/\/\/--+----/\/\/-----+--| o-----+-------------o CLK
  |        |2             |  |/      |
  |       -o-             |          |100 pF
  |     /_____\           |         ===
  |        |1             |          |
  |        | 3.579545 MHz |          |
  |        |     +--+     |          -
  +--------+---| |  | |---+         GND
           |     +--+     |
           |27pF          |27pF
          ===            ===                (also connect to 74HC04:
           |              |                 pin 5,7,9,11,13=GND,
           -              -                 pin 14=VCC=+5 V)
          GND            GND



List of components:
-------------------

1 x  slot for ISO card (eight pins are enough)
1 x  female 9pin connector RS232
1 x  MAX232
1 x  7805 (78L05)
1 x  74LS07 (7407)
1 x  74HC04
1 x  LED green
1 x  LED red
5 x  capacitor 4u7/16V (2u2-22u/16-63V)
1 x  capacitor 100nF
1 x  capacitor 100pF
2 x  capacitor 27pF
2 x  resistor 220R
2 x  resistor 2K2
1 x  resistor 22K
1 x  resistor 1M0
1 x  crystal 3.579545 MHz


==========================================================================


Sources:
--------

ISO cards        How to connect a PC to a Videocrypt decoder
                 Markus Kuhn -- 1994-06-19

Uniprog IV       //users.cybercity.dk/~ccc10178/
                 DK S@T CRYPT SITE

serial           LUDIPIPO 1.0 Prommer fuer PIC16C84
programmer       LUDI's PIcPrOmmer fuer die serielle Schnittstell
                 Ludwig Catta

Phoenix          //195.224.116.101/
                 CLaNZeRS HomePage

---------------------------------------------------------------------------
