Saturday, November 26, 2011

UFFS v1.3.4 is released

UFFS v1.3.4 is released.

  - New UO_NOECC option for skipping ECC.
  - POSIX compliance uffs_seek().
  - Improved unclean page detection.
  - Optional page data CRC.
  - Bug fixes.
  - Other improvements.

Note: If you are upgrading from older version of UFFS, you need to format UFFS partitions due to spare layout changes.

The new 'seal' byte is for faster (and safer) detection of an unclean page, it's the last byte of spare data. For those who provide 'ReadPageWithLayout()' in the flash driver, the ReadPageWithLayout() function should return UFFS_FLASH_NOT_SEALED if the 'seal' byte is not 0xFF.

It is possible to tell UFFS skip ECC (for faster reading of file) when open a file, set UO_NOECC bit in  'oflags'.

To enable data CRC feature, define CONFIG_ENABLE_PAGE_DATA_CRC in uffs_config.h.

Source code package can be downloaded from sourceforge.net:  uffs-v1.3.4.tar.bz2