support nandflash test,and ecc check