Debugging TF-M with nRF5340-DK 2.0.0

Hello,

I have just bought a nRF5340-DK. My board is labeled 2.0.0, and appears to use a 2nd nRF5340 as the debugger. I am trying to use TF-M with a Rust application. So far I have flashed TF-M with Zephyr. But I am having trouble then flashing my Rust code. I am fairly certain my memory layout, and signature are correct. In any case, I need to get log outputs from TF-M, which by default uses UART1 on the nRF5340-DK. The documentation states to "wire the default USART1 TxD and RxD (pins P0.25 and P0.26) to RxD and TxD pins on the DK", but as far as I can tell my board does not have any pins labeled RxD and TxD. In photos and board layouts of the nRF5340-DK I can see those pins, but my boards lack them. What is the expected debugging model for TF-M, now that the RxD and TxD pins have been removed? I tried to simple change the board-config to use UART0 as the output, but that yielded no output.

Related