Programming of Goldwafer und Goldwafer-Compatible Smartcards



The Goldwafer smartcard contains a PIC 16F84 and a EEprom 24C16. The PIC 16F84 can be programmed directly. The EEprom 24C16 is not connected to the contacts of the smartcard but to the PIC 16F84 - so the EEprom can not be programmed directly.

In order to programm the EEprom, it is necessary first to programm a „Loader“ into the PIC 16F84. The „Loader“ enables the programming of the EEprom 24C16. After programming the EEprom, the Loader has to be deleted and the application can be programmed into the PIC 16F84.

The programming is done in three steps:

1. Programm Loader into PIC16F84 of the Goldwafercard

2. Programm the EEprom of the Goldwafercard

3. Programm the application into PIC16F84 (Procedure identical as step 1.)




1. Programm Loader into PIC16F84 of the Goldwafercard

Set MAKInterface into Ludipipo Mode

+--------------------+
| ooooo :::::::::: + |
| ooooo IIIIIII:I: - |
+--------------------+


  On the contacting unit 00505 plug the cable into the right connector



Now the programming of the PIC 16F84 using PonyProg, IC-Prog or UCE32 has to be done.




Programming of the PIC 16F84, using PonyProg

Start from „Option menu“ „Interface Setup“.

Select the serial port and select „Invert D-Out“ an

This are the standard PonyProg settings for LudiPipo.


Afterwards You can open Loader.Hex (or MM.HEX) and perform the programming.




Programming of the PIC 16F84, using IC-Prog

Starten from Settings menu „Hardware Settings“ Setup.

Select „JDM Programmer“, the serial port and select „Invert VCC“

This are standard IC-Prog settings for LudiPipo.

Afterwards you can open MM???.HEX and perform the programmming. The Loader, needed for IC-Prog, can be found in PIX113B.ZIP with the description MY_2157.H16




Programming of the PIC 16F84, using UCE32

Select the serial port and MAKInterface.

Select PIC menu and continue with the programming.





2. Programm the EEprom of the Goldwafercard

The EEprom has to be programmed in Phoenix Mode

Jumper-settings for the MAKInterface:

+--------------------+
| ooooo IIIIII:::: + |
| ooooo :::::::::: - |
+--------------------+


 

Plug the cable into the middle connector of the contacting unit 00505



Programming of the EEprom, using UCE32

Click on „Throu PIC EE prg“ in order to open the EEprom-programming menu.

Click on „Get ATR“ - in case the Loader has been correctly programmed, he will be recognised and the Read/Write commands will be enabled.

Now You are able, using Read&Write, to read and write the EEprom.



Programming of the EEprom, using IC-Prog

Select the EEProm 24C16 and „Smartcard (Phoenix)“. Now reading and writing of the Goldwafercrd's EEprom is possible due to the Loader.

You can also use the „Smartcard Wizzard“. Please do switch MAKInterface, wenn necessary, into Phoenix and LudiPipo Mode.

Select the following Settings in Setup->Optionen->Smartcard

Select "Smartcard(Phoenix)" to activate the Phoenix mode, and select the device 24C16




3. Programm the application into PIC16F84 (Procedure identical as step 1.)

The PIC has to be deleted first and afterwards to be programmed with the same settings and the same procedure as described in step 1.