BU9458KV Application Note Rev. 0.02
PROPRIETARY AND CONFIDENTIAL
-
21/42-
2009/05/28
V.2.4.1 Perform TOC Analysis
The LSI searches the total number of folders/files within the selected memory. Send the SEL_TOC command.
If you do not need TOC analysis, you can omit it. Figure V.2.6 shows the TOC analysis operation flow.
Figure V.2.6 TOC Analysis Operation Flow
SEL_TOC command
STATUS1 read command
Read TOC analysis result when USB memory is selected
Read TOC analysis result when SD memory is selected
When sending SEL_TOC command, the LSI searches the total number of folders and files within the selected memory
device. During search, the results are output to the STATUS1: SEARCH register. Therefore, before the LSI starts
reading the total number of folders and files after the SEL_TOC command is sent, be sure to read the STATUS:
SEARCH register and confirm that analysis has been completed.
Upon completion of TOC analysis, read the analysis results to the selected memory device.
When the SEL_TOC status is ON, the LSI always starts obtaining the total number of folders and files first in response
to insertion of the device and occurrence of the CHNG_DEV command. Even during play, if SEL_TOC is turned from
OFF to ON, the LSI interrupts playing and starts obtaining the total number of folders/files.
1st Byte
2nd Byte
0x57 0x01
SEL_TOC
1st Byte
2nd Byte
0x5E 0x00
READ_BUFF 1Byte
Read
1st Byte
2nd Byte
0x5E 0x10
READ_BUFF
6 Byte Read
1st Byte
2nd Byte
0x5E 0x16
READ_BUFF
6 Byte Read
Y
N
1. Start TOC analysis
2. Send SEL_TOC command
3. Read STATUS1.
4. Is SEARCH = 0?
5. Read TOC analysis result
6. Terminate TOC analysis