<?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 use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22858/how-to-use-rtt-in-bootloader-project</link><description>Hi,I want to use RTT in bootloader project.
First,i add all files(SEGGER_RTT.c ,SEGGER_RTT_printf.c,RTT_Syscalls_KEIL.c) to my bootloader project(Picture 1).
Second,I add nrf_log.c to my bootloader project and define NRF_LOG_USES_RTT(Picture 2).
Then</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jul 2017 14:45:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22858/how-to-use-rtt-in-bootloader-project" /><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89870?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 14:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c657eff-0717-4cdf-8d9f-273d284a2a57</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;If you remove RTT from the app project, does it work in the Bootloader project ?&lt;/p&gt;
&lt;p&gt;If yes, see &lt;a href="https://devzone.nordicsemi.com/question/122629/rtt-logging-from-application-started-by-bootloader/"&gt;this post&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89871?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 08:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13dd7ef8-2776-4f5f-8187-61f61399e4bf</guid><dc:creator>alivexiaoluo</dc:creator><description>&lt;p&gt;SEGGER_RTT_printf() is not working in bootloader project,SEGGER_RTT_printf() works in app project. Only app project log information appears in RTT viewer window.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89869?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2017 08:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db4bce2-25a8-4ef9-8a75-546e40771106</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;code&gt;SEGGER_RTT_printf()&lt;/code&gt; is not working ? Have you tried the steps shown in the &lt;a href="https://devzone.nordicsemi.com/tutorials/6/"&gt;RTT tutorial&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89868?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 02:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2acbe2a3-8635-46ec-ab74-fdee2102476d</guid><dc:creator>alivexiaoluo</dc:creator><description>&lt;p&gt;Yes,I do not get the error any more. There is no sdk_config.h file in my bootloader project( or I can not find it?).
my bootloader project is transplanted from nRF5_SDK_11.0.0_89a8197 / examples/dfu/bootloader/pca10028/dual_bank_ble_s130/arm5_no_pack/dfu_dual_bank_ble_s130_pca10028.&lt;/p&gt;
&lt;p&gt;I have define NRF_LOG_USES_RTT in nrf_log.h and add NRF_LOG_USES_RTT  in Keil configuration window. What can i do for printf works,Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89867?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 10:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14486297-713d-401f-8442-344875a57fcb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You are no longer getting the &lt;code&gt;&amp;quot; Error: L6985E: Unable to automatically place AT section &amp;quot;&lt;/code&gt; ?&lt;/p&gt;
&lt;p&gt;For printing; do you have &lt;code&gt;#define NRF_LOG_ENABLED 1&lt;/code&gt; in &lt;code&gt;sdk_config.h&lt;/code&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89866?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 03:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b609dc6a-cdae-4747-a9c5-44061a8ada3f</guid><dc:creator>alivexiaoluo</dc:creator><description>&lt;p&gt;Thanks,Sigurd.I have already set the IROM1 Start:0x3A000 , IROM Size:0x5C00,and #define BOOTLOADER_REGION_START 0x0003A000. Build is OK,Download is OK,but I can not see my printfs in RTT View terminal. NRF_LOG_USES_RTT is defined.Do I miss something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use RTT in bootloader project</title><link>https://devzone.nordicsemi.com/thread/89865?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2017 12:30:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d25ac094-b2c0-4406-a8f1-7bf4dd27386b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will need to allocate more flash so the image can fit. Instructions on how to do that can be found in this thread &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/"&gt;here&lt;/a&gt;. You can first try to set the IROM settings to &lt;code&gt;IROM1 Start: 0x3A000; IROM Size: 0x5C00;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>