Hi all,
First off, yes - I've read through the forum to look for help, but not finding anything that helps....
I'm trying to write a few words of configuration data to the flash memory area on a CC2541 (using the TI stack 1.4). I've found the OSAL_snv routines and also the Halflash routines, but no real understanding of how to use them. What is needed is a few memory locations to load some initial configuration information for each board - hold that in flash - and not overwrite 'other' data. It seems that the best way to complete this task would be to use the osal_snv_write / read commands, but I've been unsuccessful in finding a memory area to put this data.
Previous postings have talked about the BLE NV Itemswhich are 'usable' (but it looks like 0x00 - 0x7F are already specified).
When I look at the memory map using the debugger, I cannot find 'locations' used in the system vs. erased flash areas (which should be specified as 0xff). How do I:
allocate or specify a series of locations in the flash area
how do i initialized or setup the correct page information
and finally reads and writes - where these areas will not be cleared by a power reset.