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.

CC2530 FLASH问题



我按照本论坛的

HalFlashErase(0x40);
while( FCTL & 0x80 ); // wait for erase to complete
HalFlashWrite(0x8000, theMessageData, 5);
HalFlashRead(0x40, 0x0000, theMessageData, 5);

能正确操作,但是操作完了以后,系统就死掉了,重启也没反应,想问的是,我这样是不是把代码给擦除了,如果是我该对那里的地址进行读写操作呢????

  • 如果是重启也没反应的话,那有可能是代码区被修改了,你可以通过SmartRF Flash Programmer把写flash以后,把整个flash读出来,和最初写进去的对比下就知道了。