RSS
Sort by » date activity ▼ answers views votes

60 questions

Tagged
  • x
23
views
no
votes
1
answer
Last activity 2017-07-21 16:28:04 +0200 by saiteja

How to print out the time stamp in nRF log [closed]

Currently developing on NRF52 sdk12

I want to be able to show time stamp minutes:seconds:miliseconds on my RTT viewer, when I print my data out from the uC. Any hits on how to do that?

I'm looking ... (more)

45
views
no
votes
1
answer
Last activity 2017-07-21 13:29:41 +0200 by Hung Bui

How to add timestamp in RTT viewer using NRF log module

Currently developing on NRF52 sdk12 with a terminal

In my source code i have nrf_log_init(null), and this allows me to print stuff to the RTT viewer.

Now I want to be able to show time stamp minutes:seconds:miliseconds ... (more)

38
views
no
votes
1
answer
Last activity 2017-07-17 16:11:58 +0200 by ble999

RTT & RTT disable sdk 12/13 nRF52832/nRF52840

Dear all,

Help please, I'm evaluating ble_app_uart (Central/Peripheral) but I don't understand how to disable the echo I have on the RTT USB VCP

When I send data from the UART, I got (PCA10056/10040) the data ... (more)

49
views
2
votes
1
answer
Last activity 2017-07-08 14:25:37 +0200 by Turbo J

Jlink RTT Viewer not detecting Target Device Automatically

Hi,

I installed the latest version of Jlink 6.16f. I connected my nrf52-dk and on opening the RTT viewer, I always need to specify the target device manually instead of it being detected automatically. I am also attaching a ... (more)

32
views
no
votes
no
answers
Last activity 2017-06-30 17:30:36 +0200 by Steve H

RTT Viewer colours

Hi all,

I am finding that the RTT Viewer is very unreliable at changing colour when sent commands from two different nRF52-DK boards. The text is coming out correctly, but the colours only change intermittently. I've tried dropping the ... (more)

18
views
no
votes
no
answers
Last activity 2017-06-29 09:35:13 +0200 by Jørgen Holmefjord flag of Norway

Error: L6200E: Symbol SEGGER_RTT_WaitKey multiply defined (by segger_rtt_1.o and segger_rtt.o).

Hi,

I followed the RTT tutorial but When I try to BUILD the project I got this error. What is it?

