RSS
Sort by » date activity ▼ answers views votes

23 questions

Tagged
  • x
35
views
no
votes
no
answers
Last activity 2017-11-18 03:10:34 +0200 by KaiserYamate

Show a big array using nrf_log module

I use Hercules software to show debug string . Now I want to show an array which have 3000 element. How can I do that?

33
views
1
vote
1
answer
Last activity 2017-11-08 15:16:39 +0100 by Jørgen Holmefjord flag of Norway

NRF_LOG_HEXDUMP_INFO Extra Characters

I'm trying to print a 20 byte array over uart before sending it on BLE. My array contains:

{0x34, 0x12, 0x00, 0xFF, 0x00, 0xFF, ..., 0x00, 0xFF}

However when I try to use the NRF_LOG_HEXDUMP_INFO function to print this it ... (more)

90
views
1
vote
1
answer
Last activity 2017-11-06 13:18:52 +0200 by Jørn flag of Norway

Problems with NRF_LOG or not full output in RTT Viewer.

Hi to everyone!

I have a problem with the NRF_LOG or with RTT Viewer. I wrote this simple code, just to test an output console.

int i = 0;

while (i< 100)
{
    NRF_LOG_INFO("%i", i);
    NRF_LOG_FLUSH();
    i++;
}

But, when I execute ... (more)

124
views
1
vote
1
answer
Last activity 2017-10-04 19:55:51 +0200 by Krzysztof Zaraska

JLink RTT Viewer Wont Log

Hello!

I am using the nRF52832 with nRF5_SDK 14.0.0. with a JLink connection. My OS is Ubuntu 16.04.

After placing NRF_LOG_INFO() statements around my code, connecting to the nRF52832_XXAA device with 'JLinkExe', and running 'JLinkRTTClient', only the ... (more)

102
views
no
votes
2
answers
Last activity 2017-10-03 00:41:57 +0200 by wael

Unable to get CLI to work on SDK 14 [closed]

Hello,

I'm in the process of updating our codebase to SDK 14 and am facing some problems getting the CLI to work. My goal is to get CLI and logging to output on the same UART channel.

Here's ... (more)

78
views
1
vote
1
answer
Last activity 2017-09-22 11:28:10 +0200 by Bjørn Spockeli flag of Norway

bootloader_secure_ble with NRF_LOG RTT

I am trying to debug a custom version of the bootloader_secure_ble example but am running into FLASH space issues. The bootloader app does not fit into FLASH with -Og optimization OR with NRF_LOG activated. I am using SDK14 and S132 ... (more)

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

158
views
1
vote
1
answer
Last activity 2017-08-25 05:12:02 +0200 by piepie

NRF_LOG_DEBUG() doesn't output in SDK14 [closed]

Hi, I am running the ble_app_uart example from nRF5_SDK_14.0.0_3bcc1f7, and found that NRF_LOG_DEBUG() doesn't cause any log output. Although I have set #define NRF_LOG_ENABLED 1 and #define NRF_LOG_DEFAULT_LEVEL 4. image description

However, it's OK in the ... (more)

156
views
2
votes
1
answer
Last activity 2017-08-17 20:27:21 +0200 by Stian flag of Norway

nRF_LOG UART draws ~300uA

Hello All,

I'm trying to get my application based on a nRF52832 to use as less power as possible and I've noticed that when the nRF_LOG UART is enabled it draws around 300 micro amps in SYSTEM ON ... (more)

171
views
no
votes
no
answers
Last activity 2017-08-17 12:39:53 +0200 by zed

NRF_LOG no debug log in SEGGER for BLE_SDK 12.3

I am using SEGGER Studio on MacOSx.

When use the latest mesh SDK, I can run the light_control example and see the debug log in the Debug Terminal of SEGGER Studio.

However, when I use BLE SDK 12.3, I ... (more)

67
views
no
votes
no
answers
Last activity 2017-08-17 12:37:33 +0200 by zed

Unable to see NRF_LOG BLE SDK 12.3 [closed]

I am using SEGGER Studio on MacOSx.

