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

NRF52840 experimental_bootloader_secure_usb Example, How to view log?

Hi,

I am testing with experimental_bootloader_secure_usb Example.

But I want to check the log, but I do not know how to view it.

Is there a way to see it?

For example, in the experimental_bootloader_secure_usb Example,


int main (void)
{
    uint32_t ret_val;

    ret_val = NRF_LOG_INIT (NULL);
    APP_ERROR_CHECK (ret_val);
    NRF_LOG_DEFAULT_BACKENDS_INIT ();

    leds_init ();
    buttons_init ();

    NRF_LOG_INFO ("Secure DFU USB started");
    NRF_LOG_FLUSH ();

    ret_val = nrf_bootloader_init ();
    APP_ERROR_CHECK (ret_val);

    NRF_LOG_FLUSH ();

    // Either there was no DFU functionality enabled in this project or the DFU module detected
    // no ongoing DFU operation and found a valid main application.
    // Boot the main application.
    nrf_bootloader_app_start (MAIN_APPLICATION_START_ADDR);

    // Should never be reached.
    NRF_LOG_INFO ("After main");
    NRF_LOG_FLUSH ();
}

I want to see NRF_LOG_INFO. Have any of you tested this example?

Parents Reply Children
No Data
Related