CY4611B Cypress Semiconductor Corp, CY4611B Datasheet - Page 7

KIT USB TO ATA REFERENCE DESIGN

CY4611B

Manufacturer Part Number
CY4611B
Description
KIT USB TO ATA REFERENCE DESIGN
Manufacturer
Cypress Semiconductor Corp
Series
EZ-USB FX2LP™r
Datasheet

Specifications of CY4611B

Main Purpose
Interface, USB 2.0 to ATA/CF
Utilized Ic / Part
CY7C68013A, CY7C68014A, CY7C68015A, CY7C68016A
Silicon Manufacturer
Cypress
Silicon Core Number
UDMA-100
Kit Application Type
Interface
Application Sub Type
USB To ATA
Rohs Compliant
No
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Building the Software
Since the software is distributed on a CD, many
operating systems will set the read-only flag when
copying the data to your local directory. This flag
must be turned off before uVision2 will properly build
the .hex file. To do this, use “attrib –r *.*” at the
DOS command line or select all of the files in
Explorer, select “properties” and turn off the “read-
only” checkbox in the “general” tab.
Once the files are no longer read-only, start the full
uVision2 or uVision3 environment (available
separately from www.keil.com) and click the “build
all” button. This will generate an image that can be
loaded with the control panel or the debugger. See
below for more information on debugging.
The firmware in this Reference Design has only
been tested with the release of the 3684 Dev Kit
contained on the release CD. Please install the
current Dev Kit before building.
The hex2bix.exe file in the software directory is
newer than the version in the CY3684 install.
Please use the version in the software directory.
You may have to delete the ezusb.lib file from your
project and add it again to get the correct path in the
Keil tools. The ezusb.lib file is installed at
c:\cypress\usb\target\lib by default.
Note: This Reference Design is too large to
compile with the 4K-demo version of the Keil
tools that is shipped with Cypress’ development
kits.
Warnings
When the firmware is linked, it will generate three
warnings. These warnings are expected. The linker
may have to run several iterations to optimize the
code and may generate this list two or three times
(and report six or nine warnings).
EZUSB_Delay is called from the timer0 ISR and
from the background code. This is not an issue
because any calls to the EZUSB_Delay function in
the ISR are followed by a soft reset.
The EEPROM read and write routines are only used
by the ISR during manufacturing and debugging
EZ-USB FX2LP USB to ATA Reference Design Notes
7
operations. The background code is not active
during these operations.
*** WARNING L15: MULTIPLE CALL TO
FUNCTION
*** WARNING L15: MULTIPLE CALL TO
FUNCTION
*** WARNING L15: MULTIPLE CALL TO
FUNCTION
Using a CY3681 or CY3684 Board
The CY4611B software will run with the Keil
debugger on the FX2LP development board
(CY3684). This is a useful environment for
debugging startup issues by single stepping the
firmware. Note that the following changes to the
3684 board will be necessary:
1. Short solder points SP1, SP2 and SP3 to enable
2. Remove JP2 to remove VBUS power to the
3. Connect VBUS (JP2 pin 2) to PA6 (P2 pin 13).
4. Provide external 5v/ground to the board (JP2 pin
5. Cut the Key pin (pin 20) on the ATA connector
6. Add a 10K pulldown on DD7 (pin 3 on the 40-pin
7. Use the AT2_LEGACY configuration file.
Debugging without the Mass Storage Driver
Debugging specific commands requires a different
approach because the Mass Storage driver will
timeout while you are single stepping and may lock
up or reboot the host machine. The CY4611B
firmware can be bound to the Cyusb generic driver
by following these steps:
NAME:
CALLER1: ?C_C51STARTUP
CALLER2: ISRTIMER0/ATARESET
NAME:
CALLER1: ?C_C51STARTUP
CALLER2: ISR_SUDAV/PERIPH
NAME:
CALLER1: ?C_C51STARTUP
CALLER2: ISR_SUDAV/PERIPH
ATA pullups.
board.
Put a 10K pulldown on this signal. This gives the
CPU the ability to sense VBUS.
1 is a good 5v input). It will be very easy to use
the board if you solder a disk drive connector to
these pins.
(P8)
connector).
_EZUSB_DELAY/DELAY
_EEPROMWRITEBLOCK/EEPROM
_EEPROMREAD/EEPROM

Related parts for CY4611B