When use the latest mesh SDK, I can run the light_control example and see the debug log in the Debug Terminal of SEGGER Studio.

However, when I use BLE SDK 12.3, I ... (more)

257
views
no
votes
1
answer
Last activity 2017-08-15 11:25:56 +0100 by Jørgen Holmefjord flag of Norway

app_usbd log error in sdk14.0.0

In nRF5_SDK_14.0.0_3bcc1f7\components\libraries\usbd\app_usbd.c if APP_USBD_CONFIG_LOG_ENABLED is put at 1, the compilation fail. It is solved by adding NRF_LOG_MODULE_REGISTER(); after #include "nrf_log.h". I suspect that other files have the same error.

192
views
2
votes
1
answer
Last activity 2017-08-09 08:33:04 +0100 by Krzysztof Chruściński

SDK14 nrf_log vs UART vs printf

Hello

I wanted to ask what is the correct way to use NRF_LOG_* functions along with printf (with RETARGET_ENABLED 1) and normal UART initialized with standard:

const app_uart_comm_params_t comm_params =
{
    RX_PIN_NUMBER,
    TX_PIN_NUMBER,
    RTS_PIN_NUMBER,
    CTS_PIN_NUMBER,
    APP_UART_FLOW_CONTROL_ENABLED,
    false,
    UART_BAUDRATE_BAUDRATE_Baud115200
};

  APP_UART_FIFO_INIT(&comm_params,
                   UART_RX_BUF_SIZE,
                   UART_TX_BUF_SIZE ...
(more)

154
views
no
votes
2
answers
Last activity 2017-07-27 12:20:08 +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)

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

233
views
1
vote
1
answer
Last activity 2017-05-16 16:35:33 +0200 by Jørgen Holmefjord flag of Norway

Using CLI alongside NRF_LOG_INFO() [closed]

Hello,

I'm trying to set up an app that enables the command line interface (CLI) over UART as well as the logging.

This is the what the main looks like:

int main(void)
{
    ret_code_t err_code;

    // Initialize nRF clock driver ...
(more)

160
views
1
vote
2
answers
Last activity 2017-04-21 18:01:48 +0200 by endnode

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)

98
views
1
vote
1
answer
Last activity 2017-04-11 16:22:26 +0200 by jcormier

nrf52832 SDK12.2 NRF_LOG stops working after arm_rfft_q15

Have project setup to read values from ADC and then run fft_process. Then print them out over uart using NRF_LOG_* statements. However after we call the arm fft functions, the NRF_LOG functions stop printing. The debugger confirms that the program ... (more)

474
views
1
vote
1
answer
Last activity 2017-02-28 13:26:33 +0200 by schef flag of Croatia

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

573
views
no
votes
no
answers
Last activity 2016-11-25 14:42:48 +0200 by Javier flag of Spain

NRF_LOG_MODULE not works

Hi,

In SDK12_NRF52 custom project not work to me NRF_LOG_MODULE, I have this in main.c top:

#include <stdint.h>
#include <string.h>
#include "nordic_common.h"
#include "nrf.h"
#include "nrf_delay.h"
#include "app_error.h"
#include "ble_srv_common.h"
#include "ble ...
(more)

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

4k
views
6
votes
1
answer
Last activity 2016-10-11 14:26:02 +0200 by Kristin flag of Norway

Where can I see NRF_LOG output?

I am using nrf51 SDK v.12.1. And I found NRF_LOG_INFO("BLINKY START\n"); where can I find this log? Is this different from SEEGER_WriteString or something?

156
views
no
votes
1
answer
Last activity 2016-09-15 09:47:50 +0200 by Bjørn Spockeli flag of Norway

secure dfu does not link with NRF_LOG_ENABLED

I have secure dfu working on the pca 10040, and being able to download my own signed app.

However I want to turn NRF_LOG and at link time I get several messages of "._build\nrf52832_xxaa_s132.axf: Error: L6406E: No space ... (more)

Statistics

  • Total users: 25365
  • Latest user: Fermin Cooke
  • Resolved questions: 11015
  • Unanswered questions: 3696
  • Total questions: 27162