<?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>nrf5340 logging issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69614/nrf5340-logging-issue</link><description>I want to add some logging to my nrf5340 net application and I&amp;#39;m having some troubles. 
 
 
 I have the following in my main.c: #include &amp;lt;logging/log.h&amp;gt; LOG_MODULE_REGISTER(foo, LOG_LEVEL_DBG); int main() { LOG_INF(&amp;quot;hello world&amp;quot;); } and the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Dec 2020 11:43:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69614/nrf5340-logging-issue" /><item><title>RE: nrf5340 logging issue</title><link>https://devzone.nordicsemi.com/thread/285813?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 11:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09efc828-7353-482e-baca-ff27b3ce08bf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;(Updated)&lt;/p&gt;
&lt;p&gt;I think it&amp;#39;s fixed/changed on the DK.&amp;nbsp;If you use&amp;nbsp;PDK, you might need to connect some external wires,&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/nrf/ug_nrf5340.html#getting-logging-output"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/nrf/ug_nrf5340.html#getting-logging-output&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="265" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1608291277303v1.jpeg" width="400" alt=" " /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;It is possible. Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64626/cannot-get-button-gpio-interrupt-on-net-cpu-using-nrf5340dk/264535#264535"&gt;case&lt;/a&gt;.&amp;nbsp;&lt;span&gt;For&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf5340pdk_nrf5340_cpuapp, you should run the empty_app_core sample.&amp;nbsp;On&amp;nbsp;nrf5340pdk_nrf5340_cpunet, you run your hello_world.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 logging issue</title><link>https://devzone.nordicsemi.com/thread/285775?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2020 09:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5543c50-5524-4ed7-a2c3-ff0dcdcc88fe</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is possible. Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/64626/cannot-get-button-gpio-interrupt-on-net-cpu-using-nrf5340dk/264535#264535"&gt;case&lt;/a&gt;.&amp;nbsp;&lt;span&gt;For&amp;nbsp;&lt;/span&gt;&lt;span&gt;nrf5340pdk_nrf5340_cpuapp, you should run the empty_app_core sample.&amp;nbsp;On&amp;nbsp;nrf5340pdk_nrf5340_cpunet, you run your hello_world.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 logging issue</title><link>https://devzone.nordicsemi.com/thread/285702?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 16:59:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65720912-2540-4c0c-bc99-4d596ccdda6f</guid><dc:creator>freelon</dc:creator><description>&lt;p&gt;is logging not possible in the net core? I need to develop this application for the net core so I figured I would start there&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 logging issue</title><link>https://devzone.nordicsemi.com/thread/285651?ContentTypeID=1</link><pubDate>Thu, 17 Dec 2020 13:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2077b93d-0910-46fc-bc3b-dd2b32d3cdc3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should develop an application in the application core. Please see this &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0#h769sk6kqovea15p99jn16lstat1dtpuuw"&gt;tutorial&amp;nbsp;&lt;/a&gt;to develop hello_world on nRF5340 app core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-1-ncs-v1-4-0#h769sk6kqovea15p99jn16lstat1dtpuuw"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_testing.html#how-to-use-rtt"&gt;how-to-use-rtt&lt;/a&gt;. documentation to get the logging output using Real Time Transfer (RTT), modify the configuration settings of the sample to override the default UART console:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_UART_CONSOLE=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you want to develop an application in the network core, you can refer to&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html#network-samples"&gt;network-samples&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>