arm11_add_debug_scan_n() function
Select and write to Scan Chain Register (SCREG) This function sets the instruction register to SCAN_N and writes the data register with the selected chain number. http://infocenter.arm.com/help/topic/com.arm.doc.ddi0301f/Cacbjhfg.html Changes the current scan chain if needed, transitions to the specified TAP state, and leaves the IR undefined. The chain takes effect when Update-DR is passed (usually when subsequently the INTEXT/EXTEST instructions are written). \warning (Obsolete) Using this twice in a row will \em fail. The first call will end in Pause-DR. The second call, due to the IR caching, will not go through Capture-DR when shifting in the new scan chain number. As a result the verification in arm11_in_handler_scan_n() must fail. \remarks This adds to the JTAG command queue but does \em not execute it.
Arguments
arm11
Target state variable.
chain
Scan chain that will be selected.
state
Pass the final TAP state or ARM11_TAP_DEFAULT for the default value (Pause-DR).
Functions calling arm11_add_debug_scan_n()
Functions called by arm11_add_debug_scan_n()
arm11_add_debug_scan_n()
Data read by arm11_add_debug_scan_n()
Data written by arm11_add_debug_scan_n()
arm11_add_debug_scan_n()::tmp all items filtered out
arm11_add_debug_scan_n()
Type of arm11_add_debug_scan_n()
arm11_add_debug_scan_n()
uint8_t all items filtered out