Protocol Frame Description

 

 

Table 5-68 .FS_FREAD_BLOCK_DATA Frame

 

 

 

 

 

 

 

 

 

 

Protocol

 

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

Data Block

 

 

 

 

 

 

 

7Eh

If not used,

84h

01h

DataBlockNumber 01h

Yes

Byte 0:1FFh => 512 Bytes data

FFh

(no checksum on data)

 

 

 

 

 

 

 

 

 

 

 

 

FS_FREAD_BLOCK_DATA_EN Player Response of FS_READ_BLOCK command when last block is reached (end of D* Response file). After this Player reponse, there is no need to send the FS_FCLOSE command.

Player returns in operating mode IDLE.

Table 5-69 .FS_FREAD_BLOCK_DATA_END Frame

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

85h

01h

Byte 0: Player Status Byte

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

PLAYER_INDEX_NUMBER* Player Response of PLAYER_GETINDEXNUMBER command. This frame returns the Response number of file in current directory.

Table 5-70 .PLAYER_INDEX_NUMBER Frame

 

 

Protocol

Data

 

 

Frame Start

Channel

Command

Length

Data

CheckSum

 

 

 

 

 

 

 

If not used,

 

 

Byte 0: Player Status Byte

 

7Eh

86h

03h

Byte 1: MSB(Number_of_Index)

Yes

FFh

 

 

 

Byte 2: LSB(Number_of_Index)

 

 

 

 

 

 

 

 

 

 

 

 

FS_MEMFREESPACE* Response

Player Response of FS_GETMEMFREESPACE command. Data parameter are:

„number of free cluster (32 bits, byte 1:4, MSB is byte 0 in data parameters).

„cluster size in sector (8 bits, byte 5 in data parameters).

Note: Sector size is 512 Bytes.

Memory free space available is :

MemoryFreeSpace(Byte) = NumberFreeCluster * ClusterSize * 512 Bytes.

Table 5-71 .FS_MEMFREESPACE Frame

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

 

If not used,

 

 

Byte 0: Player Status Byte

 

7Eh

8Ah

06h

Byte 1:4 Number of free cluster

Yes

FFh

 

 

 

Byte 5: Cluster Size

 

 

 

 

 

 

 

 

 

 

 

 

FS_FILESIZE* Response Current file size is in Bytes. Player Response of FS_GETFILESIZE command.

AT83SND2CMP3 User Guide

5-51

7525A–MP3–07/05