RSS
Sort by » date activity ▼ answers views votes

# 269 questions

Tagged
• x
33
views
1
vote
1
answer

## Where is scanf defined?

Hi Nordic!

On the radio_test example, the functions scanf and printf are heavily used, however, I haven't found where they are defined. This example is reading the data from the UART port, but there doesnt seem to be any ... (more)

3k
views
3
votes
4
answers

## nRF51822 with GCC - Stacksize and Heapsize

Using:

• nRF51822
• GCC 4.8.4
• Nordic Sdk 5.2.0
• and even Ole Morten's nice pure-gcc setup
• newlib-nano and -flto

Within the startup_nrf51.s I found something like this.

Sdk:

#ifdef __STACK_SIZE
.equ    Stack_Size, __STACK_SIZE
#else
.equ    Stack_Size ...
(more)

40
views
1
vote
1
answer

## Can I run the ble_app_uart example code from nRF5_SDK_12 with S130 on nRF51822QFAAH0? [closed]

Story Short: When trying to run the ble_app_uart example on a custom board with a nRF51822QFAAH0 chip, the code faults and resets at the point in tries to call sd_softdevice_enable.

What are the prerequisites for running the examples of the ... (more)

165
views
4
votes
2
answers

## Integrating Buttonless DFU: with extra custom 128bit UUID (SDK 12.x)

Assuming SDK 12.x

For those people that want to integrate the Buttonless DFU service to their app, which uses already one custom base 128bit UUID, please make sure to:

1. Edit softdevice_handler.c (located at components/softdevice/common/softdevice_handler/):

uint32_t ...
(more)

14
views
no
votes
1
answer

## Using ESB and Serial together on nRF52 [closed]

Hi all,

I am using a nRF52-DK board to receive data from the USB port using Serial, and transmitting it using ESB to a second board. If I use either Serial or ESB individually, it works fine. I have a ... (more)

49
views
no
votes
1
answer

## nRF52 Central NRF_ERROR_SOFTDEVICE_NOT_ENABLED error from sd_ble_gattc_write function call without disconnect event on single-connection central side which is seen on peripheral side [closed]

I've got an nRF52 application which is based on the nRF OpenMesh https://github.com/NordicSemiconducto... but has been vastly customised. The application either acts as a mesh device and allows a single connection (peripheral device) or acts as ... (more)

74
views
3
votes
2
answers

## File location of event handlers [closed]

Hi all,

When using GCC and Eclipse with SDK 13.0.0 to program an nRF52832 with the Serial and ESB libraries, are there any limitations as to where you can put event handlers? Do they have to be in ... (more)

29
views
no
votes
1
answer

## NRF52 BLE applications not working with gcc

Hi All,

I am new to the nRF processors (but not new to embedded progarming). Trying to use the evaluation board with the examples on the SDK. After realizing the freeware Keil can't link most of the due to ... (more)

42
views
no
votes
1
answer

## arm-none-eabi-size prints larger bss size than it is according to *.map file

Hello

I came across interesting problem I couldn't find answer to.

In my project bss size printed by arm-none-eabi-size is larger than the value that can be calculated basing on *.map file. Using arm-gcc 4.9 2015q3 + NRF SDK10 ... (more)

128
views
1
vote
2
answers

## How to make sure that the Bootloader starts in DFU mode if a valid app is not present?

Hi,

I am trying to implement a Single Bank DFU over Bluetooth for my nRF51822 (256KB / 16KB RAM) using SDK v7.1 and Softdevice 110. I am using GCC to compile the bootloader and in order to switch from dual ... (more)

24
views
3
votes
1
answer

## JLinkRTTClient wont show all debug prints?

I am using NRF52DK and trying to debug an SPI transfer, using SEGGER_RTT.h to print. However, printing of the logs are not consistent. Some debug lines do no appear in the JLinkRTTClient.

I have put SEGGER_RTT_printf(0,"SPI Tranfer ... (more)

30
views
no
votes
no
answers

## Is the advertising module removed from docs?

I am programming a beacon, first I had some problems using sd_ble_gap_adv_start() so I changed to ble_advertising_start().

Now I have a problem when compiling:

_build/nrf52832_xxaa_main.c.o: In function advertising_start':
/Users/.../pca10040/s132/armgcc/../../../main.c:388: undefined reference ...
(more)

42
views
no
votes
no
answers

## Unresolved Errors in Build

Hello,

I have been struggling with Eclipse for a couple of days. I created the pwm_driver project via the File/New/Makefile with existing code option. After initializing the appropriate Build and Preprocessor properties along with manually entering the GNU ... (more)

38
views
3
votes
1
answer

## GPIO act incorrectly when building with GCC

Hi,

I connected 74CH595 shift registers to nRF52DK board. When I built and upload my code with Keil everything works just fine, but if I compliled it with GCC and upload with nrfjprog, the 74CH595 cannot act properly. I need ... (more)

44
views
no
votes
no
answers

## Stream data over nRF52 Example?

Hello, I would like to stream sensor data from the Bosch IMU sensor over BLE at a maximum rate. I can collect data over I2C from the sensor but would like to know if there is an example that I ... (more)

66
views
1
vote
1
answer

## BLE Central Server multiple Peripheral Clients

I need to have a Central device physically connected (via UART) to a sensor. Data is collected from the sensor and sent to a number of Peripheral devices which use the data to perform a task.

So far I have ... (more)

3k
views
1
vote
4
answers

## make: *** No rule to make target all'. in Eclipse

I am trying to get the ble_app_uart project to build in Eclipse for the PCA10036 nRF52 board. I have followed the Tutorial titled " Development with GCC and Eclipse" and successfully built the ble_app_hrs in both Eclipse and command line. Now ... (more)

40
views
1
vote
1
answer

## m_dfu_settings_buffer in ram with GCC 5.4.1?

Hello,

I'm trying to implement DFU support to our application on nRF52832. I got it working fine with SDK11 SD2.0, but now SDK12.2 SD3.0 is causing "gray hairs". I used the file "nrf_dfu_flash_buttonless.c" from examples ... (more)

30
views
no
votes
1
answer

## DFU-Implement. crashes after exec. of ble_dfu_init()

My problem: The run of my 1. DFU - Implementation delivers an error code after executing the line "err_code = ble_dfu_init(&m_dfus, &dfus_init);". For my opinion this is caused by reservice_uuid.type = 0. The parameter of my application are the following:

nRF52832 ... (more)

61
views
no
votes
no
answers

## Unable to fix all unresolved symbols in GCC Eclipse project using SDK v12.2.0

I have two questions with the remaining unresolved symbols being the most critical. I will decribed the situation I have encountered as a sequrence of chronological steps below:

1) I am using a GCC and Eclipse (Mars 2) development environment ... (more)

