Download Perfomance of Mass Storage Host Ref. Design (CY4640)

CY4640 Mass Storage Reference Design Kit 1.0 Release Notes
Purpose
1. The firmware in this kit will only run on an EZ-HOST MSC BOARD (121-13401 *A) board OR on a CY3663
DVK board modified to map SRAM into the XROM space. This kit has support for IDE, USB, and minimal
hub support.
2. The default settings in the frameworks configuration file (fwxcfg.h file) are:
•
•
•
•
•
•
•
•
IDE support - ON
USB MSC driver support - ON
USB mini-Hub support - ON
Supported IDE Volumes - 1
Supported USB Volumes - 1
Fat File System support - ON
FAT12 support - ON
FAT Read and Write support - ON
•
With IDE support enabled, if there is no IDE drive connected, there will be a 5 second IDE time-out
period during boot up of the system where the system will appear to hang. This is normal behavior
(for this release). After the firmware times out waiting for the IDE drive, operation will proceed
normally.
•
Removing a device from the bus (or removing its power) during a format command will cause the
firmware to appear to hang. The prompt will return – it may take up to 20 seconds for it to happen.
Notes
Defects
There are no known defects in version 1.0 of the CY4640 RDK. Please contact your Cypress representative
for updates.
Cypress Semiconductor Corporation
•
3901 North First Street
•
San Jose
•
CA 95134
•
408-943-2600
October 27, 2004
Memory usage
The following table shows the memory usage of each individual module. The sections of code used in a final
design will vary depending on the configuration determined by fwxcfg.h. This table shows the modules as shipped
with the CY4640 at time of release with the default configuration.
Component
File System
filesys.o:
fs_access.o:
fs_chdir.o:
fs_chdrive.o:
fs_close.o:
fs_commit.o:
fs_create.o:
fs_eof.o:
fs_findfirst.o:
fs_format.o:
fs_getcwd.o:
fs_getdrive.o:
fs_getlabel.o:
fs_lseek.o:
fs_mkdir.o:
fs_open.o:
fs_read.o:
fs_remove.o:
fs_rename.o:
fs_rmdir.o:
fs_setlabel.o:
fs_tell.o:
fs_write.o:
Component
FAT
fat.o:
fat_findfirst.o:
fat_getlabel.o:
fat_is_valid_path.o:
fat_setlabel.o:
fullpath.o:
makepath.o:
Component
Application
app.o:
ask_confirmation.o:
console.o:
cy_itoa.o:
cy_printf.o:
rtrim.o:
splitpath.o:
strcmpi.o:
strupr.o:
Code
Data
954
68
108
86
68
50
168
50
216
94
80
50
50
92
92
166
66
114
94
60
50
60
66
Code
8
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Data
14102
392
242
496
184
380
272
Code
2674
86
0
26
0
2
4
Data
3890
68
638
222
1340
64
570
96
58
1282
12
1288
0
4
0
0
0
0
Cypress Semiconductor Corporation
Total
2910
962
68
108
86
68
50
168
50
216
94
80
50
50
92
92
166
66
114
94
60
50
60
66
Total
18860
16776
478
242
522
184
382
276
Total
10136
5172
80
1926
222
1344
64
570
96
58
•
Component
Application (cont.)
uart.o:
uartasm.o:
Component
Volume Manager
volmgr.o:
Component
USB (fwx2)
usb.o:
dealloc_all_devices.o:
device.o:
host.o:
husb_enable_sof.o:
husb_set_eot.o:
husb_set_speed.o:
husb_set_td_ptr.o:
sie1.o:
susb_parse_config.o:
tpl.o:
tpl_ioctl.o:
tpl_stop_all.o:
tpl_stop_all_port.o:
tpl_unlink_all.o:
tpl_unlink_all_port.o:
Component
IDE
ide.o:
Component
MSC Driver
mscdrvr.o:
Component
Mini hub
minihub.o:
Component
FWX2 (misc)
disable_serial_dbg.o:
fwxmain.o:
install_idler_func.o:
isrs.o:
startup.o:
timers.o:
Grand Totals
3901 North First Street
•
San Jose
•
Code
Data
Total
362
46
Code
196
0
Data
1992
Code
60
Data
98
38
306
4680
64
6
64
18
12
36
486
36
26
78
56
100
Code
2
0
484
18
0
0
0
0
0
0
6
0
0
0
0
0
Data
1960
Code
4
Data
2876
Code
158
Data
1146
Code
22
Data
8
334
4
152
34
22
40956
0
5320
0
4
0
0
11660
558
46
Total
2052
2052
Total
6614
100
38
790
4698
64
6
64
18
12
36
492
36
26
78
56
100
Total
1964
1964
Total
3034
3034
Total
1168
1168
Total
5878
8
5654
4
156
34
22
52616
CA 95134
•
408-943-2600
October 27, 2004
CY4640 Release Notes
Performance
The following performance numbers were measured on a standard CY4640 platform. The HDD connected to the
IDE bus of the EZ-Host was a Hitachi TravelStar drive (model: HTS548040M9AT00 : 5400 RPM, 40GB 2.5”
HDD). The external USB HDD used was a Maxtor HDD (4G160J8: 5400 RPM 160GB 3.6” HDD) with an ISD300A1 based USB bridge board). The default firmware configuration was used for the first three measurements.
When measuring performance between two separate USB drives, the firmware was reconfigured using the
fwxcfg.h file with the following changes:
#undef FWX_INCLUDE_IDE
#define FWX_INCLUDE_UMSC
#undef FWX_INCLUDE_MINIHUB
#define FWX_NUM_SUPPORTED_IDE_VOLUMES
#define FWX_NUM_SUPPORTED_USB_VOLUMES
1
2
The values shown below were measured with the perf option turned on.
Measured Performance for CY4640
Filesize (Bytes)
Time (ms)
Xfer Rate
Comments
(KB/s)
IDE
IDE
10155667
30547
324
IDE
USB
10155667
86776
114
USB
IDE
10155667
50058
198
USB
USB
10155667
75451
131
2 different USB HDDs
USB
USB
10155667
94552
104
Same USB drive
The following data was using 8-bit memory instead of standard 16-bit memory
IDE
IDE
10155667
44511
222
IDE
USB
10155667
110917
89
USB
IDE
10155667
68262
145
USB
USB
10155667
87784
112
2 different USB HDDs
USB
USB
10155667
113586
87
Same USB drive
Source
Destination
3