FlashFS command group

This command group provides access to custom data that is stored in a dataflash device.

The access is handled through a flash file system. Each file, which is identified with a 16-bit ID, is organized in records of a fixed size. The record size can be between 1 and 254 and must be determined at file creation, but can be chosen individually for every file. All read and write operations use a record as the smallest storage unit. Records may be appended to the end of a file or they may overwrite existing records with new data.

WARNING: This command set is not available in all Baltech reader firmware variants.

Status codes

BRP status BRP Library Error Code Mnemonic Description
0x01 0x4901 (18689) FlashFS.ErrFsCorrupt The file system is corrupt: Format required.
0x02 0x4902 (18690) FlashFS.ErrRecordCorrupt The current record is corrupt.
0x03 0x4903 (18691) FlashFS.ErrFlashAccess Dataflash cannot be accessed: Hardware error.
0x04 0x4904 (18692) FlashFS.ErrDirectoryFull The File cannot be created, since there are no more free entries.
0x05 0x4905 (18693) FlashFS.ErrFileNotFound The file is not created yet.
0x06 0x4906 (18694) FlashFS.ErrEndOfFile The end of the file is reached: no more records available.
0x07 0x4907 (18695) FlashFS.ErrFull There is no more space on the Dataflash.
0x08 0x4908 (18696) FlashFS.ErrFileExist The file cannot be created, since it already exists.