HI,ALL
i wanna know that will the operation of flash conflict with the program code?
thank you very much!!
HI,ALL
i wanna know that will the operation of flash conflict with the program code?
thank you very much!!
not so clear to understand with what you mean by flash operation conflict with program code? Can you please be more descriptive
i am sorry. and thank you for your patient.
i mean,
my source code store in the flash,and when i operate the flash,will the data overwrite my source code.
if you mean that you can override your application code area from the flash? then yes you can do that. What API are you using for flash operations? Are you using SDK API or are you writing to flash directly?
oh,i just start with nrf 51422 , and the example which i study is nRF51_SDK_9.0.0_2e23562\examples\peripheral\flashwritewithout SD.
And the api is static void flash_word_write(uint32_t * address, uint32_t value);
Hi,
It depends on the timing requirements of your application. Ongoing flash operations will delay servicing of interrupts. The SD flash API should be used if you want to write to flash while using one of the softdevice stacks to ensure that the flash operation doesn't cause the the timing requirements of the stack to be exceeded. I'd recommend to use the pstorage module If you're using a softdevice.