On Tuesday 27 October 2009, Franck HERESON wrote: > > I've found a stack corruption loading an Hex file. > The Hex parser uses a fixed number of sections. > If the number of sections in the file is greater the ligne buffer get > corrupted and an CHECKSUM ERROR is detected which is very confusing. The > patch below prints a more correct message. To read my file ( > Primer2_Circle_Factory.hex) i had also to increase IMAGE_MAX_SECTIONS (491 > sections in the file).
Your patch arrived in mangled form... it's indented much more than that in current code, and also "quoted-printable" encoding doesn't play nicely with many patch tools. Can you make sure it applies against the current git version (you seem to have sent a patch against some old SVN snapshot), and resend without the mangling? Plus you should probably also just increase that constant to 512 in your patch. - Dave _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development