openocd/contrib
Andreas Bolsch ba131f30a0 Flash driver for STM32G0xx and STM32G4xx
Flash module of STM32G0/G4 family is quite similar to the one of
STM32L4, so only minor changes are required, in particular
adaption of flash loader to Cortex-M0. Register addresses
passed to flash loader to simplify integration of L5.
Added re-probe after option byte load.
Added flash size override via cfg file.
WRPxxR mask now based on max. number of pages instead of fixed 0xFF,
as G4 devices fill up unused bits with '1'.
Sizes in stm32l4_probe changed to multiples of 1kB.

Tested with Nucleo-G071RB, G030J6, Nucleo-G431RB and Nucleo-G474RE.
Gap handling in G4 Cat. 3 dual bank mode tested with STM32G473RB.
This handling isn't optimal as the bank size includes the
size of the gap. WB not tested.

Change-Id: I24df7c065afeb71c11c7e96de4aa9fdb91845593
Signed-off-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-on: http://openocd.zylin.com/4807
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-03-16 15:25:10 +00:00
..
libdcc Remove FSF mailing address. 2018-07-23 14:06:23 +01:00
loaders Flash driver for STM32G0xx and STM32G4xx 2020-03-16 15:25:10 +00:00
remote_bitbang Remove FSF mailing address. 2018-07-23 14:06:23 +01:00
rpc_examples contrib/rpc_examples: Add (dis)connect methods 2020-01-02 21:21:12 +00:00
rtos-helpers rtos-helpers: fix minor typo in uC/OS-III helper 2018-09-07 08:19:29 +01:00
xsvf_tools Move xsvf_tools and remote_bitbang to contrib/ 2014-03-29 07:55:43 +00:00
60-openocd.rules stlink: add support for STLINK-V3 2018-12-06 13:06:59 +00:00
coresight-trace.txt present CM3 Trace agenda 2011-01-09 21:14:57 +01:00
cross-build.sh cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
gen-stellaris-part-header.pl flash: declare fixed arrays const 2014-02-06 22:17:51 +00:00
itmdump.c contrib/itmdump: add a hack to allow direct dumping of specific SWIT, fix timestamp 2015-04-16 20:25:30 +01:00