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

gettng NRF_ERROR_NO_MEM when initiating a bond in Peer Manager

I'm starting to get things moved over to Peer Manager in SDK11 and when I call pm_conn_secure I get NRF_ERROR_NO_MEM. When reading the manual it states that this error means:

"NRF_ERROR_NO_MEM If there is no more space in flash."

flash? Doesn't the bond information go into the fsd file system on fstorage? Is there some config that needs to happen to make things fit?

I have 11 custom UUIDs discovered from the custom service on my peripheral role radio code when I make the call. Is there some limit on the amount of data that can be cached? Im running on a NRF511422XXAC device.

Parents
  • I did all of that and the peripheral role code is up and running. Did it to my central role code and it fails on the no mem error. How does the peer manager use flash if there isn't any linkage? If we are running out of flash memory then it should never have linked. It sounds like peer manager and fstorage is assuming something and hard coding flash sectors. I'm going to keep looking at the map files, however if there is some area I need to stay out of I need to know that.

Reply
  • I did all of that and the peripheral role code is up and running. Did it to my central role code and it fails on the no mem error. How does the peer manager use flash if there isn't any linkage? If we are running out of flash memory then it should never have linked. It sounds like peer manager and fstorage is assuming something and hard coding flash sectors. I'm going to keep looking at the map files, however if there is some area I need to stay out of I need to know that.

Children
No Data
Related