CY7C68300A
This part is not recommended for new designs
Use CY7C68300B EZ-USB AT2LP™ USB2.0 to ATA/ATAPI
Bridge for new designs
Document #: 38-08031 Rev. *E
Page 7 of 21
6.1.2
MfgCB
The mfg_load and mfg_read vendor-specific commands will
be passed down through the bulk pipe in the CBWCB portion
of the CBW. The format of this MFGCB is shown below. Byte
0 is a vendor-specific command designator whose value is
configurable and set in the configuration data. Byte 1 must be
0x27 to identify MfgCB. Byte 2–15 are reserved and must be
set to zero.
The data transfer length will be determined by the CBW Data
Transfer
Length
specified
in
bytes
8
through
11
(dCBWDataTransferLength) of the CBW. The type/direction of
the command is determined by the direction bit specified in
byte 12, bit 7 (bmCBWFlags) of the CBW.
6.1.2.1 Mfg_load
During a mfg_load, the CY7C68300A goes into Manufacturing
Test Mode. Manufacturing Test Mode is provided as a means
to implement board or system level interconnect tests. During
Manufacturing Test Mode operation, all outputs not directly
associated with USB operation are controllable. Normal
control of the output pins are disabled. Control of the select
CY7C68300A IO pins and their three-state controls are
mapped to the ATAPI data packet associated with this request.
(See the following table for explanation of the required
mfg_load data format.) This requires a write of seven bytes. To
exit Manufacturing Test Mode, a hard reset (#RESET) is
required.
Table 6-1. Command Block Wrapper
765
4
3
2
1
0
0–3
DCBWSignature
4–7
dCBWTag
8–11 (08h-0Bh)
dCBWDataTransferLength
12 (0Ch)
bwCBWFLAGS
Dir
Obsolete
Reserved (0)
13 (0Dh)
Reserved (0)
bCBWLUN
14 (0Eh)
Reserved (0)
bCBWCBLength
15–30 (0Fh1Eh)
CBWCB (CfgCB or MfgCB)
Table 6-2. Example CfgCB
CfgCB Byte Descriptions
Bits
7
654
321
0
0 bVSCBSignature (set in configuration bytes)
0
0
1
0
0
1
0
0
1 bVSCBSubCommand (must be 0x26)
0
0
1
0
0
1
1
0
2 Reserved (must be set to zero)
0
0
0
0
0
0
0
0
3 Data Source (must be set to 0x02)
0
0
0
0
0
0
1
0
4 Start Address (LSB) (must be set to zero)
0
0
0
0
0
0
0
0
5 Start Address (MSB) (must be set to zero)
0
0
0
0
0
0
0
0
6–15 Reserved (must be set to zero)
0
0
0
0
0
0
0
0
Table 6-3. Example MfgCB
MfgCB Byte Description
Bits
0 bVSCBSignature (set in configuration bytes)
0
0
1
0
0
1
0
0
1 bVSCBSubCommand (hardcoded 0x27)
0
0
1
0
0
1
1
1
2–15 Reserved (must be zero)
0
0
0
0
0
0
0
0