# 198 questions

Tagged
• x
100
views
5
4

## nRF52 software development tools for OSX

What are the most recent set of software tools that are known to work on OSX Sierra? Any pointers to a good IDE for debugging will be great. I understand there are many questions on the forum related to this ... (more)

39
views
no
1

## Flash and debug application with signed bootloader in IAR or how to flash Bootloader Settings before debugging

I have a project which needs to be built in IAR, but uses the signed bootloader. I understand, that if I want to flash and debug the application from within IAR, I need to also write the Bootloader Settings page ... (more)

37
views
no
no

## How to debug NFC APDUs

Hi, we have implemented the experimental_writeable_ndef_msg example from SDK12.2 with Nordic NRF52 on a custom board. Reading the NDEF Message works fine with smartphones (Android and IOS11 with Iphone 7). We have used NFC in previous Projects together with ... (more)

255
views
no
1

## nRF24: tracing with attached debugger

Hi,

We're using Nordic's nRF6310 motherboard with different modules, targeting the nRF24LU1+.

Using Keil we can easily attach a debugger and it was trivial to get tracing working over the UART.

What we're struggling to find is ... (more)

26
views
1
vote
1

## How to compile SDK13 examples for nrf52832

For the last few months, I've been building code and testing it on an nRF52840 PDK. Our production hardware, however, will use the nRF52832, and so I need to compile my code against a different target, and program it ... (more)

288
views
3
3

## Exit from debug mode

Hello,

I did some power measurement on the nrf52 DK with the Nordic profiler kit and the result was way more than what we could expect from a nrf52 (about 1 mA). Even in power off mode, it still needs ... (more)

77
views
no
1

## How to use 10040

Hello , ebery one Please let me have a question about PCA 10040.

When you connect a USB cable, it acts as a virtual drive and if you copy hex format (such as Hart rate monitor) by dragging and dropping to ... (more)

1k
views
5
5

## Is it safe to use USB dp/dm pins for SWD interface?

We are building a new version of a small device with the new nRF52832. Its only external connection is a micro USB plug that we use for charging - we do not need it as USB data interface. But would like ... (more)

1k
views
7
1

## application debug with softdevice

Hello,

After searching in forum, I understood that we cannot debug application with softdevice unless PRIMASK bit is set.

But in my application there is a requirement that to transmit data received from uart to connected devices using RADIO. If ... (more)

44
views
no
no

## Device crashes when debug flags are turned on

I am writing firmware for a BLE Nano device using the Nordic SDK 8.1. I was having problems where my device would suddenly stop printing to UART and stop trying to bond with ble peripherals also. It seems like ... (more)

194
views
1
vote
1

## NRF52 nrfjprog: ERROR: There is no debugger connected to the PC

------------ EDIT Sep-21-2017 ----------------

I was able to work around the issue by trying on a Linux distribution. Here is a written guide to the package install and board connect process on Ubuntu 16.04: Warning! the guide is written for a ... (more)

86
views
no
1

## NRF_BREAKPOINT causes hard fault with ARM-GCC

