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
__archive__
oharboe 2009-10-07 12:19:17 +00:00
parent b4e4532dd2
commit 616c154866
1 changed files with 2 additions and 1 deletions

View File

@ -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");