<?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>RTT overflow??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33647/rtt-overflow</link><description>I&amp;#39;ve been instrumenting my Nordic app with RTT logging, which has been working great up until now. I use the deferred mode and use nrf_log_push() to queue all dynamic strings. These dynamic strings usually contain strings of hex numbers (e.g. &amp;quot;01 45 fe</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 May 2018 12:53:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33647/rtt-overflow" /><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/134186?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 12:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b6d3527-9c57-476a-b060-cef7259d9db1</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hex dump would probably look something like &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/26638/nrf_log_hexdump_info-extra-characters"&gt;this&lt;/a&gt;. I think only deferred logging is recommended.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/133725?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 05:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:703a1fdf-f941-47d2-826b-aca33f3b9cc2</guid><dc:creator>Jandyman</dc:creator><description>&lt;p&gt;Sorry for the delay. I was working on another deadline. I can&amp;#39;t find any real documentation on NRF_LOG_HEXDUMP_INFO. What does the output look like? If I want out like &amp;quot;Tx out: 0f 04 34 ...&amp;quot; do I do one NRF_LOG_INFO for &amp;quot;Tx out: &amp;quot; and follow it with a call to NRF_LOG_INFO? Does NRF_LOG_HEXDUMP_INFO work well with deferred processing?&lt;/p&gt;
&lt;p&gt;Also, I&amp;#39;ve been wondering whether I even need to used deferred log processing. My entire app runs at interrupt low priority, meaning that any important SoftDevice activity will preempt it. If I weren&amp;#39;t doing deferred processing I wouldn&amp;#39;t need to use NRF_LOG_PUSH&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/131500?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 12:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a562cda-cc7e-491a-979c-a23fe4762ac9</guid><dc:creator>Krzysztof Chruscinski</dc:creator><description>&lt;p&gt;If you are using NRF_LOG_PUSH to dump hex data then i would recommend to use HEXDUMP macros instead (e.g. NRF_LOG_HEXDUMP_INFO). It requires much less processing. Unfortunately, LOG_PUSH has limitations which are exposed when there is increased logger load and I would not recommend to use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/131396?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 16:46:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:272cc9de-9dbd-4b8c-bef1-ecbd2ad9a743</guid><dc:creator>Jandyman</dc:creator><description>&lt;p&gt;I&amp;#39;m using version 12.3.0, so that is not the problem. It&amp;#39;s not quite the same symptom either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/131177?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 10:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18cc6e43-1834-4f61-8ed0-e0ce2ec3051a</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Which version of SDK 12? if it&amp;#39;s pre 12.2 check &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16942/bugreport-unecessary-high-ram-usage-if-nrf_log_backend_serial_uses_rtt-is-set"&gt;this issue&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/131068?ContentTypeID=1</link><pubDate>Sat, 05 May 2018 02:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8895111a-2165-4baa-becc-859f5ebb1f4a</guid><dc:creator>Jandyman</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Setpoint-Starter.map"&gt;devzone.nordicsemi.com/.../Setpoint-Starter.map&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/131067?ContentTypeID=1</link><pubDate>Sat, 05 May 2018 02:43:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec527a5e-4c8c-499d-b23a-fe97788cb89d</guid><dc:creator>Jandyman</dc:creator><description>&lt;p&gt;Setting to 2048 doesn&amp;#39;t help at all, same symptoms. I can&amp;#39;t set to 4096 or I run out of RAM. I tried to figure out how to decrease the stack size to get 636 bytes but is wasn&amp;#39;t obvious how to do so. I&amp;#39;m using GNU tools and Eclipse. I&amp;#39;m using SDK12. Even with a sizeof 2048, RTT and logging are chewing up all my memory.&amp;nbsp;I&amp;#39;ll try to attach a map file, I&amp;#39;m not exactly sure how to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/130475?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 08:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1699abf9-82b6-4148-841b-80cc739d2812</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you try 2048 first and then 4096 if the first does not help?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/130443?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 07:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dc8cde0-a75c-47b8-9388-93db9bebc72b</guid><dc:creator>Jandyman</dc:creator><description>&lt;p&gt;I already increased them, as indicated in the original email. How much more should I increase them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/130431?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 06:33:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52350c69-2026-48df-b1e1-bf3ddc0cc180</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK are you using?&lt;/p&gt;
&lt;p&gt;Could you try to increase&amp;nbsp;&lt;span&gt;SEGGER_RTT_CONFIG_BUFFER_SIZE_UP and NRF_LOG_DEFERRED_BUFSIZE?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Ketil&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT overflow??</title><link>https://devzone.nordicsemi.com/thread/129341?ContentTypeID=1</link><pubDate>Mon, 23 Apr 2018 12:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96d6e9c-56fd-43a7-9ba2-4837a9732961</guid><dc:creator>ketil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking into your question. Will get back to you.&lt;/p&gt;
&lt;p&gt;Ketil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>