Hey Jens, On Mon, Dec 22, 2014 at 04:58:02AM +0100, Jens Bauer wrote: > > halt > > stm32f4x unlock 0 > stm32f4x errata detected - fixing incorrect MCU_IDCODE > device id = 0x10006413 > flash size = 1024kbytes > stm32f2x unlocked. > INFO: a reset or power cycle is required for the new settings to take effect. > > mdw 0 1000
This is not a correct address, flash is mapped to 0x08000000 on stm32s. Please make sure you have an appropriate linking script too. After unlocking _and_ power-cycling you should be able to perform mass erase and flashing. HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel