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.

@VV大神,CC2650Flash操作

@VV大神

想用CC2650Flash做数据缓存,大概几十K,原来NV框架诸多限制(Page限制、单次最多1023字节)。所以想在程序直接操作FlashAPI实现数据缓存。但是调用Flash和NV的一些API会操作异常。

void NVOCTP_flashWrite(uint8_t pg,
                              uint16_t ofs,
                              uint16_t num,
                              uint8_t *sBuf)

异常是通过FlashProgram 报出来的。指示Flash操作时状态机异常。

#define FAPI_STATUS_FSM_ERROR   0x00000004  // Operation failed