Hi
I can not access the flash memory of CC2430. Please help me to access the flash memory.
Regards
Sudip
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.
I am trying to write any data into the non- volatile flash memory. That data will store permanently, if the device power off it will not effect into the data and whenever required I want to read that data. Please help me to solve this issue.
Hi Sudip,
Although written for the CC2510, the flash code found in the basic software examples here will work for the CC2430 as well after some modifications:
http://focus.ti.com/docs/prod/folders/print/cc2510f32.html#toolssoftware
The flash_asm.s51 needs to be modified to match figure 14 in the datasheet.
The FWT register needs to be updated according to your clock.
Regards,
Kjetil
The answer to that question depends on *when* you want to write to flash:
1) At program build time, you use the SmartRF board, or any of a number of 3rd party programmers to program your code into the devices' flash memory.
2) During run-time, you can use osal_nv_item_init(), osal_nv_read() and osal_nv_write() to access flash memory.
3) Selection of the NV_RESTORE compiler option allows routing, neighbor and address information to be stored into flash so that the devices' network state can be restored at start-up.
Scott