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

Problems with CLI example and Segger Embedded Studio

Hi, I'm working on a custom board based on the nRF52832. I'm developing on Win 8.1 using the latest version of SES and a J-Link Plus. SDK version 14.1. I've modifed the CLI example to run on my HW. My app doesn't interface with UART, only RTT. I'm having a terrible time interfacing with it, however. Segger opens a Debug Window by default. The output on this window is nearly perfect, but input is doubled up on the display, e.g. ccllii__ssttaattss. However, the command sent to the app is valid. I've tried opening a PuTTY connection, but that appears to be conflicting with the Debugger Window, even if I close the debugger window. J-Link Viewer works a little better, but is also conflicting with the Debug Window.

Has anyone had any success interfacing with the CLI over RTT using Segger Embedded Studio? I will appreciate any suggestions. Thanks.

Parents
  • Hi,

    It seems we have a small problem here with SES. You cannot use PuTTY because SES terminal will "steal" some characters sometimes... The same problem is with J-Link Viewer.

    So in this case you need to stick with SES Debug Terminal only.

    I found a way to avoid doubled characters unfortunately SES terminal does not interpret ASCII escape codes. As a result you will be not able to use following keys: arrows, tab, backspace and delete.

    nrf_cli.c

Reply
  • Hi,

    It seems we have a small problem here with SES. You cannot use PuTTY because SES terminal will "steal" some characters sometimes... The same problem is with J-Link Viewer.

    So in this case you need to stick with SES Debug Terminal only.

    I found a way to avoid doubled characters unfortunately SES terminal does not interpret ASCII escape codes. As a result you will be not able to use following keys: arrows, tab, backspace and delete.

    nrf_cli.c

Children
Related