9 years, 3 months ago.

Using DEBUG out on NRF51 DK

Hello ,

I'm using NRF51 DK. I couldn't get any message from debug out .

Like, DEBUG("received %u bytes\n\r", bytesRead);

When I connect NRF51DK to USB, I found an serial device on Com23 ( Jlink DCD UART PORT )

I can open Tera Term connection ( 38400 and 8n1 ) but there is no received string on terminal.

I try both definition but nothing change.

  1. define NEED_CONSOLE_OUTPUT 0
  2. define NEED_CONSOLE_OUTPUT 1

is DEBUG using different port on NRF51 DK ( like Arduino expansion etc. )

Thanks

Question relating to:

use UART Service to loopback anything received on the TX characteristic onto the RX. BLE, nRF UART

1 Answer

9 years, 3 months ago.

Experience from nRF51822 mkit:

  • Default 9600,8N1, no flow control. There are commands to change this.
  • If load new hex file to platform then exit and restart tera term before pressing reset button on platform

Accepted Answer