我按照本论坛的
HalFlashErase(0x40);
while( FCTL & 0x80 ); // wait for erase to complete
HalFlashWrite(0x8000, theMessageData, 5);
HalFlashRead(0x40, 0x0000, theMessageData, 5);
能正确操作,但是操作完了以后,系统就死掉了,重启也没反应,想问的是,我这样是不是把代码给擦除了,如果是我该对那里的地址进行读写操作呢????
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.