Hi Lm Chew,
Please try using JLinkExe + Telnet. It works well with this setup.
Connect to localhost:19021. For better experience switch to character
mode in telnet.
For some reason the JLinkRTTClient doesn't work. I will look into
that. For now just use telnet.
Also, you should not change values in packages syscfgs directly. They
are the default values. You should add new values in syscfg.vals
section in your app's syscfg to override the default values.
To make the console over RTT work you just need to add these two lines
to your app's syscfg file:
syscfg.vals:
CONSOLE_UART: 0
CONSOLE_RTT: 1
Hope that helps.
Best regards,
Michał
2017-04-27 16:53 GMT-07:00 Lm Chew <[email protected]>:
> Hi,
>
>
> Currently i am using JLinkExe + JLinkRTTClient on ubuntu terminal.
>
>
> I can receive the data log from the mynewt device, but i can't seem to send
> any command to it (eg. the echo <message>).
>
>
> I have the following syscfg.yml setting in sys/console/full
>
>
> CONSOLE_RTT:
> description: 'Set console output to RTT'
> value: 1
> CONSOLE_INPUT:
> description: 'Enable console input'
> value: 1
> CONSOLE_TICKS:
> description: 'Print OS Ticks'
> value: 1
> CONSOLE_ECHO:
> description: 'Default console echo'
> value: 0
>
>
> Best Regards,
>
> Chew