<?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>is there a limit to how many lines printk supports</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110394/is-there-a-limit-to-how-many-lines-printk-supports</link><description>I am using nrfconnectsdk v2.4.0 with zephyr and I have a program with a large number of printk() statements. 
 is there anything in prj.conf that limits the amount of text I can print out to RTT 
 i use jlink to view the RTT output. 
 i have a custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Apr 2024 07:41:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110394/is-there-a-limit-to-how-many-lines-printk-supports" /><item><title>RE: is there a limit to how many lines printk supports</title><link>https://devzone.nordicsemi.com/thread/479868?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 07:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:354b5693-a657-48da-85d7-268d4b4d2a19</guid><dc:creator>weightwatcherphil</dc:creator><description>&lt;p&gt;thanks .&amp;nbsp; i made mine&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=1228&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also changed the code to&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;printk&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;calling system off in one second&lt;/span&gt;&lt;span&gt;\n&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;k_sleep&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;K_MSEC&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;1000&lt;/span&gt;&lt;span&gt;));&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;//nrf goes to system off &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;nrf_regulators_system_off&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;NRF_REGULATORS&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and i can see all of my printk() now.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;you may close this ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there a limit to how many lines printk supports</title><link>https://devzone.nordicsemi.com/thread/479850?ContentTypeID=1</link><pubDate>Mon, 22 Apr 2024 05:51:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a5f7ff2-4ee9-470a-b119-9fecb7bd1da3</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Check out&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_SEGGER_RTT_BUFFER_SIZE_UP"&gt;CONFIG_SEGGER_RTT_BUFFER_SIZE_UP&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there a limit to how many lines printk supports</title><link>https://devzone.nordicsemi.com/thread/479787?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 21:21:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee88fd1a-29dc-44c7-b97a-33f820bbc439</guid><dc:creator>weightwatcherphil</dc:creator><description>&lt;p&gt;what controls the size of the RTT buffers in prj.conf ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is there a limit to how many lines printk supports</title><link>https://devzone.nordicsemi.com/thread/479655?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2024 09:48:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0324b6c-c495-472e-9088-ff6299195eea</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;RTT silently drops messages if the RTT buffers are full - especially on startup. One ms is not enough time to clear this buffer via USB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>