# 60 questions

Tagged
• x
23
views
no
1

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

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

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

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

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

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

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

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

## free RTOS with RTT view

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
1

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

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

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

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

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

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

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

## "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"?

534
views
2
2

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

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

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

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

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

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

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

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

## segger rtt tutorial

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

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

95
views
no
no

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

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

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

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

1k
views
9
1

## 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
• Total questions: 23733

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

• ### openocd configuration file nrf51.cfg not working

Posted 2017-07-22 18:40:18 by phob
• ### Problems with UART running ble_app_uart_c on nRF52832

Posted 2017-07-22 17:44:12 by kont40
• ### Wake-up source with nRF52 capacitive touch and current consumption

Posted 2017-07-22 17:35:46 by MANGO
• ### Different master instances for two slaves in nrf51422

Posted 2017-07-22 12:48:29 by Khan
• ### Receiving notifications from Android Phone

Posted 2017-07-22 12:29:52 by kian79