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.

CC2540 flash读写问题



HI TI Engineer

 

        我现在想存储6个字节在flash里,是不是应该放在XDATA里?

       如果可以,我用void HalFlashWrite(uint16 addr, uint8 *buf, uint16 cnt)进行写入,那addr对应的是不是flash的直接地址(如:e391 e392等这样的地址)

      但我进行写入,在写入之前我是进行erase操作的,但还是无法写入;

   另外,void HalFlashRead(uint8 pg, uint16 offset, uint8 *buf, uint16 cnt);为写函数,pg 和offset是什么参数;希望得到您的回答,谢谢!