nrf52 RTT LOG

Hi

how can i display application logs after merging application and secure_bootloader

the secure_bootloader souce I used is \examples\dfu\secure_bootloader\pca10040_uart_debug\ses

but after merging application and secure_bootloader I can only see the bootloader logs,

how can i display application logs?

Parents
  • Hi,

    The problem is that the bootloader and application are completely independent, and the RTT viewer will search for an RTT block in memory and select the first (whichever it is). A simple way to work around this is to only use RTT logging in either the bootloader or application at the same time, but for a proper solution the best is probably to ensure they use the same memory block for RTT. A customer described how you can do that in this thread (exact method depends on which toolchain you are using, but the principles remain the same).

Reply
  • Hi,

    The problem is that the bootloader and application are completely independent, and the RTT viewer will search for an RTT block in memory and select the first (whichever it is). A simple way to work around this is to only use RTT logging in either the bootloader or application at the same time, but for a proper solution the best is probably to ensure they use the same memory block for RTT. A customer described how you can do that in this thread (exact method depends on which toolchain you are using, but the principles remain the same).

Children
No Data
Related