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.

CC1310 FLASH读写问题

Other Parts Discussed in Thread: CC1310

TI 工程师:

     你们好。

     CC1310如何对FLASH进行读写操作?有没有供用户可以正常使用的一段FLASH空间?

     我用FlashSectorErase和FlashProgram函数对0x0001FFD0地址擦除重写时,只有刚烧入程序第一次擦除重写有作用,以后再做同样的操作都返回FAPI_STATUS_FSM_ERROR。

  • 可参考下这边的例子: https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/p/506551/1873893#1873893

  • 你好!

    我和你让我参考的例子的写法是一样的,但只能写一次。我用示例中的0x1000地址是不能写的

    以下是我的相关代码

    #define EASYLINK_DSTADDR_LOCATION  0x0001FFD0

    #define EASYLINK_ADDR_SIZE  8

    uint8_t dstAddr[EASYLINK_ADDR_SIZE]

    ret = FlashProgram(dstAddr, EASYLINK_DSTADDR_LOCATION, EASYLINK_ADDR_SIZE);
    if(ret == 0){
          status = EasyLink_Status_Success;
    }