Finished the low-level JTAG routines.