thanks,and i have another question about yaffs_ecc.h. As 256 byte generate 3byte ecc code,but when use yaffs_ecc_calc_other() which can generate ecc for more than 256 byte,but it stores the ecc valu in one structure "yaffs_ecc_other" ,how this work?for example,if calcuate ecc for 2048 byte data,how it store the ecc value? thank you. ---- Regards, Ezio.