openocd/src/flash
Aurélien Martin 3c8aa12859 nrf5: Refresh the watchdog while flashing
If watchdog is enabled, there's no way we can disable it while the flashing firmware
is running. (Halt disables it, but software reset doesn't.) So let's have the flashing
firmware refresh the watchdog regularly, in case it has been enabled by previously
running software. Failure to do so could lead to a watchdog reset in the middle of
the chip bieng programmed.

Change-Id: I79d41593948aae0080480e891552e1c2ee3ccbd0
Signed-off-by: Aurélien Martin <martaurel@gmail.com>
Reviewed-on: http://openocd.zylin.com/5266
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2020-04-21 16:40:35 +01:00
..
nand flash/nand/core: fix clang static analyzer warning 2020-04-20 18:25:36 +01:00
nor nrf5: Refresh the watchdog while flashing 2020-04-21 16:40:35 +01:00
common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
common.h flash/nor: at91samd protection bits write fix 2016-12-08 12:19:19 +00:00
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
startup.tcl flash/stm32l4x: add support of STM32WLEx devices 2020-03-23 21:52:10 +00:00