<?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>Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47730/getting-rtt-logging-to-work-in-ses</link><description>I am using the Nordic SDK 15.3 for nrf52832 development board. I am using SES as my development environment but I am unable to get RTT logging to work. 
 I have enabled RTT in sdk_config.h, and as far as I can tell, that is the only thing that is required</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jun 2019 13:04:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47730/getting-rtt-logging-to-work-in-ses" /><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/193191?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 13:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce34d1f4-443b-4811-89a6-aeeee8382b6d</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/morerook"&gt;morerook&lt;/a&gt; Thank you very much. This solves my problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/189151?ContentTypeID=1</link><pubDate>Sun, 26 May 2019 16:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f607aaa-8dde-4a14-9228-2c4b3d2f6e86</guid><dc:creator>morerook</dc:creator><description>&lt;p&gt;I figured it out. I noticed I was getting new lines in the debug terminal and it was printing in RTT. Set:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&lt;code&gt;#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;in sdk_config.h, I noticed that if I used TWI_sensor it works, but in TWI_scanner it doesn&amp;#39;t work. Replacing the sdk_config in TWI_scanner from TWI_sensor fixed the issue.&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/189150?ContentTypeID=1</link><pubDate>Sun, 26 May 2019 16:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e11609f-f9d9-4ce0-930f-6d5a4c2084d5</guid><dc:creator>mzarling</dc:creator><description>&lt;p&gt;FYI, if I take sdk_config.h from version 15.2 &lt;span style="background-color:#ffffff;"&gt;ble_app_template_pca10040_s132&lt;/span&gt; project and use it in version 15.3&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;ble_app_template_pca10040_s132&lt;/span&gt; project, then RTT works. There is something in the new sdk_config.h in SDK version 15.3 causing RTT to not work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/189149?ContentTypeID=1</link><pubDate>Sun, 26 May 2019 16:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3a176e7-1fed-4479-980f-12047b0615bf</guid><dc:creator>mzarling</dc:creator><description>&lt;p&gt;I am having the same problem with SDK version 15.3 only. Both items mentioned above are set to 1 and it still doesn&amp;#39;t work. &lt;span style="background-color:#ffffff;"&gt;ble_app_template_pca10040_s132&lt;/span&gt; project in SDK version 15.2 works with RTT and the above enables.&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;ble_app_template_pca10040_s132&lt;/span&gt; project in SDK version 15.3 does not work with RTT and the above enables. I am hesitating to migrate my custom firmware to SDK 15.3 for this reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/189105?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 16:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4af0f94-c97b-469d-83e9-3e8a7332ffaf</guid><dc:creator>morerook</dc:creator><description>&lt;p&gt;Yes! Both are set to 1&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1558714940432v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1558714921821v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting RTT Logging to work in SES</title><link>https://devzone.nordicsemi.com/thread/189102?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 15:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b465df3b-0a54-4bf6-bc7a-511e0c1c006f</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you set&amp;nbsp;NRF_LOG_BACKEND_RTT_ENABLED in sdk_config.h to 1 ?&lt;/p&gt;
&lt;p&gt;And&amp;nbsp;NRF_LOG_ENABLED is also 1 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>