I'm designing a board with cortex-m4f having only SWDIO and SWCLK.
I'm drawing schematics for J-Link's 9-pin JTAG/SWD connector, and I wonder if I can leave the SWO/TDO and TDI pins floating.
J-Link's user guide says that:
Pin 6(SWO/TDO): JTAG data output from target CPU. Typically connected to TDO of the target CPU. When using SWD, this pin is used as Serial Wire Output trace port. (Optional, not required for SWD communication)
Pin 8(TDI): JTAG data input of target CPU.- It is recommended that this pin is pulled to a defined state on the target board. Typically connected to TDI of the target CPU. For CPUs which do not provide TDI (SWD-only devices), this pin is not used. J-Link will ignore the signal on this pin when using SWD.
I guess "not used" means that I can safely leave them floating, but I'd like to be sure.
Can I just ignore the pins and leave them floating on the target board?