This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to see NRF_LOG BLE SDK 12.3

I am using SEGGER Studio on MacOSx.

When use the latest mesh SDK, I can run the light_control example and see the debug log in the Debug Terminal of SEGGER Studio.

However, when I use BLE SDK 12.3, I simply cannot see the logs for ble_app_hrs.

I have set:

NRF_LOG_ENABLED 1
NRF_LOG_BACKEND_SERIAL_USES_UART 1
NRF_LOG_BACKEND_SERIAL_USES_RTT 0

I also tried to use RTT instead of UART.

I can set breakpoints and follow through the lines.

I also tried using JLinkExe, JLinkRTTClient, JLinkRTTLogger, JLinkGDBServer, but I just cannot see any debug logs.

Here is the start of the main file of the example:

/**@brief Function for application main entry.
 */
int main(void)
{
    uint32_t err_code;
    bool     erase_bonds;

    NRF_LOG_INFO("START\r\n");
    // Initialize.
    err_code = NRF_LOG_INIT(NULL);
    APP_ERROR_CHECK(err_code);

    timers_init();
    buttons_leds_init(&erase_bonds);
    ble_stack_init();
    peer_manager_init(erase_bonds);
    if (erase_bonds == true)
    {
        NRF_LOG_INFO("Bonds erased!\r\n");
    }

I am using PCA10028, nRF51, s130.

Anything to try other than this?

Related