Follow up: In practice, I have a .gdbinit file that contains:
define flash monitor stellaris mass_erase 0 monitor flash write_image main.out end If I type 'flash' at the gdb prompt, I get the behavior I described (sometimes the flash seems to only get erased, not programmed). If I run the commands one at a time, however, it seems to work quite consistently. Could there be a race condition here? -Ed
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
