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

RTT logging from application started by bootloader

Hello, Is it possible to get logs (RTT) from an application started by a bootloader? As of now I don't get anything after the bootloader has jumped to the application start address.

If I run the application separately it works.

Thanks, Jacob

Parents
  • Hi Jacob,

    When I tested here (SDKv13), it seems that when we reinit the log module we will actually open another RTT channel.

    So if I open RTT client when the application running, I can only capture the RTT log from the application, even if I reset the device and the device enter the bootloader before it get to the application.

    If I open RTT client when the bootloader is running and enterred bootloader mode, then I can follow the RTT client of the bootloader.

    Do you really need RTT to be ON on the bootloader ? If you turn it off can you get RTT log on the application ?

Reply
  • Hi Jacob,

    When I tested here (SDKv13), it seems that when we reinit the log module we will actually open another RTT channel.

    So if I open RTT client when the application running, I can only capture the RTT log from the application, even if I reset the device and the device enter the bootloader before it get to the application.

    If I open RTT client when the bootloader is running and enterred bootloader mode, then I can follow the RTT client of the bootloader.

    Do you really need RTT to be ON on the bootloader ? If you turn it off can you get RTT log on the application ?

Children
Related