<?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>NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58342/nrf_log_hexdump_debug-not-showing-data</link><description>Hi, 
 
 I am tring to display some information using NRF_LOG_HEXDUMP_DEBUG(). However, I can&amp;#39;t see anything on the terminal. If I use NRF_LOG_INFO(&amp;quot;xxxxx&amp;quot;), I can see the data displayed on the termimal. 
 Here&amp;#39;s some more information on setup: 
 
 NRF_LOG_DEFAULT_LEVEL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Feb 2020 08:57:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58342/nrf_log_hexdump_debug-not-showing-data" /><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236727?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 08:57:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1290d1d9-b7bd-4a1e-9c01-aeb428aea2f5</guid><dc:creator>tejaChintalapati</dc:creator><description>&lt;p&gt;Great!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Disabling the NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED&amp;nbsp; helped. I can now see the data on the Debug Terminal in SES.&lt;br /&gt;&lt;br /&gt;Thanks Vidar, for all the help. Appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236703?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:55:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a52fb0-b2b9-482d-b6ad-8648dfca55be</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You may try to disable the&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED option in sdk_config if you have not done it already. I did a quick test here with a 64B buffer but did not manage to replicate the issue.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-84f0e1d1d7cb4061acafce86bd01c226/pastedimage1582790098411v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236693?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fdadf0e-e0c5-44be-80d1-1e1a8b45e13a</guid><dc:creator>tejaChintalapati</dc:creator><description>&lt;p&gt;That would be nRF5_SDK_16.0.0_98a08e2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236692?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:23:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30122071-e059-4ad1-b528-77d6ae9a324d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you for the update. Could you let me know what SDK version you use? I don&amp;#39;t think I have seen this exact issue before.&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236691?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 07:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0b438d-49f8-45f7-a9d9-4d15a3422984</guid><dc:creator>tejaChintalapati</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I figured it out. SES isn&amp;#39;t showing the data on its termial while J-Link&amp;nbsp; RTT Viewer is displaying all the datacorrectly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Weird flex but okay. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61b.svg" title="Stuck out tongue"&gt;&amp;#x1f61b;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236524?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 12:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91827d66-f17a-4d70-bbe1-c641a1b52ad4</guid><dc:creator>tejaChintalapati</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for responding.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did set the level to &amp;quot;Debug&amp;quot;. However, I still can&amp;#39;t see any data on terminal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I suspect the data is being freed before the logger can display it. Can you please tell me how I can fix that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG_HEXDUMP_DEBUG not showing data</title><link>https://devzone.nordicsemi.com/thread/236518?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 12:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edc374f4-2b00-4424-bcc2-e98d35ea16a3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Debug level logs will not be displayed if the log level is set to &amp;quot;info&amp;quot;. Try to change the&amp;nbsp;&lt;span&gt;NRF_LOG_DEFAULT_LEVEL&amp;nbsp; to &amp;quot;Debug&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>