<?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>Log Message disabled/missing while Kiel debugging secure DFU project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34446/log-message-disabled-missing-while-kiel-debugging-secure-dfu-project</link><description>Hi 
 
 I am trying to see log messages on the kiel debugger window or in the virtual com port window but nothing is not displayed. printf also are not displayed, nrf logs also disabled because turn on the main log flag cause link problem (no space in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 May 2018 07:16:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34446/log-message-disabled-missing-while-kiel-debugging-secure-dfu-project" /><item><title>RE: Log Message disabled/missing while Kiel debugging secure DFU project</title><link>https://devzone.nordicsemi.com/thread/132644?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 07:16:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6d69b50-967b-476a-b6e2-c20a9f76e353</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;How much free flash and RAM do you have before you include logging? You will increase the size of SDK modules if logging is enabled (globally) and for each specific module. Could you try to disable logging for each SDK module in sdk_config.h and set a higher log level and see if you can make it fit that way? You can disable logging from all SDK modules and only use it for your application to conserve as much space as possible.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Log Message disabled/missing while Kiel debugging secure DFU project</title><link>https://devzone.nordicsemi.com/thread/132600?ContentTypeID=1</link><pubDate>Mon, 21 May 2018 15:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb65f0d-5399-4201-89e2-c54b21a396e8</guid><dc:creator>shay</dc:creator><description>&lt;p&gt;any update please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Log Message disabled/missing while Kiel debugging secure DFU project</title><link>https://devzone.nordicsemi.com/thread/132493?ContentTypeID=1</link><pubDate>Fri, 18 May 2018 11:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7fa0821-d95a-422e-8cb1-0343ee9d31a3</guid><dc:creator>shay</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for your reply&lt;/p&gt;
&lt;p&gt;I am trying to use the nrf-log module but when enabling it there is space problem error in link process&lt;/p&gt;
&lt;p&gt;I used&amp;nbsp;NRF_LOG_BUFSIZE = 128 and no success. error is:&lt;/p&gt;
&lt;p&gt;.\_build\nrf52832_xxaa_s112.axf: Error: L6406E: No space in execution regions with .ANY selector matching pb_decode.o(i.pb_dec_submessage).&lt;/p&gt;
&lt;p&gt;my project is on bootloader dfu .&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Log Message disabled/missing while Kiel debugging secure DFU project</title><link>https://devzone.nordicsemi.com/thread/132468?ContentTypeID=1</link><pubDate>Fri, 18 May 2018 08:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97a5f71d-78aa-4724-a635-5d26483312bc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I recommend you to use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_nrf_log.html?cp=4_0_0_3_26"&gt;Logger module&lt;/a&gt; (NRF_LOG) which is part of the SDK. This is enabled by default for most SDK examples with the UART backend. You can view the logs in any serial terminal emulator, for example PuTTY. You can also enable the RTT backend and view the logs in J-Link RTT Viewer.&lt;/p&gt;
&lt;p&gt;It is not clear to me what is wrong with the Logger module in your case. &amp;quot;No space in execution regions&amp;quot; indicate that something in your application is using a lot of memory so you cannot fit the logger module for some reason. The Logger module itself should not normally require a lot of memory unless you have set large buffer sizes (&lt;code&gt;NRF_LOG_BACKEND_UART_TEMP_BUFFER_SIZE&lt;/code&gt; or&amp;nbsp;&lt;code&gt;NRF_LOG_BUFSIZE&lt;/code&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>