8.1.5.3
Reading Security Erase Parameters
Table 21 describes the configuration for reading the boundaries of the Security Erase parameters.
Table 21: Reading the Boundaries
Bit
Byte
7 6 5 4 3 2 1 0
0
Operation Code = 0x3C
1
Logical Unit Number
Reserved
Mode = 0x1
2
Reserved (0x00)
3
4
5
MSB
Buffer Offset = 0x13
LSB
6
7
8
MSB
Allocation length
LSB
9
Control
Bit Description
•
Operation Code: 3Ch
•
Mode 0x1: Vendor-specific mode
•
Buffer Offset: 0x13
•
Allocation length: Specifies the length of the transfer. Each partition requires 12 bytes. The
first four bytes of the received data contain the read length, therefore the transfer length is
(NUMBER_OF_PARTITIONS_TO_READ x 12) + 4
The first four bytes of the data structure to be received indicate the length of the received data.
All following bytes are the partition information.
For example, to read all the data, the user should enter 100 (64 HEX) as the allocation length (12
x 8 + 4). The SCSI command is:
3C 01 00 00 00 13 00 00 64 00
31
Product Specification and User Manual FFD 3.5" Ultra320 SCSI
43-PS-0305-00 Rev. 2.0