I want to store some data into flash. Whether there are relevant application notes or program code? Thanks
I want to store some data into flash. Whether there are relevant application notes or program code? Thanks
Do you use softdevice or not ? If you use softdevice please have a look at this fds usage here.
If you don't use softdevice, please have a look at the SDK example \examples\peripheral\flashwrite
Can you check what is the error ? is it hardfault ?
You need to make sure the priority of the interrupt where you call the function is APP_LOW so that you can call flash API. Otherwise you have to use app scheduler to call the flash's functions in main context.
Can you check what is the error ? is it hardfault ?
You need to make sure the priority of the interrupt where you call the function is APP_LOW so that you can call flash API. Otherwise you have to use app scheduler to call the flash's functions in main context.