Getting JTAG hardware

A cheap and easy JTAG adapter that is supported by the JTAG tools is available here.

Note: The hardware I used is very similar to the above but not identical. I have a 74HC244 and my resistors are 68 Ohm. Someone who builds the exact circuit above please report back if it works.

Getting JTAG software

The openwince JTAG tools are available here.

Building openwince JTAG tools

The jtag-0.5.1 tarball does not build out of the box. You need to apply the small patch below. Install this patch in the 'include-0.4.2' directory that is created when you extract the openwince headers package.

patch -p0 < fixup_detectflash_proto.diff

Then you can install the headers.

./configure
make
make install

This will install the openwince headers in /usr/local/include/openwince. Now the JTAG tools should build.

Current Status

Using the JTAG tools, my adapter, and a known-good piece of hardware I have sucessfully dumped out the Device ID of an Altera part.

TODO

Get the device ID of the flash from a ATest board and fixup JTAG tools so that it will support the flash's Mfg and part number.

Attachments