RSS
Sort by » date activity ▼ answers views votes

192 questions

Tagged
  • x
5
views
no
votes
no
answers
Last activity 2017-09-24 04:09:33 +0200 by tyler

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)

60
views
1
vote
1
answer
Last activity 2017-09-21 20:50:27 +0200 by zoltan

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)

31
views
no
votes
1
answer
Last activity 2017-09-20 11:08:13 +0200 by Bjørn Spockeli flag of Norway

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)

68
views
no
votes
1
answer
Last activity 2017-09-18 14:30:31 +0200 by Martin Børs-Lind flag of Norway

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:

image description

Code is ... (more)

95
views
no
votes
1
answer
Last activity 2017-09-05 12:22:33 +0200 by Petter Myhre flag of Norway

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
votes
4
answers
Last activity 2017-09-04 20:09:34 +0200 by flodis

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)

191
views
1
vote
1
answer
Last activity 2017-09-01 10:15:49 +0200 by endnode

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

113
views
1
vote
2
answers
Last activity 2017-08-24 11:45:01 +0200 by Jérémy Michaud

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)

53
views
1
vote
1
answer
Last activity 2017-08-18 10:54:13 +0200 by RohanKadam

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)

50
views
1
vote
no
answers
Last activity 2017-08-10 17:03:15 +0200 by Ricardo Nunes

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)

42
views
1
vote
1
answer
Last activity 2017-08-06 14:59:21 +0200 by Turbo J

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)

166
views
1
vote
1
answer
Last activity 2017-08-04 11:01:19 +0200 by Håkon Alseth

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)

65
views
no
votes
3
answers
Last activity 2017-08-01 09:43:06 +0200 by Ralph

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)

41
views
1
vote
1
answer
Last activity 2017-07-24 16:03:25 +0200 by endnode

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)

72
views
1
vote
1
answer
Last activity 2017-07-20 21:48:07 +0200 by leonwj

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)

38
views
2
votes
1
answer
Last activity 2017-07-20 15:43:15 +0200 by Adrian Lita

nRF51422 radio issues

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
votes
4
answers
Last activity 2017-07-20 02:04:22 +0200 by PydevDisabledDebug

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)

42
views
no
votes
no
answers
Last activity 2017-07-17 09:27:33 +0200 by Bhaskar

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)

107
views
no
votes
no
answers
Last activity 2017-07-12 08:07:45 +0200 by Mike Wirth

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)

20
views
1
vote
no
answers
Last activity 2017-07-11 03:32:27 +0200 by peacock

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)

71
views
3
votes
2
answers
Last activity 2017-07-10 18:46:41 +0200 by Mabbas

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)

59
views
2
votes
2
answers
Last activity 2017-07-05 23:15:46 +0200 by Nguyen Hoan Hoang flag of Canada

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)

79
views
no
votes
no
answers
Last activity 2017-07-05 21:44:14 +0200 by molly7

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)

66
views
no
votes
1
answer
Last activity 2017-06-27 11:16:02 +0200 by Kristin flag of Norway

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)

116
views
no
votes
2
answers
Last activity 2017-06-22 11:25:24 +0200 by Leila

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)

448
views
1
vote
1
answer
Last activity 2017-06-19 16:06:50 +0200 by Sigurd flag of Norway

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)

87
views
no
votes
1
answer
Last activity 2017-06-17 14:30:44 +0200 by Luk3

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)

87
views
1
vote
1
answer
Last activity 2017-06-15 21:54:40 +0200 by endnode

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)

83
views
no
votes
1
answer
Last activity 2017-06-02 11:02:36 +0200 by Hung Bui

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)

70
views
1
vote
1
answer
Last activity 2017-06-01 22:27:26 +0200 by John DeWitt flag of United States

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)

Statistics

  • Total users: 24451
  • Latest user: Layne Wallis
  • Resolved questions: 10451
  • Unanswered questions: 3309
  • Total questions: 25466

User menu

    or sign up

Recent questions