Licensing, CompactFlash 24
Licensing, media 167
Licensing, MultiMediaCard 20
Licensing, Secure Digital (SD) memory card 22
Linux drivers 77
Little Endian 47 168
LoadDirAttrib function 217—219
Logical block address (LBA), converting to byte addresses 101
Logical block address (LBA), description 10
Logical block address (LBA), mass-storage 46
Logical units, requesting number of 146
Logical-unit reset 163
long file names 207—211 (see also DOS 8.3 file names)
Macros, PICmicro, mMSDRxIsBusy 42—43
Macros, PICmicro, mMSDTxIsBusy 42—43
Macros, PICmicro, mUSBBufferReady 42—43
Main entry, directories 203 217—219
Mass-storage class (see also USB (Universal Serial Bus))
Mass-storage class, Accept Device Specific Command (ADSC) request 46
Mass-storage class, Autorun support 77
Mass-storage class, Bulk Only Mass Storage Reset requests 46
Mass-storage class, commands see SCSI commands
Mass-storage class, control requests 46
Mass-storage class, descriptors see descriptors mass-storage
Mass-storage class, Get Max LUN request 46
Mass-storage class, Linux drivers 77
Mass-storage class, logical block address (LBA) 46
Mass-storage class, requests 46
Mass-storage class, requirements 34—37 45—46
Mass-storage class, specifications 45—46
Mass-storage class, Windows drivers 76—77
Mass-storage devices see devices storage
Mass-storage hosts see embedded hosts; hosts.
Master boot record (MBR) sector, boot signature 172—173
Master boot record (MBR) sector, definition 166—167
Master boot record (MBR) sector, detecting 168
Master boot record (MBR) sector, executable code 169
Master boot record (MBR) sector, extended partitions 170—172
Master boot record (MBR) sector, partition table 169—170
Master In, Slave Out (MISO) pin function 80 82
Master Out, Slave In (MOSI) pin function 80 82
Master Synchronous Serial Port (MSSP) 86—88
Matsushita Electric Industrial Co., Ltd. 20
MCCI 38
Media (see also devices specific
Media structure, byte order 168
Media structure, data clusters, definition 167
Media structure, FAT volumes 167
Media structure, file systems 167
Media structure, formatted media 166—168
Media structure, master boot record (MBR) sector, boot signature 172—173
Media structure, master boot record (MBR) sector, definition 166—167
Media structure, master boot record (MBR) sector, detecting 168
Media structure, master boot record (MBR) sector, executable code 169
Media structure, master boot record (MBR) sector, extended partitions 170—172
Media structure, master boot record (MBR) sector, partition table 169—170
Media structure, sectors, definition 166
Media, addressing methods 10
Media, change detection 162—163
Media, changes, informing host of 162—163
Media, copy protection 11
Media, current technologies 7
Media, erasing data 11
Media, formatting 166—168
Media, hardware interfaces 12
Media, licensing 167
Media, logical block address (LBA) 10
Media, parameters, requesting ane selecting 143—145
Media, prevent/allow user removal 145—146
Media, removable media and devices 12
Media, security 11
Media, selecting 7—24
Media, table of 3
Media, write protection 10
Medialnitialize function 126—129
Memcopypgm2ram function 142
Micro Digital 38 267
Microchip Technology 39 91
Microsoft, FAT licensing 167
Microsoft, FAT specification 168
Microsoft, formatting recommendations 186
Microsoft, NTFS 167
Microsoft, RMB recommendation 139
Mini-A cable plugs 28
Mini-B cable plugs 28
MISO (Master In, Slave Out) pin function 80 82
MLC (Multi-level Cell) 14
MMC see SCSI commands multimedia
MMCA (MultiMediaCard Association) 17
MMCmicro 17—18
MMCmobile 17—18
MMCplus 17—18
MMSDRxIsBusy macro 42—43
MMSDTxIsBusy macro 42—43
Mode pages 143—144
MODE SELECT command 143
MODE SENSE command 143—145 263 265
MOSI (Master Out, Slave In) pin function 80 82
Motorola 79
MSDCommandHandler function 160 161
MSDDataIn function 64—66
MSDDataOut function 67
MSDInquiryHandler function 142
MSDModeSenseHandler function 145
MSDReadHandler function 149—153
MSDRequestSenseHandler function 147
MSDT estUnitReadyHandler function 148
MSDWriteHandler function 155—158
MSSP (Master Synchronous Serial Port) 86—91
Multi-level Cell (MLC) 14
Multimedia SCSI commands 159
MultiMediaCard Association (MMCA) 17
MultiMediaCard commands, arguments 94
MultiMediaCard commands, block read and write 102
MultiMediaCard commands, card information 124—125
MultiMediaCard commands, classes 99—101
MultiMediaCard commands, command and response structures 112
MultiMediaCard commands, CSD register, reading 116—118
MultiMediaCard commands, delay timer 125—126
MultiMediaCard commands, detecting a card 107—108
MultiMediaCard commands, error codes 113
MultiMediaCard commands, format 94
MultiMediaCard commands, index 94
MultiMediaCard commands, initializing communication 123—129
MultiMediaCard commands, no data transfer 105
MultiMediaCard commands, reading data from 105—106 118—120
MultiMediaCard commands, registers 101
MultiMediaCard commands, selecting a card 107—108
MultiMediaCard commands, sending commands 101—107 109-
MultiMediaCard commands, timing 102—105
MultiMediaCard commands, used by mass-storage devices 100—101
MultiMediaCard commands, writing data from 106—107 120—123
MultiMediaCards, classes of 16
MultiMediaCards, components 16
MultiMediaCards, form factors 17—18
MultiMediaCards, hosts 18
MultiMediaCards, I/O cards 16
MultiMediaCards, illustration 17
MultiMediaCards, interfacing with 17—19
MultiMediaCards, licensing fees 20
MultiMediaCards, MMCmicro 17—18
MultiMediaCards, MMCmobile 17—18
MultiMediaCards, MMCplus 17—18
MultiMediaCards, MultiMediaCard bus interface 17—19
MultiMediaCards, packages 17—18
MultiMediaCards, PIC18F4550 microcontroller host 81—83
MultiMediaCards, pin functions 80 82
MultiMediaCards, Read-only Memory (ROM) class 16
MultiMediaCards, Read/Write (RW) class 16
MultiMediaCards, response types, R1 94—95
| MultiMediaCards, response types, R1b 96
MultiMediaCards, response types, R2 96—97
MultiMediaCards, specifications 17
MultiMediaCards, SPI interface 17—19
MultiMediaCards, timing requirements 83—85
MultiMediaCards, tokens, data 98
MultiMediaCards, tokens, data_error 98—99
MultiMediaCards, tokens, data_response 98—99
MultiMediaCards, versus SD card 20
MUSBBufferReady macro 42—43
NAK code 33 53—54
NAND flash 14
New SLC 14
NOR flash 14
NTFS 167
Nucleus real-time operating system 38
Old Single-level Cell (SLC) 14
On Time Software 267
On-The-Go (OTG) devices 27 31 260
opening files 243—246
OpenSPI function 126—129
Packet ID (PID) 32—33
Packets, USB, ACK code 33
Packets, USB, data 32—33
Packets, USB, error codes 33
Packets, USB, handshake 32—33
Packets, USB, maximum size 53
Packets, USB, NAK code 33
Packets, USB, packet ID (PID) 32—33
Packets, USB, STALL code 33 72—73
Packets, USB, token 32—33
Page code 143—144
Parallel AT Attachment (ATA) interface 13
Partition Table 169—170
PCMCIA mode 23
PDT (peripheral device type) 51 139—141
Pen drives see flash drives
Peripheral device type (PDT) 51 139—141
Peripheral Interrupt Enable Register 1 (PIE1) 87
Peripheral Interrupt Request (Flag) Register 1 (PIR1) 87
Phillips 38 159 267
PIC18F4550 microcontroller, architecture 39
PIC18F4550 microcontroller, as MultiMediaCard host 81—83
PIC18F4550 microcontroller, components 85
PIC18F4550 microcontroller, definition 39
PIC18F4550 microcontroller, firmware support 39
PIC18F4550 microcontroller, Master Synchronous Serial Port (MSSP) 86—88
PIC18F4550 microcontroller, sending/retrieving data 86—91
PIC18F4550 microcontroller, USB controller 39—43
PICmicro microcontrollers 39—43
PID (packet ID) 32—33
PIE1 (Peripheral Interrupt Enable Register 1) 87
PIR1 (Peripheral Interrupt Request (Flag) Register 1) 87
Platters, hard drives 8—9
PMA (program memory area), reading 159
PopulateEntries function 234—235
Port reset 62 163
Power, bus current requirements 50
Power, CompactFlash 23
Power, device bus current requirements 50
Power, from hosts 28
Power, managing 30
Power, MultiMediaCard 19 80
Power, SD Card 21
Power, status, changing 154
power-on reset 163
PrepareCSWData function 62
PREVENT ALLOW MEDIUM REMOVAL command 145—146 265
Primary commands, SCSI 139—148
ProcessIO function 69—72
Product description 48—49
Program memory area (PMA), reading 159
QIC-157 52
R1 response 94—95
R1b response 96
R2 response 96—97
RAMread function 192—193 247—250
RAMwrite function 194—195
RBC see Reduced Block Command set.
READ CAPACITY command 152—154 262 266
read command 149—151 262 265
READ FORMAT CAPACITIES command 159 262
READ TOC/PMA/ATIP command 159
Read-only Memory (ROM) class 16
Read/Write (RW) class 16
Read/write page size, flash memory 11
Reading, bytes from flash-memory cards 91—92
Reading, CSD register, MultiMediaCard 116- 118
Reading, devices 149—151
Reading, directory entries 212—217
Reading, file allocation table (FAT) 192—193 197—198
reading, files 246—250
Reading, from media, MultiMediaCard 105- 106
Reading, sectors, MultiMediaCard 118—120
ReadMedia function 91
ReadSPI function 91
READY command 263
Ready status, testing 147—148
Reduced Block Command set, bInterfaceSubclass 52
Reduced Block Command set, driver 139
Reduced Block Command set, peripheral device type 141
Registers, MultiMediaCard 101
Registers, PIC18F4550 40—43
Release number 48
Removable media and devices 12
Removable media bit (RMB) 139
REPORT LUNS command 146
REQUEST SENSE command 146—147 266
Requests 46
RequestSenseResponse union 137
Reserved region, FAT16 176
Reserved region, FAT32 181—184
Reserving clusters 225
Reset behavior, SCSI commands 163
Reset recovery 61—62
ResetSenseData function 138
Response data, copying 142
Response types, MultiMediaCard protocols 94—97
RMB (removable media bit) 139
ROM (Read-only Memory) class 16
RW (Read/Write) class 16
SanDisk Corporation 20
SBC see SCSI commands block
SCK pin function 80 82
SCLK pin function 80 82
SCSI commands, block commands 148—158
SCSI commands, block descriptors 143
SCSI commands, command block wrapper (CBW) 5660
SCSI commands, command set, selecting 132—135
SCSI commands, command status wrapper (CSW) 6062
SCSI commands, communication on bulk endpoints, preparing to send data 64—66
SCSI commands, communication on bulk endpoints, receiving data 67
SCSI commands, communication on bulk endpoints, sending data 63—64
SCSI commands, communication on bulk endpoints, sending the CSW 67—68
SCSI commands, communication on bulk endpoints, transfer management 69—72
SCSI commands, decoding 160—161
SCSI commands, embedded hosts 262—263
SCSI commands, examples 73—76
SCSI commands, fixed-format sense data 137
SCSI commands, FORMAT UNIT 148—149
SCSI commands, INQUIRY 139—142 262 265
SCSI commands, mandatory 134
SCSI commands, media changes, informing host of 162—163
SCSI commands, mode pages 143
SCSI commands, MODE SELECT 143
SCSI commands, MODE SENSE 143—145 263 265
SCSI commands, multimedia commands 159
SCSI commands, optional 134
SCSI commands, port reset 62
SCSI commands, port resets 163
|