MVF051S 0e A2 Annex
MVF051S 0e A2 Annex
MVF051S 0e A2 Annex
Table of Contents
Annex A Transmission Method When Code Independent Information Transfer can’t be applied
When the Code independent information transfer method described in 1.3-1.6 of the transmission method
can’t be applied, the following method should be used instead. After power turns on the transmission
format of an Initial Reset command to be sent from the HOST to the C/R determines which transmission
method applies.
A-1
GB-H-98058 (A2)
b8 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b7 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b6 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b5 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 column 0 1 2 3 4 5 6 7 8 9 A B C D E F
low
0 0 0 0 0 DLE*1 SP 0 @ P ` p
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 STX*1 “ 2 B R b r
0 0 1 1 3 ETX*1 # 3 C S c s
0 1 0 0 4 EOT $ 4 D T d t
0 1 0 1 5 ENQ NAC % 5 E U e u
0 1 1 0 6 ACK & 6 F V f v
0 1 1 1 7 ‘ 7 G W g w
0 0 0 0 8 ( 8 H X h x
0 0 0 1 9 ) 9 I Y I y
0 0 1 0 A * : J Z j z
0 0 1 1 B + ; K [ k {
0 1 0 0 C , < L l |
0 1 0 1 D - = M ] m }
0 1 1 0 E . > N ^ n ~
0 1 1 1 F / ? O _ o
A-2
GB-H-98058 (A2)
*1
3) When the HOST detects an error during reception of ACK from the C/R.
(Command is resent from the HOST)
*1
4) When monitoring time-out happens while the HOST is waiting for Response from the C/R.
( ENQ is resent from the HOST and a Response from the C/R is requested.)
*1
A-3
GB-H-98058 (A2)
5) When the Host detects an error during reception of Response from the C/R.
(ENQ is resent from the HOST and resending of the response from the C/R is requested.)
*1
A.3.4 Interruption of Transmission and Command to the C/R from the HOST
By sending "DLE EOT" from the HOST, interruption of processing or transmission can be specified to the
C/R. Therefor interruption of transmission disables in down loading. For more detail, see Annex E.
1) Before the HOST Sends the Command (Interruption of Transmission from the HOST)
2) After the HOST Sends the Command ( Command canceled from the HOST)
3) After the HOST Sent ENQ ( Forced interruption of the processing command from the HOST)
4) While the C/R sent the Response ( Transmission Interruption from the HOST)
A-4
GB-H-98058 (A2)
*1: Monitoring Time for "DLE ACK" after the Host had sent the command should be 5.02 sec or more.
When Sending/Receiving Switching-over Time of the C/R is extended by the Initial Reset Command from
the Host, the Host should be monitored the time which is this value plus 5.02 sec. (Refer to 4.1)
*2: Monitoring Time of Response in the Host is different to each command. Usually 10 seconds or more is
recommended. For commands which is accompanied human operation (e.g., Insertion, takeout ), this
human operation time should be added to monitoring Time of response, Also, when the number of retries
accompanying mechanical operation (moving) increases, one second per re-trying should be added.
*3:The number of re-transmission is decided by the Host and should be decided more than one time.
The Host should execute the Error Processing after exceeded the number of trying.
*4: A value of the monitoring time is different by the transmission speed and the response length. 20 seconds is
the value of the monitoring time which the transmission speed is 1200 bps. The value of it is 3 seconds by
9600 bps.
While the C/R is a processing command except DL processing, all characters except "DLE EOT" from the
HOST are ignored. Therefore, see Annex E about “DLE EOT” during DL processing.
A-5
GB-H-98058 (A2)
Track
ISO #1 ISO #2 ISO #3
Item
Character Length 7 bits 5 bits 5 bits
Parity odd odd odd
Longitudinal Calculation Method even LRC even LRC even LRC
Top Character “SP” “0” “0”
Start Sentinel (SS) “%” “;” “;””
End Sentinel (ES) “?” “?” “?”
Data Length (byte) 1~76 1~37 1~104
Card Data *2
SP 0 @ *1 P
! *1 1 A Q *1.These characters are only used for hardware control. Do not use
“ *1 2 B R as Card Data.
# *3 3 C S
$ 4 D T *2.Do not use these characters for cards to be used internationally.
% *4 5 E U
& *1 6 F V *3.These characters have been prepared for use as the additional
diagram characters. Do not use in the Card Data.
‘ *1 7 G W
( 8 H X
*4.Use these characters based on the meanings shown below.
) 9 I Y
* *1 : *1 J Z "%"; Start Sentinel (SS)
+ *1 ; *1 K [ *2 "?"; End Sentinel (ES)
, *1 < *1 L *2 "^"; Separator
- = *1 M ] *2
. > *1 N ^ *4 However, all codes for LRC is enabled to use without above
/ ? *4 O _ *1 limitation.
B-1
GB-H-98058 (A2)
0 *1. These characters are only used for hardware control. Do not use as Card Data.
1 *2. ";" : Start Sentinel (SS)
2 *3. "=" : Separator
3 *4. "?" : End sentinel (ES)
4
5 However, all codes for LRC is enabled to use without above limitation.
6
7
8
9
: *1
; *2
< *1
= *3
> *1
? *4
B-2
GB-H-98058 (A2)
Annex C ICC Control Commands(ICC) Matrix
Points to Notice
- The “xx” of positive response data indicates card position.
- The response of activation commands is transmitted unsupported ATR error(“Nxx87”) in case C/R can’t support ATR of ICC.
- The response of sequence error( “Nxx01”) is transmitted in case activation commands is re-sent again during the ICC activation,.
- “T=0”, ”T=1”, ”Needs to PTS Req.” and ”PTS incompletion” in matrix below is shows response data for the command. For details, see Annex D.
- The PTS request command(“F8”) under processing ( read /write ) with T=0/T=1 the ICC is responded as sequence error(“Nxx01”).
- Interruption completion command(“F4”) for transmission is effective only when the status is in processing to T=1 card.
C-1
GB-H-98058 (A2)
C.2 PTS Matrix of right After Activation
Commands T=0 Transmission T1 Sending/Receiving PTS
Deactivation
(CMD) Deactivation Warm Reset Continuous Extended Extended Continuous
+Release Transmission Transmission PTS Request
“C3” “E1” Transmission Transmission Transmission
“C6” “F0” “F1” “F8”
Status of C/R “F2” “F6” “F7”
2 Immediately Deactivation Deactivation Warm Reset + (PTS) T=0 Sending/Receiving Sending/Receiving Continuous Sending Extended Sending/ Extended Continuous PTS Request
after “PC310” +Release ”PE111” “PF020” *4 “PF120” *5 /Receiving *5 Receiving *5 Transmission *5 “PF820”
Activation ->1 “PC602” *3 ->2 ->5 ->6 “PF222” “PF620” “PF722” T=0->5
*1 T=0->5 ->7 ->6 ->9 T=1->6
*2 T=1->6 Sending/Receiving Extended Sending PTS incompletion->4
Needs to PTS Req->3 “PF121” *5 /Receiving *5
PTS incompletion->4 ->8 “PF621”
->8
3 Needs to PTS Deactivation Deactivation Warm Reset + (PTS) T0 Sending/Receiving Sending/Receiving Continuous Sending Extended Sending Extended Continuous PTS Request
Request “PC310” +Release ”PE111” “PF020” *4 “PF120” *5 /Receiving *5 /Receiving *5 Sending *5 “PF820”
Command ->1 “PC602” *3 ->2 ->5 ->6 “PF222” “PF620” “PF722” T=0->5
->0 *1 T=0->5 ->7 ->6 ->9 T=1->6
*2 T=1->6 Sending/Receiving Extended Sending PTS incompletion->4
Needs to PTS Req->3 “PF121” *5 /Receiving
PTS incompletion->4 ->8 “PF621”
->8
4 PTS execution Deactivation Deactivation Warm Reset + (PTS) T0 Sending/Receiving Sending/Receiving Continuous Sending Extended Sending Extended Continuous PTS Request
“PC310” +Release ”PE111” “PF020” *4 “PF120” *5 /Receiving *5 /Receiving *5 Transmission *5 “PF820”
->1 “PC602” *3 ->2 ->5 ->6 “PF222” “PF620” “PF722” T=0->5
->0 *1 T=0->5 ->7 ->6 ->9 T=1->6
*2 T=1->6 Sending/Receiving Extended Sending PTS incompletion ->4
Needs to PTS Req->3 “PF121” *5 /Receiving *5
PTS incompletion ->4 ->8 “PF621”
->8
*1: The ICC of which protocol type indicated by TA2 in the specific mode is T=0 or that of which protocol type fixed T=0 after PTS.
*2: The ICC of which protocol type indicated by TA2 in the specific mode is T=1 or that of which protocol type fixed T=1 after PTS.
*3: In case command parameter is without “PTS Execution automatically” , and the ICC does not comply with the above *1 and *2.
*4: It is counted as sequence error in case of the ICC of which protocol type is not indicated as T=0 in ATR.
*5: It is counted as sequence error in case of the ICC of which protocol type is not indicated as T=1 in ATR.
C-2
GB-H-98058 (A2)
C.3 Matrix of processing with T=0/T=1 ICC
T=0
Commands T=1 Transmission
Deactivation Transmission
(CMD) Deactivation
+ Release Warm Reset Continuous Continuous Compulsory Extended Extended Continuous
“C3” Transmission Transmission
“C6” “E1” Transmission Receiving Completion Transmission Transmission
Status of C/R “F0” “F1”
“F2” “F3” “F4” “F6” “F7”
5 In Protocol processing Deactivation Deactivation Warm Reset + (PTS) T0 Sending
with T=0 Card “PC310” +Release ”PE111” *3 ->2 /Receiving
->1 “PC602” *1 T=0->5 “PF020”
->0 *2 T=1->6
Needs to PTS Req->3
PTS incompletion->4
6 Process with Idle Deactivation Deactivation Warm Reset + (PTS) Sending/ Continuous Extended Sending Extended Continuous
T=1 Card “PC310” +Release ”PE111” *3 ->2 Receiving Sending/ /Receiving Transmission
->1 “PC602” *1 T=0->5 “PF120” ->6 Receiving “PF620” ->6 “PF722”
->0 *2 T=1->6 Sending/ “PF222” Extended Sending ->9
Needs to PTS Req->3 Receiving ->7 /Receiving
PTS incompletion->4 “PF121” ->8 “PF621” ->8
7 During Deactivation Deactivation Warm Reset + (PTS) Sending/ Continuous Transmission
Continuous “PC310” +Release ”PE111” *3 ->2 Receiving Sending/ Compulsory
Transmission ->1 “PC602” *1 T=0->5 “PF120” ->6 Receiving Completion
->0 *2 T=1->6 Sending/ “PF222” “PF423”
Needs to PTS Req->3 Receiving ->6
PTS incompletion->4 “PF121” ->8
8 During Deactivation Deactivation Warm Reset + (PTS) Continuous Transmission
Continuous “PC310” +Release ”PE111” *3 ->2 Receiving Compulsory
Receiving ->1 “PC602” *1 T=0->5 “PF320” ->6 Completion
->0 *2 T=1->6 Continuous “PF423”
Needs to PTS Req->3 Receiving ->6
PTS incompletion->4 “PF321” ->8
9 During Deactivation Deactivation Warm Reset + (PTS) Transmission Extended Sending Extended Continuous
Extended “PC310” +Release ”PE111” *3 ->2 Compulsory /Receiving Transmission
Continuous ->1 “PC602” *1 T=0->5 Completion “PF620” ->6 “PF722”
Transmission ->0 *2 T=1->6 “PF423” Extended Sending
Needs to PTS Req->3 ->6 /Receiving
PTS incompletion->4 “PF621” ->8
*1: The ICC of which protocol type indicated by TA2 in the specific mode is T=0 or that of which protocol type fixed T=0 after PTS.
*2: The ICC of which protocol type indicated by TA2 in the specific mode is T=1 or that of which protocol type fixed T=1 after PTS.
*3: In case command parameter is without “PTS Execution automatically”, and the ICC does not comply with the above *1 and *2.
C-3
GB-H-98058 (A2)
Annex D PTS Request/ICC Activation ( PTS Designation Execution) Commands
D.1 Protocol Type Execution
The table below shows the relationship between the protocol type indicated in ATR and PTS request/ ICC
activation ( PTS designation execution) commands. Processing by the C/R and the response are described
below.
- Activation commands to PTS execution are “E0”,”E1” and “G1”. “PTS designation execution” means the
Activation command when “Executes automatically PTS Execution” is set to parameter.
- Protocol type “T=x” indicates the type exclude for “T=0” and “T=1”.
- When the ICC is in the specific mode, the response of PTS request command is sequence error(“NF801”)
and activation with PTS execution command transmits response without PTS request to the ICC.
- ATR Information added to response data of activation command is omitted in this Matrix.
D-1
GB-H-98058 (A2)
D.2 Execution of Transmission Parameter F&D
(1) CLK delivered to ICC
The actual value of frequency “ƒ” which the C/R supplies to the ICC on CLK is 3.5795MHz fixed.
(2) The Relationship Between Transmission Parameter F&D supported by the C/R and PTS Request
(3) Conditions and Processing Method of PTS Request for Changing of Transmission Parameter
When ATR Information is in the following three cases, the C/R executes PTS request for changing of
transmission parameter independently.
1) It is in the negotiable mode.
2) In case of “sends PTS Request” as described in the above table.
3) The protocol type T=1 is indicated in case of single protocol card or the protocol type T=1 is
indicated in case of multiple protocol card.
When PTS request for transmission parameter execution is successful, the transmission parameter
values as shown above are used. When it is Incompletion, the default values (F=372,D=1) are used.
The C/R doesn’t transmit the result of PTS request for changing of transmission parameter to the Host.
F D TA1(BIN)
372 2 12H
372 4 13H
Transmission Parameter F&D (2)
D-2
GB-H-98058 (A2)
Annex E Matrix of Commands Relevant to Download(DLC)
- The following matrix shows commands about DL and the status of the C/R. The description of error codes during the execution of each command is omitted.
- “xx” in this matrix shows command code.
- This matrix is effectiveness in condition when no card exist or a card exists insertion position ( but shutter closed ).
- The response status ”Pxx0x”, ”Pxx1x” and ”Pxx2x” are marked as “Pxxnx”.
E-1
GB-H-98058 (A2)
Annex F Flow chart of DL relation command
F.1 Flow chart of DL Start command("d0")
Waits to receive
DL Start Command
Receives DL Start
command("Cd0")
Sends DLE-ACK
Receives DLE-ENQ
Enabled status of
YES
DLE-EOT receiving FW loading is imperfect ?
NO
Acceptance NO
Checks are OK ?
Parameter NO
Checks are OK ? *2
NO
Erasing of
Disabled status of
FW is OK ?
DLE-EOT receiving
YES
Moves enabled status of
DLE-EOT receiving
Send Response ("Pd030")
Enabled status of
Sends DL inperection err. DLE-EOT receiving
Waits to recieve DL ("Nd070")
Transmission Command
F-1
GB-H-98058 (A2)
F.2 Flow chart of DL sending("d1")
Waits to receive DL
Transmission Command
Receives DL Transmission
Command("Cd1")
Sends DLE-ACK
Receives DLE-ENQ
NO
Acceptance
Checks are OK ?
Writing in NO
memory is OK ?
Moves enabled status of
YES DLE-EOT receiving
Sends DL inperection
Send Response ("Pd130")
err. ("Nd070") Enabled status of
DLE-EOT receiving
Waits to receive DL
Start command
NO
Block is the last block ?
YES
Waits to recieve DL
Completion Command
F-2
GB-H-98058 (A2)
F.3 Flowchart of DL Transmission command ("d2")
Waits to recieve DL
Completion Command
Receives DL Completion
Command ("Cd2")
Sends DLE-ACK
Receives DLE-ENQ
Disabled status of
DLE-EOT receiving NO
Acceptance
Checks are OK ?
YES
Sends Sequence err.
("Nd001")
NO
All data written in
memory is OK ? *1
YES
F-3
GB-H-98058 (A2)
State of C/R at power down detection Processing after power down detection
No card is in C/R No processing.
Before card insertion Insertion denial.
In card insertion Insertion denial.
Insertion ( Card width sw. ON and S0 OFF)
permission In card insertion Insertion denial -> returns the position which is S0 off.
No command ( Card width sw. ON and S0 ON)
receiving Card is in moving Moving completion -> Processing after power down.
Card is in takeout position No processing.
Card is in the C/R Processing after power down.
In Pressing ICC contact Releases IC contact -> Processing after power down.
In ICC activation Deactivates -> Releases IC contact -> Processing after power
down.
Before card insertion Stops in take.
In card insertion Stops in take.
(Card width sw. ON and S0 OFF)
Under in-take
In card insertion Stops in take -> returns the position which is S0 off.
( Card width sw. ON and S0 ON)
Card is in moving Completes in-take -> Processing after power down.
In read Completes read without judging and retrying.
-> Processing after power down.
In carrying before write Completes carrying without write -> Processing after power
down.
In write Completes write without verification -> Processing after power
In write
down.
In verification Completes verification without judging -> Processing after
power down.
In return Completes return -> no processing
In read Completes read -> deactivates -> Releases the ICC
-> Processing after power down.
In command IC
In write Completes write -> deactivates -> Releases the ICC
processing
-> Processing after power down.
In DL Stops the down loading of FW. *2
No card in the C/R Completes read and write in memory -> Insertion denial.
Insertion Before card insertion Completes read and write in memory -> Insertion denial.
permission In card insertion Completes read and write in memory -> Insertion denial.
( Card width sw. ON and S0 OFF)
In card insertion Completes read and write in memory -> Insertion denial.
( Card width sw. ON and S0 ON) -> returns the position which is S0 off.
Reads,
Card is in moving Completes read and write in memory -> Completes moving
writes in
-> Processing after power down.
memory
*1 Card is in take-out position after returned Completes read and write in memory
Card is in the C/R Completes read and write in memory
-> Processing after power down.
In Pushing ICC contact Completes read and write in memory -> Releases the ICC ->
Processing after power down.
In ICC activation Completes read and write in memory -> Deactivates ->
Releases IC contact -> Processing after power down.
*1 : “Reads, Writes in memory” means read or write in memory data such as e.g. “Number of card
captured” or “Option device read” of the C/R.
*2 : HOST should execute again from the beginning of DL. For more detail, see G.3 Flowchart of Power
down detection by HOST.
G-1
GB-H-98058 (A2)
C/R condition when The first response after power down After the second response after
power down detection detection power down detection
For the first command, C/R sends the C/R sends “Waiting initial reset (Nxx19) or
response below ; (Nxx71)“ when C/R received a command
- “Power down detection (Nxx18)” exclude “initial reset (“00”-“06”)” .
No command receiving
- “Waiting initial reset (Nxx19)”
- “Initial reset” command waiting after FW
loading completion (Nxx71)”
For the response in processing command ,
C/R sends the response below ;
-“Power down detection (Nxx18)”
In command processing
-“Waiting initial reset (Nxx19)
-“Initial reset” command waiting after FW
loading completion (Nxx71)”
G-2
GB-H-98058 (A2)
*1
*1: FW should re-load as the sum value in memory is wrong. For loading method , see flowchart of
commands relevant to DL..
G-3
GB-H-98058 (A2)
H-1