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 Storing Data in Flash

Other Parts Discussed in Thread: CC2540

Hey,

I edited the SimpleBLEPeripheral Project to fit my needs. But now I'm stuck.

I want to store/read 8 Byte of Data permanently. So they shouldn't get purged on powerloss. Therefor I would like to use the flash space, but I got no idea how to use the HalFlashRead and HalFlashWrite commands.

The essential problem is how to retrieve the correct numbers to use?

Any help welcome!