<?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>Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63515/getting-debug-terminal-to-work</link><description>Hi i am new to learning Nordic SDKs and I am working on adding custom commands to a BLE example using Nordic UART Service ( here ). I tried to apply this concept over to the Ble_blinky example and encountered issues with the nrf_sdh_ble_enable part. According</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jul 2020 04:28:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63515/getting-debug-terminal-to-work" /><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/259781?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 04:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c9c7aca-6c66-4c58-a51a-2c36eb67d4a9</guid><dc:creator>destiny98</dc:creator><description>&lt;p&gt;Managed to get it to print on the RTT viewer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/259099?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 08:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0622d6dd-a0cd-410b-be74-8ae464326e69</guid><dc:creator>destiny98</dc:creator><description>&lt;p&gt;I tried again and it still does not work. I also tried to add printf(&amp;quot;Hello World&amp;quot;) under the nrf_sdh_ble_enable and it was able to appear on the Debug terminal however the nrf log still does not work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/259089?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 07:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71ee0460-4591-4644-a0c7-b09bbb9e6fff</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;&lt;span&gt;Try to&amp;nbsp;&lt;/span&gt;&lt;span&gt;s&lt;/span&gt;&lt;span&gt;et&amp;nbsp;&lt;/span&gt;&lt;span&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0 in sdk_config.h?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/259067?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 04:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fda46f2-3f6b-4572-b633-d5677c31054e</guid><dc:creator>destiny98</dc:creator><description>&lt;p&gt;Hi Kenneth,&amp;nbsp;&lt;span&gt;NRF_SDH_CLOCK_LF_SRC was previously set to one. I made the changes according to your recommendations as well as vary between 0 and 1 for&amp;nbsp;#define NRF_LOG_DEFERRED. But still it could not work. I wonder why.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your help too Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/259065?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 04:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:941ba950-f5c5-4abd-9d7f-1a62ec0e7cd6</guid><dc:creator>destiny98</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2020_2D00_07_2D00_09-at-12.19.30-PM.jpeg" /&gt;&lt;/p&gt;
&lt;p&gt;Thank you Ivan for the help. I still cannot seem to get the debug terminal to show any messages despite setting the breakpoints at those areas Any idea what could be the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/258978?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 11:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6e0906-3d7c-4cef-8798-b9e64221e521</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Can you check what you have set&amp;nbsp;NRF_SDH_CLOCK_LF_SRC to in sdk_config.h?&lt;/p&gt;
&lt;p&gt;If there is no external 32kHz clock source it may be that you should use:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_SRC 0&lt;br /&gt;#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;br /&gt;&lt;/span&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;br /&gt;#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Getting debug terminal to work</title><link>https://devzone.nordicsemi.com/thread/258965?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 10:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fe4b178-2eb1-4068-b85d-cfc18675f776</guid><dc:creator>Ivan Herrera</dc:creator><description>&lt;p&gt;If you&amp;#39;re just looking for the RAM values you need to adjust, you could go into nrf_sdh_ble.c and set breakpoints&amp;nbsp;in the DEBUG messages in&amp;nbsp;nrf_sdh_ble_enable() and get the values by debugging. (Easiest way getting there is by&amp;nbsp;rightclicking on your&amp;nbsp;nrf_sdh_ble_enable function in your app and following the declaration).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1594203285266v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>