57
views
1
vote
1
answer

## QFAA H0 examples don't work

Hi. I've developed a custom board on an old E0 51422 chip with SDK 6.1 and SD110 7.3.0. Everything works fine with that setup (SPI, interrupts, timers, etc). Got new batch of chips of version H0 ... (more)

349
views
3
votes
1
answer

## Debugging with breakpoints: correct gcc flags [closed]

I'm building a software for the nrf5822 using pc10028. I'm using CMake and after following both http://morf.lv/modules.php?name=tutor... and https://devzone.nordicsemi.com/blogs/... I successfully made the debugger to work... except I ... (more)

987
views
6
votes
3
answers

## Using Clang and the S110 (issues with supervisor calls to the SoftDevice)

Hi everyone,

I've been experimenting compiling my project with Clang and have run into some issues with the supervisor calls and their wrapper in nrf_svc.h.

Without optimizations, the calls seem to work fine. See the following asm generated ... (more)

62
views
1
vote
1
answer

## Eclipse Managed Make Project for nRF52

I'm using nRF52 + SDK11.0.0 + s132 and following this tutorial and this blog to make a Managed Make project using the ble_hrs esample.

As I was going through the directory structure, I noticed that ble_app_hrs_gcc_nrf52.ld in the ... (more)

500
views
2
votes
2
answers

## Power-cycling reset vs JLink reset

We've developed a custom board based on the nRF51822-QFAA and an MPU-6050 IMU. It runs on a li-pol battery and uses S110.

I've encountered a strange problem when power-cycling the device (taking the battery out and putting it ... (more)

81
views
1
vote
1
answer

## Why need macros of NRF52_PAN_*?

I found lots of macros in Makefile like below,but I did not found they were used in C or assemble file. I am cleanup my Makefile to remove unused macros... so could I remove them?

NRF52_PAN_12 NRF52_PAN_15 NRF52_PAN_20 NRF52_PAN_30 ... (more)

51
views
1
vote
1
answer

## Upgrading a project from SDK8.1 to SDK 12.2

Hi!

I am in the process of upgrading a quite large project from SDK 8.1 to SDK 12.2. It uses the nRF52 DK, PCA10028. I still use the toolchain I stated with, including a Eclipse Kepler and GNU ... (more)

76
views
1
vote
1
answer

## Slow Wake-Up and Timer Start from Power Off

Hello,

I am trying to set the nRF52 to power off and wake up on a momentary button push (scope measures momentary push logic low around 50ms-100ms). However, I am struggling to have my debounce timer start up fast enough ... (more)

29
views
no
votes
1
answer

## Compile error while updating SDK

Hi,

While updating from the antique NRF51 SDK8.1.0 to the newer SDK 12.2.0, I came across a problem: Gcc crashed with: c:\users\elm\documents\nordic\nrf5_sdk_12.2.0_f012efa\components\device\nrf51.h:119:130: fatal ... (more)

77
views
no
votes
1
answer

## unresolved inclusions in Eclipse

I'm using nRF52 + SDK11.0.0 + s132. I'm following this tutorial. I am able to build from the command line and from Eclipse just successfully. However, Eclipse is unable to properly decode the include paths. It is properly ... (more)

#### Statistics

• Total users: 18499
• Latest user: Andre Goodman
• Resolved questions: 9208
• Unanswered questions: 2543
• Total questions: 21737

or sign up

## Recent blog posts

• ### FreeRTOS threads preview with J-Link, GDB/Eclipse

Posted 2017-04-11 11:49:17 by Radosław Koppel
• ### Taking a deeper dive into Bluetooth 5

Posted 2017-04-07 14:53:51 by John Leonard
• ### Logging enabled by default in SDK Bluetooth examples

Posted 2017-03-29 11:27:02 by Håvard
• ### Monitor Mode Debugging with J-Link and GDB/Eclipse

Posted 2017-03-29 05:56:12 by Daniel Veilleux
• ### Getting started with Nordic's Secure DFU bootloader, a step by step guide

Posted 2017-03-20 17:13:52 by Hung Bui

## Recent questions

• ### nRF52832 one of output (p0.15) lost its power

Posted 2017-04-28 12:07:25 by Damian
• ### mesh dfu serial translate update file . 15 min？ why so slowlly？

Posted 2017-04-28 12:03:43 by mr_sev
• ### Ram related issue / What are the best practices (armgcc, linker) > nRF51 16 kB vs 32 kB

Posted 2017-04-28 11:39:06 by trdop
• ### SoftDevice Update size

Posted 2017-04-28 11:30:48 by Mihail
• ### How to setup a complete BLE5 enviornment ?

Posted 2017-04-28 10:33:28 by allankliu