I'm building a project for the nRF52832 using the NRF5-SDK version 14.0.0. I'm compiling using GCC 6.3.1 (arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437 ... (more)

115
views
no
1

## Debugging problem using NRF_LOG

Hi,

I'm using NRF_LOG for debugging. SDK version is 12.3.0.

I want print error code, File name, Line number.

Error code is printed fine but, file name and line number are not.

Printed like this:

Code is ... (more)

195
views
no
1

## SEGGER RTT printf() problem

Hi, I have problem with using printf() in SEGGER RTT.

I've read tutorial and others about SEGGER RTT printf() problem, but they didn't work.

When I use printf() in RTT and compile I got error like this:

[._build ... (more)

1k
views
5
4

## Wireless Printf using BLE UART

We are developing a custom ble service and profile however having printf makes our lives that much easier so we are trying to incorporate it purely for testing purposes.

The idea is to send debug messages to an Android device ... (more)

246
views
1
vote
1

## (UART) Log Output Through Debug Out

Hi I have an external board featuring an nRF52832 connected to the nRF52DK via the Debug Out port on the DK and a 6 pin connector on the external board. I can program the external MCU just fine, but I ... (more)

116
views
1
vote
1

## Programming nrf51-DK with another nrf51-DK

I have two nrf51-DK's (say A and B).

A , nrfStudio doesn't detects it.
(Windows doesn't even shows USB port connection in device manager, so cannot try nrfjprog --recover)

B is working fine.

I was trying to reach ... (more)

54
views
1
vote
no

## NRF52 doesn't work after a few days

I'm getting a weird behaviour on my first NRF52 custom board. It's a BLE with HR, battery and a custom service. After programming I can test it properly with/without debugger and powered either by FTDI + Regulator or ... (more)

52
views
1
vote
1

## Debugging with nrf51 dongle

I'm trying to see debugging info with nrf51 dongle. As far as I can tell I just need to use:

#define NRF_LOG_MODULE_NAME "APP"
#include "nrf_log.h"
#include "nrf_log_ctrl.h"
#define ENABLE_DEBUG_LOG_SUPPORT 1


in setup and then the code:

ret_code_t ...
(more)

191
views
1
vote
1

## Call function from gdb at breakpoint? [closed]

Hi,

Is it possible to call an arbitrary function at a breakpoint in gdb on the nRF52? I know you can with normal gdb, but I haven't been able to make it work with the cross ARM version. Thanks ... (more)

73
views
no
3

## Why can't I debug SR3 v1.1 in MDK-ARM ?

Hi, I am porting my code from SR3 v1.0 to SR3 v1.1 now. I have a problem in debugging SR3 v1.1.

In SR3 v1.0, it's fine in MDK-ARM debug session. I can set break point ... (more)

47
views
1
vote
1

## Debug nrf52DK using linux as host?

Hi There, I am Using Linux as host platform I'm able to successfully compile and download the example to the nrf52dk. But I didn't understand how to debug the example on nrf52dk. I searched on forum but i ... (more)

83
views
1
vote
1

## improved softdevice debugging

I remember reading somewhere an article on how debugging with softdevice was going to be easier, with the debugger doing something along the lines of actually not stopping execution when hitting a breakpoint, but rather executing a loop in the ... (more)

40
views
2
1

Dear Nordic,

I have built a board using nRF51422, and I've just manage to populate it and start it up. I'm using a modified example (peripheral_lbs), and everything seems to work ok (leds and buttons), but the radio ... (more)

4k
views
4
4

## single step buttons disabled on Eclipse

I've setup Eclipse GCC tools for building and debugging as per the nAN-29 app note (and lot of online help) and able to build the code. However, the debugging is working only partially. When the debug is launched, it ... (more)

58
views
no
no

## Is P0.18 and P0.21 necessary to debug the nrf52832 if SWDIO and SWDCLK are connected?

Hello,

We are currently designing the hardware for a production run of our product using the nrf52832 chip and would still like to have debugging capabilities with breakpoints. Are the SWDIO and SWDCLK lines sufficient (along with gnd and vdd ... (more)

152
views
no
no

## nRF52 BLE debugging tutorial (e.g., using error logging macros)

Folks,

Have been using Keil MDK Lite in the past, in a Win VM. Larger code (over 32KB) plus the convenience of running without a VM layer have led me to switch to NetBeans/gcc/gdb directly on my MacBook ... (more)

27
views
1
vote
no

## Cannot Disable MEM_MNGR debug trace SDK 13.0

I have the Memory Manager module enabled in my custom sdk_config. Within the module, I have both of the following defined.

MEM_MANAGER_ENABLE_LOGS 0

ENABLE_DEBUG_LOG_SUPPORT 0

However, when the app runs, I get an unending stream of "Debug" level logs originating ... (more)

74
views
3
2

## NORIC eveloution board without debugger

Hello,

I want to use NORDIC nrf52 to perform some power consumption Analysis. Is there any eveloution board from NORDIC that don,t have debugger connected to it? I want to use an external debugger to configure the board and ... (more)

95
views
2
2

## nRF52832 debugging conections

Hello everyone,

I'm developing a new device using the nRF52832 but I have 2 questions before I send my PCB to manufacture, I hope you can help me out:

1. Is there any programmer for this IC manufactured by Nordic ...
(more)

#### Statistics

• Total users: 25335
• Latest user: Rose Finlay
• Resolved questions: 10977
• Total questions: 27077

## Recent blog posts

• ### Estudando Projetos do SDK 10 para nRF5x com Eclipse Oxygen (Portuguese)

Posted 2017-11-12 00:08:55 by Carlos Delfino
• ### Configurando o Eclipse Oxygen para Desenvolvimento com nRF5x (Portuguese)

Posted 2017-11-10 21:15:47 by Carlos Delfino
• ### How to use Git for embedded software development

Posted 2017-11-06 13:21:55 by Yaniv Nis
• ### Thingy:52 based Weather Station

Posted 2017-10-29 22:31:15 by Krzysztof Szewczyk
• ### How to build continuous integration and delivery process for embedded SW development

Posted 2017-10-03 11:01:29 by Yaniv Nis

## Recent questions

• ### Issues running imported Keil project in Segger Studio

Posted 2017-11-19 08:21:24 by Nick