Hi Jiaqi, In customer code PAGE_SIZE is set as 0x1000(bytes in sector), which is input to blank check api as length as below. Since blank check function uses 32bit length, user should provide sector size length as 0x800. This should fix the issue. oReturnCheck = Fapi_doBlankCheck((uint32 *)SectorAddr,PAGE_SIZE,&oFlashStatusWord); Customer is erasing it sector by sector and doing blank check after each sector. But length provided for blank check is exceeding sector size. Thanks & Regards, Rajeshwary
↧