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

error 4 (no memory) SDK13

Hi!

I have read a lot of topics, but there is no answear of my question.

I added HID services in my project but now project fall with error 4- no memory.

nRF52832, SDK13, S132.

How to increase (suppose in a sdk_config.h) this memory? My be need to increase some services?

Now in a RTT debug was message that should increase RAM to 0x20002D70 and to 0xD290.

Since there is no warning in the RTT but project still fall with same error-4.

  • You should try to step into ble_hids_init() with your debugger and then single-step through the function to pinpoint exactly which function returns your error. You are likely right in that it is a memory issue due to your extra UUID though, so if you step into the function you will probably see that it is a function called sd_ble_uuid_vs_add() that returns the error. If you then search for that function name and error code on this forum you will likely find threads like this.

    This tutorial also has an SDK 13 release version that might be helpful. 

Related