oops. here's the new code. old code will remain in jtagarm7tdmi.c for the time...
[goodfet] / firmware / apps / spi /
drwxr-xr-x   ..
-rw-r--r-- 7387 spi.c