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

These are some notes from the file SLISTE.TXT. I didn't translate
all of it, as the rest of the information concerns order numbers
etc, which are only valuable to people in Germany.

Note concerning IC3:
Instead of the EPROM 27C64 you can use a similar parallel EEPROM (e.g. 28C64),
as the pin layout is identical except of pin 27 (WE).

Note concerning C1 and C2:
The capacitors C1 and C2 are NOT in the component layout. They are
on the top layer (the one with the controller) below the microcontroller
adjacent to the soldering pads of X1.

Note concerning C3:
C3 isn't included in the circuit diagram. But it is on both
the component layout and the layout itself.

Note concerning R4:
The resistor R4 is included twice in the component layout.

Final Notes:
The SMD-bridges (Br) are bridges in the form of a resistor
(Zero-Ohm-SMD-Resistor) in a 0805-box.
Instead of the controller 80C31 you can also use a 80C51,
80C32 or 80C52 in a PLCC-box. You shouldn't be using a NMOS-
controller (i.e. no "C" in its name)!

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


This is the translation of the file liesmich! from the ICARDV12.ZIP 
archive. Thanks to Nigel (eetnas@zippy.dct.ac.uk) for correcting all 
the mistakes I did in the preliminary version.
Note, that I myself have nothing to do with iCARD, I just happen to 
speak German and enough English to translate the text.
 
 Alex(schoene@mathematik.uni-ulm.de) 
  
   








iCARD V1.2 (c) 1995 DSH             last updated 3. March 1995


Changes:


from version 1.1 to version 1.2:
--------------------------------

Minor changes to the layout. The capacitors C1 and C2 have been
inserted into the layout. The position of the serial EEPROM has 
changed a little bit to make it fit better. These changes are only
on the layout, NOT on the component layoyt.

There are two resistors R4 in the component layout. The R4 above
T1 is a 1K resistor, the other R4 below R5 is a 5.6K resistor.




1. Contents of the archive:

BPLAN-B.HPL   Component layout, BOTTOM layer, printer-file for HP-Laserjet

BPLAN-T.HPL   Component layout, TOP layer, printer-file for HP-Laserjet

BPLAN-B.GIF   Component layout, BOTTOM layer, GIF-File

BPLAN-T.GIF   Component layout, TOP layer, GIF-File

ICARD.HPL     iCARD circuit diagram, printer-file for HP-Laserjet

ICARD.GIF     iCARD circuit diagram, Gif-File

ICARD-B.HPL   Layout BOTTOM layer, printer-file for HP-Laserjet

ICARD-T.HPL   Layout TOP layer,  printer-file for HP-Laserjet

ICARD.BRD     EAGLE V2.61-Board-File containing the whole circuit

IIC2LPT.HPL   Circuit diagram of the I2C-Interface for connection to
	      a parallel port, printer-file for HP-Laserjet

IIC2LPT.GIF   Circuit diagram of the I2C-Interface, GIF-File

PLATINE1.GIF  Grey scale image of the iCARD board after drilling

PLATINE2.GIF  Grey scale image of the equipped iCARD board

ICARD.HEX     iCARD operating system as a hex file

ICARD.MOD     iCARD operating system as a binary file which can be used
	      to program the EPROM 27C64

ICARD.ASM     iCARD operating system source code (Feger & Reith assembler)

SVGA.EXE      GIF-Viewer

SLISTE.TXT    List of the needed parts, including order numbers and 
	      approximate prices



2. What is iCARD ?

iCARD is a SEASON-compatible SmartCard Emulation including its own
controller. Hence it doesn't need to be connected to the PC to watch
Pay-TV (Adult, sky). Furthermore you can switch iCARD to a non-active state,
i.e. you can use it as the interface required by SEASON. 
The controller-circuit consists of: 

    - Micro controller 80C31 build into a PLCC44-box, 11.0592 Mhz
    - direct V24-port with Voltage conversion via a MAX232 
    - direct I2C-port available 
    - Display-LED to control various functions
    - own SRAM (8Kbyte) for tables and program-updates
    - own EEPROM (8Kbyte) for tables etc.
    - programs can be uploaded into the RAM and run from there, 
      Using a link method, interrupts can be evaluated by your own software. 
    - External power supply unit needed so that iCARD can be used without a 
      decoder
    - small layout and easy to assemble although SMD parts are used
    - only little costs, about 60-80 DM [approx. 40-50 US$ or
      25-30 UK Pounds. In the UK Farnell Electronic Components have 
      SMD Devices +44 (0) 532 636311 SALES DEPT, 
      Farnell Electronic Components Ltd,
      Canal, Leeds, West Yorkshire. LS12 2TU
      "Note Maplins and RS are a waste of time for SMD."]
    - using your own software you can emulate the presence
      of a dongle (provided that the additional interface IIC2LPT
      is being used) 
    - the program can be updated easily by the use of an EEPROM,
      software upload or exchanging the EPROM. Hence there is
      no need for a special EPROM programmer.
    - iCARD can be used as a miniature experimenting system
      if you abandon the external port connection.
    - small power consumption

I'm not using any PIC-controllers on purpose, as the price
for one PIC with a built in EPROM is as high as the cost
for the whole iCARD. Furthermore, PIC's aren't that flexible
(no external memory (SRAM), little internal memory), at the
time one PIC isn't enough to emulate the Sky09 cards.


