# 217 questions

Tagged
• x
11
views
no
no

## How to fix UART behavior in segger?

Still playing with my app. Since RTT (or whatever it was, when printf was printing info to segger debug console) was ruining the debug process, I just switched off RTT and disabled uart module. But now I need some way ... (more)

8
views
1
vote
no

## Power Profiler Kit PPK with DK RTT debug out not working.

Current latest JLink firmware won't allow PPK working with DK RTT debugging.

The cause is the JLink chip on the DUT board won't put the SH_SWO/SH_SWCLK/SH_SWDIO in hi-Z mode when SH_VTG is grounded, which prevents the ... (more)

10
views
no
no

## Setting watchpoint on nRF52832DK with GDB

Hi,

I've recently come across a problem where in some cases my device's memory gets trashed.

Ideally I'd be able to set a watchpoint on a memory location so that I could see what the offending code ... (more)

27
views
no
no

## USBD don't work with debugger

Hi,

I try sample code usbd with PCA 10056 and it work. On my custom board, same sample work fine too. But when I plug jtag, and try to debug my code, usbd can't be enabled. The nrf_drv_usbd_enable function ... (more)

19
views
1
vote
1

## softdevice fault handler, id=1, pc=0x104fa, s130 v2, 51822

Is that called from SD space or APP space? SES project file attached. nrf5-ble-tutorial-characteristic-CompletedCode.zip

42
views
no
no

When debugging a project from here https://devzone.nordicsemi.com/tutori... (the ready code from github) Segger Embedded Studio shows err_code sybol not found message in Watch winow, when I try to debug gap_params_init(), however, in other calls before it ... (more)

83
views
2
1

## How is it possible that my app doesn't start unless I start a debug?

I am playing with example app from this tutorial https://devzone.nordicsemi.com/tutori... I can see the app only when I start debugging. If I just power up my custom board, it doesn't show the app in my ... (more)

31
views
1
vote
no

## Chip freezes in normal operation, but no problem when debugging

Hi all,

I recently encounter this strange issue that I couldn't understand. My code works perfectly fine during debugging on all 52832 chips, but freezes without response from time to time on some of the chips if run without ... (more)

159
views
1
vote
2

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

50
views
no
no

## nrf52 disable debug by reset with eeprom locked

Hello,

I have a PCB with a NRF52 powered by batteries. We need to be able to plug the batteries, then program the device and never remove the batteries. We noticed, that currently, we have a consumption of about 1 ... (more)

57
views
no
1

## nrf52832 debug mode

Hi, I am using nrf52832_xxaa with SDK v11.0.I have the requirement to disable the debug at the start of the program.(Also to enable it if required in the future).

I use the following code at the start ... (more)

36
views
no
1

## Debug NRF52832 + SoftDevice S132 undo Keil v5

Dear experts,

I'm a new user of NRF52 technology and I use:

• Keil µVision v5
• NRF52832 (PCA10040)
• Keil software pack 8.15 from Nordic Semi
• debugger Cyclone FX from PEMicro

Can you help me please for the following questions ... (more)

77
views
no
2

## nrf52832 not working outside debugger.

Hi

I have a wired situation in my project. Everything is working fine when I am running my heart-rate device with the debugger. When I detach the debugger or just power-cycle the device behaviour becomes wired. The device still advertise ... (more)

20
views
no
1

## debug app with softdevice

I try debug my app in keil debugger but it's often raised <error> app: SOFTDEVICE: ASSERTION FAILED in SEGGER after step down through the code (in few steps). My app based on buttonless_dfu app from SDK14.2 nrf52832 I ... (more)

181
views
1
vote
1

## nRF52832 debug

Hi, I have a similar requirement as stated in this question.

I am using nrf52832_xxaa with SDK v11.0. I have the following queries

a. Can external debugger modify CTRL-AP - Control Access Port?

b. What happens when I reset my ... (more)

67
views
no
1

## How to completely turn off debugging and logging

I am using the ble_peripheral template that comes in Nordic SDK 8.1. I setup uart logging and also debugging with the following lines of code:

void assert_nrf_callback(uint16_t line_num, const uint8_t * p_file_name)
{
#define DEAD_BEEF                       0xDEADBEEF                                  /**< Value used as error ...
(more)

38
views
2
1

## Programming a chip externally using nRF51-DK

Is it possible to program the Atmel SAM D20E chip (based on an ARM-M0 cortex processor) externally using the P19 debug out header on the nRF51-DK?

Thanks.

276
views
no
1

## NRF_LOG_INFO ERROR

Hello, I am unable to use the command NRF_LOG_INFO for printing debug statements. Compiler is throwing the following error . Error: L6218E: Undefined symbol NRF_LOG_INFO (referred from main.o).

What might be the issue?

27
views
no
1

## Linux nRF24LU1+ SDCC debugging?

Product: nRF24Lu1+

If I use the nRFGo and the nRF24LU1+ Development kit, must I use the Keil tools to be able to access the debugging port? I develop in linux and use the SDCC toolchain.

If I need to debug ... (more)

141
views
1
vote
1

Okay this got us going around in circles and it looks stupidly simple. It seems there is a knowledge gap since we saw many posts similar to ours but without clarity as of what to do in practice.

-- Problem statement ... (more)

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

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

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

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

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

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

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

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

#### Statistics

• Total users: 26301
• Latest user: Star Brune
• Resolved questions: 11537
• Total questions: 28684

## Recent blog posts

• ### Difference between nRF52840 Engineering A and B reference designs

Posted 2018-01-15 12:27:08 by Martin Børs-Lind
• ### [For Hire] Expert development services of custom Hardware devices | IoT solutions | Mobile Apps

Posted 2018-01-15 09:08:42 by Ilya Surinsky
• ### Rust bindings to nrf52 series

Posted 2018-01-12 23:23:07 by Coleman McFarland
• ### Show And Tell: Poly - Building an RC Airplane The Hard Way

Posted 2018-01-05 01:17:57 by Daniel Veilleux
• ### Bluetooth on a desktop computer (Windows, Mac, Linux)

Posted 2018-01-04 17:56:57 by kbaud

## Recent questions

• ### PCA10056 USB CDC Demo, no polling

Posted 2018-01-22 00:37:51 by tmloos
• ### nRF9E5 driven by vco clock

Posted 2018-01-22 00:09:11 by drollinger
• ### Converting incoming messages to Unicode.

Posted 2018-01-21 23:40:29 by Rajeev
• ### Setting ANT search waveform to fast causes BLE disconnects

Posted 2018-01-21 18:38:15 by dlip
• ### nrf51 SPI + PPI + TIMER

Posted 2018-01-21 18:06:14 by gxy