<?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>Configuring RTT for Nordic thingy 52 connected to nrf5340&amp;#39;s debug out</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71497/configuring-rtt-for-nordic-thingy-52-connected-to-nrf5340-s-debug-out</link><description>Hi, 
 I am current working with nrf connect SDK, nrf5340dk and 2 Nordic thingy 52s. I am trying to implement BLE mesh sensor client and server model on both the Thingys respectively and programming them via the nrf5340dk&amp;#39;s debug out. I wish to look at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Feb 2021 08:28:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71497/configuring-rtt-for-nordic-thingy-52-connected-to-nrf5340-s-debug-out" /><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/294095?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 08:28:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b8db2cf-af31-48a0-8df7-d9776b15a90d</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Good to hear! Glad I could help.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/294076?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 23:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ad7539-4651-4087-933a-e756ddea0771</guid><dc:creator>muditsharmaa</dc:creator><description>&lt;p&gt;Hi Carl,&lt;/p&gt;
&lt;p&gt;It works perfectly now. Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/294012?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 14:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a0fd95-e3ce-4138-97fb-ede6f12c2991</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;I suspect that the printk messages might be suppressed due to excessive logging. Could you try to remove&amp;nbsp;&lt;strong&gt;CONFIG_LOG_DEFAULT_LEVEL=4&lt;/strong&gt;&amp;nbsp;(so that DBG messages aren&amp;#39;t shown) and see if helps? That&amp;#39;s currently the only difference between my prj.conf and yours.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293947?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 11:18:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15bd44fd-a733-4850-ba02-85efb1bf708e</guid><dc:creator>muditsharmaa</dc:creator><description>&lt;p&gt;Hi Carl,&lt;/p&gt;
&lt;p&gt;I followed your suggestion and I see output on the RTT viewer but I&amp;#39;m not seeing the printk() messages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On the RTT viewer I see the following output:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/RTT_5F00_output.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Can you kindly suggest what could be causing this and how to fix this?&lt;/p&gt;
&lt;p&gt;thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293913?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 09:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d625dc7-97be-4ad0-81f4-400be95d4710</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi again!&lt;br /&gt;&lt;br /&gt;I get a build error when trying your prj.conf dure to &amp;quot;CONFIG_HAS_SEGGER_RTT=y&amp;quot;. Could you try to remove this, as well as building with a &amp;quot;Clean build folder&amp;quot; (SES) or &amp;quot;pristine&amp;quot; (command line).&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293853?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 17:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98f1f99c-03eb-4a9a-92fd-7b7fbaefec13</guid><dc:creator>muditsharmaa</dc:creator><description>&lt;p&gt;Hey,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is my proj.conf file.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
# General configuration
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_HWINFO=y
CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2
CONFIG_LOG=y
CONFIG_LOG_PRINTK=y

CONFIG_DK_LIBRARY=y
CONFIG_BT_MESH_DK_PROV=y

# Bluetooth configuration
CONFIG_BT=y
CONFIG_BT_COMPANY_ID=0x0059
CONFIG_BT_DEVICE_NAME=&amp;quot;Mesh Sensor Client&amp;quot;
CONFIG_BT_L2CAP_RX_MTU=69
CONFIG_BT_L2CAP_TX_MTU=69
CONFIG_BT_L2CAP_TX_BUF_COUNT=32
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_BT_OBSERVER=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SETTINGS=y

# Disable unused Bluetooth features
CONFIG_BT_CTLR_DUP_FILTER_LEN=0
CONFIG_BT_CTLR_LE_ENC=n
CONFIG_BT_DATA_LEN_UPDATE=n
CONFIG_BT_PHY_UPDATE=n
CONFIG_BT_CTLR_CHAN_SEL_2=n
CONFIG_BT_CTLR_MIN_USED_CHAN=n
CONFIG_BT_CTLR_PRIVACY=n

# Bluetooth Mesh configuration
CONFIG_BT_MESH=y
CONFIG_BT_MESH_RELAY=y
CONFIG_BT_MESH_FRIEND=y
CONFIG_BT_MESH_ADV_BUF_COUNT=64
CONFIG_BT_MESH_TX_SEG_MAX=32
CONFIG_BT_MESH_RX_SEG_MAX=16
CONFIG_BT_MESH_PB_GATT=y
CONFIG_BT_MESH_GATT_PROXY=y

# Bluetooth Mesh models
CONFIG_BT_MESH_SENSOR_CLI=y

CONFIG_UART_CONSOLE=n
CONFIG_HAS_SEGGER_RTT=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_STRDUP_BUF_COUNT=20
CONFIG_LOG_STRDUP_MAX_STRING=8

CONFIG_LOG_DEFAULT_LEVEL=4&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the same configuration on the RTT viewer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Mudit Sharma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293836?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 16:09:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78475071-5146-4d91-91a6-7efcd64ab792</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;I only used the following settings:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1612973326867v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Could you share your full prj.conf, so that I can see if there are any potential conflicts?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293833?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 15:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ead9b202-66fe-42d6-85ee-54af4e015ddf</guid><dc:creator>muditsharmaa</dc:creator><description>&lt;div&gt;&lt;span&gt;Hi Carl,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;thanks for the reply.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I also have the following config parameters in the prj.conf file. Still cant see the RTT output.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#&amp;nbsp;General&amp;nbsp;configuration&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH_MAP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NVS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SETTINGS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HWINFO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT_LEVEL&lt;/span&gt;&lt;span&gt;=2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;CONFIG_LOG=y&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_PRINTK&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Can you please tell me how did you setup the jlink RTT viewer? Do you need to enable/disable VCOM via the jlink configurator?&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;best regards,&lt;/div&gt;
&lt;div&gt;Mudit Sharma&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring RTT for Nordic thingy 52 connected to nrf5340's debug out</title><link>https://devzone.nordicsemi.com/thread/293831?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 15:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a689422-5681-4ed1-aaab-30f17ba04e01</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi!&lt;br /&gt;&lt;br /&gt;Could you try to add &amp;quot;CONFIG_LOG=y&amp;quot; as well? I used the following prj.conf to successfully log over RTT via the nRF5340DK OB Debugger:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Config logger
CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_RTT_CONSOLE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>