Zum Hauptinhalt springen

JTAG for ARM

Overview​

The JTAG Interface of certain embedded processors can be used to debug the firmware running and to program new software. Most Jtag Interfaces are compatible to IEEE1149.1, but there are differences in the exact pin-out and supported voltages. Using an ICnova equipped with an ARM-processor, JTAG-adaptors with 10 or 20 pins are common. Usually the JTAG-Interface is in use only, if the bootloader of a specific board must be modified or was overwritten accidentally.

10-pin JTAG-Adaptor​

Certain programmers, eg the ICprog OpenOCD, can be used directly to interface the board by a straight 10-pin cable. This programmer is compatible to the OpenOCD project. Using other programmers, the exact pinout of the interface has to be checked.

20-pin JTAG-Adaptor​

There are a lot of other programmers, which can be used to program the ARM-based ICnova modules. Most of them have a 20-pin interface. Before choosing one, it should be made sure, that the programmer can be accessed by the correct Software on the PC, eg. OpenOCD. The 20-pin connector can be adapted using the following pinning scheme:

Pinout for 20-pin JTAG-Adaptor to ICnova
Signal20 pin10 pin
Vref14
Vsupply27
TRST38
GND42,10
TDI59
GND62,10
TMS75
GND82,10
TCK91
GND102,10
RTCK11NC
GND122,10
TDO133
GND142,10
nRST156
GND162,10
NC17NC
GND182,10
NC19NC
GND202,10