# 171 questions

Tagged
• x
33
views
no
2

## How to active DEBUG feature for SDK13, nRF52840 on IAR?

Hi.

I am using saadc sample cod of SDK13. Changing some parameters based on the analog input, the example is sucking somewhere where I have not been able to find it.

Searching for a solution, I wanted to use DEBUG ... (more)

9
views
no
no

## SPI slave read without debugger

I am using nRF52840 DK as a SPI slave with an external MCU configured as SPI master. The SPI clock frequency is set to 1 MHz. I am using the following pins for SPI:

P0.29 - SPIS_CS_PIN P0.28 - SPIS_MISO_PIN ... (more)

52
views
no
1

## nRF52840 PDK debugging with 1.8V periphery

Hi,

I have a nRF52840 Preview Development Kit. I studied your manual, but I didn't quite understand if this is possible or not?

• I would like to debug (therefore I need the interface MCU). So far so good.
• My ...
(more)

43
views
no
no

## Can't start/debug program from Eclipse

Hardware: nRF52 DK Example: ble_app_hrs I have a problem with starting program using debugger. I starts debugging session and starts program using resume button, breakpoints disabled. Application stops on address 0x8c8 and won't go ahead. Application works well without ... (more)

47
views
1
vote
1

## Debugging data from nrf51822 [closed]

Hello Everyone,

I am new to BLE world. Currently using MDBT40 which has nrf51822 as core: http://www.raytac.com/download/MDBT40...

I am following this repo:https://github.com/sandeepmistry/arduino-nRF5 in which nrf51822 can be programmed using arduino ... (more)

64
views
no
1

## Need help with RedBearLab BLE Board w/Nordic nRF51822

Hi, I am having some trouble in setting up the RedBearLab BLE board w/ nRF51822 that i recently bought for a project I am currently doing . I am using windows OS, with eclipse mars 2 for C++ developers and followed ... (more)

41
views
1
vote
1

## printing out debug statement

Is there an easier way to print out debugging statement that does not need an installation of a logging package in keil.

I am trying to place print statements within the code to debug the program. For an example, if ... (more)

99
views
2
1

## nrf52832 does not work well at power on

I download my program to PCA10040 DK board and the program will make the led1 blink two times. First I download program to flash and all work well.The led1 will blink two times and stop. But when the board ... (more)

96
views
no
1

## nrf52 P19 external programming

I really need your help regarding a problem. I developed my own pcb with nrf52 and verified it with your hw engineer. I just finished soldering and hooked it up with your Development kit via P19 to program it via ... (more)

81
views
1
vote
2

## nrf_log from debug port

Hi, I'm using nrf51dk board and nrf_log came out correctly on my RTT terminal with built in module. After that I use debug port (P20) to program to my custom module. I've vdd, gnd, swdio and swdclk connected ... (more)

57
views
no
1

## nRF52 SDK12.2 fails SOFTDEVICE_HANDLER_INIT when debugging

Trying to get the debugger working with Eclipse on SDK 12.2 using the nrf52832. Using the ble_app_hrs example, I can flash the application and the "Nordic HRM" device shows up on my phone. However if I try to debug ... (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)

120
views
no
1

## what kinds of flag Do I set, when I use sdk13 in keil-c debug mode

Hi I use nRF52832 and move my project to SDK13. I want to use debug mode in keil-c and try to find after ble_db_discovery_start function call why no csc_c_evt_handler_t call but I dont know why the MCU just reset himself ... (more)

110
views
no
1

## nrfjprog ---pinreset not working on nRF52

Hello! I am using a custom board that contains a nRF52832 device. The board has the SWDIO and SWDCK lines connected, which I have successfully been using to flash and debug the firmware.

However, I cannot seem to make the ... (more)

68
views
no
1

## Ozone debugger and sources [closed]

Hello,

I test new SDK 13 and i have a problem. I don't success to debug bootloader. When i open .out file into debugger, sources are not complete (main is missing) so i can just know actual code address ... (more)

136
views
1
vote
no

## Debugging a APP_ERROR_CHECK

