Re: [Openocd-development] Flashing STM32 F2

2011-12-15 Thread Mathias K.
Hello, you can try to use the offset parameter (flash bank address): flash write_image image 0x0800 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

Re: [Openocd-development] Flashing STM32 F2

2011-12-15 Thread Laurent Charpentier
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. You can use the following command instead: monitor flash erase_sector 0 0 11 Laurent

Re: [Openocd-development] Flashing STM32 F2

2011-12-14 Thread Mathias K.
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