Debugging SH4 processors is tricky because they have a non-standard extension to JTAG standard: H-UDI.
Does anybody in this thread have details about the H-UDI proprietary SH4 JTAG extensions?
Context here:
https://github.com/GlasgowEmbedded/glasgow/discussions/290