This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
arm: tm4c1294
sp flash: n25q128
SSI1_BASE
MAP_SSIConfigSetExpClk(SSI1_BASE,120000000,SSI_FRF_MOTO_MODE_0,SSI_MODE_MASTER,10000000,8);
---------------------------------------------------------------------------------------------------------------------------------------------------------
代码如下:
for(i=0;i<4096;i++)
SPIFlashSectorErase(SSI1_BASE,i*4096);
for(i=0;i<4096;i++)
{
SPIFlashFastRead(SSI1_BASE,i*4096,buff,4096);
for(j=0;j>4096;j++)
if(buff[j]!=0xff)
break;
}
发现删除删除128*4096之后,读取扇区128*4096则数据不是0xff.
这是什么原因造成的?
擦除0-127扇区,则数据体都是0xff.