Tool/software:
Hello,
I would like to know if you have flash API to read/write physical address in simplelink_cc13xx_cc26xx_sdk_7_10_02_23.
Better there's an example code for internal flash operation. What I can find is only NVS example.
Thanks
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.
Tool/software:
Hello,
I would like to know if you have flash API to read/write physical address in simplelink_cc13xx_cc26xx_sdk_7_10_02_23.
Better there's an example code for internal flash operation. What I can find is only NVS example.
Thanks
Why can't you use the NVS driver?
There are examples in the SDK to show how the driver is used to write to internal flash:
Please see the following on OTA:
Over the Air Download (ti.com)
Siri
If we want to write firmware image into specific address in internal memory, NVS seems not fit.
Should we call some low level interface like "FlashProgram" in simplelink_cc13xx_cc26xx_sdk\source\ti\devices\cc13x4_cc26x4\driverlib\flash.c ?
The recommende3d methos is to use the NVS driver. The driverlib functions is only meant to be used by our drivers.
I do not understand why you think it is a problem to use the NVS driver.
Have you looked at the rfPADClient and rfOADSErver example in the SDK?
It uses the NVS driver (see the flash_interface_internal.c file) for on-chip (internal flash) OAD.
Siri