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/target | |
parent | b930514e2f3e2a83e075e8c19ae0d38bbd2b27dc (diff) | |
download | openocd+libswd-6ae83f5cf8ddf505498b535cb167550a54271606.tar.gz openocd+libswd-6ae83f5cf8ddf505498b535cb167550a54271606.tar.bz2 openocd+libswd-6ae83f5cf8ddf505498b535cb167550a54271606.tar.xz openocd+libswd-6ae83f5cf8ddf505498b535cb167550a54271606.zip |
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/target')
-rw-r--r-- | src/target/embeddedice.c | 2 | ||||
-rw-r--r-- | src/target/image.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 4d76bcaf..11f2e6c2 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -506,7 +506,7 @@ int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, u32 timeout) if (hsbit == EICE_COMM_CTRL_WBIT) hsact = 1; - else if (hsbit != EICE_COMM_CTRL_RBIT) + else if (hsbit == EICE_COMM_CTRL_RBIT) hsact = 0; else return ERROR_INVALID_ARGUMENTS; diff --git a/src/target/image.h b/src/target/image.h index ec52acb4..e8f585bb 100644 --- a/src/target/image.h +++ b/src/target/image.h @@ -34,7 +34,7 @@ #define IMAGE_MAX_ERROR_STRING (256) #define IMAGE_MAX_SECTIONS (128) -#define IMAGE_MEMORY_CACHE_SIZE (1024) +#define IMAGE_MEMORY_CACHE_SIZE (2048) typedef enum image_type { |