RSS
Sort by » date activity ▼ answers views votes

281 questions

Tagged
  • x
44
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)

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

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

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

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

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

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

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

Simultaneous scan/advertisement S130 stack problem

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)

96
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Statistics

  • Total users: 22177
  • Latest user: Lamar Bown
  • Resolved questions: 9658
  • Unanswered questions: 2796
  • Total questions: 23035