Sort by » date activity ▼ answers views votes

# 281 questions

Tagged
• x
44
views
no
1

## 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

## 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
no

## 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
1

## 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
1

## 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
1

## 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
no

## 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
no

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
1

hi Nordic Team,

73
views
2
1

## 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
2

## 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

## 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

## 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
4

## 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

## 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
2

## 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
1

## 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
1

## 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
2

## 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
1

## 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
1

## 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

## 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
1

## 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
no

## 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
no

## 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
1

## 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
no

## 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

## 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

## 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

## 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

## Recent blog posts

• ### nRF52 Development with CLion

Posted 2017-06-22 09:50:54 by dansheme
• ### Simple GPIO driver example

Posted 2017-06-22 13:38:36 by Hans Elfberg
• ### What mom didn't tell you about ble_app_att_mtu_throughput on the nRF52840 evaluation board

Posted 2017-06-16 16:12:15 by George
• ### Introducing Nordic’s new software licensing schemes

Posted 2017-06-15 11:21:39 by Reidar Martin Svendsen
• ### Open source project for live monitoring and troubleshooting of IoT systems and networks (now supports nRF52832)

Posted 2017-06-13 15:20:07 by Yaniv Nis

## Recent questions

• ### Missing closing brace in SDK13.0.0

Posted 2017-06-22 17:45:31 by Vulpiculus
• ### Clarify is_conn_params_ok() function

Posted 2017-06-22 17:18:46 by aras
• ### Enabling DC/DC mode on the NRF BEACON

Posted 2017-06-22 16:20:58 by nugget
• ### How to config SAADC?

Posted 2017-06-22 16:11:44 by Leila
• ### S130 central disconnected immediately after connection to iOS peripheral

Posted 2017-06-22 15:42:49 by Adam Heinrich