diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:28:56 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:28:56 +0200 |
commit | 026559068d889660ad4545ee28b6561c82c39aea (patch) | |
tree | 7e318d1698b5eac365bc512a9d0027cc70b4d11e /src/target/arm11.c | |
parent | c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac (diff) | |
parent | 2d924a59db74f12d210e26abfab629cbcfbfc014 (diff) | |
download | openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.gz openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.bz2 openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.xz openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.zip |
Merge commit 'origin/master'
Diffstat (limited to 'src/target/arm11.c')
-rw-r--r-- | src/target/arm11.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index dc465973..588ea3c2 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -1480,8 +1480,10 @@ int arm11_write_memory(struct target_s *target, uint32_t address, uint32_t size, if (address + size * count != r0) { - LOG_ERROR("Data transfer failed. Expected end address 0x%08x, got 0x%08x", - address + size * count, r0); + LOG_ERROR("Data transfer failed. Expected end " + "address 0x%08x, got 0x%08x", + (unsigned) (address + size * count), + (unsigned) r0); if (arm11_config_memwrite_burst) LOG_ERROR("use 'arm11 memwrite burst disable' to disable fast burst mode"); |