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.

BLE4.0 CC2540 flash存储问题



//HalFlashErase(0x40);    
 //while( FCTL & 0x80); // wait for erase to complete   
  //HalFlashWrite(0x8000, buff, 3);   
  //while( FCTL & 0x80); // wait for erase to complete   
  //HalFlashRead(0x40, 0x0000, buff, 3);
 
 
请问我这个flash存储代码有问题吗?  我的具体情况是   先写后读 没有任何问题   但我之后掉电后 在不写只读  读出来的都是0xFF