openocd/src/flash
Szymon Modzelewski b9dbf569b4 flash: stm32f1x: write option bytes using the loader
Some debuggers (stlink) can't issue 16 bit writes and have to use a
loader to write flash memory.

Currently the loader is not used for option bytes, causing
stm32x_write_options to fail silently on such hardware.

Fix this by using stm32x_write_block to write option bytes as well.

Change-Id: I49c29d53ab5e162463cb349d4c89bef96467e587
Signed-off-by: Szymon Modzelewski <szmodzelewski@gmail.com>
Reviewed-on: http://openocd.zylin.com/480
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2012-12-31 19:07:51 +00:00
..
nand build: fix memory leaks 2012-08-24 16:49:56 +00:00
nor flash: stm32f1x: write option bytes using the loader 2012-12-31 19:07:51 +00:00
ocl/at91sam7x change #include "ocl.h" to <flash/nor/ocl.h> 2009-12-03 04:24:49 -08:00
common.c build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
common.h build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
Makefile.am build: add common.mk 2010-11-18 14:05:56 +00:00
mflash.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
mflash.h build: cleanup src/flash directory 2012-02-06 10:51:49 +00:00
startup.tcl flash: add support for deprecated stm32 flash cmds 2011-07-28 12:47:49 +01:00