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

NRF5340 RTT on both cores simultaneously

Hi,

I would like to set up RTT on both net and app cores, but I haven't been able to get both running simultaneously. I'm wondering if this is even possible, and if so then what would be a good reference point to do so. I am able to run RTT on each core separately, but not together, perhaps I'm missing some crucial step

  • Hi, 

    It's not possible to get RTT on net and app cores simultaneously because the debug probe can only host one RTT session at a time.

    One workaround is to put one RTT session in shared memory so that both cores can use this one. Each core can then use a separate channel. This may require synchronization between the cores so you don't get data corruption. 

    Regards,
    Amanda 

Related