Download MULTIPROTOCOL SOFTWARE USER'S MANUAL

Transcript
V-96
THE COMMAND INTERPRETER
V.18. RINIT (19h): Reinitialize the card
OPCODE =
25 (19h)
DESCRIPTION
This command resets the card's software.
This command has the following format:
OPCODE
PARAMETER 1
DB7
0
0
DB6
0
0
DB5
0
0
DB4
1
0
DB3
1
0
DB2
0
0
DB1
0
0
DB0
1
Typ
Typ: PARAMETER #1
DB0
If Typ = 1, all the card's variables and communication lines are reset to zero. The card is then
waiting for the "RUN 02" start code.
If Typ = 0, the card returns an error.
WARNING
Since the card does not return an end of command interrupt if Typ = 1, the programmer can
determine if the card is ready to receive the RUN 02 start code by reading address 0 in the
mailbox. Once the card is ready, it writes byte 0Fh at that address and the character string
"MCX IS READY" at address 100 (64h).
ERROR CODE
If the command does not execute normally, code 154 (9Ah) is returned to indicate an error in
the command.
The cause of the error is:
Error in parameter #1
MULTIPROTOCOL SOFTWARE USER’S MANUAL (DTUS016) - REV. B.03 JAN. 5, 1998