Hello,
Sometime when we try to save data in Flash the operation failed and that only when the bluetooth is init.
We use Nordic nRF51822 with 256 Ko Flash.
Thanks.
Have a look at this question. Please let me know if anything is unclear.
If it doesn't help, please edit your question to include how you are writing to flash.