<?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>SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24771/segger-rtt-printf-problem</link><description>Hi, I have problem with using printf() in SEGGER RTT. 
 I&amp;#39;ve read tutorial and others about SEGGER RTT printf() problem, but they didn&amp;#39;t work. 
 When I use printf() in RTT and compile I got error like this: 
 [._build\nrf51422_xxac.axf: Error: L6218E</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Sep 2017 09:17:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24771/segger-rtt-printf-problem" /><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97550?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 09:17:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad428f7-c157-40a0-9f37-fb5531391550</guid><dc:creator>DragonAnger</dc:creator><description>&lt;p&gt;Sorry for my late answer. I looked your project and it works! I keep tried to use SEGGER_RTT_printf() but you used NRF_LOG_INFO(). I don&amp;#39;t know what the difference is between them but It works anyway. I really appreciate your help. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97546?ContentTypeID=1</link><pubDate>Tue, 05 Sep 2017 10:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e3340a7-4fe4-4690-8fd2-837f861064b6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I just took the unmodified ble_app_uart example from SDK 12.3.0 and I only modified NRF_LOG_BACKEND_SERIAL_USES_RTT. It compiles without any problem. Some other changes are required though. You need to disable logging with uart, include a couple of files in main.c and enabled the logging module. I have attached my project if you want to have a look.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_uart_5F00_RTT.zip"&gt;Here&lt;/a&gt; is the project. Should be unzipped into examples\ble_peripheral&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97547?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2017 00:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f777fa4-e2cf-4158-8ebd-b591ef812849</guid><dc:creator>DragonAnger</dc:creator><description>&lt;p&gt;I&amp;#39;m using ble_app_uart. And I tested other example that I didn&amp;#39;t modified anything, I got same problem. Is there other way to see error code? I cannot use usb.&lt;/p&gt;
&lt;p&gt;Thank you for your answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97549?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 11:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f668c2a9-2c32-48d8-aa01-80f06af2af10</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;So which example are you using? Have you modified it any way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97548?ContentTypeID=1</link><pubDate>Thu, 31 Aug 2017 01:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59d7b094-1126-478c-90b0-a1c373214098</guid><dc:creator>DragonAnger</dc:creator><description>&lt;p&gt;Yes, I use SDK 12.3.0 and I didn&amp;#39;t know about NRF_LOG_BACKEND_SERIAL_USES_RTT.&lt;/p&gt;
&lt;p&gt;So I tried that but I got same error message.&lt;/p&gt;
&lt;p&gt;Anyway, Thank you for your answer!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SEGGER RTT printf() problem</title><link>https://devzone.nordicsemi.com/thread/97545?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 15:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ffbbfe-d2a0-4f49-bb80-f3e5c83e4b08</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you see the first sentence in the tutorial:&lt;/p&gt;
&lt;p&gt;In SDK 12.0.0 or later, logging/debugging over RTT is built in to the logger module NRF_LOG. To enable logging over RTT, &amp;quot;check&amp;quot; the NRF_LOG_BACKEND_SERIAL_USES_RTT option in sdk_config.h in the configuration wizard.&lt;/p&gt;
&lt;p&gt;It seems you are using SDK 12.3.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>