> I think this is a very very bad idea which basically makes openocd useless > as a LPC2000 flash programmer. Very few development tools generate the > checksum (hence the checksum errors)! It would be better to: > 1) skip the checksum location on the LPC platform or > 2) always calculate the checksum in the image before checking or > 3) continue checking until there are more than 10 differences detected > (which would be more generic). If there are differences, it is usually > convenient to know if there is more than one to see if there is a pattern. > More than 10 mismatches usually means a serious error.
I've added a warning but kept the calc_checksum option so the situation is better now. I think you've got some good ideas, but I think perhaps it is good to let this problem stew a bit to see if we can't find some more permanent and clean way to handle this. -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
