Please, change case NAND_CMD_PARAM: host->buf_count = 256; To: host->buf_count = 768; If first copy of parameter page corrupted you will not able to use ONFI flash. Andrei