CY7C68300C/CY7C68301C
CY7C68320C/CY7C68321C
Fused Memory Data
When no EEPROM is detected at startup, the AT2LP enumerates with the VID/PID/DID values that are stored in the fused memory space. These values can be programmed into the AT2LP during chip manufacturing for high volume applica- tions to avoid the need for an external EEPROM in some designs. Contact your local Cypress Semiconductor sales office for more information on this feature.
If no factory programming has been done, the values returned from the fused memory space would all be 0x00, which is not a valid mode of operation. In this case the chip uses the manufacturing mode and return the default descriptors (VID/PID of 0x4B4/0x6830). An EEPROM must be used with designs that do not use
Normal Mass Storage Mode
In Normal Mass Storage Mode, the chip behaves as a USB 2.0 to ATA/ATAPI bridge. This includes all typical USB device states (powered, configured, etc.). The USB descriptors are returned according to the values stored in the external EEPROM or fused memory space. A unique serial number is required for Mass Storage Class
ATAPI command for EEPROM accesses (CfgCB) and one for board level testing (MfgCB), as described in the following sections.
There is a convenient method available for starting the AT2LP in Board Manufacturing Test Mode to allow reprogramming of EEPROMs without a mass storage device attached. If the ATA Reset (ARESET#) line is LOW on power up, the AT2LP enters Board Manufacturing Test Mode. It is recommended that a 10k resistor be used to pull ARESET# to LOW. An easy way to pull the ARESET# line LOW is to short pins 1 and 3 on the
CfgCB
The cfg_load and cfg_read
Board Manufacturing Test Mode |
|
| The data transferred to the EEPROM must be in the format | |||||||||
In Board Manufacturing Test Mode the AT2LP behaves as a | specified in Table 11 of this data sheet. Maximum data transfer | |||||||||||
USB 2.0 device but the ATA/ATAPI interface is not fully active. | size is 255 bytes. |
|
|
|
| |||||||
This mode must not be used for mass storage operation in a | The data transfer length is determined by the CBW Data | |||||||||||
finished design. In this mode, the AT2LP allows for reading | Transfer Length specified in bytes 8 through 11 | |||||||||||
from and writing to the EEPROM, and for board level testing, | (dCBWDataTransferLength) of the CBW (refer to Table 7). | |||||||||||
through vendor specific ATAPI commands utilizing the CBW | The type/direction of the command is determined by the | |||||||||||
Command Block as described in the USB Mass Storage Class | direction bit specified in byte 12, bit 7 (bmCBWFlags) of the | |||||||||||
| CBW (refer to Table 7). |
|
|
|
| |||||||
Table 7. Command Block Wrapper |
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bits |
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
Offset | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 |
| 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| DCBWSignature |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| dCBWTag |
|
|
|
| |||
|
|
|
|
|
|
|
|
| ||||
|
|
| dCBWDataTransferLength |
|
|
|
| |||||
12 (0Ch) |
|
|
|
| bwCBWFLAGS |
|
|
|
| |||
| Dir | Obsolete |
|
|
|
| Reserved (0) |
|
| |||
13 (0Dh) |
| Reserved (0) |
|
|
|
| bCBWLUN |
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| |
14 (0Eh) |
| Reserved (0) |
|
|
|
| bCBWCBLength |
|
| |||
|
|
|
|
|
|
|
|
| ||||
|
|
| CBWCB (CfgCB or MfgCB) |
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Document | Page 19 of 42 |
[+] Feedback