# 179 questions

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

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

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

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

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

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

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

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

45
views
no
1

## Serial port only works when debugging

Custom app running on a nRF52 devboard. Serial port runs when I use the debugger and continues after I exit the debugger, but does not run from a cold start.

using the Nordic UART FIFO code. NRF_LOG_USES_UART=1 and DEBUG ... (more)

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

311
views
1
vote
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)

62
views
no
1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

953
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?

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

#### Statistics

• Total users: 23046
• Latest user: Jina Calhoun
• Resolved questions: 9858
• Total questions: 23748

## Recent blog posts

• ### Introducing nRF5 SDK for Mesh

Posted 2017-07-20 09:42:44 by Pär H

Posted 2017-07-19 06:53:42 by Mohammad Afaneh
• ### Unique Thread/Bluetooth multiprotocol solution with nRF5 SDK for Thread and nRF52840 SoC by Nordic

Posted 2017-07-14 10:31:56 by Krzysztof Loska
• ### nRF Connect macros (currently Android only)

Posted 2017-07-14 13:29:14 by Aleksander Nowakowski
• ### Power Optimization — From 3 to 7 Months on a Single Charge

Posted 2017-07-10 14:34:39 by Yaniv Nis

## Recent questions

• ### Purchase CBD Oil From Hemp For Health Impovement

Posted 2017-07-23 19:59:11 by Jina Calhoun
• ### I am in the nrf52-DK board, download S332 SoftDevice v2.0.0 and SDK12.3 in the experimental_ant_bootloader routine, can not enter the DFU mode. How can I operate to enter the Bluetooth DFU state？

Posted 2017-07-23 18:12:06 by bugg
• ### Does "nRF5 SDK for Mesh Alpha 0.9.1" support nRF52840-PDK?

Posted 2017-07-23 16:58:14 by Tao