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
|
| 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
|
| 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 => | |
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
|
| 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.
AT83SND2CMP3 User Guide |