Protocol Frame Description

FS_FWRITE_BLOCK Write data in current created file (need previous FS_FCREATE command). The number Command of FS_WRITE_BLOCK command the Remote Controller shall send to Player is defined

by Number of Blocks Parameter (refer to FS_FCREATE command).

Table 5-44 .FS_FWRITE_BLOCK command

 

 

Protocol

 

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

Data BLock

 

 

 

 

 

 

 

 

If not used,

 

 

 

 

Byte 0:1FFh => 512 Bytes

7Eh

68h

00h

-

Yes

data

FFh

 

 

 

 

 

(no checksum on data)

 

 

 

 

 

 

 

 

 

 

 

 

 

Data are 512 Bytes. Checksum is only for command, not for data (specific to

FS_FWRITE_BLOCK).

The command FS_FWRITE_LAST_BLOCK is used for the last block transfer.

FS_FWRITE_LAST_BLOCK Write data in current created file (need previous FS_FCREATE command). This com- Command mand is used for the last block transfered.

Parameters of FS_FWRITE_BLOCK is the number of byte to finish the file write.

Table 5-45 .FS_FWRITE_BLOCK command

 

 

Protocol

 

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

Data BLock

 

 

 

 

 

 

 

 

If not used,

 

 

Byte 0: MSB (Number of Bytes to write)

 

Byte 0:Xh => X-1 Bytes

7Eh

6Dh

02h

Yes

data

FFh

Byte 1: LSB (Number of Bytes to write)

 

 

 

 

(no checksum on data)

 

 

 

 

 

 

 

 

 

 

 

 

 

The command FS_FWRITE_LAST_BLOCK is used for the last block transfer.

After the latest FS_FWRITE_LAST_BLOCK command, it is not necessary to send

FS_FCLOSE command as Player will return in IDLE state.

Player response is SYSTEM_ACK*. File is created.

FS_FREAD_BLOCK Command This Command allows Remote Controller to read current selected file in memory.

Table 5-46 .FS_FREAD_BLOCK command

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

67h

00h

No

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

With UART link, data length parameter is equal to 1 block. Data block size is 512 Bytes, coming after the Player response frame: FS_FREAD_BLOCK_DATA*. Checksum is only for command, not for data.

5-42

AT83SND2CMP3 User Guide

7525A–MP3–07/05