User's Manual
31
LPT
01 00
Port
COMMAND
53 00
Scrambling (
"S"
)
LABEL
53 4D 41 52 54 4B 45 59
00 00 00 00 00 00 00 00
Label (
"SMARTKEY")
DATA
XX XX XX XX XX XX XX XX
Data to be scrambled (8 bytes)
Table 10
Exchange of information for the SCRAMBLING command
At the end of the operation, the first 8 bytes of the Data field are replaced by the Scrambled Data that depend on both
the sent Original Data and on the dongle's Id-Code.
In this case, the LPT field must be initialized according to the port concerned. This operation can be voided, by using
the LOCATING command for automatic search of all the ports installed on the computer.
9.4 Reading mode
The programmable models of the SmartKey family (PR, EP, SP, XM, NET) are equipped with a protection system based
on selective writing and reading access to the Secure Data register, by a Password programmable on the software.
Every software-house can therefore personally encode the dongles in its possession merely by using the supplied utility
software, and without the need for any external programming devices. The administration of the access codes and of the
contents of the non-volatile memory is managed directly by the software-house, which thus become the unique holder
of the personalization codes.
As concerns reading, the READING function enables access to the Data and ExtData fields to verify their contents and
compare them to the expected contents. Knowledge of Label and Password is necessary.
The READING_MODE command allow the access of the first 416 bytes of memory. If the dongle has more than 416
bytes of memory, you must use the BLOCK_READING command to completely access it.
For the EP, SP, XM and NET models, the value of the FAIL COUNTER register is also available in reading mode.
The exchange of information is organized like this:
Models PR, EP, SP, XM, NET
Input COMMAND ‘R’
LPT Port
LABEL Label
PASSWORD Password
Output DATA Read data
EXT_DATA Read extended data (for models with more than 64 bytes of memory)
FAIL_CTR Fail Counter (for models EP, SP, XM and NET only)
STATUS Status
==0 Success
!=0 Error
Table 11
READING MODE command parameters
If the Password passed to the dongle is incorrect,
Secure Data and Fail Counter are pseudo-randomly generated.
9.4.1 Parameter transfer
Parameters be transferred to execute a READING operation on a dongle present on the on the LPT1 parallel port:
LPT
01 00
Port
COMMAND
52 00
Reading ("
R
")
LABEL
53 4D 41 52 54 4B 45 59
00 00 00 00 00 00 00 00
Label (
"SMARTKEY")