RTT with Black Magic Probe doesn't work when using mcuboot

I'm using an nrf52840 on a custom board and send debug messages with printk to RTT. When mcuboot is added to the firmware it is no longer possible to read the messages from RTT with a black magic probe. Before this was possible. RTT itself is not broken as the messages still can be read with a JLINK device. Has anybody have had any experience with using RTT and a black magic probe and has anyone managed to get it to work while using mcuboot.

Parents Reply
  • No, the program has been working flawlessly when attaching to a J-Link probe. However I've not started the program through the J-Link probe but just opened the RTT within Visual Studio while the code was running independently. This however is not possible for the blackmagic probe as here you need to run the code manually from within the gdb interface if you want to access RTT.

Children
Related