Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SOFTDEVICE: INVALID MEMORY ACCESS - SoftDevice RAM access violation

Dear all

I'm using the SD s140 and nRF52840 along with one of the latest SDKs (17...). Everything works fine, I'm able to start advertising and connect, but from time to time I get the "SOFTDEVICE: INVALID MEMORY ACCESS" fault. 

My problem is, that I can't debug with our current setup, but I've rewritten the app_error_fault_handler() and include the "info" parameter in the log. The info is 0x00000000, from the documentation of NRF_FAULT_ID_APP_MEMACC I conclude that its a case of SoftDevice RAM access violation.

I've looked through the forum but only found solutions to issues, if "info" is > 0. So what could the problem in my case?

Best regards

David

Parents Reply
  • Thank you for your answer. In the meantime I've changed the setup to be able to debug and I've also found the problem. It had to do with, how I entered/exited ciritical sections, when going to sleep using the nrf-power-management and cpu load monitoring.

Children
No Data
Related