jtag: add jtag_flush_queue_sleep debug command

it can be useful to throttle performance: test
differences in behavior, test performance effect
of long roundtrips.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
Øyvind Harboe
2010-07-31 21:45:56 +02:00
parent 630fc86ee3
commit 803351ec59
3 changed files with 45 additions and 0 deletions

View File

@@ -311,6 +311,10 @@ int adapter_init(struct command_context* cmd_ctx);
/// Shutdown the debug adapter upon program exit.
int adapter_quit(void);
/// Set ms to sleep after jtag_execute_queue() flushes queue. Debug
/// purposes.
void jtag_set_flush_queue_sleep(int ms);
/**
* Initialize JTAG chain using only a RESET reset. If init fails,
* try reset + init.