The text of a manual · part 4 of 23
PINpad 1000SE Reference and Programmers Guide, pages 31 to 40
Pages 31 to 40 of 229
The original document is the PDF (8.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the VeriFone PINPad 1000SE
Page 31
M ANAGEMENT P ACKETS M02 Check PINpad Mode
M02 Check PINpad Mode Causes the PINpad unit to check the PINpad mode.
Support Mode
Comments
PINpad 1000
PINpad 1000SE
D
D
For PINpad Mode Register values, see the following table: Table 2
PINpad Mode Register Values Bit 7
Request Format
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PP1000 mode: Default
- - - - - - - - - - - Reserved - - - - - - - - - -
0
0
1
PP1000SE mode
- - - - - - - - - - - Reserved - - - - - - - - - -
0
1
0
<SI> M02 <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M02 packet
3
Check PINpad Mode
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
Response Format
<SI> M02 [PM] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M02 packet
3
Check PINpad Mode
[PM] packet parameter
2
The two ASCII-Hex digits are concatenated, big-endian, to produce a single control byte. See the PINpad Mode Register Values, above, for values.
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 8 characters, minimum 8 characters
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
29
Page 32
M ANAGEMENT P ACKETS M02 Check PINpad Mode
Protocol Controller
Transmission Direction
M02 request packet
------>
PINpad
ACK = LRC OK NAK = LRC incorrect <------
(EOT after 3 NAKs)
<------
M02 response packet
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
------> <------
30
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT to terminate process
Page 33
M ANAGEMENT P ACKETS M03 Load Permanent Unit Serial Number
M03 Load Permanent Unit Serial Number Loads the permanent unit serial number (PUSN).
Support Mode
Comments NOTE
PINpad 1000
PINpad 1000SE
D
D
The default PUSN is all zeros '0' (0x30). This packet is only available in version 4E3002x and later releases of the firmware. Once the serial number is loaded it cannot be erased or changed. Subsequent M03 requests are ignored and return an error code.
CAUTION
There is no Power Failure Protection in Packet M03 processing. Load PUSN only in an environment where the power level can be guaranteed. Both the request and response formats are shown below.
Request Format
<SI> M03 [PUSN] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M03 packet
3
Load PUSN
[PUSN] packet
11
Permanent Unit Serial Number Format: xxx-xxx-xxx Note:
PUSN has input range from ‘0’ ~ ’9’, ‘A’ ~ ‘Z’ and ‘-’. Location and number of ‘-‘are not restricted or limited.
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 17 characters, minimum 17 characters
Response Format
<SI> M03 [r] <SO>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
31
Page 34
M ANAGEMENT P ACKETS M03 Load Permanent Unit Serial Number
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M03 packet
3
Load PUSN
[r] packet parameter
1
Response Code; • 0=no error • 1=PUSN format error, input is outside the range of ‘0’ ~ ’1’, ’A’ ~ ’B’, or ‘-‘. • 2=PUSN is already loaded, and the
M03 request is ignored. <SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 7 characters, minimum 7 characters
Protocol Controller
Transmission Direction
M03 request packet
------>
PINpad
ACK = LRC OK NAK = LRC incorrect <------
(EOT after 3 NAKs)
<------
M03 response packet
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
------> <------
32
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT to terminate process
Page 35
M ANAGEMENT P ACKETS M04 Read Permanent Unit Serial Number
M04 Read Permanent Unit Serial Number Checks the permanent unit serial number (PUSN).
Support Mode
Comments NOTE
Request Format
PINpad 1000
PINpad 1000SE
D
D
Both the request and response formats are shown below. This packet is only available in version 4E3002x and later releases of the firmware. <SI> M04 <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M04 packet
3
Check PUSN
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 6 characters, minimum 6 characters
Response Format
<SI> M04 [PUSN] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
M04 packet
3
Check PUSN
[PUSN] packet parameter
11
Permanent Unit Serial Number Format: xxx-xxx-xxx
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh'
{LRC} block code check
1
Error Check Character
Packet Length: maximum 17 characters, minimum 17 characters
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
33
Page 36
M ANAGEMENT P ACKETS M04 Read Permanent Unit Serial Number
Protocol Controller
Transmission Direction
M04 request packet
------>
PINpad
ACK = LRC OK NAK = LRC incorrect <------
(EOT after 3 NAKs)
<------
M04 response packet
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)
------> <------
34
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT to terminate process
Page 37
M ANAGEMENT P ACKETS 01 Run Diagnostic Function Routine
01 Run Diagnostic Function Routine Causes the PINpad unit to run self-diagnostic functions and send information to the master device.
Category Comments
Interactive Diagnostic Test The response packets to Packet 01 are packet 09 UART Loopback Test and Response Packet 14. This test is initiated by the controller. The PINpad displays the response to this diagnostic test. The table of two-byte ASCII code for diagnostic testing is as follows:
Packet Format
Diagnostic #
Description
PP1000 and PP1000SE modes
00
Change Proc Msg
Yes
01
RAM Test/One time
Yes
02
RAM Test/Continuous
Yes
03
PROM Checksum Test
Yes
04
Keyboard Test
Keyboard Test
05
Display Test
Display Test
06
Serial Number Check
Yes
07
UART Loopback Test
Yes
08
Current BAUD Rate
Yes
----
----
----
----
----
----
----
----
----
12
RAM Test/One Time
Yes
13
RAM Test/Continuous
Yes
14
PROM Checksum Test
Yes
15
PINpad ROM Version #
Yes
<SI> 01 [diagnostic#] <SO>{LRC}
Elements Type
Field
Length
Description
<SI> start of packet
1
ASCII Shift In Control Character; Value: `0Fh'
01 packet type
2
Interactive Diagnostic Routine
[diagnostic#] packet parameter
2
Two-byte ASCII code for the diagnostic test to run; Range: 00-09 (See the preceding table)
<SO> end of packet character
1
ASCII Shift Out Control Character; Value: `0Eh' PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
35
Page 38
M ANAGEMENT P ACKETS 01 Run Diagnostic Function Routine
Type
Field
Length
Description
{LRC} block code check
1
Error Check Character
Packet Length: maximum 7 characters, minimum 7 characters
Examples
<SI> 0101 <SO>{LRC}
This packet sends the PINpad the request to run diagnostic test 1, the one-time RAM test. <SI> 0106 <SO>{LRC}
This packet sends the PINpad device a request to run diagnostic test 6, which displays the serial number.
Protocol
This protocol is used with diagnostic numbers 01 through 06, as well as 08. Diagnostic Numbers 01-06 and 08 The following is the protocol for options 01-06 and 08. Controller
Transmission Direction
01 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect PINpad executes test
<------
EOT when test finished
UART Loopback Test (07) The following is the protocol for option 07, the UART Loopback Test option. Controller
ACK = LRC OK
Transmission Direction
PINpad
<------
09 request packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) 09 response packet
------> <------
ACK = LRC OK NAK = LRC incorrect
<-----ACK = LRC OK
09 response packet
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
36
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
EOT when test finished
Page 39
M ANAGEMENT P ACKETS 01 Run Diagnostic Function Routine
12 RAM Test/One Time The following is the protocol for option 12. Controller
Transmission Direction
01 packet:
------>
PINpad
<SI>0101<SO>{LRC}
<------
ACK = LRC OK NAK = LRC incorrect
<------
14 response packet: <SI>14RAM TST BEGIN<SO>{LRC}
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
14 response packet: <SI>14RAM TST OK<SO>{LRC} or <SI>14BAD RAM<SO>{LRC}
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
EOT to terminate process
13 RAM Test/Continuous The following is the protocol for option 13. Controller
Transmission Direction
01 packet:
------>
PINpad
<SI>0102<SO>{LRC}
<------
ACK = LRC OK NAK = LRC incorrect
<------
14 response packet: <SI>14RAM TST BEGIN<SO>{LRC}
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
14 response packet: <SI>14RAM TST OK<SO>{LRC} or <SI>14BAD RAM<SO>{LRC}
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
EOT to terminate process
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
37
Page 40
M ANAGEMENT P ACKETS 01 Run Diagnostic Function Routine
14 PROM Checksum Test The following is the protocol for option 12. Controller
Transmission Direction
01 packet:
------>
PINpad
<SI>0103<SO>{LRC}
<------
ACK = LRC OK NAK = LRC incorrect
<------
14 response packet: <SI>14xx<SO>{LRC}
ACK = LRC OK
------>
NAK = LRC incorrect (EOT after 3 NAKs) <-----NOTE
38
EOT to terminate process
In the preceding table, xx is the one-byte PROM internal checksum. There are two checksums inside the PINpad 1000SE. One is the PROM checksum, used for manufacturing purposes, which is 2 bytes long and located at 3FFE/3FFF. The other one is the PROM internal checksum.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE