Git Product home page Git Product logo

Comments (3)

bjornspock avatar bjornspock commented on July 24, 2024

Can you check which RAM start address the sd_ble_enable call in nrf_sdh_ble_enable() i nrf_sdh_ble.c returns in the p_app_ram_start variable ?

You can also try to change the memory settings in the example to the following:
FLASH_PH_START=0x0

FLASH_PH_SIZE=0x100000

RAM_PH_START=0x20000000

RAM_PH_SIZE=0x40000

FLASH_START=0x26000

FLASH_SIZE=0xda000

RAM_START=0x20002210

RAM_SIZE=0x3ddf0

from custom_ble_service_example.

ebachaalany avatar ebachaalany commented on July 24, 2024

Hello Bjorn,

Regarding the p_app_ram_start value is 0x3DDA0

Below the ralted LOG:
app_timer: RTC: initialized.
nrf_sdh_ble: p_app_ram_start = 0x3DDA0.
nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
nrf_sdh_ble: Change the RAM start location from 0x20002260 to 0x20002270.
nrf_sdh_ble: Maximum RAM size for application is 0x3DD90.
nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
app: Fatal error
app: System reset

As for the Memory settings provided, we received the following error while downloading:

Screenshot 2020-10-22 125928

I am using currently the 52840 DK and this is the link to the app based on your tutorial.
(https://we.tl/t-KCOLFuXM65)

And this is the Case ID: 258138 at DEvZone

Thanks!

from custom_ble_service_example.

rs872 avatar rs872 commented on July 24, 2024

This is late so you might have resolved this but I had a similar error, did you try the suggestion the log output? And did it work?
nrf_sdh_ble: Change the RAM start location from 0x20002260 to 0x20002270.

I did this through the same linker setting we used to update RAM after defining a new vendor service and it worked for me.

from custom_ble_service_example.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.