Committed. dump_image was broken for 32 bit aligned addresses.
### Eclipse Workspace Patch 1.0 #P openocd Index: src/target/target.c =================================================================== --- src/target/target.c (revision 1782) +++ src/target/target.c (working copy) @@ -2133,7 +2133,7 @@ u32 size_written; u32 this_run_size = (size > 560) ? 560 : size; - retval = target->type->read_memory(target, address, 4, this_run_size / 4, buffer); + retval = target_read_buffer(target, address, this_run_size, buffer); if (retval != ERROR_OK) { break; -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development