JTAG Connection

JTAG Connection

This page is explain the proper way to connect the JTAG signals to a standard 10-pin connector.

 

Official Pinout

The official JTARG ARM Coresight pinout can be found here.

The pinout of the connector looks like this.

image-20260205-222719.png

You can see that the “key” pin is missing, and one some cable, it is blocked to ensure the cable will only plug in one way.

 

Pin 9

Sometimes there is confusion if pin 9 should go to ground or TRST

As can be seen by the official ARM documentation, this pin is to be connected to Ground.

However, there are some JTAG 20-pin to 10-pin adapters where pin 9 can be "abused" and connected to TRST. This is a proprietary decision by the JTAG adapter company (not ARM).

It should be noted that if you use a Segger J-Link, it expects pin 9 on the 10-pin side to be floating, and that is the way it is configured on a Segger 9-Pin Adapter board. However, if you use another non-Segger adapter board, such as a Olimex, you will see a note from Olimex saying that you must modify the adapter board to work with Segger J-Link.

 

From a technical standpoint, TRST is optional in JTAG because its functionality can be obtained by using a special sequence of TMC and TCK. The whole point of having a different pin to reset the SoC and the JTAG interface is to be able to debug right after reset. Unfortunately this is not possible today with RZ devices.

Therefore, in your schematic board design, it is perfectly fine to just pull-up the TRST# pin on the RZ device and not connect it to any external connector.

Pin 10

This pin should be connected the PRESET of the MPU. This will allow the JTAG

Remember the DEBUG_EN Pin

On some RZ device, there is a DEBUG_EN pin. This pin must be pulled high in order to use the JTAG interface. It is fine to just put a pull-up on it if you want to keep it enabled all the time.