Hello, the commands doesn't work for me too. You can use flash erase_sector and flash write_bank.
Regards, Mathias On 15.12.2011 01:31, Damjan Marion wrote: > > Hi, > > I tried to flash STM32 F2 in the same way like i do on F1 devices and hit > some issues: > > My 1st try was with "stm32f2x mass_erase 0" but seems that there is no > subcommands registered. > > Help lists: > > stm32f2x > stm32f2x flash command group (command valid any time) > > stm32f2x.c: > > static const struct command_registration stm32x_exec_command_handlers[] = { > COMMAND_REGISTRATION_DONE > }; > > When I try to use "flash write_image erase FILE" i got: > >> flash write_image erase hello.bin > auto erase enabled > wrote 0 bytes from file hello.bin in 0.000433s (0.000 KiB/s) > > Is this expected behavior or I'm hitting some specific issue? > > Thanks, > > Damjan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development