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

NRF52832 Secure UART DFU SDK 14.0 + RTT

Greetings,

One thing I've noticed is that if I enable the RTT nRF_Log messages in the bootloader, then the RTT messages that are being sent out in my application do not appear on the J-Link RTT Viewer. Meanwhile if I disable the nRF_Log feature in the bootloader (and do a full chip erase, program the soft device, program the updated bootloader), then update the application I now receive the RTT messages from the application.

Is there any trick to receiving RTT messages from both the bootloader and the application?

after looking your answer about this question , I do some change in my code(app and bootloader) as the following

static char _acUpBuffer  [BUFFER_SIZE_UP] __attribute__((at(0x20003000)));
static char _acDownBuffer[BUFFER_SIZE_DOWN]__attribute__((at(0x20003800 ))); ;
//
// Initialize SEGGER Real-time-Terminal control block (CB)
//
SEGGER_RTT_CB _SEGGER_RTT __attribute__((at(0x20003880  )));

But it can't work both the bootloader and the application

Parents
  • Hi Garen,

    After the change you applied, how did thing work ?

    What you described maybe a little bit different from what described here.

    In that case, if I don't open RTT viewer when the bootloader is running and wait until the application running, I still can see the RTT log from the application.

    Do you have this problem when you test with unmodified examples (DFU + normal SDK application) in the SDK ?

Reply
  • Hi Garen,

    After the change you applied, how did thing work ?

    What you described maybe a little bit different from what described here.

    In that case, if I don't open RTT viewer when the bootloader is running and wait until the application running, I still can see the RTT log from the application.

    Do you have this problem when you test with unmodified examples (DFU + normal SDK application) in the SDK ?

Children
No Data
Related