oops. here's the new code. old code will remain in jtagarm7tdmi.c for the time...