<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37685/how-to-setup-and-run-cli-sample-project</link><description>Hi, I am using nRF52840-DK; Window 10; Embedded Studio and try to run sample project: C:\Nordic_Semi\nRF5_SDK_15.0.0_a53641a\examples\peripheral\cli\pca10056\blank\ses 
 I can build and start run, but when I entry &amp;quot;Tab&amp;quot; key from Debug window; there is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Aug 2018 11:57:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37685/how-to-setup-and-run-cli-sample-project" /><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145302?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 11:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb1a68fc-6876-4960-8370-85d36a26e930</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;I agree with you. We will update CLI documentation in comming SDK release.&lt;/p&gt;
&lt;p&gt;This basically concerns only projects using CLI with RTT backend, so far only 1 example in our SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145289?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 11:19:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c4330ab-6042-490f-aaf1-f34b386e4850</guid><dc:creator>awneil</dc:creator><description>[quote userid="18697" url="~/f/nordic-q-a/37685/how-to-setup-and-run-cli-sample-project/145284"]SES project is generated for most of examples [/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But there are specific consideration for the CLI project (and, presumably, and other projects which use the CLI).&lt;/p&gt;
&lt;p&gt;This is what needs to be specifically highlighted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145284?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 11:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b07c7b5-a1d8-4133-a92c-7cec4f617ca9</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I believe that SES project is generated for most of examples so it is not CLI exclusively.&lt;/p&gt;
&lt;p&gt;Hint about deactivating&amp;nbsp;&amp;nbsp;RTT in SES is already in the documentation. We will think how to make more visible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145278?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 10:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2109a097-9b24-4487-9914-818678cfe625</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Since you provide an SES project specifically for this example, I think it&amp;#39;s not unreasonable to expect that people will try to use SES Terminal.&lt;br /&gt;&lt;br /&gt;Therefore you need to make these limitations explicitly clear in the example documentation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145273?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 10:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b9574d9-07af-45be-8eb2-7c4fcf11a98a</guid><dc:creator>Jakub Rzeszutko</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Tab will not work in&amp;nbsp;SES Debug Terminal as it does not interpret ASCII escape codes. You need to use other terminal like PuTTY (prefered).&lt;/p&gt;
&lt;p&gt;If you would like to stay with SES Segger Debug Terminal and do not observe doubled echo please execute command:&lt;/p&gt;
&lt;p&gt;`cli echo off` -&amp;gt; this only applies for SES Debug Terminal, do not use this command with PuTTY because you will not see an input.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;However, please do not use Segger Debug Terminal&lt;/strong&gt;. To properly use CLI example you need to:&lt;/p&gt;
&lt;p&gt;1. Close SES Debug Terminal&lt;strong&gt; and&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;switch off RTT in SES&lt;/strong&gt;&amp;nbsp;(Project&amp;nbsp;&lt;span&gt;settings-&amp;gt;Debug-&amp;gt;Debugger-&amp;gt;RTT Enable-&amp;gt; Set to *No*). This is important to switch off RTT&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Start RTT session with JLink.exe&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Run Terminal like PuTTY &lt;strong&gt;and configure it according to the documentation&amp;nbsp;&lt;/strong&gt;(configuration is also important to have all buttons working as expected)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_cli.html?cp=4_0_0_3_10_2#lib_cli_terminal_settings"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_cli.html?cp=4_0_0_3_10_2#lib_cli_terminal_settings&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(Please read carefully and apart from general settings apply RTT specific settings)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to setup and run Cli Sample project?</title><link>https://devzone.nordicsemi.com/thread/145190?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 22:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74c291e5-823d-46cc-9d16-eed96beb1f4b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Doubling-up of characters like that usually means that the application is echoing what you type, &lt;em&gt;&lt;strong&gt;and&lt;/strong&gt; &lt;/em&gt;you have local echo enabled on the terminal.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>