On Sunday 20 September 2009, Michael Schwingen wrote: > > This relies on the lack of error checking for testing "first" > > and "last" ... better to add error checking, and then use zero > > as the magic number. > > > Hm - would'nt that trigger when trying to erase only sector 0?
Good point; Øyvind's suggestion (keyword "last") seems to be the best overall solution then. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development