When I add ble_app_uart example to ble_app_multiperipheral, an error occurs.

Hi team,

I am using NRF52833 DK with PCA10100 on it and s140 soft device version..

While I am merging the ble_app_uart example with ble_app_multiperipheral example, the following error is occured.

<info> app_timer: RTC: initialized.
<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at D:\nrf_sdk\nRF5_SDK_17.1.0_ddde560\nRF5_SDK_17.1.0_ddde560\examples\Ble_experiments\ble_app_uart\main.c:399
PC at: 0x0002AE0F
<error> app: End of error report.

Please provide me solution.

Here is the main.c:399

Thanks and Regards,

Hareesh Gorle

Parents
  • Hello,

    Please try to increase the NRF_SDH_BLE_VS_UUID_COUNT setting by '1' in your sdk_config header. This should allow the Softdevice to store the base UUID used by the NUS service in RAM instead of returning NRF_ERROR_NO_MEM.  Also, as this increases the Softdevice's ram usage by about 8 bytes, you will likely have to increase the app RAM start address as well to leave more RAM to the Softdevice. The debug log will tell you what RAM address to use in that case.

    Best regards,

    Vidar

Reply
  • Hello,

    Please try to increase the NRF_SDH_BLE_VS_UUID_COUNT setting by '1' in your sdk_config header. This should allow the Softdevice to store the base UUID used by the NUS service in RAM instead of returning NRF_ERROR_NO_MEM.  Also, as this increases the Softdevice's ram usage by about 8 bytes, you will likely have to increase the app RAM start address as well to leave more RAM to the Softdevice. The debug log will tell you what RAM address to use in that case.

    Best regards,

    Vidar

Children
Related