TF-M Secure logging on nrf9160

NCS 2.3.0 NSIB, MCUBOOT, TF-M (experimental  NOT minimal) with secure partition and ITS

I'm currently investigating a crash in TF-M start up sequence (non-minimal / experimental).  I'm unable to use debugger since it won't allow any debug operations until main of the non-secure app is reached.  

The crash causes a continual reset, I see logs frrom NSIB and MCUBOOT but as soon as it jumps to the application and begins TF-M start up it resets.

I see there are 3 uarts + RTT in the nrf9160dk under "Connected Devices" in visual studio.   How are the 3 UARTS assigned?  Can I have secure logging on 1 UART and non-secure logging on another UART?  What is the configuration required?

Also this doc:

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.3.0/nrf/app_dev/tfm/index.html

Does not cover logging on nrf9160dk, can it be extended in the next release to discuss the logging options for both nrf5340dk and nrf9160dk.

Related