This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to operate flash memory when using ble mesh examples?

I have couple of nRF51422 boards, nRF5-SDK-for-Mesh (v. 1.0.0) and good will to demonstrate some simple multihop mesh.

And I want to write some data to the flash, but operating the flash directly triggers an assertion(sleep_forever).

I have seen Flash Manager API introduction, but still do not know how to use these functions。

What kind of steps should I follow to operate flash?

Thanks.

Parents
  • hi
    I tried to write a byte in flash by using flash manager (flash_word_write) . while in a connection or advertising mode . But it is not working . Whenever I call flash_word_write function . It' is stuck .

    I enabled following function also

    err_code = ble_radio_notification_init(NRF_APP_PRIORITY_LOW, NRF_RADIO_NOTIFICATION_DISTANCE_5500US, ble_flash_on_radio_active_evt);

    can you help me ?

Reply
  • hi
    I tried to write a byte in flash by using flash manager (flash_word_write) . while in a connection or advertising mode . But it is not working . Whenever I call flash_word_write function . It' is stuck .

    I enabled following function also

    err_code = ble_radio_notification_init(NRF_APP_PRIORITY_LOW, NRF_RADIO_NOTIFICATION_DISTANCE_5500US, ble_flash_on_radio_active_evt);

    can you help me ?

Children
No Data
Related