Hello, you can try to use the offset parameter (flash bank address):
flash write_image <image> 0x08000000 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 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development