MC900Micro
Smartcard Terminal
Manual
V1.0
Silone Magcard, Inc. Visit http://www.magcard.com
Silone Magcard, Inc.
http://www.magcard.com
MC900Micro Manual
Revision History
Revision Issue Date Comments
1.0 Draft 1 June 6, 1999 Original version
This document contains material that is confidential to Magcard. Reproduction
without the express written consent of Magcard is prohibited. All reasonable
attempts were made to ensure the contents of this document are accurate, however
no liability, expressed or implied is guaranteed. Magcard reserves the right to modify
this document, without notification, at any time.
Table of Contents
Features & List of Return Values…………………………..……………………….1
Initialization Functions
OpenPort……………………………….…………….………………………………2
ClosePort……………………….………………….……………….………………3
SelectPort…………………………………………….………………………………4
PowerOn……………………………………………...………………………………5
PowerOff…………………………………………….………………………………..6
CardPresent…………………………………….…………………………………7
CardChanged…………………………………..…………………………………8
GetCardType…………………………………………………………………………9
GetCardType Return Values………………………………………………………10
GetCardName………………………………………………………………………11
4428 Functions
Read_4428_With_PB………………………………………………………………12
Read_4428_NO_PB………………………………………………………………13
Write_4428…………………………………………………………………………14
Verify_4428_PSC…………………………………………………………………15
Read_4428_SM……………………………………………………………………16
4442 functions
Read_4442_With_PB………………………………………………………………17
Read_4442_NO_PB………………………………………………………………18
Read_4442_PB……………………………………………………………………19
Write_4442_PB……………………………………………………………………20
Write_4442…………………………………………………………………………21
Write_4442_Array…………………………………………………………………22
Verify_4442_PSC…………………………………………………………………23
Read_4442_SM……………………………………………………………………24
Write_4442_SM………………………………….…………………………………25
AT88SC101/102 Functions
Read_102_Bit………………………………………………………………………26
Write_102_Bit………………………………………………………………………27
Read_102_Byte………………………………….…………………………………28
Write_102_Byte………………………………….…………………………………29
Read_102_Byte_Array………………………….…………………………………30
Write_102_Byte_Array………………………….…………………………………31
Read_102_Word………………………………..………………………………….32
Write_102_Word………………………………...…………………………………33
Erase_102_Word………………………………..…………………………………34
Erase_102_Word_Array………………………..…………………………………35
Verify_102_SC…………………………………..…………………………………36
Verify_102_EZ1………………………………..…………………………………..37
Verify_102_EZ2………………………………..…………………………………..38
Erase_102_Global…………………………………………………………………39
Erase_102_AZ1……………………………………………………………………40
Erase_102_AZ2……………………………………………………………………41
Fuse_High_102……………………………………………………………………42
Fuse_Low_102……………………………………………………………………43
AT24C01A/02 Functions
Read_AT24C01A…………………………………………………………………...44
Write_AT24C01A_Byte……………………………………………………………45
Write_AT24C01A_Page…………………………………………………………..46
AT24C04/08/16 Functions
Read_AT24C16……………………………………………………………………47
Write_AT24C16_Byte……………………………………………………………..48
Write_AT24C16_Page…………………………………………………………….49
AT24C32/64 Functions
Read_AT24C64……………………………………………………………………50
Write_AT24C64_Byte……………………………………………………………..51
Write_AT24C64_Page…………………………………………………………….52
AT24C128/256 Functions
Read_AT24C256…………………………………………………………………..53
Write_AT24C256_Byte……………………………………………………………54
Write_AT24C256_Page……………………………………………………….…..55
AT88SC1608 Functions
Select_1608_User_Zone…………………………………………………………56
Read_1608_User_Zone…………………………………………………………..57
Write_1608_User_Zone…………………………………………………………..58
Read_1608_Configuration………………………………………………………..59
Write_1608_Configuration………………………………………………………..60
Read_1608_Fuses…………………………………………………………………61
Write_1608_Fuses……………………………………………………..…………62
Verify_1608_Password……………………………………………………………63
Init_1608_Authentication………………………………………………………….64
Verify_1608_Authentication………………………………………………………65
Compute_Challenge………………………………………………………………66
AT88SC153 Functions
Write_153…………………………………………………………………………..67
Read_153…………………………………………………………………………..68
Verify_Password_153……………………………………..………………………..69
InitializeAuthentication_153……………………………………………………..70
VerifyAuthentication_153……………………………..…………………………71
Compute_Challenge………………………………………….…………………..72
ReadFuse_153………………………….…..………………………………………73
BlowFuse_153……….…………………..………………....………..……………..74
The example card read/write procedure………………………………………75