CY4615B EZ-USB® AT2LP™ Hi-Speed USB 2.0-toATA/ATAPI Reference Design Guide Doc. # 001-69113 Rev. *C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Copyrights Copyrights © Cypress Semiconductor Corporation, 2011-2012. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. EZ-USB is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. Flash Code Protection Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used. There may be methods, unknown to Cypress, that can breach the code protection features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as ‘unbreakable’. Cypress is willing to work with the customer who is concerned about the integrity of their code. Code protection is constantly evolving. We at Cypress are committed to continuously improving the code protection features of our products. 2 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Contents 1. Introduction 1.1 1.2 1.3 1.4 1.5 Kit Contents .................................................................................................................5 Features.......................................................................................................................5 1.2.1 ATA-ATAPI-6 Standard Features ......................................................................6 1.2.2 Additional Features (CY7C68320C/CY7C68321C Only) .................................6 1.2.3 Additional Features (CY7C68300C/CY7C68301C Only) .................................6 Additional Learning Resources....................................................................................6 1.3.1 Reference Documents .....................................................................................6 Document History ........................................................................................................7 Documentation Conventions .......................................................................................7 2. Getting Started 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 4.2 4.3 4.4 4.5 5.2 5.3 21 Cypress AT2LP Configuration Utility Blaster.Exe ......................................................21 4.1.1 Components...................................................................................................21 4.1.2 Supported Platforms ......................................................................................21 Overview....................................................................................................................21 User Interface ............................................................................................................22 Binding Cypress Manufacturing Mode USB Driver to Blaster Tool............................23 4.4.1 Installing Cypress Manufacturing Mode USB Driver ......................................23 Using Configuration Files with CY4615B Board ........................................................24 5. AT2LP Manufacturing Software 5.1 19 User Interface ............................................................................................................19 EEPROM Settings .....................................................................................................20 4. Configuration Utility 4.1 9 Kit Installation ..............................................................................................................9 Reference Design Kit Contents .................................................................................13 Quick Start .................................................................................................................14 Jumpers and Switches...............................................................................................14 DIP Switches .............................................................................................................15 Pushbutton Switches .................................................................................................15 Recommended Settings ............................................................................................16 Detecting Self-powered Hard Disk (IDE) Using CY4615B Board ..............................16 ATA Security..............................................................................................................17 3. Convert AT2 EEPROM to AT2LP 3.1 3.2 5 25 Cypress AT2LP Manufacturing Software Primer.exe ................................................25 5.1.1 Components...................................................................................................25 5.1.2 Supported Platforms ......................................................................................25 Overview....................................................................................................................25 User Interface ............................................................................................................25 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 3 Contents 5.4 5.5 Configuration File ...................................................................................................... 26 Driver ......................................................................................................................... 27 6. Resources 6.1 6.2 6.3 7. Reference Designs 7.1 7.2 4 31 CY4611B - USB 2.0 to ATA Reference Design......................................................... 31 CY4651 v1.3 - Cypress and AuthenTec Reference Design for Biometric Security in External USB Hard Disk Drives31 A. Appendix A.1 A.2 A.3 29 Hardware Resources................................................................................................. 29 Firmware Resources ................................................................................................. 29 Application Notes....................................................................................................... 29 33 Schematic.................................................................................................................. 33 Board Layout ............................................................................................................. 34 BOM .......................................................................................................................... 36 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 1. Introduction Cypress’s AT2LP™ Development Kit (DVK) board is a tool to demonstrate the features of EZ-USB® AT2LP (CY7C68300C/CY7C68301C and CY7C68320C/CY7C68321C). The EZ-USB AT2LP implements a fixed function bridge between one USB port and one or two ATA or ATAPI-based mass storage device ports. The AT2LP DVK is based on the 100-pin TQFP CY7C68320C. In the initial phase of the design, this board helps developers to understand the chip features and limitations before proceeding with a complete design. The DVK includes support documents related to board hardware, PC application software, and the EEPROM configuration data (.iic) files. The AT2LP adheres to the USB Mass Storage Bulk Only-Transport (BOT) Specification. The Cypress ATA/ATAPI-6 controller can communicate with the following devices ■ IDE devices (ATA complaint) ❐ 3.5-inch and 2.5-inch hard disk drives ■ Compact Flash (CF) and micro drives ■ ATAPI devices ❐ ZIP drives ❐ CD-ROM/R/RW drives ❐ DVD-ROM/RAM/RW drives ❐ Tape drives The 100-pin CY7C68320C device is a superset of the 56-pin CY7C68300C and CY7C68301C devices. Therefore, this board can be used as an evaluation platform for all devices in the AT2LP family. 1.1 Kit Contents The CY4615B AT2LP Reference Design Kit includes: 1.2 ■ AT2LP Board based on CY7C68320C ■ USB A-to-B cable ■ 40-pin to 44-pin adapter ■ 3 IC samples of CY7C68320C-100AXC ■ A "Y" power adapter cable to connect supply power to IDE drives and CY4615B board. ■ ATA/66/100 Cable to connect multiple ATA/ATAPI devices to the CY4615B board. ■ Compact-flash (CF) card to demonstrate Kit functionality. Features The features of the AT2LP DVK are: ■ Fixed function mass storage device, which does not require any firmware ■ Allows to program AT2LP configuration files (.iic) to I2C based EEPROM CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 5 Introduction 1.2.1 1.2.2 1.2.3 1.3 ■ Low-power operation with suspend current varying from 100 µA to 380 µA ■ General purpose I/O (GPIO) pins can be individually configured as Input or Output mode ■ Certified as USB 2.0 compliant ■ 3.3 V operation with 5 V tolerant inputs ■ Available in space saving 56-pin packages ATA-ATAPI-6 Standard Features ■ Complies with ATA-ATAPI-6 Specification ■ Supports ATA security features, ATAPI serial number VPD page retrieval, and an optional Content Security Management (CSM) interface for Digital Rights Management (DRM) compatibility ■ Supports data transfer modes such as PIO mode-0 and 4 multiword DMA mode 2, UDMA modes 2, 3, and 4 ■ Supports any ATA command with the ATACB function ■ Supports mode page 5 for BIOS boot support ■ ATA interface IRQ signal support ■ Supports one or two ATA,ATAPI devices ■ Supports CompactFlash and one ATA/ATAPI device. When using a CF device, the CF is always master and the ATA or ATAPI device must be set as the slave Additional Features (CY7C68320C/CY7C68321C Only) ■ Supports an HID interface or custom GPIOs to enable features such as single button backup, power-off, and LED-based notification ■ 56-pin QFN and 100-pin TQFP Pb-free packages ■ CY7C68321C is ideal for battery-powered designs ■ CY7C68320C is ideal for self- and bus-powered designs Additional Features (CY7C68300C/CY7C68301C Only) ■ Pin-compatible with CY7C68300A (using backward compatibility mode) ■ 56-pin SSOP and 56-pin QFN Pb-free packages ■ CY7C68301C is ideal for battery-powered designs ■ CY7C68300C is ideal for self- and bus-powered designs Additional Learning Resources Visit http://www.cypress.com for additional learning resources in the form of datasheets, Errata and application notes. 1.3.1 6 Reference Documents ■ USB Specification - Revision 2.0, USB Implementers Forum. (www.usb.org) ■ ATA/ATAPI-6 Specification, Proposed ANSI Standard (www.t13.org) ■ USB Mass Storage Class - Bulk Only Transport. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Introduction 1.4 Document History Table 1-1. Revision History 1.5 Revision PDF Creation Date Origin of Change ** 05/03/2011 ROSM Initial version of kit guide *A 06/07/2011 ROSM Corrected page numbering *B 04/16/2012 ELIN *C 04/25/2012 NMMA Description of Change Updated kit documents with OOB review comments. Updated kit document content as per CY4615B kit installer changes. Documentation Conventions Table 1-2. Document Conventions for Guides Convention Usage Courier New Displays file locations, user entered text, and source code: C:\...cd\icc\ Italics Displays file names and reference documentation: Read about the sourcefile.hex file in the PSoC Designer User Guide. [Bracketed, Bold] Displays keyboard commands in procedures: [Enter] or [Ctrl] [C] File >> Open Represents menu paths: File >> Open >> New Project Bold Displays commands, menu paths, and icon names in procedures: Click the File icon and then click Open. Times New Roman Displays an equation: 2+2=4 Text in gray boxes Describes cautions or unique functionality of the product. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 7 Introduction 8 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 2. Getting Started This chapter describes the installation and configuration of the CY4615B AT2LP RDK. It also provides configurations on CY4615B board to connect Compact Flash (CF) card in Bus power mode and ATA devices like DVD /IDE drives in Self-power mode. 2.1 Kit Installation To install the kit software, follow these steps: 1. Insert the kit CD/DVD into the CD/DVD drive of your PC. The CD/DVD is designed to auto-run and the kit installer startup screen appears. You can also download the latest kit installer ISO file from http://www.cypress.com/go/CY4615B. Create an installer CD/DVD or extract the ISO using WinRar and install the executables. 2. Click “CY4615B AT2LP RDK” to start the installation, as shown in Figure 2-1. Figure 2-1. Kit Installer Startup Screen Note: If auto-run does not execute, double-click on the cyautorun.exe file in the root directory of the CD/DVD. 3. The InstallShield Wizard screen appears. The default location for setup is shown on the InstallShield Wizard screen. You can change the location for setup using Change button, as shown in Figure 2-2. Click Next after selecting the installed directory to launch the kit installer CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 9 Getting Started Figure 2-2. InstallShield Wizard 4. On the Product Installation Overview screen, select the installation type that best suits your requirement. The drop-down menu has three options - Typical, Complete, and Custom, as shown in Figure 2-3. For this kit all these types of installations would result in the installation of same set of kit components. Click Next to start the installation 10 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Getting Started Figure 2-3. Installation Type Options 5. When the installation begins, all packages are listed on the Installation page. A green check mark appears adjacent to every package that is downloaded and installed, as shown in Figure 2-4. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 11 Getting Started Figure 2-4. Installation Page 6. Wait until all the packages are cached and installed successfully. Click Finish to complete the installation. 12 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Getting Started Figure 2-5. Installation Completion Page Note: After software installation, verify your installation and setup. 2.2 Reference Design Kit Contents After installation of CY4615B contents successfully as explained in Kit Installation on page 9 the kit contents can be located at install directory <Installed_Directory>\<version>\.The <Installed_Directory> term referenced throughout this document refers to C:\Cypress\USB\CY4615B AT2LP RDK as default path. If the installed directory was modified during installation the corresponding path needs to be verified. Following is the summary of CY4615B kit content folders with respect to <Installed_directory>\<version> ■ Documentation-Contains Release notes, Quick start Guide, Kit User Guide (This doc), Application notes, AT2LP datasheet, Errata...etc related to the kit. ■ Hardware-contains Kit BOM, Schematic, PCB, Gerber and Layout files related to CY4615B board. ■ Manufacturing Software-contains Blaster and Primer tools to program configuration files (.iic) to external I2C EEPROM connected to the AT2LP IC. Using the configuration file parameters CY4615B communicates with different ATA/ATAPI-6 compliant devices. ■ Manufacturing Software\Drivers-This folder contains cypress cyusb4615brdk.inf and cyusb.sys USB driver to bind CY4615B board with PC Host containing Windows OS.The Cypress USB drivers are supported on Windows 2000,XP,Vista and 7 on both 32/64-bit processor types. ■ Windows Driver-This folder contains Cypress USB Mass Storage Driver which provides support for the entire line of Cypress USB Mass Storage products (AT2, FX, FX2, ISD-200, ISD-300, ISD300LP, and SL11R-IDE) on Windows 98 Second Edition, Millennium Edition, 2000 Professional Edition, and XP Home and Professional Editions. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 13 Getting Started 2.3 Quick Start The AT2LP DVK board is by default configured to connect to a Compact Flash (CF) card in a Buspowered mode. Please verify the Jumper settings for “Bus-powered CF” mentioned in Recommended Settings on page 16. To verify Self-powered ATA devices like DVD and HDD refer to Detecting Self-powered Hard Disk (IDE) Using CY4615B Board on page 16. 2.4 Jumpers and Switches The AT2LP DVK board has many switches and jumpers to help you evaluate the features of the AT2LP. Jumper/Switch 14 Function J1 CF connector. To use the CF connector, the board must be reconfigured as described in Recommended Settings on page 16 J2 40-pin IDE connector J3 USB connector J4 VBUSPWRD 1-2 = Bus-powered 2-3 (default) = Self-powered J5, J6, J8, J10, J14, J15 GPIO input signals. 1-2 (default) = GPIO0, GPIO1, and GPIO2 are driven high. Removed = The GPIOs are pulled low and can be driven high by the AT2LP or pushbuttons S2-S7 J7 CompactFlash power source. Note that this is an input to Q4, which switches the CF power on and off under AT2LP control VCC_3.3V (recommended) = Supply 3.3 V to the CF socket VCC_5V = CF power comes from external 5 V supply VBUS = CF power comes from VBUS J9 EEPROM enable. This jumper should not be removed. If the EEPROM is programmed incorrectly, unplug the IDE cable, short pins 1 to 3 on the IDE connector, and cycle power to return to manufacturing mode J11 CompactFlash power control select 1-2 = Bus-powered. CF power is driven by PWR500# pin. 2-3 (default) = Self-powered. CF power is driven by the DRV_PWR_VALID signal (CF CD2#) J12 External power connector. Connect to standard 4-pin floppy connector. 12 V is not required J13 Power select 2-3 (default) = Self (external) power. Board is powered from J12. J4 and J11 must also be changed to move from Self-powered to bus-powered 1-2 = Bus power. Board is powered from USB (J2) J16, J17 UDMA on CF socket. Default = OFF. Connect these two jumpers to enable UDMA on the CF socket for micro drive class devices. If these lines are connected to a CF that is not UDMA capable, the CF may interfere with any other devices on the bus. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Getting Started 2.5 DIP Switches Switch 2.6 Function SW1-1 ATA_EN OFF (default) = Normal operation ON = Disconnect from USB. Tri-state the ATA bus if the EEPROM configuration is set to tristate. SW1-2 DRV_PWR_VALID OFF (default) = Normal operation ON = Simulate CompactFlash connection SW1-3 SPARE SW1-4 LED enable OFF = Disable power LED, GPIO LEDs ON (default) = Enable power LED, GPIO LEDs Pushbutton Switches Button Function S1 SYSIRQ: Pushing this button pulls up the SYSIRQ line. This line latches the GPIO pins into the interrupt endpoint. Note that this button has no function when the GPIOs are used in HID mode. S2-S7 When the GPIO pins are used as inputs, they are pulled down by default. These buttons pull the GPIOs high when they are pressed. To tie the GPIOs high for longer periods of time, use J5, J6, J8, J10, J14, and J15. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 15 Getting Started 2.7 Recommended Settings Jumper/Switch 2.8 Name Bus-Powered CF Self-Powered DVD or HDD J1 CF connector CF unused J2 40-pin IDE connector Unused 80-pin IDE cable J3 USB connector USB USB J4 VBUSPWRD 1-2 Bus-powered 2-3 Self-powered J5, J6, J8, J10, J14, J15 GPIO input signals Application specific Application-specific J7 Compact Flash power source VCC_3.3V (recommended) = Supply 3.3 V to the CF N/A socket J9 EEPROM enable Inserted J11 2-3 = Self-powered. CF power 1-2 = Bus-powered. CF Compact Flash power conis driven by the power is driven by PWR500# trol select DRV_PWR_VALID signal (CF pin. CD2#) J12 Do not supply power through Connect to standard 4-pin External power connection this connector in bus-powfloppy connector. 12V is not ered mode. required J13 Power Select 1-2 = Bus power. Board is powered from USB (J3). J16, J17 UDMA on CF socket Connect these two jumpers to enable UDMA on the CF socket for micro drive class N/A devices. If these lines are connected to a CF that is not (CF socket is not used) UDMA capable, the CF may interfere with any other devices on the bus. SW1-1 BUS_PWR_VALID / ATA_EN Off (ATA is enabled) Off (ATA is enabled) SW1-2 SPARE SW1-3 SPARE SW1-4 LED enable Off = Disable power LED, GPIO LEDs On (Default) = Enable power LED, GPIO LEDs Inserted 2-3 (default) = Self (External) power. Board is powered from J12 Detecting Self-powered Hard Disk (IDE) Using CY4615B Board The procedure to detect self powered Hard disk involves the following steps: 1. Binding Cypress Manufacturing Mode USB driver as explained in Binding Cypress Manufacturing Mode USB Driver to Blaster Tool on page 23.This step can be skipped if the binding process was already completed. The Manufacturing Mode USB drivers support Windows XP, Vista, and 7 platforms in both 32 and 64-bit configurations. 16 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Getting Started 2. Program Configuration file (100_self_ATA.iic) to external I2C EEPROM on CY4615B board using Blaster utility. The procedure to program Configuration file is explained in further in section User Interface on page 22 and Using Configuration Files with CY4615B Board on page 24. 3. After programming the configuration file disconnect the USB cable between PC and CY4615B board. 4. Verify the Jumper settings mentioned for Self powered ATA devices in recommended settings in Recommended Settings on page 16. 5. If you are using more than one device, configure one as a master and the other as slave. If you are only using one device, master/slave configuration does not matter. 6. Plug the device into the 40-pin ATA connector via the 80-pin ribbon cable. 7. Connect the 4-pin EXT power (J12) connector to your external power supply. 8. Connect your ATA device to an external power supply. 9. Turn on the power supply and plug the USB cable into a host 10. The Hardware Connections are explained in detailed under “Hardware Connection” section of the Application note titled- Multiple IDE Drives Access using AT2LP - AN63019.The application note explains the hardware set up and PC software configuration process required to access more than one hard drive using AT2LP. It uses AT2LP DVK board (CY4615B) and an 80 conductor IDE cable to interface two self-powered hard drives to the AT2LP. With this set up, when the AT2LP board is connected to the PC using a USB cable, you can access all the logical partitions available in both the drives simultaneously. 2.9 ATA Security ATA security is supported via ATACB commands, the same method used by the ISD-300LP. ATACB commands are not supported by the major operating system drivers so the Cypress driver must be used to support ATA security. BIOS authors can find the entire ATACB description in the data sheet. IDE hard drives only prompt for the password on a hard reset. If the SKIP_PIN_RESET bit is set in the EEPROM, the device will ask for a password only on initial power-up. If the SKIP_PIN_RESET bit is cleared, the device will ask for a password when it is unplugged from the host or when the host is power-cycled. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 17 Getting Started 18 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 3. Convert AT2 EEPROM to AT2LP To further aid the transition from the AT2 to the AT2LP, Cypress has developed a simple tool that will convert the EEPROM configuration files used with the AT2 into a format that can be used with the AT2LP manufacturing software. The AT2 configuration files are text files with a “W56” extension. The AT2LP configuration files are hex files with an “IIC” extension. The CfgToI2C application reads the W56 files and converts them into IIC format. This tool is located at <Installed_Directory>/<version>/ Manufacturing Software/AT2 to AT2LP conversion tool 3.1 User Interface The application's user interface is simple and intuitive. The top field displays the W56 file that will be converted to IIC format. The bottom field displays the location into which the newly converted IIC file will be placed. Click the Convert button to launch the conversion process. Enter the source and destination paths manually or use the Browse button to open a browser window to choose the path. The CfgToI2C application can read several different file types, so make certain that the W56 type is selected in the drop-down menu in the browser window. Figure 3-1. Configuration File Converter When the W56 configuration file is converted to the IIC format, it can be used with the AT2LP manufacturing software. However, the converted file will still follow the format specified in the AT2 data sheet, rather than what is listed in the AT2LP data sheet. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 19 Convert AT2 EEPROM to AT2LP 3.2 EEPROM Settings Many major functions of the AT2LP are controlled by EEPROM settings. To modify the EEPROM settings, run the Blaster.exe program located at <Installed_Directory>/<version>/Manufacturing Software. If an EEPROM configuration prevents the AT2LP board from enumerating, follow this procedure to get the board into manufacturing mode: 1. Turn off the power 2. Unplug the ATA cable or 80-pin connector and any CompactFlash that is installed 3. Short pins 1 to 3 of the ATA connector with a jumper block 4. Turn on the power 5. The board is now in manufacturing mode. It can be reprogrammed using AT2LPBlaster Figure 3-2. AT2LP Board 20 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 4. 4.1 Configuration Utility Cypress AT2LP Configuration Utility Blaster.Exe The Cypress AT2LP Configuration Utility Blaster.exe is a PC application software provided with the CY4615B AT2LP DVK. This software is located in the Manufacturing Software folder in the kit installation directory. The AT2LP board is a fixed function device and initially requires EEPROM configuration (.iic) files with appropriate configuration information. Blaster.exe software performs the following major operations: ■ Reads the configuration files already pre-programmed to on-board EEPROM ■ Writes the configuration file to on-board EEPROM The Read configuration files can be modified based on certain ATA-ATAPI parameters to suit a certain type of mass storage device. 4.1.1 Components The software consists of the executable utility (Blaster.exe), manufacturing driver (CYUSB.sys and cyusb4615brdk.inf), and user guide (this file). 4.1.2 Supported Platforms The cypress AT2LP Configuration utility has been tested and supports Windows 2000 professional , Windows XP(32/64 bit),Vista(32/64 bit) and Windows-7(32/64 bit).The utility will not work with Windows 95 or any version of Windows NT 4.2 Overview The Cypress AT2LP uses 16 bytes of configuration settings, which define how the part interacts with the attached storage device and the USB host. The AT2LP also uses a standard set of USB descriptors to provide information about the product to the USB host. The AT2LP contains default configuration settings and USB descriptors in its internal ROM. These settings and USB descriptors are not suitable for use in shipping products, because the USB descriptors do not provide unique serial numbers, and are therefore not Mass Storage Class compliant. Therefore, circuit designs using the Cypress AT2LP store the configuration settings and USB descriptors externally, on either a serial EEPROM, or the attached storage device. The Cypress AT2LP Configuration Utility is used to edit the configuration settings and USB descriptors for the AT2LP. The configuration settings and USB descriptors can be stored in an AT2LP config (.iic) file on the PC, or the utility can work directly with settings and descriptors from a USB-attached AT2LP-based board. The Cypress AT2LP Configuration Utility provides developers an opportunity to develop an optimal set of AT2LP configuration settings and USB descriptors by experimenting with those settings and descriptors on their product. When an optimal configuration is developed, it can be saved to an AT2LP config (.iic) file, which can be used with the Cypress AT2LP Manufacturing Utility for mass production. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 21 Configuration Utility 4.3 User Interface The Cypress AT2LP Configuration Utility user interface consists of a single window, as shown in the following image. Blaster.exe is available at <Installed_directory>\<version>\Manufacturing Software. Figure 4-1. Configuration Utility Configuration settings can be stored in a file on the PC. The "Read From File…" button at the bottom-left of the window opens a file browser and enable you to select a AT2LP config (.iic) file to load from the location <Installed_Directory>\<version>\Manufacturing Software\Config_files. The "Write To File…" button at the bottom-right of the window opens a file browser and allows to save the AT2LP config (.iic) file. Alternatively, the utility can work with configuration settings directly from a USB-attached AT2LP part. The "Read from Device" controls in the bottom-center of the window enable you to select a source to read the configuration settings from and upload the settings. The sources the configuration settings can be read from are the serial EEPROM or the internal RAM. The configuration settings can also be downloaded directly to the USB attached AT2LP part. The "Write to Device" controls at the bottom-right of the window enable you to select the destination to write to and download the settings. The configuration settings can be written to the serial EEPROM or the internal RAM. Note: The AT2LP's internal RAM only contains device configuration settings and not the USB descriptors. 22 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Configuration Utility The tabs at the top-left of the window provides a parsed display of the configuration settings and USB descriptors. All configuration settings and USB descriptors are displayed on one of the six tabs (Device Settings, General Device Desc., Configuration Desc., Mass Storage Interface, HID Interface, and CSM Interface). Not all configuration settings or USB descriptor fields can be edited in parsed display. If a field cannot be edited, it is because it is a read-only, obsolete, or utility-managed value. The definitions of the configuration settings fields on the Device Settings tab is available in the Cypress AT2LP data sheet “Table 11. Configuration Data Organization”. The definitions of the USB descriptor fields on the General Device Desc., Configuration Desc., High-Speed Interface Desc, and Full-Speed Interface Desc. tabs can be found in the same table and also in the Chapter-9 of the USB 2.0 Specification. The table to the right of the window named Raw Configuration Data displays the configuration settings and USB descriptors in a raw format (as they are stored). The contents of this table can be edited and provide a way for advanced developers to edit settings that cannot be edited in the parsed display. 4.4 Binding Cypress Manufacturing Mode USB Driver to Blaster Tool The Blaster Configuration Utility in windows PC requires Cypress Manufacturing Mode USB driver to upload or download configuration file(.iic) to external I2C EEPROM connected to AT2LP. The driver consists of two parts, the device driver (cyusb.sys), and the driver information file (cyusb4615brdk.inf). Both files are located in the Drivers sub-directory, which can be found in the same directory as the Blaster.exe application file located at (<Installed_Directory>\<version>\Manufacturing Software\). 4.4.1 Installing Cypress Manufacturing Mode USB Driver The CY4615B board by default is programmed to connect with Compact Flash (CF) card in Bus power mode. As a result, it is necessary for the user to change jumper settings specify to detect Cypress Manufacturing driver. Follow these steps to install the Cypress Manufacturing mode driver for the CY4615B board: 1. Disconnect USB A-to-B cable between USB connector (J9) on CY4615B board and PC. 2. Short pins 1-3 of the 40-pin ATA connector J2. This is to ensure the AT2LP boots in Manufacturing Mode with VID/PID-0x04B4/6830. Ensure J9 is open to ensure CY4615B does not boot with default configuration File(.iic) in external EEPROM. 3. Connect USB A-to-B cable between PC USB Host controller port and Type-B connector (J3) on CY4615B board and PC. 4. The Hardware Update wizard window pops up due to enumeration of CY4615B enumeration in manufacturing mode. Select the Yes, this time only option and click Next. In Windows Vista/7 machine choose “Browse My computer for driver software” 5. In the next window, select Install from a list or specific location and click Next. 6. Select Dont search. I will choose driver to install and click Next. 7. Select “Universal Serial Bus Controllers” in the next Window.Click on the Have Disk button in the next window. A new window pops up on top of the existing window. 8. In Windows Vista/7 machines browse directly after step-4 to matching Driver information file as mentioned below. Click Browse and point to the driver path for each OS and select the INF file as shown in the below path a. Windows XP 32-bit: <Installed_Directory>\<version>\Manufacturing Software\Drivers\wxp\x86 b. Windows XP 64-bit: <Installed_Directory>\<version>\Manufacturing Software\Drivers\wxp\x64 c. Windows Vista/7 32-bit:<Installed_Directory>\<version>\Manufacturing Software\Drivers\wlh\x86 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 23 Configuration Utility d. Windows Vista/7 64-bit: <Installed_Directory>\<version>\Manufacturing Software\Drivers\wlh\x64 9. For Windows XP 32-/64-bit, Vista, and Windows 7 in 32-bit configurations, it is not required for the drivers to be digitally signed. The cyusb.sys supplied with the kit is an unsigned driver and Windows may present a warning dialog. Choose Continue on the warning dialog. For more information on signing drivers, look at Windows Hardware Quality Labs (WHQL) documentation on the Microsoft website. 10.For Windows Vista and Windows 7 64-bit machines, we need to turn off the Driver Signature Enforcement by rebooting the PC OS with Advanced Boot Options (accessed via F8 on boot up). Click on Disable Driver Signature Enforcement; repeat steps 2 and 3. The Cypress driver cyusb.sys is not digitally signed and can be properly installed only when the Driver Signature Enforcement is turned off. This setting is temporary and does not propagate to the next reboot automatically. 11. Because the drivers are not digitally signed, Windows cannot verify the publisher and throws security warning. Choose Install this driver software anyway option to begin installation. 12.The hardware wizard now reports successful installation of the Cypress driver for the CY4615B board. Open the device manager by right clicking on My computer/Computer properties, select Hardware Tab and click on Device Manager Button. Observe the updated CY4615B board name (as defined in the cyusb4615brdk.inf file) in the expanded list of USB controllers. 13.However, if you reprogram devices that have already been programmed with a different Vendor ID and Product ID combination, the driver information file needs to be modified so that the driver matches the new VID/PID. The driver information file can be edited in any plain text editor (such as Notepad) to add support for a new VID/PID. Comments are included in the driver information file indicating where to add new entries to enable support for a new VID/PID. For more details about modifying the driver information file, see application note, AN61465, which is part of the kit documentation Note: The Cypress USB Driver package (cyusb4615brdk.inf and cyusb.sys) are unsigned driver package i.e they do not contain Microsoft digital signature.The driver package must be used only for programming Configuration files (.iic) files and validate the functionality of different ATA/ATAPI devices using AT2LP board. Microsoft provides native drivers to support(usbstor.sys)Mass storage functionality. Both Manufacturing and Mass storage modes of AT2LP board use common VID/PID0x04B4/0x6830.To avoid driver loading problems between windows native mass storage driver and Cypress Manufacturing mode drivers(if digitally signed) the current USB driver package is not WHQL certified. Please use step-10 as workaround to load cypress USB driver package in Windows Vista/7 64-bit OS.The unsigned driver loading problems are not stringent in 32-bit configuration of Windows OS. 4.5 Using Configuration Files with CY4615B Board Several configuration files (.iic) of 170-200 bytes size are provided along with the kit to verify CY4615B kit functionality with various ATA/ATAPI-6 compliant devices like Compact Flash, DVD, CDROM, HDD, and so on. Refer to ReadMe.txt (under Installed_Directory>\<version>\Manufacturing Software\Config_files) to understand the complete functionality of each file. After binding the CY4615B board to the Cypress Manufacturing Mode USB Driver Short Jumper-J9 to connect external I2C EEPROM to AT2LP.The user can now Read/Write Configuration file parameters to external I2C EEPROM as explained User Interface on page 22. 24 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 5. 5.1 AT2LP Manufacturing Software Cypress AT2LP Manufacturing Software Primer.exe This software tool located at “<Installed_Directory>\<version>\Manufacturing Software” allows you to program the EEPROM configuration (.iic) files at the click of a button. The tool initially prompts you to plug-in the AT2LP device and then the EEPROM is automatically programmed with the image specified as a configuration file. The status box of this software window turns yellow during programming, green if successful, or red if otherwise. This tool does not allow you to change any of the ATA/ATAPI parameters such as the Blaster tool. The tool is useful for mass programming of AT2LP boards. 5.1.1 Components The software consists of the executable utility (Primer.exe), a configuration file (Primer.ini), manufacturing driver (cyusb.sys and cyusb4615brdk.inf), and user guide (this file). 5.1.2 Supported Platforms The Cypress AT2LP Manufacturing Utility has been tested and is supported on Windows 2000 professional, Windows XP(32/64 bit), Vista(32/64 bit), and Windows-7(32/64 bit). The utility is not supported on Windows Millennium Edition or Windows 98. The utility will not work with Windows 95 or any version of Windows NT. 5.2 Overview Circuit designs using the Cypress AT2LP use a serial EEPROM to store the device firmware. For AT2LP-based designs, the EEPROM can conveniently be programmed via the USB interface using the Cypress AT2LP Manufacturing Utility. The Cypress AT2LP Manufacturing Utility software is invoked by double-clicking the Primer.exe icon. The Cypress AT2LP Manufacturing Utility has a very simple user interface consisting of a single screen that guides the user through the programming process. Manufacturing options for the Cypress AT2LP Manufacturing Utility can be adjusted using a configuration file (Primer.ini). 5.3 User Interface Figure 5-1 shows the user interface for the Cypress AT2LP Manufacturing Utility. The name of the firmware image file used to program devices is shown in the box at the bottom-left of the window. The programming process can be abandoned at any point by closing the window, which will quit the application. The Instruction field displays instructions to the user. The Status field indicates the programming process. First, plug in the device to be programmed. Note that due to a limitation in Windows, if the device is already plugged in when the utility is started, the utility will not be able to detect it. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 25 AT2LP Manufacturing Software Figure 5-1. Manufacturing Utility When the device is plugged in, the external EEPROM is programmed using the firmware image specified in the configuration file. During this step, the background of the Status field turns yellow, and the text indicates that the device is being programmed. If the device is successfully programmed, the Status field turns green, and the status message "Programming Succeeded" is displayed. If the device cannot be programmed successfully, the Status field turns red, and the status message "Programming Failed" is displayed. The user is prompted to disconnect the device and plug in the next device. 5.4 Configuration File The Cypress AT2LP Manufacturing Utility uses a configuration file (Primer.ini) to configure the global settings in the utility. This file can be found in the same directory as the Primer.exe application file. The file can be edited in any plain text editor (such as Notepad) to change the global settings. When the file is opened in a text editor, the following is displayed: // // Manufacturing SW Custom Settings // // Copyright (c) 2012 Cypress Semiconductor // [General] [DefStartupOpts] SerNumPrefix=0xDEF1 ;SN prefix value (0xDEF1 is default) ConfigFile=CFGFiles\100_bus_CF.iic ;The AT2LP config file to load at startup The SerNumPrefix should contain the four digit serial number prefix. The utility generates serial numbers based upon the host computer's clock. To guarantee uniqueness, the serial number prefix should be different for each host computer being used to program devices. The ConfigFile setting tells the utility which firmware image file to download to devices. Note that the ConfigFile setting must contain the complete path to the firmware image file. If a relative path is used, it is considered to start from the directory where the utility resides. The "." (current directory) and ".." (parent directory) path designators do not work for the ConfigFile setting. 26 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C AT2LP Manufacturing Software 5.5 Driver The Cypress AT2LP Manufacturing Utility requires a special device driver to download device firmware to the external EEPROM and test AT2LP-based devices. Refer Binding Cypress Manufacturing Mode USB Driver to Blaster Tool on page 23 for more details on installing the manufacturing mode USB driver. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 27 AT2LP Manufacturing Software 28 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 6. 6.1 Resources Hardware Resources The CY4615B AT2LP DVK software kit has several hardware resources that guide you in designing your own custom board. Some documents in the hardware directory of the DVK kit software are: 6.2 ■ CY4615B_PCBA_BOM.xls: This document lists all the vendor hardware components used in designing the AT2LP DVK board. ■ CY4615B_Schematic.DSN and CY4615B_Schematic.pdf: These document shows the schematic design of the DVK board. ■ CY4615B_Board Layout.brd and CY4615B_Board Layout.pdf: These files can be opened in the PCB software (for example Allegro) to understand the via, trace lengths, and so on of the AT2LP DVK board. ■ CY4615B_Gerber.zip: Contains the gerber files for CY4615B DVK Firmware Resources The CY4615B AT2LP board is designed based on CY7C68320C. This is a fixed function device and requires only EEPROM configuration files (.iic) in the range of 170 to 200 bytes to communicate with different ATA-ATAPI-6 compliant mass storage devices. The CY4611B is a reference design based on the FX2LP chip, which is a firmware programmable version. This firmware contains all the ATA/ATAPI-6 commands support to communicate with different storage devices. For more information on this kit, see Reference Designs on page 31. 6.3 Application Notes For the AT2LP family of chipsets, the following documents are available on the Cypress website: ■ Working with INF File of Device using CyUSB.sys - AN61465 Microsoft Windows uses the INF file to bind a device to its appropriate driver. If a window has a native driver for that USB device class, then an INF file is not required and the device is bound to the native driver. However, to bind the device to a custom driver, a custom INF file is required. This application note describes the sections of the INF file and provides guidelines to modify them based on requirement. ■ EZ-USB AT2LP™ Features - AN5071 This application note describes the features in the AT2LP that are new to the AT2 family of chips, as well as any features that may behave differently than with the previous AT2 chips. ■ Migrating from CY7C68300A (AT2) to CY7C68300B/C (AT2LP) - AN5047C This application note discusses the hardware and some of the EEPROM configuration changes to be done when end customer designs switch from older AT2 chipsets to newer AT2LP. The AT2LP is an enhanced version of older AT2 series. Only a few schematic changes need to be done because both series of chipsets are pin-to-pin compatible. ■ EZ-USB AT2LP™ Hardware Design Review Guide - AN14705 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 29 Resources This application note provides a detailed review of important hardware circuits such as RESET, crystal, EEPROM, and power on AT2LP DVK board (CY4615B). The document serves as a guideline to avoid problems when designing a custom AT2LP board. ■ Troubleshooting USB 2.0 Signal Quality -AN13632 This application note outlines the problems in measuring signal quality of the USB. It helps the designer to isolate setup issues from design issues. ■ High-speed USB PCB Layout Recommendations - AN1168 This application note describes general guidelines to be followed when designing any Cypress high-speed USB 2.0 device products based on the FX2LP/NX2LP/AT2LP family of chips. ■ Multiple IDE Drives Access using AT2LP - AN63019 This application note explains the hardware set up and PC software configuration process required to access more than one hard drive using AT2LP. It uses AT2LP DVK board (CY4615B) and a 80 conductor IDE cable to interface two self-powered hard drives to the AT2LP. With this set up, when the AT2LP board is connected to the PC using a USB cable, you can access all the logical partitions available in both the drives simultaneously. ■ AT2LP Revision: C Reset Issue and Workaround - AN14569 This application note describes the hard drive hang-up failure seen during boot time (or) soft reset in AT2LP Rev. C chipsets. The note suggests a workaround on how to modify the RESET duration of AT2LP using the Blaster tool software. 30 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 7. 7.1 Reference Designs CY4611B - USB 2.0 to ATA Reference Design You can test a variety of storage devices using the CY4615 DVK board by changing only the EEPROM configuration (.iic) files, but storage device related features cannot be updated. The CY4611B reference design kit can be used to add or update features. The board that comes along with CY4611B is based on the EZ-USB FX2LP™ chip, a general-purpose USB 2.0 high-speed device. After programming the ATA/ATAPI command processing firmware and the configuration files (.iic) combined, the board emulates AT2LP (similar to CY4615B DVK board). Here, you can modify the firmware by adding new features or modifying the existing firmware logic. The reference design kit contains documents related to hardware, firmware, and application software useful while working with the board available in this kit. 7.2 CY4651 v1.3 - Cypress and AuthenTec Reference Design for Biometric Security in External USB Hard Disk Drives The CY4651 is a third-party reference design from AuthenTec. The design uses the AuthenTec EntrePad 2510, biometric fingerprint slide sensor, and Cypress's EZ-USB FX2LP microcontroller, the industry's most popular high-speed USB 2.0 microcontroller, which interfaces with AuthenTec's sensor and delivers data from the HDD to the host computer. CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 31 Reference Designs 32 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C A B C 1 2 3 4 U3 C22 3216 + 5V 5 8 C15 1 2 8 7 6 5 0.1 uFd J12 EXT PWR PA7 SCL nSHDN IN BYP SENSE OUTPUT 5 2.2 uFd 10v C13 + 4 2 1 1K R51 R15 62K 3216 C21 0.01 uFd 1K R52 C14 SYSIRQ J9 EEPROM 3216 NO LOAD R65 zero R62 13 14 15 28 31 32 40 42 51 63 61 60 59 57 52 29 30 88 89 90 91 92 93 79 22 0.1 uFd C3 NC1 NC2 NC3 NC4 NC5 NC6 NC7 NC8 NC9 NC15 NC14 NC13 NC12 NC11 NC10 SCL SDA GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 VBUS_ATA_ENABLE SYSIRQ DMINUS DPLUS RESET# AVCC 10 uFd 16v + C20 VCC_3.3V 10K R53 VCC_3.3V SCL SDA SDA GPIO0 GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 BUS_PWR_VALID 18 17 77 0603 VCC_3.3V 0.1 uFd C2 U2 9 0603 VCC_3.3V 0.1 uFd RESET# 0603 DM DP 0603 C1 VCC_3.3V 0.1 uFd VCC_3.3V BUS_PWR_VALID 0603 C17 VCC_3.3V 0.1 uFd C16 39K U4 LT1763CS8-3.3 0603 0603 100K R4 VCC_3.3V RESET# 0.1 uFd R11 VCC_5V 24LC02B/P VCC WP SCL SDA zero A0 A1 A2 GND DIP8 GND VBUS R33 VBUS J13 PWR SEL 1 2 3 4 5 6 10 uFd 16v VBUS 10K R54 VCC_3.3V USB B RA VBUS DM DP GND S1 S2 J3 D2 DIODE MA2J111 VCC 1 2 D 0603 nRESET 0603 U1 No Load 0603 0603 12 pFd C11 0.1 uFd C4 4 0603 0603 Y1 0603 0.1 uFd C6 24 MHz 0.1 uFd C5 CY7C68320C-100AXC 1 16 20 33 38 49 53 66 78 85 3 0603 64 76 86 87 5 0603 100 uFd 16v C18 + 7343 8 7 6 5 4 TP7 VCC_5V VCC_5V Device Power C19 3 2 1 TP8 VCC_3.3V VCC_3.3V TP9 VCC_3.3V VCC_3.3V R59 120K R57 PWR SEL 1 3 5 J7 2 4 6 IORDY DMARQ DMACK# DIOR# DIOW# PWR500# ATAPUEN LOWPWR# VBUSPWRD DD0 DD1 DD2 DD3 DD4 DD5 DD6 DD7 DD8 DD9 DD10 DD11 DD12 DD13 DD14 DD15 INTRQ DA0 DA1 DRVPWRVLD CS0# CS1# DA2 ARESET# 0805 0.33 uFd Q4 IRF7204 0603 0603 3 4 56 55 54 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 0603 82 82 22 22 22 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 82 33 33 33 33 33 33 0.1 uFd C8 TP1 GND TP2 GND DMACK# DIOR# DIOW# IORDY TP4 GND 3 PIN HDR 1 2 3 J11 TP5 GND PWR500# ATAPUEN LOWPWRn DD0 DD1 DD2 DD3 DD4 DD5 DD6 DD7 DD8 DD9 DD10 DD11 DD12 DD13 DD14 DD15 TP6 GND 5.6K R46 3 D3 3 1K R40 LOW PWR 1206 0603 R14 10K R68 5V 0603 33 390 R2 1K R1 DASP# 1206 D1 ATAPUEN 1 2 3 J4 1 2 J15 GPIO5 1 2 J14 GPIO4 1 2 J10 GPIO3 1 2 J8 GPIO2 1 2 J6 GPIO1 1 2 J5 GPIO0 GPIO5 VCC_3.3V GPIO4 VCC_3.3V GPIO3 VCC_3.3V GPIO2 VCC_3.3V GPIO1 VCC_3.3V GPIO0 10K R26 SYSIRQ VCC_3.3V DMARQ DIOW# DIOR# IORDY DMACK# ATA_IRQ DA1 DA0 CS0# DASP# ATA_RESET# DD7 DD6 DD5 DD4 DD3 DD2 DD1 DD0 VBUSPWRD VCC_3.3V ATA_RESET# 0603 VBUSPWRD ATAPUEN 390 R31 VCC_3.3V 10K R67 VCC_3.3V DMARQ 10K R5 0.1 uFd ATA_IRQ DA0 DA1 DRV_PWR_VALID CS0# CS1# DA2 PA7 TP3 GND 5.6K DRV_PWR_VALID PWR500# 0603 C10 ATAPUEN 0.1 uFd C9 VBUS VCC_5V VCC_3.3V 26 100 R39 R41 R42 R43 R45 R16 R17 R18 R20 R21 R23 R24 R25 R27 R28 R29 R30 R32 R34 R35 R36 34 35 36 37 44 45 46 47 80 81 82 83 95 96 97 98 58 62 R6 R7 R8 R9 R10 R12 R13 0603 67 68 69 70 71 72 73 74 12 pFd C12 0.1 uFd C7 0603 VBUS 0603 1 2 3 0603 11 XTALIN AGND 0603 1 2 3 4 GND GND GND 0603 3 6 7 1 2 0603 0805 10 12 0603 0603 VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC SO8 0603 NC16 NC17 NC18 NC19 4 RESET# GND DD7 DD8 DD6 DD9 DD5 DD10 DD4 DD11 DD3 DD12 DD2 DD13 DD1 DD14 DD0 DD15 KEY PIN GND DMARQ GND DIOW# GND DIOR# GND IORDY CSEL DMACK# GND INTRQ IOCS16 DA1 PDIAG# DA0 DA2 CS0# CS1# DASP# GND 22 24 26 28 30 32 34 36 38 40 2 4 6 8 10 12 14 16 18 1B 2B 1B 2B 1B 2B 1B 2B 1B 2B 1B 2B GPIO5 2 S7 1A 2A FRAME 3 GPIO4 S6 1A 2A FRAME 3 GPIO3 1A 2A FRAME 3 S5 GPIO2 1A 2A FRAME 3 S4 GPIO1 S3 1A 2A FRAME 3 GPIO0 1A 2A FRAME 3 S2 1B 2B VCC_3.3V VCC_3.3V VCC_3.3V VCC_3.3V VCC_3.3V VCC_3.3V 0603 VCC_3.3V 10K R66 10K R63 10K R60 10K R56 10K R50 10K R48 1 1 1 1 1 1 SOT-23 SOT-23 SOT-23 SOT-23 SOT-23 SOT-23 Q7 2N7002 Q6 2N7002 Q5 2N7002 Q3 2N7002 Q2 2N7002 Q1 2N7002 4 3 2 1 VCC_3.3V zero BUS_PWR_VALID R22 5 6 7 8 Date: Size C Title GPIO_5 1206 D10 GPIO_4 1206 D9 GPIO_3 1206 D8 GPIO_2 1206 D7 GPIO_1 1206 D6 GPIO_0 1206 D4 4 POS SW SW1 DMARQ 0603 1K R19 390 390 390 390 390 390 1 Tuesday, March 28, 2006 Document Number REF-12020 1 Sheet 1 of 1 Rev *C PCA: 121-26500 PCB: PDC-9265 VCC3.3 GOOD D5 390 R44 J1 1 26 2 27 3 28 4 29 5 30 6 31 7 32 8 33 9 34 10 35 11 36 12 37 13 38 14 39 15 40 16 41 17 42 18 43 19 44 20 45 21 46 22 47 23 48 24 49 25 50 CF Card Type 2 DD10 DRV_PWR_VALID IORDY DA2 DMARQ_CF DA1 DMACK#_CF DA0 DASP#_CF DD0 PDIAG# DD1 DD8 DD2 DD9 ATA_RESET# ATA_IRQ Device Power Device Power Device Power DIOW# DIOR# DRV_PWR_VALID DD3 DD11 DD4 DD12 DD5 DD13 DD6 DD14 DD7 DD15 CS0# CS1# CYPRESS SEMICONDUCTOR © 2003 0603 0603 0603 0603 0603 0603 AT2LP DVK BOARD R64 R61 R58 R55 R49 R47 ENABLE LED's J17 DMARQ_CF 1K R3 J16 DMACK#_CF PDIAG# DA2 CS1# DD8 DD9 DD10 DD11 DD12 DD13 DD14 DD15 DMACK# ATA_EN NO LOAD R37 VBUS SYSIRQ 1A 2A FRAME 3 S1 ATA CONNECTOR 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 J2 2 0805 XTALOUT GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND 2 5 6 7 8 19 21 23 24 25 27 39 41 43 48 50 65 75 84 94 99 0603 0603 0603 3 2 3 2 3 2 3 2 3 2 0603 0603 0603 0603 2 1 0603 2 1 3 0603 2 0603 0603 0603 SOT-23 SMINI2P 0603 A B C D A.1 1206 A. Appendix Schematic CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 33 A.2 34 Board Layout CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 35 A.3 Item 1 BOM Qty 14 Reference C1,C2,C3,C4,C5,C6,C7, C8, Description Manufacturer Mfr Part Number CAP .1UF 50V CERAMIC Y5V 0603 Panasonic - ECG ECJ-1VF1H104Z C9,C10,C14,C15,C16,C 17 2 2 C11,C12 CAP 22PF 50V CERAMIC 0603 SMD Panasonic - ECG ECJ-1VC1H220J 3 1 C13 CAP 2.2UF 10V TANTALUM 20% 3216 Panasonic - ECG ECS-H1AY225R 4 1 C18 CAP 100UF 16V TANTALUM 20% 7343 AVX TAJD107M016S 5 1 C19 CAP .33UF 16V CERAMIC X7R 0805 Panasonic - ECG ECJ-2YB1C334K 6 2 C22,C20 CAP 10UF 16V TANTALUM 10% 3216 AVX TAJA106K016R 7 1 C21 CAP 0.01UF 50V CERAMIC X7R 0603 Panasonic - ECG ECU-V1H103KBV 8 8 D1,D4,D5,D6,D7,D8,D9, D10 LED GREEN CLEAR 1206 SMD Chicago Miniature Lamp, Inc CMD15-21VGC/TR8 9 1 D2 DIODE SWITCH 80V 100MA SMINI 2P Panasonic - SSG MA2J11100L (MA111TX) 10 1 D3 LED HI EFF RED CLEAR 1206 SMD Chicago Miniature Lamp, Inc CMD15-21VRC/TR8 11 1 J1 CONN CF CARD TYPE 2 HEADER JST ICM-MA2H-SS52-N11B 12 1 J2 HEADER SHROUDED 40 POS STRAIGHT 3M/ISD 2540-6002UB 13 1 J3 CONN USB RECEPT TYPE B PCB AMP/TYCO 787780-1 14 3 J4,J11,J13 CONN HDR BRKWAY 3POS STR AU PCB AMP Division of TYCO 103185-3 15 9 J5,J6,J8,J9,J10,J14,J15 , CONN HDR BRKWAY 2POS STR AU PCB AMP Division of TYCO 103185-2 J16,J17 16 1 J7 CONN HDR BRKWAY 6POS STR AU PCB AMP/TYCO 103186-3 17 1 J12 CONN HEADER 4 PIN HZ .100" AMP/TYCO 171826-4 18 6 Q1,Q2,Q3,Q5,Q6,Q7 MOSFET N-CHN 60V 7.5 OHM SOT23 Fairchild Semiconductor 2N7002 19 1 Q4 HEX/MOS PCH LOG 20V-5.3A 8-SOIC International Rectifier IRF7204 20 6 R1,R3,R19,R40,R51,R5 2 RES 1.0K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ102V 21 9 RES 390 OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ391V RES 100K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ104V R2,R31,R44,R47,R49,R 55, R58,R61,R64 22 36 1 R4 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C Item Qty 23 12 24 3 Reference R5,R26,R48,R50,R53,R 54, R56,R60,R63,R66,R67, R68 R6,R39,R41 Description Manufacturer Mfr Part Number RES 10K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ103V RES 82 OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ820V RES 33 OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ330V R7,R8,R9,R10,R12,R13 ,R14, 25 23 R16,R17,R18,R20,R21, R23, R24,R25,R27,R28,R29, R30, R32,R34,R35,R36 26 1 R11 RES 39K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ393V 27 1 R15 RES 62K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ623V 28 3 R22,R33,R62 RES ZERO OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEY0R00V 29 2 R37,R65 RES NO LOAD 0805 SMD NA NA 30 3 R42,R43,R45 RES 22 OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ220V 31 2 R59,R46 RES 5.6K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ562V 32 1 R57 RES 120K OHM 1/16W 5% 0603 SMD Panasonic - ECG ERJ-3GEYJ124V 33 1 SW1 SWITCH 4POS STAND PLASTISOL DIP AMP/Tyco Electronics 3-435640-5 34 7 S1,S2,S3,S4,S5,S6,S7 LT SWITCH 6MM 100GF H=7MM TH Panasonic - ECG EVQ-PBC07K 35 6 TP1,TP2,TP3,TP4,TP5, TP6 TEST POINT 43 HOLE 65 PLATED BLACK Keystone Electronics 5001 36 1 TP7 TEST POINT 43 HOLE 65 PLATED RED Keystone Electronics 5000 37 2 TP8,TP9 TEST POINT 43 HOLE 65 PLATED ORANGE Keystone Electronics 5003 38 1 U1 NO LOAD IC RESET CIRCUIT 4.0V SOT23-3 Maxim IC MAX809JEUR-T 39 1 U2 IC USB2.0 TO ATA/ ATAPI BRIDGE TQFP100 Cypress Semiconductor CY7C68320b-100 40 1 U3 IC EEPROM CMOS SERIAL SO8 MICROCHIP TECHNOLOGY 24LC02B/P 41 1 U4 IC REGULATOR LDO 3.3V 500MA SO8 Linear Technology LT1763CS8-3.3 42 1 Y1 CRYSTAL 24.000MHZ 20PF HC-49/US ECS Inc. ECS-240-20-4 43 1 PCB PRINTED CIRCUIT BOARD Cypress Semiconductor PCB: PDC-9265 REV *A CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C 37 Item Qty Reference Description Manufacturer Mfr Part Number 44 5 ** SEE ADDITIONAL ASSY INST.** 45 1 LABEL (DO NOT PLACE NEAR J1) SERIAL NUMBER 46 1 LABEL (DO NOT PLACE NEAR J1) ASSEMBLY NUMBER PCA: 121-26500 PCA: 121-26500 47 4 INSTALL TO THE 4 CORNERS FEET RUBBER SELF ADHESIVE 3M SJ-5518-BLACK SHUNTS 2 POSITION SULLINS SSC02SYAN XXXXXX **Additional Assembly Instructions** 1. Place one shunt on each of the following jumpers: J9. 2. Place one shunt on pins 1 and 2 of each of the following jumpers: J4,J11,J13 3. Place one shunt on pins 5 and 6 of each of the following jumpers: J7. 4. Place the labels (items 45-46) on the top side of the board. 38 CY4615B-EZ-USB AT2LP Hi-Speed USB 2.0-to-ATA/ATAPI Reference Design Guide, Doc. # 001-69113 Rev. *C