diff options
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 { |