riscv-openocd/src
Tomas Vanek 3f6ab8e6a6 flash/nor/stm32f2x: fix erase on STM32F413/423
Theese devices do not have a gap in sector numbering.
The driver translates sectors numbers 12 13... to 16 17... as used on dual
bank flash devices. Therefore erase of sector 12 and above fails with error
	'stm32x device protected'
on F413/423.

Drop sector number translation for devices without has_large_mem flag.

Change-Id: I65531c0dfe02e2fd0f3d68f0615e0926e9901391
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4299
Tested-by: jenkins
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2017-12-12 21:16:24 +00:00
..
flash flash/nor/stm32f2x: fix erase on STM32F413/423 2017-12-12 21:16:24 +00:00
helper Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
jtag jtag: drivers: stlink: handle all versions with single config 2017-12-12 21:13:55 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos rtos: Use 'bool' as return type for detect_rtos() 2017-12-06 21:01:12 +00:00
server server/gdb: Use 'bool' instead of 'int' for boolean values 2017-12-06 21:01:39 +00:00
svf Fix GCC7 warnings about switch-case fallthroughs 2017-10-23 10:54:16 +01:00
target stm8 : new target 2017-12-07 07:53:13 +00:00
transport Convert to non-recursive make 2016-12-08 16:23:10 +00:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c server/server: Remove all exit() calls 2017-04-25 16:56:35 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00