summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-10-07 12:19:17 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-10-07 12:19:17 +0000
commit616c1548660398397b1e733a07d426be83cc76b4 (patch)
tree5a3f783a8ba062f3afbe7d998b582be16c8171b9 /src
parentb4e4532dd2af0c9e4efaf4eff236d272f2e332cb (diff)
downloadopenocd_libswd-616c1548660398397b1e733a07d426be83cc76b4.tar.gz
openocd_libswd-616c1548660398397b1e733a07d426be83cc76b4.tar.bz2
openocd_libswd-616c1548660398397b1e733a07d426be83cc76b4.tar.xz
openocd_libswd-616c1548660398397b1e733a07d426be83cc76b4.zip
add timeouts and fix syntax error handling of mrc/mcr commands.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2815 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/arm11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c
index 21dd4716..9f85bd78 100644
--- a/src/target/arm11.c
+++ b/src/target/arm11.c
@@ -1433,7 +1433,8 @@ int arm11_write_memory(struct target_s *target, uint32_t address, uint32_t size,
if (address + size * count != r0)
{
- LOG_ERROR("Data transfer failed. (%d)", (int)((r0 - address) - size * count));
+ LOG_ERROR("Data transfer failed. Expected end address 0x%08x, got 0x%08x",
+ address + size * count, r0);
if (arm11_config_memwrite_burst)
LOG_ERROR("use 'arm11 memwrite burst disable' to disable fast burst mode");