The JTAGulator is an open source tool to help find On-Chip Debugging (OCD) interfaces. Designed by Joe Grand of Grand Idea Studio it can be used to find JTAG ports and UART's on embedded devices.
JTAGulator connected to a Kenwood TH-D74 to determine JTAG pinout
Issue discovering JTAG lines and a work-around
Initially hooking up the JTAGulator to the Kenwood TH-D74 amateur radio the JTAG pinout was not discovered. I figured perhaps the port I identified was incorrect or there may have been components removed disabling the JTAG port. I soldered wires to a completely different device that I verified with the components datasheet had JTAG and was indeed connected to the port I was using. Again, the JTAGulator did not identify the pinout.
I started running longer scans with the JTAGulator and probing each line with my oscilloscope to see what the waveform looked like. My hunch was correct, one of the data lines did not look like the rest!
On both devices I tested the TRST line was pulled low using a 2.2k resistor per the recommendations in the manufacturers datasheet. The JTAGulator does not seem able to drive these lines hard enough to overcome this resistor value.
Top waveform is TRST line being driven by JTAGulator, notice it only drives to about 1.24V and VCC is 1.8V so needs to be closer to that.
Bottom waveform is another line being driven by JTAGulator, notice it drives to about 1.62V and VCC is 1.8V so this is acceptable.
Top waveform is TRST line being driven by JTAGulator along with a 1k resistor tied to VCC I added, notice it moves the signal up significantly so a low is 1V and high is 1.62V which is acceptable to the processor.
Here is the test setup, you can see the test clips used to add the 1k resistor near the edge of the table to the TRST line I found by looking at each data line on the oscilloscope.
Another view with the resistor at the edge of the table in focus.