This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

JLinkRTTViewer is working but not the RTT terminal on Segger Embedded

Hello,

I'm porting a project from SDK14.2.0 to SDK15.3.0. Now, all is compiling, i need to figure out why my project is triggering some exception. To help me, i would like to enable the RTT logger. It was working on SDK14 but since i'm on SDK15 i cannot make it work anymore.

Here is the code i have : 

    log_init();
    SEGGER_RTT_printf(0,"-----------------------------------\r\n");
    NRF_LOG_INFO("********************************\r\n");
    NRF_LOG_INFO("******** Master started ********");
    NRF_LOG_INFO("********************************");
    SEGGER_RTT_printf(0,"-----------------------------------\r\n");

Output on segger terminal :

-----------------------------------
-----------------------------------

Output on JLINKViewer :

00> -----------------------------------
00> -----------------------------------
<00> info> app: ********************************
00> 
00> 
00> 
<00> info> app: ******** Master started ********
00> 
<00> info> app: ********************************
00> 
<00> info> app: Event: FDS_EVT_INIT received (FDS_SUCCESS)
00> 
<00> info> app: Event: FDS_EVT_GC received (FDS_SUCCESS)
00> 

If someone has some ideas about this, don't hesitate to share.

Thank you very much,

Best regards,

Aurélien

Related