<?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>Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22839/debugging-data-from-nrf51822</link><description>Hello Everyone, 
 I am new to BLE world.
Currently using MDBT40 which has nrf51822 as core: www.raytac.com/.../MDBT40-ANT-D.pdf 
 I am following this repo: github.com/.../arduino-nRF5 
in which nrf51822 can be programmed using arduino IDE. Nrf is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Jun 2017 08:46:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22839/debugging-data-from-nrf51822" /><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89801?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 08:46:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a35bfbe-d201-4aa6-95f3-fb30db5f9e2f</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Great, marking the right answer and closing the question would help future readers!:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89796?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 18:30:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2fcb286-fa7e-4b45-849c-b50c0e83ed7b</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Hi endnode,&lt;/p&gt;
&lt;p&gt;I did it using following this tutorial: &lt;a href="https://devzone.nordicsemi.com/tutorials/6/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;
I included segger`s file in main.c and using RTT viewer I am able to view data printed using SEGGER_RTT_WriteString(); function.&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89800?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2017 21:23:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5f3555d-b587-4f1a-a64c-9537725ea7f1</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well there are two ways how to use or repurpose SDW &amp;quot;programming&amp;quot; PINs but I&amp;#39;m afraid none o these will be available for you (at least from your description it sounds like only SWDCLK and SWDIO are used and these are fixed, no magic with them, also as I see nRF51 PIN layout these two options are not even supported by the chip):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Using SWO which is dedicated PIN for specific debugging printout protocol defined by ARM (supported by nRF52 but not supported by nRF51 from what I see).&lt;/li&gt;
&lt;li&gt;Switching some &amp;quot;optional&amp;quot; SWD PINs such as nRESET to GPIO and configuring it as UART Tx to transport debugging messages to the host (this is nice trick on nRF52 but again nRF51 seems to have nRESET merged with SWDIO and no alternative GPIO function possible).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So if you really need some debug messaging I recommend to sacrifice some PIN from &amp;quot;motors, buzzer and others&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89797?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2017 18:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9e436da-4faa-4ef5-907f-d9a0089fbb88</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Sorry for making it confusing.
I have a custom board in which raytacs MDBT40 is the core.
All the gpios and other pins are used by motors, buzzer, and other peripheral.
The only pins left to access are swd programming pins (swdclk,swdio).
I am programming the board using jlink with swd programming.
So it is possible to use same pins (swdio,swdclk) for debugging data?
Like in arduino we connect arduino to pc uaing usb and open serial monitor to debug the data. So whether same is possible with jlink and MDBT40?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89799?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2017 13:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4db908d7-2c43-4408-8b4d-e81e79b6b1d6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Sorry but you make your question more and more confusing. Could you just tell us what you have, what you want to do, what you&amp;#39;ve tried and how/why it didn&amp;#39;t work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89798?ContentTypeID=1</link><pubDate>Sun, 18 Jun 2017 13:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce90b301-2cf1-4cd3-9df0-fd9f63fd29f7</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Thank you for the reply. However I have made a custom board and none of the pin is left to configure as tx and rx. So it is difficult to connect &amp;quot;FTDI serial to USB&amp;quot;converter to the board. Is it possible from SWD pins of the jlink?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging data from nrf51822</title><link>https://devzone.nordicsemi.com/thread/89795?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2017 19:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ef726be-b737-40e1-9b1f-743d72419bd0</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;nRF Sniffer is for radio interface, that won&amp;#39;t help with UART. If you have any mean how to connect to UART (serial) PINs on your board (e.g. popular FTDI &amp;quot;serial to USB&amp;quot; cable) then you can observe debug print outs in any terminal (e.g. PuTTY).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>