English
Language : 

BU94501AMUV Datasheet, PDF (64/73 Pages) Rohm – AAC/WMA/MP3 +SD Memory Card + iPod
BU9450xAxxx series
Datasheet
22. Process information when a media mount error
When media mount failure occurs, READ_MOUNT_ERROR command output the information on the stage of media
mount operation.
After being set to ERROR=1, the detailed information about in which process the error occurred can be read with this
command.
For example, when ERROR=1 and 1st byte=0x08 or 0x09, it turns out that mount error is caused by device response
error for TEST UNIT READY or REQUEST SENSE.
The details of an output value are shown below.
1st byte (offset=0) of a read value outputs the process state of USB mount operation.
A read value corresponds to the processing which went wrong.
A read value is cleared at the start of a USB mount operation.
A read value is updated irrespective of the success or failure of mount operation at the completion of mount operation.
Read value Process state
Read value Process state
0x00
Before a start of operation
0x10
GET_DEVSTATUS
0x01
DEVICE_DISCRIPTOR acquisition
0x11
Sector read command send
0x02
SET_ADDRESS
0x12
Sector read command receive
0x03
CONFIG_DESCRIPTOR acquisition
0x13
Sector read status receive
0x04
End Point connect
0x14
-
0x05
SET_CONFIGRATION
0x15
-
0x06
GET MAX LUN
0x16
-
0x07
CLEAR_FEATURE
0x17
Not-supported Device Subclass
0x08
INQUIRY
0x18
Only HUB is connected
0x09
TEST UNIT READY
0x19
LOW DEVICE is detected
0x0A
REQUEST SENSE
-
-
0x0B
READ_CAPACITY
-
-
0x0C
CLEAR_PORT_FEATURE
-
-
0x0D
GET_PORT_STATUS
-
-
0x0E
SET_PORT_FEATURE
-
-
0x0F
HUB_DESCRIPTOR acquisition
-
-
2nd byte (offset=1) of a read value outputs the process state of SD initialization.
bit corresponding to the succeeded process is set to 1.
A read value is cleared at the start of a SD mount operation.
A read value is updated one by one during mount, irrespective of the success or failure of mount operation.
Update is stopped at the completion of mount operation
A read value is 0x00 before a start of operation.
bit
Process state
0
CMD0 response
1
CMD8 response
2
CMD55 response
3
CMD41 response
4
CMD58 response
5
CMD1 response
10th byte (offset=9) of a read value outputs the process state of FAT file system analysis.
A read value corresponds to the processing which went wrong.
A read value is updated one by one during mount, irrespective of the success or failure of mount operation.
Update is stopped at the completion of mount operation
Read value Process state
0x00
Before a start of operation
0x01
MBR read
0x02
MBR analysis
0x03
BPB analysis
0x04
FAT table check
www.rohm.com
© 2012 ROHM Co., Ltd. All rights reserved.
TSZ22111・15・001
64/69
TSZ02201-0V2V0E600070-1-2
2012.12.10 Rev.003