<?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>How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board</link><description>Hi, 
 we have designed the nrf52840 custom board.The programming is working correctly in the custom board using the gnd detect,vtg swdio, swd clk pins.Here the problem is the debugging message is not printed in the terminal where the debugging message</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Mar 2020 11:36:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board" /><item><title>RE: How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/thread/240619?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 11:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca2d5eed-bab6-4e67-99d4-be4f04b62711</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;It worked out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/thread/240189?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 09:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1476f542-f88f-41d6-bc9b-fcaef08386c5</guid><dc:creator>awneil</dc:creator><description>[quote userid="84025" url="~/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board/240157"]I am using&amp;nbsp;&lt;strong&gt;NRF_LOG_BACKEND_RTT_ENABLED&lt;/strong&gt;[/quote]
&lt;p&gt;Then&amp;nbsp;you need to use the Segger RTT viewer to see the output.&lt;/p&gt;
&lt;p&gt;There is a standalone RTT viewer, or you can use the one built into Segger Embedded Studio...&lt;/p&gt;
[quote userid="84025" url="~/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board/240157"]I am using &amp;quot;TERMITE&amp;quot; application to print on the display.[/quote]
&lt;p&gt;Termite is just a serial terminal - it will not work with Segger RTT !&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fcommunicate.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fcommunicate.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/RTT"&gt;https://wiki.segger.com/RTT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/"&gt;https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/thread/240157?ContentTypeID=1</link><pubDate>Tue, 17 Mar 2020 06:37:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f1b3379-a342-4eaf-928c-356a9a926c6d</guid><dc:creator>sharmelaraju</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I am using&amp;nbsp;&lt;strong&gt;NRF_LOG_BACKEND_RTT_ENABLED&lt;/strong&gt;&lt;span&gt;&amp;nbsp;to 1 to print the message on&amp;nbsp; the display but still it is not working.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i have connected the laptop &amp;lt;-&amp;gt; USB cable&amp;lt;-&amp;gt;DK board&amp;lt;-&amp;gt; SWD IO/CLK/VTG/GND&amp;lt;-&amp;gt; Custom board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;plz help me to resolve the isssues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using &amp;quot;TERMITE&amp;quot; application to print on the display.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/thread/240005?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 12:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c65432-aebb-4ba6-a0ad-df415a2f2aa4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I assume you are only connected to the computer via a DK and a debug cable. In that case, you have to make sure that you are printing debug messages using RTT and not UART. This can be changed in the sdk_config.h header file, by setting the&amp;nbsp;&lt;strong&gt;NRF_LOG_BACKEND_RTT_ENABLED&lt;/strong&gt; to 1 and the&amp;nbsp;&lt;strong&gt;NRF_LOG_BACKEND_UART_ENABLED&amp;nbsp;&lt;/strong&gt;to 0.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to print the debugging message in the  nrf52840  custom board</title><link>https://devzone.nordicsemi.com/thread/239999?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 12:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8cda69d-cc5a-42e7-a252-af5964565c00</guid><dc:creator>awneil</dc:creator><description>[quote userid="84025" url="~/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board"]the terminal[/quote]
&lt;p&gt;What terminal?&lt;/p&gt;
&lt;p&gt;are you using UART, or RTT ?&lt;/p&gt;
[quote userid="84025" url="~/f/nordic-q-a/59154/how-to-print-the-debugging-message-in-the-nrf52840-custom-board"]the debugging message is printed on the dk board.[/quote]
&lt;p&gt;So look at what&amp;#39;s different between your board, and the DK.&lt;/p&gt;
&lt;p&gt;Remember that we have no idea what your board is - so cannot help you with that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>