/SS pin function 80 82
Absolute time in Pre-Groove (ATIP), reading 159
Accelerated Technology 38 267
Accept Device Specific Command (ADSC) request 46
ACK code 33
Addressing methods 10
Allocating clusters 226—227
ATA (Parallel AT Attachment) interface 13
ATA/ATAPI, controllers supporting 38
ATAPI (ATA with Packet Interface) interface 13
ATIP (absolute time in Pre-Groove), reading 159
Attributes, directories 202—204
Autorun/Autoplay support 77
Backup boot sector 184
BAlternateSettings field 51
BcdDevice field 48
BcdUSB field 47
BConfigurationValue field 49
BDescriptorType field, configuration descriptors 49
BDescriptorType field, device descriptors 47
BDescriptorType field, endpoint descriptors 53
BDescriptorType field, interface descriptors 51
BDescriptorType field, string descriptors 55
BDeviceClass field 47
BDeviceProtocol field 47
BDeviceSubclass field 47
BEndpointAddress field 53
BInterfaceClass field 51
BInterfaceNumber field 51
BInterfaceProtocol field 52—53
BInterfaceSubClass field 51—52
BInterval field 53—54
BIOS parameter block (BPB), FAT16 177—179
BIOS parameter block (BPB), FAT32 181—184
BLength field, configuration descriptors 49
BLength field, device descriptors 47
BLength field, endpoint descriptors 53
BLength field, interface descriptors 51
BLength field, string descriptors 55
Block commands, SCSI 148—158
Block descriptors, SCSI commands 143
Block storage devices, definition 5
BmAttributes field, configuration descriptors 50
BmAttributes field, endpoint descriptors 53
BMaxPacketSizeO field 47
BMaxPower field 50
BNumConfiguration field 49
BNumEndpoints field 51
BNumInterfaces field 49
Boot code, FAT16 file system 179
Boot directory region, FAT16 file system 180
Boot sector, FAT16 176 178—179
Boot sector, FAT32 181—184
Boot signature 172—173 179
Bootability document 45—46
BPB (BIOS parameter block), FAT16 177—179
BPB (BIOS parameter block), FAT32 181—184
BString field 55
Bulk transfers 32
Bulk-Only Mass Storage Reset 46 61 163
Bulk-Only Transport document 45—46
Bus current requirements 50
Bus speeds 31
Bus voltage detection 29
byte order 168
Cable plugs, USB 28
Cache, synchronizing 154
Cache_File_Entry function 212—217
Caching mode page 143 144
Capacity of media, determining 152—154
CBI (Control/Bulk/Interrupt) Transport document 45—46
CBW (Command Block Wrapper) 56—60
CD/DVDs, absolute time in Pre-Groove (ATIP), reading 159
CD/DVDs, as mass-storage devices 8
CD/DVDs, controllers 38
CD/DVDs, program memory area (PMA), reading 159
CD/DVDs, table of contents (TOC), reading 159
CDB (command descriptor block) 58 131—132
CF see CompactFlash.
CF+ cards 24
Checksum field 209—210
Chip-select input, MultiMediaCard 80
Class, mass storage see mass-storage class
Classes, MultiMediaCard commands 99—101
Clock line, MultiMediaCard 80
closing files 257—258
Cluster chains 188—190
Cluster2Sector function 192
Clusters, allocating 226—227
Clusters, definition 167
Clusters, empty, finding 198—199
Clusters, erasing 224
Clusters, file allocation table (FAT) 188—190
Clusters, finding 195—196
Clusters, reserving 225
Clusters, sizes 185—186
CMD_PACKET union 112
Command Block Wrapper (CBW) 56—60
Command descriptor block (CDB) 58 131—132
Command response see SCSI commands
Command Status Wrapper (CSW) 60—62
Command Verifier software (USBCV) 133
Commands see MultiMediaCard commands; requests; SCSI commands
CompactFlash, as mass-storage devices 22—24
CompactFlash, description 22—23
CompactFlash, formats 24
CompactFlash, illustration 23
CompactFlash, interfacing 23
CompactFlash, licensing fees 24
CompactFlash, packages 23
CompactFlash, PCMCIA mode 23
CompactFlash, power levels 23
CompactFlash, protocols 24
CompactFlash, True IDE Mode 23
Compliance testing 133
Configuration descriptor 49—50
Configuring an SPI port 83—85 88—89
Control requests 46
Control transfers 32
Control/Bulk/Interrupt (CBI) Transport document 45—46
Controllers, ATA/ATAPI support 38
Controllers, choosing 37—38
Controllers, CY7C68300B EZUSB AT2LP bridge 38
Controllers, firmware options 38
Controllers, flash memory support 37—38
Controllers, for CD/DVDs 38
Controllers, for hard drives 38
Controllers, ISP1583 Hi-Speed Universal Serial Bus peripheral 38
Controllers, low-level protocols 27
Controllers, PIC18F4550 39—43
Controllers, PICmicro 39—43
Controllers, serial interface engine (SIE) 27
Controllers, TUSB6250 USB 2.0 to ATA/ATAPI Bridge Controller 38
Controllers, USB2228 flash memory chip 37
Controllers, USB97C202 ATA/ATAPI chip 38
Copy protection 11
CreateFileEntry function 238—239
CreateFirstCluster function 226
CS pin function 80 82
CSDRead function 116—118
CSW (Command Status Wrapper) 60—62
Current requirements see power.
CY4640 Mass Storage Reference Design Kit 266—267
CY7C68300B EZUSB AT2LP bridge 38
Cylinders, hard drives 8—9
Cypress Semiconductor 38 266—267
Data clusters see clusters
Data lines, SPI 80
Data packets 32—33
Data reliability, flash memory 15
| Data toggle 33—34
Data tokens 98
Data transfers, flash-memory cards, default states 86
Data transfers, flash-memory cards, reading a byte 91—92
Data transfers, flash-memory cards, registers 87—88
Data transfers, flash-memory cards, SPI on PIC18F4550 86—88
Data transfers, flash-memory cards, writing a byte 89—91
DataIn pin function 80 82
DataOut pin function 80 82
Data_error tokens 98—99
Data_response tokens 98—99
Date and time fields, directories 204—205 220—222
Decoding SCSI commands 160—161
Delay timer, MultiMediaCard commands 125—126
Delayms function 125—126
Descriptors, definition 34
Descriptors, embedded host problems 263
Descriptors, fields, bAlternateSettings 51
Descriptors, fields, bcdDevice 48
Descriptors, fields, bcdUSB 47
Descriptors, fields, bConfigurationValue 49
Descriptors, fields, bDescriptorType, configuration descriptors 49
Descriptors, fields, bDescriptorType, device descriptors 47
Descriptors, fields, bDescriptorType, endpoint descriptors 53
Descriptors, fields, bDescriptorType, interface descriptors 51
Descriptors, fields, bDescriptorType, string descriptors 55
Descriptors, fields, bDeviceClass 47
Descriptors, fields, bDeviceProtocol 47
Descriptors, fields, bDeviceSubclass 47
Descriptors, fields, bEndpointAddress 53
Descriptors, fields, bInterfaceNumber 51
Descriptors, fields, bLength, configuration descriptors 49
Descriptors, fields, bLength, device descriptors 47
Descriptors, fields, bLength, endpoint descriptors 53
Descriptors, fields, bLength, interface descriptors 51
Descriptors, fields, bLength, string descriptors 55
Descriptors, fields, blnterfaceClass 51
Descriptors, fields, blnterfaceProtocol 52—53
Descriptors, fields, blnterfaceSubClass 51—52
Descriptors, fields, blnterval 53—54
Descriptors, fields, bmAttributes, configuration descriptors 50
Descriptors, fields, bmAttributes, endpoint descriptors 53
Descriptors, fields, bMaxPacketSize0 47
Descriptors, fields, bMaxPower 50
Descriptors, fields, bNumConfiguration 49
Descriptors, fields, bNumEndpoints 51
Descriptors, fields, bNumInterfaces 49
Descriptors, fields, bString 55
Descriptors, fields, configuration descriptors 49—50
Descriptors, fields, device descriptors 47—49
Descriptors, fields, endpoint descriptors 53—54
Descriptors, fields, iConfiguration 50
Descriptors, fields, idProduct 48
Descriptors, fields, idVendor 48
Descriptors, fields, iInterface 53
Descriptors, fields, iManufacturer 48
Descriptors, fields, interface descriptors 51—53
Descriptors, fields, iProduct 49
Descriptors, fields, iSerialNumber 49
Descriptors, fields, string descriptors 54—55
Descriptors, fields, wLANGID[0...n] 55
Descriptors, fields, wMaxPacketSize 53
Descriptors, fields, wTotalLength 49
Descriptors, mass-storage class, configuration 49—50
Descriptors, mass-storage class, device 47—49
Descriptors, mass-storage class, endpoint 53—54
Descriptors, mass-storage class, example 35—36
Descriptors, mass-storage class, interface 51—53
Descriptors, mass-storage class, string 54—55
Descriptors, mass-storage class, types of 46—47
DetectSDCard function 108
Device descriptors field 47—49
Devices, storage (see also devices USB;
Devices, storage, block storage, definition 5
Devices, storage, capacity, determining 152—154
Devices, storage, classes, specifying 47
Devices, storage, definition 1
Devices, storage, format capacity, determining 159
Devices, storage, formatting storage 148—149
Devices, storage, hardware requirements 4—5
Devices, storage, implementing 30—31
Devices, storage, logical units, requesting number of 146
Devices, storage, media change detection 162—163
Devices, storage, media types 3
Devices, storage, power status, changing 154
Devices, storage, protocols 47
Devices, storage, reading from 149—151
Devices, storage, ready status, testing 147—148
Devices, storage, requesting information about 139—142
Devices, storage, required functions 5
Devices, storage, responsibilities 29—31
Devices, storage, sectors, testing 155
Devices, storage, self test 147
Devices, storage, sense data, requesting 146—147
Devices, storage, stream, definition 5
Devices, storage, structure of see media structure
Devices, storage, UNIT ATTENTION condition 161—162
Devices, storage, uses for 1—4
Devices, storage, writing to 155—158
Devices, USB, bus voltage detection 29
Devices, USB, connecting to hosts 27
Devices, USB, descriptors, mass-storage class 47—49
Devices, USB, endpoint zero, maximum packet size 47
Devices, USB, error checking 30
Devices, USB, On-The-Go (OTG) 27 31
Devices, USB, power from hosts 28
Devices, USB, power management 30
Devices, USB, serial number 49
Devices, USB, vendor ID 48
Directories, attributes 202—204
Directories, checksum field 209—210
Directories, date and time fields 204—205 220-
Directories, directory entries 205—206
Directories, DOS 8.3 file names 201—202 (see also long file names)
Directories, dot and dotdot entries 205—206
Directories, file entries 202—205
Directories, file-name field 202
Directories, first-cluster entry 205
Directories, long file names 207—211 (see also DOS 8.3 file names)
Directories, main entry 203 217—219
Directories, reading an entry 212—217
Directories, short file names see DOS 8.3 file names
Directories, storing an entry 211—212
Directories, subdirectory entries 207
Directories, updating an entry 219—220
Directories, volume label entry 206—207
Directory entries 205—206
disk structure 190
DiskOnKey see flash drives.
DOS 8.3 file names 201—202 210—211
Dot and dotdot entries 205—206
Drive mechanisms 8—9
Drivers, mass storage device 38
Drivers, mass storage host, embedded 267
Drivers, mass storage host, Linux 77
Drivers, mass storage host, Windows 76
Duplicate data protection 33—34
DVDs see CD/DVDs.
ECC (Error Correcting Code) 15
electrical power see power
Embedded hosts (see also hosts)
Embedded hosts, commands 262—263
Embedded hosts, control transfer problems 264
Embedded hosts, conventional hosts versus OTG devices 260
Embedded hosts, CY4640 Mass Storage Reference Design Kit 266—267
Embedded hosts, descriptor problems 263
Embedded hosts, device problems, handling 264—265
Embedded hosts, enumerating devices 260—261
Embedded hosts, EZ-HOST 266—267
Embedded hosts, hardware requirements 5—6
|