
Release Date
August 2003
ds_pl2507_v13
PL-2507 Product Datasheet
- 14 -
Document Version 1.3
6.2.2 Get Max LUN
The device may implement several logical units that share common device characteristics. The host
uses bCBWLUN (see 5.1 Command Block Wrapper (CBW)) to designate which logical unit of the
device is the destination of the CBW. The Get Max LUN device request is used to determine the
number of logical units supported by the device. Logical Unit Numbers on the device shall be
numbered contiguously starting from LUN 0 to a maximum LUN of 15 (Fh).
6.3 Vender Specific Requests
Command
bmType
bRequest
wValue
wIndex
wLength
Data
Note
SET_EEPROM_STR
0x41
0x05
0
BL
Data String
GET_EEPROM_STR
0xC1
0x06
0
BL
Data String
Note: The BL shall not exceed 255, the requests will be stalled otherwise.
6.3.1 SET_EEPROM_STRING Request
The PL-2507 supports the option to store the Vendor ID, Product ID, and Device Release Number in
device descriptor, Attributes and Max Power setting in configuration descriptor, and Strings of String
Descriptor in an external Serial EEPROM.
The PL-2507 will detect the existence of the EEPROM
automatically after reset.
If the first word retrieved from the EEPROM matches the predefined check
byte, 0x067B, it would use the data from this external EEPROM instead of the data from internal
ROM.
The vendor specific SET_EEPROM_STRING request is used to change the contents of the EEPROM.
The data part of this request is written to the EEPROM from address 0 all the way up to address 255.
Therefore, it is necessary for the software to prepare the whole table first and then write it to the
EEPROM in one single SET_EEPROM_STRING request.
6.3.2 GET_EEPROM_STRING Request
This request allows driver on host side retrieve the whole data table resides in the external serial
EEPROM. The returned data is retrieved starting from address 0 to the end of data table from
EEPROM. It is mostly used as a verification method to check the data integrity of the previous write.