Comments (3)
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.
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:
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.
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)
- Thank you very much! HOT 1
- Error in Readme.md Walkthrough Steps - nRF 15.2.0 HOT 3
- Missing handling of NRF_ERROR_RESOURCES
- I migrated this example to 15.3.0 HOT 2
- Characteristic User Description
- Are there any examples of how to create a central that can connect to this custom service?
- example needs to add 2 service and 2 notifications HOT 3
- Byte-swap error in the write-up
- after sometime this application going to sleep mode. HOT 1
- how to pass the float values to on_write function of ble_app_template
- Error 133 When Connecting with nRF Connect
- Add more characteristics to the same service
- Error While adding the mcuboot folder in repo. HOT 1
- sd_ble_gatts_hvx issue HOT 2
- I want to increase the number of bits send to the mobile app currently it reads data from 0 to ff? HOT 1
- Getting an error on step 7 HOT 1
- How to add more than 1 custom service? HOT 8
- custom_value_char_add is not defined in the header file. HOT 1
- NRF_ERROR_DATA_SIZE error when increasing the length of the data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custom_ble_service_example.