I am learning to use the NOR flash of C5515 board. I tried to run the CSL example code. But the console print "NOR chip erase Failed!!". The program cannot erase the NOR flash. After debug, i found the problem. It's from
if (NOR_checkStatus(CSL_NOR_ERASE_TIMEOUT))
{
*flashAddr = CSL_NOR_READ_ARRAY_CMD;
result = CSL_ESYS_FAIL;
break;
}
How to make the code run well? I have not changed anything from the example code.