XO 1.75 JTAG

From OLPC
Revision as of 01:12, 9 October 2012 by Wad (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  This page is monitored by the OLPC team.

A description of the JTAG interface on XO-1.75 production models (C1,C2) and all XO-4 Touch laptop models.

Description

The JTAG interface on the Marvell Armada 610 and PXA2128 SoCs allows for complete testing of the devices as well as detailed control of program execution on any processor core. It was used during the initial bringup of XO-1.75 and XO-4 motherboards, before we had a working firmware to preload onto the OFW Flash ROM.

As all XO-1.75/XO-4 onboard Flash ROMs have an interface for in-circuit programming, JTAG has rarely been used since the initial bringup. It is still useful for deep debugging of the onboard processors, and has been brought out to pads (CN16 on XO-1.75, CN8 on XO-4) on the "top" (or inner) side of the motherboard, starting with the B1 pre-production model.

The intended connector for the motherboard is a 10 position 1.25mm Right Angle Shrouded SMD connector, such as the Molex Picoblade 53261-1071 (Digi-key WM7628CT-ND). The corresponding 10 pin plug is the Molex 51021-1000 (Digi-key WM1728-ND) which conveniently uses the same contacts as our serial adapter cables.

Additional Documentation

The following have most of the information needed to connect to the JTAG port:

Marvell USB/JTAG Adapter

In order to use the Marvell USB/JTAG adapter (Blackstone), you will need to solder the Molex Picoblade connector (chosen because it is much easier to solder than a flex cable connector) to the motherboard, and use a special cable:

400pix

This is connected to the Marvel USB/JTAG adapter as:

400pix

WARNING: The Marvell USB/JTAG adapter does not meet the USB standard. Use with cables longer than 18 inches is a chancy proposition. Use with USB cables of 18 inches or shorter seems to work fine.