<?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>SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30671/spis-nrf-log-enabling-problem</link><description>I&amp;#39;m trying to print received data on my com port but when I set the &amp;quot;NRF_LOG_ENABLED&amp;quot; as 1 the error below shows up. 
 
 What does it mean?? How would I know what files to include. I then though I could use &amp;quot;printf()&amp;quot; command to do the same but it shows</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Mar 2018 05:21:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30671/spis-nrf-log-enabling-problem" /><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/122926?ContentTypeID=1</link><pubDate>Tue, 06 Mar 2018 05:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdd1e950-9762-4d79-9350-ad99f5756af6</guid><dc:creator>Ozil 11</dc:creator><description>&lt;p&gt;Yes, thank you. I can see the logs in teraterm of &amp;quot;ble_app_uart&amp;quot;. I will use this as reference and modify my SPIS example of the sdk&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/122814?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 12:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81cbbb10-8162-4929-b5ec-ca09636f6907</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Have you tried a standard unmodified example (like&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_2_2_22" rel="noopener noreferrer" target="_blank"&gt;ble_app_uart&lt;/a&gt;&lt;span&gt;&amp;quot;)&lt;/span&gt; and see if you can read out logs at all on teraterm?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/122036?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2018 05:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:248e3efc-7360-4b2f-a5ea-f5724544bfe6</guid><dc:creator>Ozil 11</dc:creator><description>&lt;p&gt;I did it and still nothing. I&amp;#39;m using teraterm. (checked the settings as well and selected the proper baudrate)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/121773?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2018 10:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fecfb9e3-5143-4019-8fbf-2b8b5c80153c</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;span&gt;You must also enable the log in&amp;nbsp;&lt;/span&gt;&lt;code&gt;sdk_config.h&lt;/code&gt;&lt;span&gt;. Make sure that you have&amp;nbsp;&lt;/span&gt;&lt;code&gt;NRF_LOG_ENABLED 1&lt;/code&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;code&gt;NRF_LOG_BACKEND_SERIAL_USES_UART 1.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To view or write data over the Virtual COM Port, you need a terminal program, such as Termite. You can download Termite&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.compuphase.com/software_termite.htm"&gt;here&lt;/a&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;Remember to select the correct settings in Termite&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/121346?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 08:34:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62d997e6-4860-424d-84a5-8963b7ff5289</guid><dc:creator>Ozil 11</dc:creator><description>&lt;p&gt;Hey Martin,&lt;/p&gt;
&lt;p&gt;Thanks, there is no error now. I&amp;#39;m using the SPIS code from SDK14.2 . I wanted to see the received data on my com port, but I couldnt even after enabling the Nrf_Log_Enable in the sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/121345?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 08:32:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b232ec4-0aba-4a56-aab5-b48d263e954b</guid><dc:creator>Ozil 11</dc:creator><description>&lt;p&gt;I forgot to mention that im using SPIS from the SDK14.2 and trying to print the received data on my screen. In the code there is part where it shows the received data :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;NRF_LOG_INFO(&amp;quot; Transfer completed. Received: %s&amp;quot;,(uint32_t)m_rx_buf);&lt;/p&gt;
&lt;p&gt;But it doesn&amp;#39;t show anything on my com port.&lt;/p&gt;
&lt;p&gt;Thanks Martin, I added those files and there is no error now but I still couldn&amp;#39;t see anything on my com port . I haven&amp;#39;t made any changes in SPIS examples just added nrf_log_default_backends.c and Enabled Nrf_log in the sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/121341?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 07:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c6d9a19-0f0f-4d60-9290-0242b54fe6c1</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hello Mesut,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;What example or template project are you using as starting point?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I assume that you have read the documentation behind the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fnrf_log.html&amp;amp;cp=4_0_0_3_25" rel="noopener noreferrer" target="_blank"&gt;Logger module&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;I would recommend you to take a look at the &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.2.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_0_0_4_2_2_22" rel="noopener noreferrer" target="_blank"&gt;ble_app_uart&lt;/a&gt;&amp;quot; example found in: [&lt;span&gt;&amp;lt;&lt;em&gt;SDK_InstallFolder&amp;gt;\examples\ble_peripheral\ble_app_uart&amp;nbsp;&lt;/em&gt;].&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note the files included in the nRF_Log folder and compare your sdk_config.h file to see if you are missing something. I suggest you use the template&amp;nbsp;&amp;quot;sdk_config.h&amp;quot; found in:&amp;nbsp;&amp;nbsp;[&amp;lt;&lt;em&gt;SDK_InstallFolder&amp;gt;\config\].&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS Nrf log enabling problem</title><link>https://devzone.nordicsemi.com/thread/121340?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 07:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc7e5ff3-56af-44e5-8b6f-0362a50c41dd</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not entirely sure what is going on, but you will get similar errors if you have forgotten to include&amp;nbsp;&lt;em&gt;nrf_log_default_backends.c&lt;/em&gt; in your projects.&lt;/p&gt;
&lt;p&gt;Here are all the log files that are included in the HRS example. Make sure all these are included:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c7cc26e4bb97461385e75bf34260c2cb/logfiles.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>