<?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>NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45985/nrf_log-not-working-on-segger-embedded-studio</link><description>Greetings, 
 
 I&amp;#39;m having some trouble displaying logs to the SES Debug Terminal... Basically, I can see the logs with RTTviewer but not in SES Debug Terminal. However printf works just fine on the SES Debug Terminal 
 
 My setup: 
 OS: Windows 10 
 Board</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Dec 2020 21:43:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45985/nrf_log-not-working-on-segger-embedded-studio" /><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/287017?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2020 21:43:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfd9da85-29ba-498b-aa94-413809ec408b</guid><dc:creator>Matevz B</dc:creator><description>&lt;p&gt;Thank you @Mauricio Farina, @SEGGER - Johannes and @&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&amp;nbsp;for bringing this issue up and solving it.&lt;/p&gt;
&lt;p&gt;I hereby confirm that:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nordic RTT logging in Segger studio does not work &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;while in RTT Viewer it works and this is the case the last v17.0.2 SDK.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The fix is, as already written, set NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0 in sdk_config.h&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am repeating this as this has to be somehow brought up as the first search result in Google, and please Nordic, resolve it. I (and probably many others) have just lost several hours thinking it was my problem somewhere as it appeared while migrating from nrf5_SDK_for_Mesh_v4.0.0 to the last&amp;nbsp;nRF5_SDK_17.0.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/275426?ContentTypeID=1</link><pubDate>Fri, 16 Oct 2020 17:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbde9574-7101-4dda-a669-e94f5b81088c</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;nRF5 SDK v17.0.2 is still getting this wrong in examples:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/67308/nrf5-sdk-v17-0-2-rtt-output-does-not-work-with-specified-ses-version"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/67308/nrf5-sdk-v17-0-2-rtt-output-does-not-work-with-specified-ses-version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The fix remains to disable&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1602867855604v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;that option is under &amp;#39;nRF_Libraries&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/266170?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 09:56:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a35232ee-368a-4a08-a074-37944bf22538</guid><dc:creator>Beldramma</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;Usually my Debugger works but when I execute a function which returns a error message, i cannot see messages from NRF_LOG anymore.&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;uint32_t ble_cos_char_add(uint16_t                        service_handle,
                           ble_uuid_t                      uuid,
                           ble_cos_init_params             char_params,
                           ble_gatts_char_handles_t      * p_handles)
{
    // uuid type starts at 0x02, this is the index of the first base UUID we add. 0x03 will be the index of the second base UUID we add and etc
    // About exponent : actual value = Characteristic Value * 10^Exponent
    // About CPF description : WIKA number
    // About Namespace : SIG number or not
    if((uuid.type &amp;lt;= BLE_UUID_TYPE_UNKNOWN) || (uuid.type &amp;gt; (1 + NRF_SDH_BLE_VS_UUID_COUNT))
    || (char_params.read_access &amp;gt; SEC_SIGNED_MITM) || (char_params.read_access &amp;lt; SEC_NO_ACCESS) 
    || (char_params.write_access &amp;gt; SEC_SIGNED_MITM) || (char_params.write_access &amp;lt; SEC_NO_ACCESS) 
    || (char_params.cpf.format &amp;gt; BLE_GATT_CPF_FORMAT_STRUCT) || (char_params.cpf.format &amp;lt; BLE_GATT_CPF_FORMAT_BOOLEAN)
    || (char_params.cpf.name_space &amp;lt; BLE_GATT_CPF_NAMESPACE_DESCRIPTION_UNKNOWN) || (char_params.cpf.name_space &amp;gt; BLE_GATT_CPF_NAMESPACE_BTSIG) 
    /*|| (char_params.cpf.desc != WIKA_NUMBER)*/
    /*|| (char_params.cpf.unit &amp;lt; BLE_GATT_UNIT_UNITLESS)|| (char_params.cpf.unit &amp;gt; BLE_GATT_UNIT_CONCENTRATION_PARTS_PER_BILLION)*/)
    {
        NRF_LOG_INFO(&amp;quot;Info: Unable to add characteristic to COS Service, invalid parameter&amp;quot;);
        NRF_LOG_ERROR(&amp;quot;Error: Unable to add characteristic to COS Service, invalid parameter&amp;quot;);
        NRF_LOG_DEBUG(&amp;quot;Debug: Unable to add characteristic to COS Service, invalid parameter&amp;quot;);

        return NRF_ERROR_INVALID_PARAM;
    }

    if((char_params.len == 0) || (p_handles == NULL))
    {
        NRF_LOG_INFO(&amp;quot;Info: Unable to add characteristic to COS Service, NULL parameter&amp;quot;);
        NRF_LOG_ERROR(&amp;quot;Error: Unable to add characteristic to COS Service, NULL parameter&amp;quot;);
        NRF_LOG_DEBUG(&amp;quot;Debug: Unable to add characteristic to COS Service, NULL parameter&amp;quot;);
        return NRF_ERROR_NULL;
    }

    ble_add_char_params_t add_char_params;

    //APP_ERROR_CHECK_BOOL(char_params.p_value != NULL);
    //APP_ERROR_CHECK_BOOL(char_params.len &amp;gt; 0);

    memset(&amp;amp;add_char_params, 0, sizeof(add_char_params));

    add_char_params.uuid_type       = uuid.type;
    add_char_params.uuid            = uuid.uuid;
    add_char_params.max_len         = char_params.len;
    add_char_params.init_len        = char_params.len;

    if(char_params.p_value != NULL) add_char_params.p_init_value = char_params.p_value;
    else add_char_params.p_init_value = NULL;

    add_char_params.char_props.read = (char_params.read_access == 0) ? 0 : 1;
    add_char_params.read_access     = char_params.read_access;
    add_char_params.char_props.write = (char_params.write_access == 0) ? 0 : 1;
    add_char_params.write_access     = char_params.write_access;
    //add_char_params.p_presentation_format = &amp;amp;char_params.cpf;

    return characteristic_add(service_handle, &amp;amp;add_char_params, p_handles);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For example I have this function, and for now due to my parameters it returns&amp;nbsp;NRF_ERROR_INVALID_PARAM. Thuis error code is given to the&amp;nbsp;APP_ERROR_CHECK() MACRO. So when I have a function like that, I would like to see fastly where is the mistake, that&amp;#39;s why I have put some nrf_log.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any ideas why it doesn&amp;#39;t work ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/262683?ContentTypeID=1</link><pubDate>Sun, 02 Aug 2020 21:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ffd41b6-4e21-4acf-9a57-de2f350afe90</guid><dc:creator>Gerrikoio</dc:creator><description>&lt;p&gt;Following some beginner trial and error, I discovered that the solution (i.e. setting NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED to 0) does in fact work, but I needed to always manually connect the j-link target before going into a debug session... I think that was suggested by someone else on this post too.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT. As a novice, I also noticed that there is some &amp;quot;buffering&amp;quot; or equivalent going on as the output is not always immediate. As in, if stepping into or out of code manually in debugging mode it does not always produce an immediate output response (both on UART and Debug). So, it looks as if something is not working but when in run mode you do see the output.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/262682?ContentTypeID=1</link><pubDate>Sun, 02 Aug 2020 19:37:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e2bdfd7-65f6-4cea-a7e6-043dea530db4</guid><dc:creator>Gerrikoio</dc:creator><description>&lt;p&gt;I&amp;#39;m using a PC with Linux OS (Ubuntu 18.04).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve just installed SES Release 4.52c Build 2020051500.42136 (Linux x64).&lt;/p&gt;
&lt;p&gt;I decided to use nRF5 SDK v16.0.0 and s113 (using nRF52811 chipset).&lt;/p&gt;
&lt;p&gt;My very first example opened was &amp;quot;ble_app_uart_pca10040e...&amp;quot;&lt;/p&gt;
&lt;p&gt;Using another document for guidance, I was able to configure, build, upload and initiate a debug session without issue.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;However, I could not see the NRF_LOG_INFO output in the SES output terminal.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I searched online on the Segger Forum for any similar incidents.&lt;/p&gt;
&lt;p&gt;This is the first one I found which looked similar: &lt;a href="https://forum.segger.com/index.php/Thread/6589-SOLVED-No-RTT-Output-in-Debug-Terminal-on-MacOS/"&gt;https://forum.segger.com/index.php/Thread/6589-SOLVED-No-RTT-Output-in-Debug-Terminal-on-MacOS/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Within this feed was a link to this Nordic Forum post, claiming that there was a solution.&lt;/p&gt;
&lt;p&gt;I tried the suggested solution but it did not work ( &lt;span&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0 &lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Scrolling through the comments, it appears that this is an ongoing intermittent issue and that the solution is not 100% successful.&lt;/p&gt;
&lt;p&gt;Considering that this issue was first raised on this forum over 1 year ago, is there any official solution to this problem.&lt;/p&gt;
&lt;p&gt;As a complete novice to both SES and Nordic SDK&amp;#39;s (on my very first example), the most likely scenario in my case is that I need to change some other default settings - maybe a reboot of SES is required, by way of example. Who knows.&lt;/p&gt;
&lt;p&gt;Please could someone advise.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/246648?ContentTypeID=1</link><pubDate>Sun, 26 Apr 2020 16:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39004bac-c338-40a8-99f0-82ea94cd3a9e</guid><dc:creator>ethank</dc:creator><description>&lt;p&gt;thanks, my segger is 4.50 with the following works for me.&lt;/p&gt;
&lt;pre&gt;NRF_LOG_BACKEND_RTT_ENABLED 1&lt;br /&gt;&lt;span&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/225980?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 19:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85be7026-a5ef-465a-81d7-c865b366bdd8</guid><dc:creator>Spegs21</dc:creator><description>&lt;p&gt;Thanks! This has been a huge PITA for awhile. I got so used to it I just gave up looking for a solution. I&amp;#39;d run J-Link Control Panel, Debug Viewer, and RTT Viewer just to pick up whatever I could on each. Should have looked again sooner.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/220403?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 22:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e590221-ff4e-4ad7-90f4-b84d2171e4b8</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;Line 7543 in sdk_config.h&lt;/p&gt;
&lt;p&gt;// &amp;lt;q&amp;gt; NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.&lt;/p&gt;
&lt;p&gt;#ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED&lt;br /&gt;#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0 // Eric was 1&lt;br /&gt;#endif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/220399?ContentTypeID=1</link><pubDate>Fri, 15 Nov 2019 21:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a181e38b-a854-482b-80f5-fab19c52aa06</guid><dc:creator>Jagbir</dc:creator><description>&lt;p&gt;Eric,&lt;/p&gt;
&lt;p&gt;I am having the exact problem with the &lt;span&gt;ble_app_uart_c&amp;nbsp;&lt;/span&gt;example.Where is the &amp;quot;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED&amp;quot; re-defined in the sdk_config.h&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/218330?ContentTypeID=1</link><pubDate>Mon, 04 Nov 2019 16:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2fee21-1e3d-4599-b9af-0a492da7d80a</guid><dc:creator>jonovos</dc:creator><description>&lt;p&gt;This worked for me !!!&amp;nbsp; ~~~~ Be careful, Johannes. You have a typographical error above. The flag referenced should be for &amp;quot;FPRINTF&amp;quot;, not for &amp;quot;PRINTF&amp;quot;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I wasted an entire day last week, uninstalling, re-installing, trying two other computers, with no solution, until I *FOUND* this post!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/218022?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 18:00:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0e51193-b5d5-4c07-92bf-be48cfb54a20</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;Problem solved for SES V4.30.&amp;nbsp; Searched include files and found redefinition in sdk_config.h file.&amp;nbsp; Changed that #definition and solved problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/218019?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2019 17:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1286b0bc-f0bc-4d99-8e53-db58954b11eb</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;I am having this problem still!&amp;nbsp; The issue is intermittent.&amp;nbsp; For some reason it will work for a few days or weeks then stops working for no apparent reason.&amp;nbsp; I&amp;#39;ve followed ALL of the suggestions and settings in all of the reported cases I can find.&amp;nbsp; As it stands now, I haven&amp;#39;t been able to get any output on my Debut Terminal window for weeks.&amp;nbsp; This makes my ability to develop anything severely limited.&lt;/p&gt;
&lt;p&gt;Most recently, I tried updating my Segger SES version to 4.30 as well as rolling it back to 4.10.&amp;nbsp; Nothing works.&amp;nbsp; I get a blank window.&lt;/p&gt;
&lt;p&gt;Please advise!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/217614?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 18:04:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7fb303f-0944-4f45-bea9-fd27521f13bb</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;I&amp;#39;ve been having this same problem.&amp;nbsp; The debug terminal has been working intermittently.&amp;nbsp; But now, it hasn&amp;#39;t been working for weeks and I can&amp;#39;t get it to work again.&amp;nbsp; I&amp;#39;ve tried all the suggestions listed in all the threads, including this one, and no luck.&amp;nbsp; I am currently running:&lt;/p&gt;
&lt;p&gt;OS: Windows 10&lt;/p&gt;
&lt;p&gt;Board: NRF52-DK&lt;/p&gt;
&lt;p&gt;SDK: 15.3.0&lt;/p&gt;
&lt;p&gt;Example:&amp;nbsp;ble_app_uart_c&lt;/p&gt;
&lt;p&gt;IDE: Segger Embedded Studio 4.30 (I was running 4.18 but tried upgrading to see if it solved the problem.&amp;nbsp; It didn&amp;#39;t)&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t tried rolling back to an earlier version of SES because I haven&amp;#39;t found any info that definitively states which one should work.&lt;/p&gt;
&lt;p&gt;To be clear... The debug terminal window shows the right hand scroll bar descending down the window as if it is displaying text but the window is blank.&lt;/p&gt;
&lt;p&gt;Please advise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/213731?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 16:37:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5395662-e8ab-4f52-86b2-5435e3185e1c</guid><dc:creator>awneil</dc:creator><description>[quote userid="18223" url="~/f/nordic-q-a/45985/nrf_log-not-working-on-segger-embedded-studio/182742"]In ES (V4.16) this clears the current line and does a line break.[/quote]
&lt;p&gt;It seems this was a new feature in the Debug Viewer in SES v4.16:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/index.php/Thread/6546-Debug-Terminal-broken-v3-40-v4-22/?postID=24051#post24051"&gt;https://forum.segger.com/index.php/Thread/6546-Debug-Terminal-broken-v3-40-v4-22/?postID=24051#post24051&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So the problem didn&amp;#39;t show up when using the&amp;nbsp;&lt;span&gt;Debug Viewer in earlier SES versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See:&amp;nbsp;&lt;a href="https://forum.segger.com/index.php/Thread/6546-Debug-Terminal-broken-v3-40-v4-22/"&gt;https://forum.segger.com/index.php/Thread/6546-Debug-Terminal-broken-v3-40-v4-22/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/204357?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 18:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e160859-51cc-442b-93c9-5e30537fe3a6</guid><dc:creator>Collin</dc:creator><description>&lt;p&gt;FWIW, I have found that, in GNUARMEclipse, if I stop a debug session with RTT viewer connected, the viewer will not show messages, even if I disconnect and reconnect. I have to close and reopen RTT Viewer, then connect, if I have had RTT Viewer connected when stopping a debug session.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/204354?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 15:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d8b4aa1-3ea0-403a-9c4a-2fc0915416c4</guid><dc:creator>JWCode</dc:creator><description>&lt;p&gt;Figured it out. If I continually restart the debugger rather than simply press the play button, the debug terminal works. Thanks for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/204353?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 15:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7a02a3c-8ac1-405f-82e0-5577c3d1940c</guid><dc:creator>JWCode</dc:creator><description>&lt;p&gt;No re-definitions to my knowledge. Debug terminal appears to only work sometimes. I either get a few outputs or the screen remains blank... any ideas?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/204350?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 15:47:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f442f0-e710-4618-9326-c264517d39e7</guid><dc:creator>kirkus</dc:creator><description>&lt;p&gt;Did you double-check it&amp;#39;s not getting re-defined further down the file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/204349?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2019 15:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dd7de5f-bd50-4392-9e86-e4646aa35c6d</guid><dc:creator>JWCode</dc:creator><description>&lt;p&gt;For some reason, this hasn&amp;#39;t worked for me. Here is the start of my sdk_config.h file.&lt;/p&gt;
&lt;p&gt;#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0&lt;br /&gt;#define NRF_LOG_BACKEND_RTT_ENABLED 1&lt;br /&gt;#define NRF_LOG_BACKEND_UART_ENABLED 0&lt;br /&gt;#define NRF_LOG_ENABLED 1&lt;br /&gt;#define NRF_LOG_DEFERRED 1&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Am I forgetting something?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/183049?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2019 08:58:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e1be097-b2db-4d23-91aa-f90a03441a2b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks for the input on this Johannes!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/182906?ContentTypeID=1</link><pubDate>Sun, 21 Apr 2019 16:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c51c9d4-bd76-4fb3-a902-d85244d41c47</guid><dc:creator>jacky4566</dc:creator><description>&lt;p&gt;I just struggle with this for a while..&lt;/p&gt;
&lt;p&gt;This flag is already defined as&amp;nbsp;&lt;span&gt;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED so trying to redefine&amp;nbsp;NRF_PRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED wasn&amp;#39;t&amp;nbsp;working.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Anyway. got the RTT terminal working now. Just had to change the existing&amp;nbsp;sdk_config flag line.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/182749?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 13:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c741325f-ff38-4e28-a5cd-514a8c78c72d</guid><dc:creator>kirkus</dc:creator><description>&lt;p&gt;this fixed the issue for me, thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/182742?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 13:02:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a03136-487e-42d5-a4d6-374d9ee0c694</guid><dc:creator>SEGGER - Johannes</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is an issue in the SDK, which adds \r\r\n instead of \r\n to the output message.&lt;br /&gt;postfix_process() wants to add \r\n, but nrf_printf() also explicitly adds \r before \n without checking if it is already present.&lt;/p&gt;
&lt;p&gt;In ES (V4.16) this clears the current line and does a line break.&lt;/p&gt;
&lt;p&gt;You can work around this by adding #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0 to your sdk_config.h&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Johannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_LOG not working on Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/181804?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 09:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0b42584-e177-4710-8f9f-1407450dd03b</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can confirm that I&amp;#39;m seeing the same as you, although I&amp;#39;m not quite sure why yet.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, if you take a look at the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/index"&gt;nRF5 SDK v.15.3.0 release notes&lt;/a&gt;&amp;nbsp;you can see that the version of SES supported by this version of the SDK, is SES v.4.12.&lt;/p&gt;
&lt;p&gt;If you downgrade to the previous version of SES, you should be able to see the output in the Debug Terminal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;br /&gt;Joakim Jakobsen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>