<?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>Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19365/using-nrf52dk-with-visualgdb-trying-to-get-logging-enabled</link><description>(NRF_LOG_ENABLED=1) but get lots of undefined references from e.g uart-related parts (nrf_drv_uart_init).
Any tricks to get by easily?
Börje</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Feb 2017 12:51:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19365/using-nrf52dk-with-visualgdb-trying-to-get-logging-enabled" /><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75121?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 12:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95db1cb5-280c-4121-95ea-f41b66f46c03</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Great! Now you need to adjust the RAM settings. In Keil go to &amp;quot;Options for Target..&amp;quot; to change the RAM start and size. Under &amp;quot;Read/Write Memory Areas&amp;quot; set &amp;quot;Start&amp;quot; to 0x20001fe8 and &amp;quot;Size&amp;quot; to 0xe018.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75120?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 12:45:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8471e8d9-4a15-4ac1-9d4c-e868d4864a98</guid><dc:creator>borje</dc:creator><description>&lt;p&gt;I actually got it to work on the COM9 using PuTTY.
However, the app still crashes at power_manage with the following TTY output:
SDH:INFO:sd_ble_enable: RAM START at 0x20002128
SDH:WARNING:sd_ble_enable: app_ram_base should be adjusted to 0x20001fe8
SDH:WARNING:ram size should be adjusted to 0xe018
APP:INFO:Heart rate collector example
APP_ERROR:ERROR:Fatal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75119?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 12:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e913934f-1ed2-4945-9527-b7f5ba41eeed</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Then you also need to enable the RTT logging. Make sure you have NRF_LOG_BACKEND_SERIAL_USES_RTT 1 in sdk_config.h. Remember to enable the NRF_LOG in sdk_config.h. See &lt;a href="https://devzone.nordicsemi.com/question/105110/uart-debug-logger/?answer=105129#post-id-105129"&gt;this&lt;/a&gt; answer, and &lt;a href="https://devzone.nordicsemi.com/question/107568/nrf_log_debug-doesnt-produce-output/#107582"&gt;this&lt;/a&gt; answer on how to use the configuration wizard.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75118?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 11:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45df3dca-adbd-49c1-8bc3-9ed3d0124e2e</guid><dc:creator>borje</dc:creator><description>&lt;p&gt;I&amp;#39;m using sdk 12.1.0 and ble heart rate service plain.
I think I should be able to use the SEGGER usb connection uart as it shows in windows as COM9.
Börje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75117?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 00:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d9f62f-112b-4f81-9fa1-6181a13ea51c</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;NRF_LOG_ENABLED=1 directs the NRF_LOG_xxx statements to the UART, so you need to connect a USB to Serial adaptor to whichever pins are defined to be the UART for your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF52DK with VisualGDB. Trying to get logging enabled</title><link>https://devzone.nordicsemi.com/thread/75116?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 22:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9490dff-22c7-49b1-bd75-76b98dddb729</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;What SDK version is this? Also, what examples in the SDK are you testing?
Where are you setting NRF_LOG_ENABLED=1? in sdk_config.h or as a define?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>