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.

HalFlashWrite/HalFlashRead问题

Other Parts Discussed in Thread: CC2541

CC2541 F128芯片,读写代码如下,先写,再读,发现读到的东西不对。不知道该是怎么地址转换的?求指教


HalFlashErase(0x3f);
while( FCTL & 0x80 ); // wait for erase to complete
HalFlashWrite(0x7e00, ram,RAM_LEN);


HalFlashRead(0x3f, 0x0000,ram,RAM_LEN);