HalFlashErase(0x40);
delays(10);
while( FCTL & 0x80 ); // wait for erase to complete
HalFlashWrite(0x8000,arr,6);
delays(10);
HalFlashRead(0x40,0x0000,arrr,6);
大侠们帮忙看下为什么flash写的与读的不一样呢?
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.
HalFlashErase(0x40);
delays(10);
while( FCTL & 0x80 ); // wait for erase to complete
HalFlashWrite(0x8000,arr,6);
delays(10);
HalFlashRead(0x40,0x0000,arrr,6);
大侠们帮忙看下为什么flash写的与读的不一样呢?