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

What reasons cause SoftDevice call assert_nrf_callback?

Hi,

When erasing one page flash for responding one GATT request, it always went into assert_nrf_callback and has to reset the app. So I have to disable SoftDevice before erasing flash. I am wondering what will cause SoftDevice to call assert_nrf_callback?

thanks,

  • actually the interval is set to 50ms which should be enough for the one request/response. And using the radio notification to monitor the connection events. So there shouldn't be timing or radio issues.

  • This should not happen unless you actually try to erase flash at a bad time. Are you absolutely certain that you don't do a flash erase somewhere else than after a radio notification?

    Also, have you made sure to wait until new connection parameters are actually established before doing a flash erase? Right after connection, the connection parameters may be different from the ones you are expecting.

    If neither of the above solves the problem, could you please upload your complete application, so that I can take a look? If you're able to modify it in such way so that we can try reproducing it on a Development or Evaluation Kit, that would have been great. If you don't want to share the source here in public, please create a support case and upload a zip there. Everything uploaded there will be handled confidentially.

  • Thanks Ole,

    I will do further investigations on this issue. The app is now growing bigger, need some time to sort it out. I will contact Nordic if need more helps.

    thanks,

Related