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

connection error

board nrf52840

sdk 15.2

hi i have one problem in connection, once i connected the device and disconnect means ,the device stops advertising..if i reset means it will show.

how to solve this.

Parents
  • Hi.

    I just debugged your project and found an error right away.

    <warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
    <warning> nrf_sdh_ble: Change the RAM start location from 0x20002210 to 0x20002250.
    <warning> nrf_sdh_ble: Maximum RAM size for application is 0x3DDB0.
    <error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
    <error> app: Fatal error
    

    As you see from the error code you are out of memory, this is because you have added a lot of services and characteristics to your project.

    You would have spotted this error if you had debugged your project, please do this next time your project doesn't work.

    - Andreas

Reply
  • Hi.

    I just debugged your project and found an error right away.

    <warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
    <warning> nrf_sdh_ble: Change the RAM start location from 0x20002210 to 0x20002250.
    <warning> nrf_sdh_ble: Maximum RAM size for application is 0x3DDB0.
    <error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
    <error> app: Fatal error
    

    As you see from the error code you are out of memory, this is because you have added a lot of services and characteristics to your project.

    You would have spotted this error if you had debugged your project, please do this next time your project doesn't work.

    - Andreas

Children
Related