RSS
Sort by » date activity ▼ answers views votes

269 questions

Tagged
  • x
33
views
1
vote
1
answer
Last activity 2017-04-26 13:16:51 +0200 by Jørgen Holmefjord flag of Norway

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
Last activity 2017-04-25 20:50:35 +0200 by Lisandro Damián Nicanor Pérez Meyer

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
Last activity 2017-04-25 17:34:24 +0200 by Jakob

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
Last activity 2017-04-21 14:43:48 +0200 by Sanjay Shreedharan

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
Last activity 2017-04-12 17:49:29 +0200 by Steve H

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
Last activity 2017-04-11 17:29:33 +0200 by jm_laird

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
Last activity 2017-04-11 14:37:17 +0200 by Radosław Koppel

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
Last activity 2017-04-06 09:35:21 +0200 by nirt11

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
Last activity 2017-04-05 11:38:13 +0200 by Jakub J.

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
Last activity 2017-04-04 11:38:29 +0200 by ashakya

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
Last activity 2017-04-04 08:38:21 +0200 by schef

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
Last activity 2017-04-03 20:52:54 +0200 by Carlos Villavicencio

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
Last activity 2017-03-31 12:15:31 +0200 by GaryD

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
Last activity 2017-03-30 15:00:14 +0200 by Radosław Koppel

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
Last activity 2017-03-29 16:56:50 +0200 by GaryD

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
Last activity 2017-03-10 11:48:09 +0200 by endnode

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
Last activity 2017-03-09 01:15:44 +0200 by Nguyen Hoan Hoang flag of Canada

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
Last activity 2017-03-02 15:57:06 +0200 by Vidar Berg

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
Last activity 2017-03-01 19:19:37 +0200 by Uwe

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
Last activity 2017-03-01 17:02:46 +0200 by RHTPaul

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
Last activity 2017-02-24 12:22:36 +0200 by stiebrs

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
Last activity 2017-02-21 15:52:57 +0200 by Sigurd flag of Norway

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
Last activity 2017-02-16 20:03:12 +0200 by Nikolaus Wittenstein

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
Last activity 2017-02-14 13:59:15 +0200 by butch

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
Last activity 2017-02-11 21:36:32 +0200 by Sanjay Shreedharan

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
Last activity 2017-02-11 05:47:05 +0200 by Roger Clark

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
Last activity 2017-02-09 17:28:37 +0200 by Elm

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
Last activity 2017-02-09 14:25:54 +0200 by Ole Bauck flag of Norway

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
Last activity 2017-02-08 13:02:36 +0200 by Stian flag of Norway

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
Last activity 2017-02-06 12:23:33 +0200 by Vidar Berg

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