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

I build mesh sdk for nrf52840 it give error I not able to understand meaning ??

Hello, I try to build mesh sdk for nrf52840 it gives me error on RTT

0> <t:          0>, main.c,  318, ----- BLE Mesh Light Control Client Demo -----
 0> <t:          0>, main.c,  108, Initializing softdevice
 0> <t:          0>, nrf_mesh_sdk.c,  109, Initializing SoftDevice...
 0> <t:          1>, nrf_mesh_sdk.c,  118, Ram base: 0x20001C00
 0> <t:          4>, nrf_mesh_sdk.c,   64, APP_ERROR: nrf_mesh_sdk.c:134 code 4

What is mean of that error please help????

Parents
  • Hi,

    How did you build the Mesh SDK for nRF52840? Note that the documentation states "The nRF5 SDK for Bluetooth Mesh is compatible with the nRF52840 and nRF52810 SoCs. However, the build system has not been updated to support those SoCs yet". Did you extend the build system to support nRF52840 yourself?

    On nrf_mesh_sdk.c:134 there is a call to sd_ble_enable, and the error code 4 means NRF_ERROR_NO_MEM. The documentation should give you a hint towards how to fix this issue:

    The amount of memory assigned to the SoftDevice by *p_app_ram_base is not large enough to fit this configuration's memory requirement. Check *p_app_ram_base and set the start address of the application RAM region accordingly.

    Are you using S140 softdevice?

    Best regards,

    Jørgen

Reply
  • Hi,

    How did you build the Mesh SDK for nRF52840? Note that the documentation states "The nRF5 SDK for Bluetooth Mesh is compatible with the nRF52840 and nRF52810 SoCs. However, the build system has not been updated to support those SoCs yet". Did you extend the build system to support nRF52840 yourself?

    On nrf_mesh_sdk.c:134 there is a call to sd_ble_enable, and the error code 4 means NRF_ERROR_NO_MEM. The documentation should give you a hint towards how to fix this issue:

    The amount of memory assigned to the SoftDevice by *p_app_ram_base is not large enough to fit this configuration's memory requirement. Check *p_app_ram_base and set the start address of the application RAM region accordingly.

    Are you using S140 softdevice?

    Best regards,

    Jørgen

Children
Related