RSS
Sort by » date activity ▼ answers views votes

287 questions

Tagged
  • x
26
views
no
votes
1
answer
Last activity 2017-07-23 00:11:57 +0200 by Roger Clark

Target name in Makefile pca10028 for nrf51822

Hi, I am using nrf51822 module and sdk v12.2.0. I was compiling code under ubuntu. I observed that pca10028 is configured for nrf51422_xxac target. But i want to use nrf51822. I check some document but i didn't ... (more)

32
views
no
votes
no
answers
Last activity 2017-07-21 05:45:50 +0200 by kte608

Where can I find a simple example project with nrf52, s132, and segger debugging? [closed]

Preferrably under linux using gcc and the command prompt.

I am most interested in project setup, loading the soft device, and making sure all the core systems are working.

If possible, the example should be with the latest SDK (12 ... (more)

36
views
1
vote
1
answer
Last activity 2017-07-06 07:28:48 +0200 by Ladasky

SDK 12.3.0, Linux, cannot find arm-none-eabi-gcc

I have been setting up systems to develop nRF52 code for the better part of two years. Maybe I am getting forgetful in my old age, but I can't seem to get it working this time around.

My OS ... (more)

46
views
no
votes
no
answers
Last activity 2017-07-03 10:58:22 +0200 by Linxi

Fail to build NRF52 examples use GCC

Dear Nordic: I want to build project only using command line tools. So I refer link text to study solution. I do step by step according to the tutorial .But when I use "make all " to build my projectl, it ... (more)

239
views
no
votes
1
answer
Last activity 2017-07-03 08:24:56 +0200 by Linxi

Unable to build (make) from Windows command prompt (nRF52DK)

I am following Tutorial 7 on "Development with GCC and Eclipse" and I am working in the Windows 8.1. I have followed instructions from the tutorial for installing the arm-none-eabi toolchain and the SDK files, so I am at ... (more)

32
views
no
votes
no
answers
Last activity 2017-07-03 01:13:06 +0200 by nar0909

nRF51822 QFAA s110 to s130 softdevice upgrade using B.M probe?

Hi Nordic and fellow developers, I have been working on upgrading the nRF51822 QFAA s110 and upgrading the softdevice to work as s130 for its (simultaneous Central/Peripheral/Broadcaster/Observer) advantages. The client wants the s130 for a project and ... (more)

63
views
no
votes
2
answers
Last activity 2017-06-28 14:04:06 +0200 by hammerfet

Reading back uninitialised variable after soft reset nRF52 GCC

I'm trying to set a global variable in RAM as uninitialised so it can be read back after a soft reset condition:

uint32_t data __attribute__((section("NoInit"), zero_init));

Results in:

warning: 'zero_init' attribute directive ignored [-Wattributes]

Of course it ... (more)

248
views
2
votes
1
answer
Last activity 2017-06-23 00:31:21 +0200 by sanjose007

Linker stage fails with missing reference to _start

Hey I am trying to create a blinky project from scratch on System: MAC OSX Eclipse Neon GCC 4.9

I am trying have it eclipse managed make.

I am at a point when after the compilation during the linking ... (more)

53
views
no
votes
1
answer
Last activity 2017-06-12 18:58:01 +0200 by Luk3

Compiling SDK 12.3.0 with gcc problem

I have a problem with compiling the blinky example from SDK 12.3.0. I have installed latest arm gcc cross compiler, version 6.3.1. Make command works but on compiling file system_nrf52.c it stucks. System memory usage ... (more)

39
views
1
vote
1
answer
Last activity 2017-06-11 11:50:36 +0200 by Abhishek Satish

How to decide which source files to include in the Makefile? [closed]

I'm looking for an answer as to how to know the source files that I need to mention in the Makefile if I'm writing my program from scratch. Are there some bare essentials? If so where can I ... (more)

28
views
no
votes
no
answers
Last activity 2017-06-10 07:03:07 +0200 by Petr Beklemishev

Using semihosting with sdk11?

How to enable semihosting in sdk11 examples?

This works, but I can't port it to examples/periferal/template_project :(

changes:

pca10028/armgcc/Makefile:

  • adding line LDFLAGS += --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group
  • removing -lc ...
(more)

43
views
no
votes
1
answer
Last activity 2017-06-09 15:31:55 +0200 by Bjørn Spockeli flag of Norway

How to start an Ecplipse GCC project from scratch? [closed]

The question has been answered before, but the answer references a document called nAN-29 at this link: http://www.nordicsemi.com/eng/nordic/.... Which doesn't seem to be working. I really need to know how to start from a ... (more)

73
views
2
votes
1
answer
Last activity 2017-06-07 16:42:26 +0200 by Marcus

DFU Bootloader without NRF_LOG/UART

Greetings,

I'm having some trouble using the secure DFU bootloader and buttonless DFU service in my application. The code for both of these has been taken from their respective examples in the 13.0.0 SDK. Our application code ... (more)

69
views
no
votes
1
answer
Last activity 2017-06-06 10:18:34 +0200 by Bjørn Spockeli flag of Norway

Trimming an nRF52 BLE HID app to fit in 32KB Keil code size limit?

Folks,

Attempting to use a sample app from the 13.0.0 SDK for a pointing (mouse) device I'm prototyping, located at ...\nRF5_SDK_13.0.0_04a0bfd\examples\ble_peripheral\ble_app_hids_mouse

Loader says the code weighs in at 39KB. Sigh... Looks like ... (more)

61
views
no
votes
no
answers
Last activity 2017-06-05 11:30:48 +0200 by tk

How to start RTX application built by gcc successfully?

Hi. I’m developing software on nRF51822 with SoftDevice s130-v2.0.1 and SDK v12.3.

I want to apply RTX to the software. In the case of building it using arm-gcc, the software stops before reaching main(). I set ... (more)

30
views
no
votes
no
answers
Last activity 2017-05-30 09:40:45 +0200 by Niklas Wigertz Danielsson

Simultaneous scan/advertisement S130 stack problem [closed]

Hello! I have a problem when scanning and advertising at the same time with a NRF51822 and S130 v.2.0.0. (SDK11).

I can start both scanning and advertising without any problem and they seem to work fine, but ... (more)

119
views
-2
votes
1
answer
Last activity 2017-05-18 14:02:05 +0200 by Bjørn Spockeli flag of Norway

create eclipse gcc no build

hi Nordic Team,

我這邊遇到一個問題,我建一個project將現有的CODE都放進去後build時都是正常的,但是沒有build出來的HEX檔案,這邊我該如何解決呢?? 我使用的是nRF52832的PCA10040 V1.1.0 EVB

image description

89
views
2
votes
1
answer
Last activity 2017-05-15 11:09:30 +0200 by Bjørn Spockeli flag of Norway

Trying to add custom service UUID to adv_uuids

I have been following BLE Services, a beginner's tutorial to add a service to my ble_app_template project. But tutorial was written for SDK 11 and I'm using SDK 12 (s130 & pca10028 kit).

It's compiling and flashing fine ... (more)

108
views
2
votes
2
answers
Last activity 2017-05-15 10:02:52 +0200 by Vidar Berg

SDK 12.3.0 blinky example GCCARM on nrf51822

Hello,

Two years ago I develop a board with a nrf51822. Right now I'm trying to use the same board again. I installed the new SDK 12.3.0, GCC ARM, nrf command line tools and JLink to setup ... (more)

178
views
1
vote
2
answers
Last activity 2017-05-07 12:42:41 +0200 by Fredrik

Trouble with buttonless DFU - bootloader settings crc fails

Hi guys. I am struggling to get buttonless DFU to work in my owm application. I am using SDK12.2 with gcc on a pca10040 board with S132.

I have successfully followed this tutorial to get the buttonless DFU example ... (more)

60
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
4
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)

113
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)

280
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)

26
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)

81
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)

84
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)

74
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)

80
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)

181
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)

Statistics

  • Total users: 23046
  • Latest user: Jina Calhoun
  • Resolved questions: 9858
  • Unanswered questions: 2938
  • Total questions: 23748