On Fri, 22 Aug 2008 14:10:52 +0200, Dominic wrote:
> Commited. The patch below fixes a bug in target/target.c that causes
> errors on reads/writes that access the end of the address space
> (0xffffffff).
>
> Regards,
>
> Dominic
Yes, but this is not committed:
Index: src/flash/flash.c
===================================================================
--- src/flash/flash.c (revision 959)
+++ src/flash/flash.c (working copy)
@@ -905,7 +905,7 @@
return NULL;
}
/* check whether address belongs to this flash bank */
- if ((addr >= c->base) && (addr < c->base + c->size) && target
== c->target)
+ if ((addr >= c->base) && (addr - 1 < c->base + c->size - 1) &&
target == c->target)
return c;
}
LOG_ERROR("No flash at address 0x%08x\n", addr);
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development