3. The basic steps to build iCARD

 a) Print out ICARD-B and ICARD-T on Acetates.
 b) Connect both slides to form an envelope.
 c) Expose a double sided board. You should be using a regular 1.5mm
    [equals 1/16 inch] thick double sided board. Is shouldn't be thinner
    than 1mm [equals 1/24 inch], because otherwise the board would
    bend under the weight of the circuit. If the board doesn't fit
    into the decoder slot you have to grid the first 35mm [equals
    11/8 inch] of the board to make it fit. It should be able to be
    slipped into the slot with almost no pressure, but not with no
    pressure at all.
 d) Develop and wash the board
 e) Etch the board (e.g. with Ferric-Chloride )
 f) Cut out the board in the correct measurements and drill the holes
 g) Clean it of any residues and tin if needed
 h) Check if it fits into the slot. If not grind it down  until it fits.
 i) Connect Via holes connecting the top and bottom sides of the PCB
    If you can use via pins, if not drill holes with a diameter of 0.6mm 
    [equals 1/40 inch] at the correct places and solder a 0.6mm 
    [equals 1/40 inch] or little thinner wire from both sides of the board.
 j) Place components on to the board in the following order:

    First the TOP-Layer (the side with the contacts)
    ------------------------------------------------

    First glue IC1, then IC2 (74HC573) onto the board. Take care of 
    the orientation. Usually pin 1 is marked by a spot on the box

    Then you can continue in any order.

    The BOTTOM-Layer (the side containing the EPROM)
    ------------------------------------------------

    IC9A comes first, as it is underneath the EPROM-socket. 
    Then solder SRAM IC8 onto the board. Next is the socket with 28 pins
    for the EPROM. You have to leave some space between the board and the
    socket as it should be soldered from both sides. Next are IC13A,
    then C9, then IC4 (MAX232) and then IC11. 

    From now on you can continue in any order.     

 k) Check the board for short-circuits or open circuits. Also check
    the via's.

 l) Program the EPROM with the accompanying software and put it into
    its 28 pin socket. Apply a power on pin 2 of J2 and measure
    the voltage on all circuits (should be in between +4.00 and +4.30
    volt).



4. How to use iCARD

   So far iCARD has one operating element only, the switch SW1. If put
   into position B iCARD is active and takes care of the necessary
   data transfer. You can listen to the traffic via the serial port
   or the I2C-interface.

   In position A icard is not active. Now you need an external program
   to take care of the data transfer (e.g. SEASON). While waiting to
   be put back to position B, icard can still be used for own software,
   but you have to use the I2C-interface, as the serial port is already
   occupied for the data transfer.


5. The operating system

***********************************************************************
THIS ARCHIVE DOESN'T CONTAIN ANY SOFTWARE ANYMORE. THE LATEST VERSIONS
ARE STORED IN SEPERATE ARCHIVES NAMED ICARDSYS.ZIP CONTAINING THE 
OPERATING SYSTEM AND ICARD.UPD CONTAINING THE UPDATE FOR THE EEPROM. 
THOSE FILES CAN BE DOWNLOADED FROM MY MAILBOX.
***********************************************************************



Some notes concerning the software
----------------------------------

The various SEASON-like programs have reached the size of a
windows application and are a catastrophe concerning the way
they are written. The little assembler program I wrote needs
approximately 1.5 kByte and can be executed on a 80C31 processor
with a frequency of 11.0592 Mhz. In fact the external frequency is dived
by 12 to get the real frequency, so the real frequency is about 921.6 kHz.
The communication between the card and the decoder is written as an
interrupt-procedure, i.e. it is working in the background. In the
current version, the only purpose of the main program is to "calculate"
the 8 code bytes using the known hashing algorithm.


The latest iCARD-systems will be available in the Altmark BBS under
the name ICARDSYS.ZIP. This file contains the update for the EPROM
27C64.

There is also another file called ICARD.UPD, which contains the
updates for the serial EEPROM. To make use of the update you need
the file UPDATE.EXE (contained in ICARDSYS.ZIP) to upload the 
update from your PC to the iCARD.




How to detect problems
----------------------

If the card isn't working try to connect an external power supply
unit (e.g. a 9 volt battery or a power pack) and try again. If
it's still not working, then your decoder is using a different
timing then mine does. Please forward that information to me.

I found out that if the card is connected to the PC via the serial 
port, then the reset isn't working properly. If this happens
disconnect the connection to the PC, put the card into the decoder,
wait until it's working (check the LED's) and then re-connect the
card with the PC.

Please note !!!

The SMD-switch must be put into position "B" (i.e. it should point
towards the decoder) to make iCARD work. In position "A" the card
isn't active and you need the SEASON-software running on your PC.


The configuration I tested iCARD with:
--------------------------------------

Nordmende VideoCryptdecoder VCD500

Philips PAL/D2MAC/EuroCrypt-Receiver/Decoder STU904

Ankaro-Dish

Result: It works 100% (from 1 a.m. until 5 a.m. :-) )


Tips, hints, critic, marriage proposals and bomb threads to

	   ALTMARK-BBS
	   03935-213550 [outside of Germany you have to dial your
			 international access code followed by
			 49 39 35 21 35 50]
	   On-line Mon-Fri 6 p.m. - 12 p.m.,
		  Sat-Son 3 p.m. - 12 p.m.
	   Zyxel 16.8 KBps

	   Message to the sysop !



