diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-09-05 06:22:37 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-09-05 06:22:37 +0000 |
commit | 6ae83f5cf8ddf505498b535cb167550a54271606 (patch) | |
tree | 521470759649a89c029a0e141d897b0428dee56e /src/jtag/bitbang.c | |
parent | b930514e2f3e2a83e075e8c19ae0d38bbd2b27dc (diff) |
Patch by Michael Schwingen that
- adds support for the Altium universal JTAG cable
- adds support for "wiggler2" cable (basically a wiggler with added LED, documentation coming soon)
- adds LED support. The LED is turned on during data transfer - works fine on Altium and wiggler2.
- adds PORT_EXIT pattern that is written to port when exiting, in order to turn off power on cables that get their power from parallel port data lines
- move port writes (with the system-specific ifdefs) to one central function
- increased image cache size to 2KB (might require more adaptive cache handling, e.g. LRU)
git-svn-id: svn://svn.berlios.de/openocd/trunk@204 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/bitbang.c')
-rw-r--r-- | src/jtag/bitbang.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jtag/bitbang.c b/src/jtag/bitbang.c index 198a741f..19afdbf0 100644 --- a/src/jtag/bitbang.c +++ b/src/jtag/bitbang.c @@ -209,6 +209,9 @@ int bitbang_execute_queue(void) */ retval = ERROR_OK; + if(bitbang_interface->blink) + bitbang_interface->blink(1); + while (cmd) { switch (cmd->type) @@ -278,6 +281,8 @@ int bitbang_execute_queue(void) } cmd = cmd->next; } + if(bitbang_interface->blink) + bitbang_interface->blink(0); return retval; } |