
EZ-USB FX2 USB to ATA Reference Design Operating Instructions
2
the Keil 8051 tools (available from Keil Software at
www.keil.com).
Installation Steps
1. Install the EZ-USB Development Kit by running
setup.exe located in the "FX2 Dev Kit" directory
on the CD.
2. Copy the “FX2_ata” directory and all of its
contents to the c:\cypress\usb directory.
Reference Design CD Contents
\FX2_ATA \DOCS - Reference Design
Documentation
\FX2_ATA\HARDWARE - Hardware
\FX2_ATA\SOURCE - Mass Storage Reference
Design firmware source code and images
\FX2 Dev Kit\ - Development kit installation
Disconnecting the device
Microsoft recommends that you use the “Eject
Hardware” icon to shut down USB disk drives before
they are unplugged. This prevents potential data
loss.
Converting the demonstration board to a
new Firmware Image
The 4611 board is shipped with the CF firmware
image already programmed in the EEPROM. If
firmware updates are required, plug the device into a
Windows PC and run one of these programs:
•
CYUP_ATA.exe – Downloads an image for
ATA-only operation.
•
CYUP_CF.exe – Downloads the CF-only
image. This image is the factory default.
•
CYUP_CF_ATA.exe – Downloads the
CF+ATA image.
If you have modified the firmware so that a drive
letter will not appear, you must follow this procedure
to update your firmware.
1. Turn off the power.
2. Remove the EEPROM jumper (jp1) from the
board. This will force the device to come up as
an unconfigured FX2 rather than a Mass Storage
device.
3. Keep the power cable connected to the tailgate
board. Disconnect the drive from the tailgate
board. Turn on the power.
4. Plug the board into USB.
5. Install the jumper (JP1) again.
6. Start the Cypress USB Control Panel
“EZMR.exe”.
7. Make sure that the FX2 button is pressed (in the
middle of the toolbar).
8. Press the DOWNLOAD button.
9. Download
"examples\fx2\vend_ax\vend_ax.hex".
10. Enter the following settings on the VendReq
toolbar:
Req
0xA9
Value
0x0000
Index
0xBEEF
Length
1
Dir
0-OUT
Hex Bytes
FF
11. Press the vendReq button to reprogram the
EEPROM.
12. Cycle power on the tailgate board.
13. Press the EEPROM button.
14. Download the new fx2_ata.iic file to the
EEPROM.
15. Turn off the power and disconnect the device
from USB.
16. Reconnect the board to the drive.
17. Turn on power and connect to USB.
Using this Design with an FX2
Development Kit
Important Notes:
•
There are three solder points (SP1, SP2,
and SP3) that must be connected in order to
enable pull-ups and pull-downs needed for
reliable ATA operation.
•
Remove JP2
•
Connect JP2 pin 2 to VBUS. Connect a 10K
pulldown to this signal.
•
Connect JP2 pin 1 to an external 5v power
supply.
•
Connect one of the ground points to the
external power supply.
•
Cut the key pin (pin 20) on the ATA
connector (P8).
1. Start with the Development Board Disconnected
from USB
2. Attach a short (4” or less) 80 pin ATA cable (or a
40 pin cable is UDMA/66 is not used) to the ATA
connector on the Development Board. Attach the
cable such that pin 1 of the cable is attached to
pin 1 of the ATA connector on the Development
Board.
3. Attach the other end of the cable to the IDE
drive. The connector on the IDE drive should be
keyed for the cable. If not, ensure that pin 1 of
the cable corresponds to pin 1 of the IDE
connector on the drive.