I am working on a project using a BLE Nano and Nordic sdk 8.1. I included the ble_flash.c, ble_error_log.c, and ble_debug_assert_handler.c files in my include path and c source files. I also added -DDEBUG to the ... (more)

164
views
no
no

## How to solve eclipse debug issue

Hi, Since the moment I installed and configured eclipse following this tutorial: https://devzone.nordicsemi.com/tutori...

I was never able to successfully debug any of the programs.

one possible cause is that I never got eclipse to import the ... (more)

95
views
1
vote
no

## what’s difference between debug mode and release mode?

hi,

my device is nrf52832

i run my spi sd card driver fine in debug mode, but when i download it ( F8 ), it can not work!

so my question is what is the difference between debug mode and release mode ... (more)

94
views
no
2

## Flash and debug using eclipse and GNU

Hi,

I used the code ble_app_uart_c on board 10028 as a base for my custom board.

My board is nrf51822 QFAA based so I changed all occurances of nrf51422 to nrf51822 and xxac to xxaa on the makefile. I also ... (more)

928
views
8
2

## Debugging NRF51422?? How can i use err_code to debug my nrf51422??

I'm a beginner, the question might be simple but its really important for me. where does this error codes get store?? How to make use of err_code and whats the best way to debug my application?

614
views
3
1

## Debugging with breakpoints: correct gcc flags [closed]

I'm building a software for the nrf5822 using pc10028. I'm using CMake and after following both http://morf.lv/modules.php?name=tutor... and https://devzone.nordicsemi.com/blogs/... I successfully made the debugger to work... except I ... (more)

63
views
1
vote
1

## Eclipse CDT debug and NVIC registers

I'm using Eclipse CDT for debugging according to the tutorial on this site. I've installed the device pack and I do see the nRF52 peripherals in the debug view. However all the general ARM Cortex-M4 peripherals are missing ... (more)

143
views
no
1

## nrf51 wont run without debugger

Have an nrf51 board design that doesn't want to run without a debugger. When programmed, the debugger can run the board. When the debugger is removed, the board does not seem to run at all.

The SWDCLK line has ... (more)

203
views
no
1

## nRF52DK Debug In

Hi,

Where can I find more information on how to use the nRF52DK Debug In port?

Regards, Mikael

124
views
1
vote
1

## Where to specify the output file for the build on Embedded Studio

Where is the output Hex file for building the project on Segger Embedded Studio?

151
views
1
vote
1

## MQTT stops responding after fixed number of subscribe and publish

Hi everyone,

I was having RAM overflowed with stack issues which were resolved using suggestions here. Now I am facing another issue. While running mqtt I can only do a fixed number (15) of mqtt publish or subscribe requests and ... (more)

103
views
1
vote
1

## How do you setup Ozone to work with the nRF51DK?

Hello,

I have installed Ozone (V2.22g) on Kubuntu (16.10 64bit) and attached a nRF51DK via USB. I can successfully run a test program using nrfjprog with the following script:

# Commands to flash nRF51-DK using RF5x-Command-Line-Tools-Linux64
PATH=$PATH:/opt ... (more) 62 views no votes 1 answer ## Custom NRF51822 board issue while detecting I have a Custom Board made by using nrf51822 soc but pc is unable to detect the board by using Jlink debugger. Stlink was able to detect only when frequency selected as 20khz and by using openocd, it is not ... (more) 124 views 1 vote 2 answers ## SPI failure in case of modifications to unrelared code segment Hi everyone, I am using nrf52832 with SDK version 11.0 for an IoT application. I am communicating with Atmel ATWINC 1500 module through SPI in order to connect to Wifi. My code was working fine until I added few ... (more) 3k views 6 votes 3 answers ## Programming nRF52 with OpenOCD Hi, I have a BMD-300 (nRF52) module that I'm attempting to program with OpenOCD and an ST-link from Linux (it worked great for nRF51 so I was trying to keep the same tools). $OPENOCD/src/openocd -s \$OPENOCD/tcl ...
(more)

#### Statistics

• Total users: 22177
• Latest user: Merissa Faerber
• Resolved questions: 9658
• 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