FLASH ERROR

Hi,I am using nrf52832 and I am using Segger Embedded Studio as IDE.
I can't write to flash while having a ble connection. What could be the reasons?

Parents
  • Hi,

    Does flash write operations never happen, or does somethign fail?

    Writing to flash is scheduled in between radio acticity, so if you have very tight connection parameters or similar, writing to flash may not be possible. If that is the case, you can use a different set of parameters or reduce the amount of connections, or similar (very use case dependent). See SoftDevice timing-activities and priorities for details on how the SoftDevice priorities.

    Also, if you write to flash directly, without using SoftDevice APIs or libraries that use it (like FDS or fstorage), the SoftDevice will assert.

Reply
  • Hi,

    Does flash write operations never happen, or does somethign fail?

    Writing to flash is scheduled in between radio acticity, so if you have very tight connection parameters or similar, writing to flash may not be possible. If that is the case, you can use a different set of parameters or reduce the amount of connections, or similar (very use case dependent). See SoftDevice timing-activities and priorities for details on how the SoftDevice priorities.

    Also, if you write to flash directly, without using SoftDevice APIs or libraries that use it (like FDS or fstorage), the SoftDevice will assert.

Children
No Data
Related