openocd/src
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
..
flash flash: stm32f1x: write option bytes using the loader 2012-12-31 19:07:51 +00:00
helper helper: improve windows gdb pipe performance 2012-12-24 11:01:03 +00:00
jtag stlink: print target voltage if supported 2012-12-24 11:19:53 +00:00
pld build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
rtos rtos: rename stm32_stlink target to hla_target 2012-12-23 21:45:54 +00:00
server gdb: fix correct shutdown when using pipes 2012-12-24 11:00:52 +00:00
svf build: cleanup src/svf directory 2012-02-06 10:43:34 +00:00
target hla: add ability to configure read/write buffer size 2012-12-23 21:46:10 +00:00
transport transport: remove interface multiple transport warning 2012-03-30 15:51:37 +00:00
xsvf build: cleanup src/xsvf directory 2012-02-06 10:45:43 +00:00
hello.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
hello.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
main.c build: cleanup src/ directory 2012-02-06 10:41:23 +00:00
Makefile.am ecosboard: delete bit-rotted eCos code 2012-03-13 19:11:11 +00:00
openocd.c Revert "When calling openocd from a shell like this:" 2012-07-22 19:18:22 +00:00
openocd.h build: cleanup src/ directory 2012-02-06 10:41:23 +00:00