> >-----Oorspronkelijk bericht----- >Van: openocd-development-boun...@lists.berlios.de namens Øyvind Harboe >Verzonden: do 4/30/09 10:25 >Aan: Openocd-Dev >Onderwerp: [Openocd-development] LPC flash driver checksum weirdness > >I'm thinking that the lpc flash drivers calc_checksum should be retired. > >In it's place a warning/info should be printed with the expected >checksum so that the user can manually write a checksum >or somehow arrange the developer host PC tools to come up >with the right checksum.
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. Nico Coesel
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development