I can't test the code anytime soon, but it looks OK to me so I think you should commit it if you've run tests on it.
I would like the same padding logic added to flash erase_address to restore that functionality. Qualified by an "pad" option to round up/down to nearest sector boundary, if you prefer. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development