Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5 SDK v17.0.2: RTT output does not work with specified SES version

After downloading nRF5 SDK v17.0.2, I checked the Release Notes - and they state SES v4.50 has "been used for testing".

So I downloaded & installed SES v4.50

The HID Keyboard example builds & works fine, but RTT logs display in the SES Debug Terminal does not work - it just shows blank lines.

This is a long-standing known issue:

https://devzone.nordicsemi.com/f/nordic-q-a/45985/nrf_log-not-working-on-segger-embedded-studio/181804#181804 - over 2 years ago!

Surely, this should have been fixed in the example by now?

As stated in that thread, the fix is to disable NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED

Parents
  • Hi Andrew

    I agree this is a well know issue that should have been picked up by now. 

    I will follow this up with the developers and try to get it patched in the next SDK release. 

    Apparently the options are to either disable the NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED flag, which might cause line break issues in some terminals, or to add code to handle the \r\r\n issue, which would add some runtime overhead. 

    I will get back to you later in the week with an update. 

    Best regards
    Torbjørn

Reply
  • Hi Andrew

    I agree this is a well know issue that should have been picked up by now. 

    I will follow this up with the developers and try to get it patched in the next SDK release. 

    Apparently the options are to either disable the NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED flag, which might cause line break issues in some terminals, or to add code to handle the \r\r\n issue, which would add some runtime overhead. 

    I will get back to you later in the week with an update. 

    Best regards
    Torbjørn

Children
Related