<?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>Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/179/get-serial-io-from-evaluation-kit-nrf51422-via-the-segger-debug-interface</link><description>Have you also wondered how to get serial IO (UART) with nRF51422-EK via the Segger debug interface? 
 [list=1]
[ ]Plug Eval kit in the USB port.
[ ]In Windows open &amp;quot;device manager&amp;quot; and read the port number from &amp;quot;Ports (COM &amp;amp; LPT)&amp;quot; under &amp;quot;JLInk CDC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Sep 2013 11:07:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/179/get-serial-io-from-evaluation-kit-nrf51422-via-the-segger-debug-interface" /><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/998?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2013 11:07:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25e382cf-3ab0-498f-931d-6e536795ff51</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;It seems this is much the same question that you posted separately, so please see my answer there. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/997?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2013 01:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717b431f-41ff-4f38-bec8-84946e42b7c7</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;If I add a printf statement to my code (and include &amp;lt;stdio.h&amp;gt; so it compiles) it kills BLE.&lt;/p&gt;
&lt;p&gt;Can someone at NS enlighten us on the recommended ways of debugging our applications?&lt;/p&gt;
&lt;p&gt;Keil&amp;#39;s source-level debugger kind of works, but not really.  It tells me all of my variables are out of scope.&lt;/p&gt;
&lt;p&gt;If there isn&amp;#39;t a console out on this thing, then we&amp;#39;re kind of screwed.&lt;/p&gt;
&lt;p&gt;Can we get an official how-to on debugging?  Or, maybe it exists and I just missed it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/996?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2013 06:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:920769ec-09fd-416c-af0f-9873add7851b</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Ole Morten,
Concerning the user guide for this forum: The quick way is to just add a paragraph to the About menu. And perhaps rename it to &amp;quot;User Guidelines&amp;quot; - or add this as a further menu of itself in addition to documentation. The About title smells like &amp;quot;contact-information&amp;quot; stuff.
Sorry this is way off topic but I dont want to start a new topic for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/995?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2013 06:25:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34ee1b1f-5d51-42b6-b387-02250322ea5f</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Yes, making such a guide is most definitely something we&amp;#39;ll try to do, we just haven&amp;#39;t quite found out how to do it UI-wise.&lt;/p&gt;
&lt;p&gt;Anyway, I&amp;#39;ve posted the request for more documentation internally, so it can be fixed for a future release. Thanks for letting us know, and not least, thank you very much for the write-up! I see I forgot to do that in my initial reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/994?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2013 13:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e52dca6-dd77-4c91-bbe3-3f3aeaeea2c2</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Ok - got it. Maybe you should put a clarifying note about the &amp;quot;rules of the game&amp;quot; in the &amp;quot;About&amp;quot; or some place like this, or you will have to explain this more often. Just a suggestion.&lt;/p&gt;
&lt;p&gt;´For this particular case: I encourage you to update the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/993?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2013 12:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f20476e6-71a6-49ab-bc7b-fa3a02169a4c</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is a very good how-to, but since you have posted the answer as a question, it shows up as unanswered. I therefore post this answer mostly to get it out of that list, and I&amp;#39;ll also mark the discussion as resolved, without accepting an answer explicitly.&lt;/p&gt;
&lt;p&gt;For the future, it would be nice if such how-tos were posted as an answer to a question, for exmample posted by yourself or as an anonymous user, just to follow the structure a little nicer and make things easier to find again. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/992?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2013 12:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d29c7964-bd27-4ecc-97e1-9e6457fa11f9</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;Great, Could you for the records please confirm that it is with Eclipse+gcc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/991?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2013 12:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dc37208-2c6e-4321-a8ea-bddaebbd8d31</guid><dc:creator>Yalcin Akdogan</dc:creator><description>&lt;p&gt;Hi Henning,&lt;/p&gt;
&lt;p&gt;Thank you for your contribution. I added simple_uart.c to my project and included 3 header files that were also included in main.c of the same project. It did work.
Yalcin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/990?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2013 12:42:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbbad4eb-09fa-406f-9213-62f76474bcfa</guid><dc:creator>henning larsen</dc:creator><description>&lt;p&gt;I have not tested this aspect with Eclipse chain. I have installed the latest NS SDK and latest from Segger. I would think that the latter is the one which gives you the access to the serial port on the Eval kit.
In any case you should be able to see the com port in device manager. If so, then Keil or Eclipse - it is all the same. Data passes besides the debug data - at least so I guess. If you cant get this to work I recommend to get hold of a serial to USB adapter. I like those with FTDI&amp;#39;s chips on. They are very cheap and works well and finds it&amp;#39;s driver on win7 automatically and 1Mb/s is no problem. I can give you a reference where to buy. Well - you need to make a small patch cable for this to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/989?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2013 05:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23417cf2-2c77-4074-a8af-0c1802896cf6</guid><dc:creator>Yalcin Akdogan</dc:creator><description>&lt;p&gt;Additional info:
My application uses Softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Get serial IO from evaluation kit nRF51422 via the Segger debug interface</title><link>https://devzone.nordicsemi.com/thread/988?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2013 05:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e8bf6dc-6408-4d2a-a93a-fc69b470097a</guid><dc:creator>Yalcin Akdogan</dc:creator><description>&lt;p&gt;I could not manage it !&lt;br /&gt;
My development environment is Eclipse + GCC.&lt;/p&gt;
&lt;p&gt;my questions are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Which uart- support files from Nordic S. SDK are to add to the build?&lt;/li&gt;
&lt;li&gt;How to connect (printf -- putc)?&lt;/li&gt;
&lt;li&gt;Which way make more sense? Using either USB (COMx) or other GPIOs as UART output?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Yalcin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>