RSS
Sort by » date activity ▼ answers views votes

217 questions

Tagged
  • x
11
views
no
votes
no
answers
Last activity 2018-01-21 17:03:50 +0200 by puff

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
answers
Last activity 2018-01-19 20:33:39 +0200 by chaonis

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
votes
no
answers
Last activity 2018-01-19 10:40:34 +0200 by Gordon

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
votes
no
answers
Last activity 2018-01-18 13:53:07 +0100 by Dusautois Jérôme

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
answer
Last activity 2018-01-18 02:16:58 +0200 by puff

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
votes
no
answers
Last activity 2018-01-17 20:09:19 +0200 by puff

err_code symbol not found error when debugging in segger?

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
votes
1
answer
Last activity 2018-01-17 19:55:29 +0100 by puff

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
answers
Last activity 2018-01-17 16:33:16 +0100 by floatcloud

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
answers
Last activity 2018-01-11 16:00:23 +0200 by vincent.golle

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
votes
no
answers
Last activity 2018-01-10 11:21:47 +0200 by puck

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
votes
1
answer
Last activity 2018-01-05 22:46:54 +0100 by endnode

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
votes
1
answer
Last activity 2018-01-05 15:22:50 +0200 by Joakim Jakobsen flag of Norway

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
votes
2
answers
Last activity 2017-12-30 11:28:51 +0100 by Arne

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
votes
1
answer
Last activity 2017-12-22 12:40:28 +0200 by shibshab

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
answer
Last activity 2017-12-21 12:44:50 +0200 by Petter Myhre flag of Norway

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
votes
1
answer
Last activity 2017-12-15 13:27:04 +0200 by Hung Bui

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
votes
1
answer
Last activity 2017-12-10 22:23:21 +0200 by RK flag of Singapore

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
votes
1
answer
Last activity 2017-12-06 13:38:45 +0100 by Ketil

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
votes
1
answer
Last activity 2017-11-27 11:40:07 +0100 by Bjørn Kvaale

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
answer
Last activity 2017-11-27 03:18:29 +0200 by Thomas

NRF52 doesn't start without debugger (Jlink) on GCC toolchain

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
votes
4
answers
Last activity 2017-11-16 11:27:27 +0200 by chaitz

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
votes
1
answer
Last activity 2017-11-15 11:12:59 +0200 by m.wagner

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
votes
no
answers
Last activity 2017-11-07 18:10:30 +0200 by Mik

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
votes
1
answer
Last activity 2017-10-24 15:23:35 +0200 by Hung Bui

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
answer
Last activity 2017-10-23 22:37:11 +0200 by zolotiyeruki

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
votes
3
answers
Last activity 2017-10-16 14:10:10 +0200 by Stian flag of Norway

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
votes
1
answer
Last activity 2017-10-11 03:46:58 +0200 by Hiro

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
votes
5
answers
Last activity 2017-10-10 19:11:20 +0200 by NewAce

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
votes
1
answer
Last activity 2017-09-24 19:04:33 +0200 by Aryan flag of Norway

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

Statistics

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

User menu

    or sign up

Recent questions