Error: L6200E: Symbol SEGGER_RTT_WaitKey multiply defined (by segger_rtt_1.o and segger_rtt.o).
Error: L6200E: Symbol SEGGER_RTT_WriteString multiply defined (by ...
(more)

46
views
no
votes
no
answers
Last activity 2017-06-19 12:07:41 +0200 by satheesh

could not connect with RTT

hi team,

i have tried to connect my device with RTT. i could not connect. i just followed the instruction as below link

https://devzone.nordicsemi.com/tutori...

if i insert the function( SEGGER_RTT_WriteString(0, "Hello World!\n"); ) in main ... (more)

51
views
no
votes
2
answers
Last activity 2017-06-16 14:30:49 +0200 by Sigurd flag of Norway

How to use RTT in bootloader project

Hi,I want to use RTT in bootloader project. First,i add all files(SEGGER_RTT.c ,SEGGER_RTT_printf.c,RTT_Syscalls_KEIL.c) to my bootloader project(Picture 1). Second,I add nrf_log.c to my bootloader project and define NRF_LOG_USES_RTT(Picture 2 ... (more)

24
views
no
votes
no
answers
Last activity 2017-05-10 07:44:23 +0200 by Nash.Hsu

free RTOS with RTT view

Example project: blinky_FreeRTOS_pca10028.uvprojx I include SEGGER_RTT.h file. After execute vTaskStartScheduler() function.

SEGGER_RTT_printf(0, "Hello World from SEGGER! %d\r\n", i); <== It not working.

But before execute vTaskStartScheduler() function. SEGGER_RTT_printf(0, "Hello World from SEGGER! %d\r\n ... (more)

74
views
no
votes
1
answer
Last activity 2017-03-28 07:21:37 +0200 by zkshen

NRF_LOG_INF didn't show in RTT

I use SDK12.2, and I have enabled NRF_LOG_BACKEND_SERIAL_USES_RTT and NRF_LOG_ENABLED. But there was nothing show in J-link RTT and don't know why.

134
views
no
votes
3
answers
Last activity 2017-03-27 14:43:17 +0200 by Jacob

RTT logging from application started by bootloader

Hello, Is it possible to get logs (RTT) from an application started by a bootloader? As of now I don't get anything after the bootloader has jumped to the application start address.

If I run the application separately it ... (more)

273
views
1
vote
1
answer
Last activity 2017-02-28 13:26:33 +0200 by schef

SEGGER_RTT works but NRF_LOG not

Hi, can you help me out please: I have followed https://devzone.nordicsemi.com/questi... and have configured as it shows.

But NRF_LOG_INFO does not work however SEGGER_RTT_printf does. What should i do? Thanks

306
views
2
votes
2
answers
Last activity 2017-02-24 12:01:35 +0200 by AmiguelS

Connect to multiple Segger J-Link debuggers

Hello!

I need to interact with two J-Link debuggers, connected to the same PC at the same time. I would then read and write data to the devices connected to the debuggers.

To send/receive the data, I was thinking ... (more)

75
views
1
vote
1
answer
Last activity 2017-02-21 10:36:48 +0200 by Sigurd flag of Norway

What are the right memory mapping for nrf52 & SEGGER Embedded Studiov3?

HEllo,

I am trying to compile for the nrf52 one of the examples that are included in its SDK12.2, to be precies, I am using experimental_ble_app_blinky_pca10040_s132, I have been able to compile it with KEIL but now I would ... (more)

189
views
5
votes
1
answer
Last activity 2017-02-13 15:32:17 +0200 by SEGGER - Johannes

SEGGER RTT printf not printing all the lines.

I want to read whole flash memory using for loop and see how long it takes. What i have noticed is that it does not print all the lines. On the other side i ask myself: Does it read all ... (more)

360
views
no
votes
no
answers
Last activity 2017-01-29 08:40:54 +0200 by Jan L

How to print float values using SEGGER RTT

Hi, My question is similar to this https://devzone.nordicsemi.com/questi... but I can't get it to work.

I am using SEGGER_RTT_WriteString and sprintf for debugging, but I am not able to print a float value such as ... (more)

254
views
1
vote
1
answer
Last activity 2017-01-19 15:22:47 +0200 by Jørgen Holmefjord flag of Norway

"SEGGER_RTT_CONFIG" problem

Hey! I was trying to modify s132 ble_beacon example to s140 for my nRF52840 DK but I couldn't build it in Segger Embeded Studio. What is the problem with "SEGGER_RTT_CONFIG"?

image description

534
views
2
votes
2
answers
Last activity 2016-12-23 11:59:42 +0200 by Tomi

debugging over RTT in linux

Hello, I want to test using RTT for logging since I am using UART for send/receive packets. I made following changes in sdk_config.h:

#ifndef NRF_LOG_ENABLED
#define NRF_LOG_ENABLED 1 // previously 0
#endif

after I call make default, i have ... (more)

1k
views
no
votes
no
answers
Last activity 2016-12-10 02:20:00 +0200 by forevers

FreeRTOS with RTT

I am building the ble_app_hrs_freertos example code for a pca10040 dev board located in the SDK 12.2 at: nRF5_SDK_12.1.0_0d23e2a/examples/ble_peripheral/ble_app_hrs_freertos

I have the following 2 RTT macros define:

Makefile - NRF_LOG_USES_RTT=1 sdk_config.h - NRF_LOG_BACKEND_SERIAL_USES_RTT 1 ... (more)

119
views
1
vote
2
answers
Last activity 2016-11-22 14:55:28 +0200 by Sigurd flag of Norway

Color in RTT Viewer

I want to highlight some items in RTT Viewer So I tried the color control, but didn't work This is my code.

SEGGER_RTT_printf(0, "%s[Mutex error:%u]\n%s", RTT_CTRL_BG_BRIGHT_RED, status, RTT_CTRL_RESET);

But I got the control string ... (more)

165
views
1
vote
1
answer
Last activity 2016-11-22 12:51:54 +0200 by Bjørn Spockeli flag of Norway

Can I debug BMD300 through SWD interface

Hi developers,

I am trying to collect data from an AFE (ADS1298) and could get some values. Inorder to check the accuracy I need to plot this value. I am programming this external board using PCA10040 nRF 52DK. I did ... (more)

823
views
2
votes
no
answers
Last activity 2016-10-26 22:36:36 +0200 by Tom

nrf52832 SDK12 RTT Logger Module Issue

I'm having an issue getting strings to print properly using the RTT and the logging module. Literal strings seem to work fine. I.E. the following works perfectly:

NRF_LOG_INFO("Test\r\n");

I want to use non-literal strings. For ... (more)

189
views
no
votes
no
answers
Last activity 2016-10-21 22:16:33 +0200 by Kevin Kessler

UART and RTT

I have a NRF51 talking through the UART to another uC, and I'm trying to log messages through Segger RTT. Everything works normally until I start to send some data through the UART, and then RTT stops working, although ... (more)

738
views
1
vote
1
answer
Last activity 2016-10-14 11:18:27 +0200 by Jørgen Holmefjord flag of Norway

Undefined reference to SEGGER_RTT_printf

I am trying to use SEGGER_RTT_printf with SDK12 in eclipse.

I have added the appropriate lines to the makefile and SEGGER_RTT_WriteString works fine.

My Makefile lines:

SRC_FILES += \
  $(SDK_ROOT)/external/segger_rtt/RTT_Syscalls_GCC.c \
  $(SDK_ROOT)/external/segger_rtt/SEGGER_RTT.c \
  $(SDK_ROOT)/external/segger_rtt ...
(more)

206
views
2
votes
1
answer
Last activity 2016-10-03 20:15:31 +0200 by Pablo

I need to print the RSSI level in RTT but i couldn't do. Somebody can help me?

I try to print the RSSI level but i couldn't do. I use nRF51 DK and soft device S130.

This is the line that i just write:

SEGGER_RTT_printf("RSSI: %d\n",p_gap_evt->params.rssi);

270
views
1
vote
2
answers
Last activity 2016-09-13 16:08:56 +0200 by Stas

segger rtt tutorial

follow the tutorial I'm stuck in the step of removing "retarget" I don't have such option

image description

I have this one. Should I just remove retarget.c directly via context menu in project explorer?

image description

95
views
no
votes
no
answers
Last activity 2016-08-23 11:57:51 +0200 by sosse

RTT viewer 5.12f

I connected with RTT Viewer 5.12f with nrf51 DK board. while I donwload firmware to the board, I got bunch of error message from RTT viewer..and it stop..sometime the download finished, but it took lot of time ... (more)

390
views
2
votes
no
answers
Last activity 2016-07-21 06:40:14 +0200 by arsalanjun flag of Pakistan

Error: L6200E: Symbol SEGGER_RTT

Hi,

I am trying to attempt the RTT tutorial and I am not able to complete the first task.

I have included the SEGGER_RTT.h deader file, copied RTT and Syscalls folders to the right place and also added the ... (more)

947
views
no
votes
1
answer
Last activity 2016-07-12 04:34:08 +0200 by ruthertw

How should I correctly compile origial "nRF_Segger_RTT"?

Hi all,

I followed the tutorial listed below: https://devzone.nordicsemi.com/tutori...

I want to use SEGGER_RTT_printf but I always get this error: Error: L6218E: Undefined symbol SEGGER_RTT_printf (referred from main.o).

image description

However, a senior enginneer at the office ... (more)

1k
views
9
votes
1
answer
Last activity 2016-06-15 14:15:51 +0200 by Terje Schjelderup flag of Norway

How to use RTT Viewer (or similar) on GNU/Linux?

It is pretty straight-forward to use J-Link RTT Viewer on Windows (as described in the Debugging with Real Time Terminal tutorial). Is there a similar viewer to use with GNU/Linux?

Statistics

  • Total users: 23041
  • Latest user: Latisha Sorrell
  • Resolved questions: 9858
  • Unanswered questions: 2926
  • Total questions: 23733