<?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>Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36645/using-cli-and-log-over-rtt-simultaneously-with-sdk-15</link><description>Hi all, I&amp;#39;m using nrf52832 with SDK15 in my project. For debugging purposes I need both CLI and LOG modules enabled with RTT as a transport. I followed this manual to setup putty on P C ( infocenter.nordicsemi.com/.../lib_cli.html . LOG module alone works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Aug 2018 19:01:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36645/using-cli-and-log-over-rtt-simultaneously-with-sdk-15" /><item><title>RE: Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/thread/145183?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 19:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c91e06-14a3-4dff-b1d6-44ef75456d56</guid><dc:creator>jakub</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;New App Timer:&amp;nbsp; examples\peripheral\cli&lt;/p&gt;
&lt;p&gt;Old App Timer:&amp;nbsp;examples\peripheral\twi_master_with_twis_slave&amp;nbsp; (CLI with old APP timer is used in the example)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/thread/145076?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2018 09:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3091ad77-f88d-484e-8e16-8b4ad37129e2</guid><dc:creator>Valerii_Ie</dc:creator><description>&lt;p&gt;Hi Jakub, sorry for late reply. I looked on SDK15 files and it appeared that AppTimer 1 is used by default. AppTimer2 present in experimental subfolder. I tried to move to it by enabling&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SORTLIST_ENABLED 1
#define APP_TIMER_V2_RTC1_ENABLED 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, firmware hanged. I stoped trying to fix it.&amp;nbsp;&lt;br /&gt;As far as I know current App timer uses RTC1 too. Can you link me to an example using of different version of timer?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/thread/140982?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6286455-a612-4e72-91ba-320d1f526b97</guid><dc:creator>jakub</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes you are not able to step application and work with breakpoints. I apologize but I do not remember details regarding root cause. I kow it was related to the fact that App Timer v2 is using RTC instead of casual timer. When application hits a breakpoint there is some problem with synchronization.&lt;/p&gt;
&lt;p&gt;App Timer v1 sources are still available within SDK15. I think you need to only change source file of app timer in your project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/thread/140893?ContentTypeID=1</link><pubDate>Sat, 21 Jul 2018 20:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4a43bd-2e3d-4f79-8012-bbbff76bd5ee</guid><dc:creator>Valerii_Ie</dc:creator><description>&lt;p&gt;Thank you jakub, I will try this example on. About debugging, do you mean jtag step by step code execution and breakpoints? Can you link me to description what exect behaviour during debugging with app timer 2?to cange to app timer 1 I need just to set define or port piece of code fromprevious sdk version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using CLI and LOG over RTT simultaneously with SDK 15.</title><link>https://devzone.nordicsemi.com/thread/140883?ContentTypeID=1</link><pubDate>Sat, 21 Jul 2018 08:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9da0c773-0723-46cf-b851-96cb20b685af</guid><dc:creator>jakub</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please check peripheral CLI example. It has configured 3 backends at the same time: uart, USB and RTT. You will be able to use console and log over RTT.&lt;/p&gt;
&lt;p&gt;There is problem with debugging (stepping/traps) due to used version of app timer (v2).&lt;/p&gt;
&lt;p&gt;If you would like to use traps and stepping you need to change app timer to version 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>