now autodetects idcode to be programmed from jtag chain