<?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>nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13410/nrf52-dk-and-uart-example-on-pc</link><description>I opened, compiled, and uploaded the UART example on my nRF52-DK board using KEIL IDE. I use either CoolTerm or RealTerm on my PC. When I open the Terminal program I can see COM port 8 connected to my nRF52-DK. I followed this setup and got connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Apr 2016 19:00:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13410/nrf52-dk-and-uart-example-on-pc" /><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51174?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 19:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:423ec795-a933-4cd4-a785-25f0a94f9d85</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;Thanks Ole&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51173?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 08:37:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:581072f3-0e61-4280-a0bb-61f30863bc79</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Termite can be a little bit tricky considering HW flow control (RTS/CTS). You have to manually enable the RTS line. The full description of how to get it to work can be found in &lt;a href="https://devzone.nordicsemi.com/tutorials/4/"&gt;this&lt;/a&gt; tutorial in the &amp;quot;Setting up a terminal&amp;quot; part.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51175?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 20:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58947311-977f-4b12-9ac9-4cb53fd60ecd</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I followed the following tutorial and installed J-Link Software V4.98 and it messed up the whole thing!
&lt;a href="https://devzone.nordicsemi.com/tutorials/6/debugging-with-real-time-terminal/"&gt;Debugging with Real Time Terminal&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I should have just installed the latest version of J-Link software. That&amp;#39;s it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51172?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 17:33:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0641ed16-4725-4ea5-9a01-445a85a66b46</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I&amp;#39;m using SDK 11, so the baudrate is 115200 as Ole pointed out. For some reason Putty can&amp;#39;t even open a COM port on my PC regardless of nRF52-DK or any other device. I&amp;#39;m using Termite now with baudrate set to 115200, and tried both Hardware Flow Control as RTS/CTS and none. None of them worked! when I enter characters in Termite terminal program, the nRF52-DK can detect it, but can&amp;#39;t print out strings! printf() function is compiled without any errors or warning, but doesn&amp;#39;t do anything in a terminal application. The same applies to the following function as well: app_uart_put(cr). app_uart_put() compiles without any problem but doesn&amp;#39;t work neither. I tried to find the definition of printf() function, but I get an error message: &amp;quot;Source Browser: &amp;#39;printf&amp;#39; - undefined Definition/Reference!&amp;quot;&lt;/p&gt;
&lt;p&gt;J-Link RTT Viewer works completely fine, whether I enter characters or printing strings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51171?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 15:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:542093e6-8e26-4149-a162-acddc73d5d15</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Baudrate is actually changed to 115200 in SDK 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51167?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 15:32:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a1f1883-177a-4095-bc05-ff523aafe1b9</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You don&amp;#39;t need the SoftDevice for this example. Probably something is wrong at the other end. You will have to probe the lines (f.ex. CTS) to see if they have the correct value and the data is sent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51170?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2016 06:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff2072ff-a088-44ca-9ce7-70ee1d6f3649</guid><dc:creator>KingKarl237</dc:creator><description>&lt;p&gt;It does work with PUTTY here.
Note that in the Example the standard setting is  UART_BAUDRATE_BAUDRATE_Baud38400&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51169?ContentTypeID=1</link><pubDate>Mon, 25 Apr 2016 18:10:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e71a1cdf-3588-4c42-9daf-605c9e047dd5</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;After a lot of searching and trying different methods and debugging, I finally figured out the problem. All I had to do was to download the &lt;a href="https://www.segger.com/jlink-software.html"&gt;latest J-Link software&lt;/a&gt; and install it replacing the older version.&lt;/p&gt;
&lt;p&gt;I originally had V5.10d, and once updated to V5.12d it fixed the problem!&lt;/p&gt;
&lt;p&gt;I can use printf() without any problem anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51166?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 17:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e76a468-55d2-40a1-9a75-6aeca85b79d7</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I can see part of the code is:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; #ifndef ENABLE_LOOPBACK_TEST
    printf(&amp;quot;\n\rStart: \n\r&amp;quot;);

    while (true)
    {
        uint8_t cr;
        while(app_uart_get(&amp;amp;cr) != NRF_SUCCESS);
        while(app_uart_put(cr) != NRF_SUCCESS);

        if (cr == &amp;#39;q&amp;#39; || cr == &amp;#39;Q&amp;#39;)
        {
            printf(&amp;quot; \n\rExit!\n\r&amp;quot;);

            while (true)
            {
                // Do nothing.
            }
        }
    }
#else

    // This part of the example is just for testing the loopback .
    while (true)
    {
        uart_loopback_test();
    }
#endif
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;#39;m not using bluetooth, but do I need a softdevice on the chip as well?&lt;/p&gt;
&lt;p&gt;I started debugging, and the code is running. I used LEDs to see how far I get, and it seems the code runs as it should, but I don&amp;#39;t see the printing messages on the terminal!&lt;/p&gt;
&lt;p&gt;Any Idea?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 DK and UART Example on PC</title><link>https://devzone.nordicsemi.com/thread/51168?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 09:40:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2de25a8-8f76-4242-abd8-15f4ea5fc8d1</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The setup looks correct. The serial communication is through the same usb interface. Are you sure the code is running and calling &lt;code&gt;printf(&amp;quot;\n\rStart: \n\r&amp;quot;)&lt;/code&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>