The following example scans the JTAG data register for a 24 bit value:
scan_dr_hw_jtag 24
The following example sends a 24 bit value 0x00_0010 (LSB first) to TDI, then captures the data output, TDO, applies a mask with 0xF3_FFFF, and compares the returned TDO value against the specified value -tdo 0x81_8181
.
scan_dr_hw_jtag 24 -tdi 000010 -tdo 818181 -mask F3FFFF -smask 0