This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger terminal outputs infinite nonsense

Hi!

I am trying to get a basic  NRF_LOG_INFO("some text here"); to print text to a terminal in Segger Embedded Studio. I'm using Termite as the terminal and SDK 15.3.0. To print to the terminal works great with some examples but for the ble_app_uart example, and some others, the terminal just prints infinitely like in the picture below. Any idea why this is? I tried to erase the board completely to upload the code again, reset the terminal and so on.

Parents
  • UPDATE: I have figured this out.

    I was using the UART0 to connect to another microcontroller with pins 5,6,7,8 on nRF52840 DK. At the same time I was trying to use the terminal to print received data, which uses the UART0 with the USB as a virtual COM port (something like that). Therefore, once I disconnected the UART0 going to my other microcontroller, the terminal worked again. The solution for me will probably be to use UART1 for connecting to other microcontrollers.

    Thought I would post this as a solution to my own problem for others to see.

Reply
  • UPDATE: I have figured this out.

    I was using the UART0 to connect to another microcontroller with pins 5,6,7,8 on nRF52840 DK. At the same time I was trying to use the terminal to print received data, which uses the UART0 with the USB as a virtual COM port (something like that). Therefore, once I disconnected the UART0 going to my other microcontroller, the terminal worked again. The solution for me will probably be to use UART1 for connecting to other microcontrollers.

    Thought I would post this as a solution to my own problem for others to see.

Children
No Data
Related