openocd/src/flash/nor
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
..
aduc702x.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
aducm360.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
ambiqmicro.c coding style: use ARRAY_SIZE() when possible 2020-02-15 15:37:40 +00:00
at91sam3.c src/flash/nor/at91sam3|4l|7: fix clang static analyzer warnings 2020-03-07 15:28:40 +00:00
at91sam4.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
at91sam4l.c src/flash/nor/at91sam3|4l|7: fix clang static analyzer warnings 2020-03-07 15:28:40 +00:00
at91sam7.c src/flash/nor/at91sam3|4l|7: fix clang static analyzer warnings 2020-03-07 15:28:40 +00:00
at91samd.c Add support for SAMD21E17D device 2020-03-02 15:11:45 +00:00
ath79.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
atsame5.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
atsamv.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
avrf.c avrf.c: Add ATmega256RFR2 to known flash list 2020-03-24 21:34:35 +00:00
bluenrg-x.c bluenrg-x: simplyfied the driver 2020-03-07 15:31:09 +00:00
bluenrg-x.h bluenrg-x: simplyfied the driver 2020-03-07 15:31:09 +00:00
cc26xx.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
cc26xx.h flash/nor: Add support for TI CC26xx/CC13xx flash 2018-06-15 20:06:25 +01:00
cc3220sf.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
cc3220sf.h flash/nor: Add support for TI CC3220SF internal flash 2018-06-06 15:38:25 +01:00
cfi.c flash/nor/cfi: Minor code cleanups 2020-04-05 14:11:18 +01:00
cfi.h flash/nor: Export various functions from the CFI core 2020-02-06 17:15:16 +00:00
core.c flash/nor/core: adjust flash_iterate_address_range_inner() for 64-bit 2019-03-27 08:53:29 +00:00
core.h flash/nor/core: fix some minor typo 2019-08-04 09:31:38 +01:00
driver.h Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
drivers.c flash/nor: Add Renesas RPC HF driver 2020-02-06 17:15:21 +00:00
dsp5680xx_flash.c coding style: fix space around pointer's asterisk 2020-02-24 10:30:36 +00:00
efm32.c flash/nor/efm32: Chip support extension (EFM32GG12B Giant) 2020-04-13 17:53:26 +01:00
em357.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
esirisc_flash.c esirisc_flash: Rename PAGE_SIZE to FLASH_PAGE_SIZE 2019-09-18 07:05:08 +01:00
faux.c command_registration: add empty usage field to chained commands 2019-04-07 08:17:36 +01:00
fespi.c flash/fespi: Use COMMAND_PARSE_ADDRESS 2019-04-24 21:11:18 +01:00
fm3.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
fm4.c flash/nor/fm4,tms470: fix clang static analyzer warnings 2020-03-07 15:28:53 +00:00
imp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
jtagspi.c helper/binarybuffer: fix clang static analyzer warnings 2020-03-07 15:30:05 +00:00
kinetis_ke.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
kinetis.c flash/nor/kinetis: fix clang static analyzer warnings 2020-01-02 21:20:06 +00:00
lpc288x.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
lpc2000.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
lpc2900.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
lpcspifi.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
Makefile.am Flash driver for STM32G0xx and STM32G4xx 2020-03-16 15:25:10 +00:00
max32xxx.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
mdr.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
mrvlqspi.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
msp432.c flash/nor: update support for TI MSP432 devices 2020-03-07 15:32:24 +00:00
msp432.h flash/nor: update support for TI MSP432 devices 2020-03-07 15:32:24 +00:00
niietcm4.c nor/niietcm4: fix indentation 2019-05-14 19:38:00 +01:00
non_cfi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
non_cfi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nrf5.c nrf5: Refresh the watchdog while flashing 2020-04-21 16:40:35 +01:00
numicro.c flash/nor/numicro: use flash infrastructure to align write 2020-03-07 15:29:03 +00:00
ocl.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
ocl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
pic32mx.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
psoc4.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
psoc5lp.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
psoc6.c coding style: use ARRAY_SIZE() when possible 2020-02-15 15:37:40 +00:00
renesas_rpchf.c flash/nor: Add Renesas RPC HF driver 2020-02-06 17:15:21 +00:00
sh_qspi.c flash/nor/sh_qspi: Add SH QSPI driver 2020-01-22 05:50:20 +00:00
sim3x.c coding style: fix space around pointer's asterisk 2020-02-24 10:30:36 +00:00
spi.c flash/nor/spi: add adesto AT25DF081A 2018-12-19 13:16:45 +00:00
spi.h SPI table updates (some new devices and new info) 2018-11-29 08:18:24 +00:00
stellaris.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
stm32f1x.c flash/stm32f1x: fix maximum flash size for some devices 2020-04-05 14:10:47 +01:00
stm32f2x.c flash/nor/stm32f2x: Support value line chips with trimmed flash 2020-01-03 10:28:45 +00:00
stm32h7x.c flash/stm32h7x: Use proper flash regs base for bank 1 2020-04-05 14:28:17 +01:00
stm32l4x.c flash/stm32l4x: add support of STM32WB3x devices 2020-03-23 22:09:44 +00:00
stm32l4x.h Flash driver for STM32G0xx and STM32G4xx 2020-03-16 15:25:10 +00:00
stm32lx.c flash/nor/stm32lx: Minor code cleanups 2020-02-15 15:34:01 +00:00
stmsmi.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
str7x.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
str9x.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
str9xpec.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
swm050.c flash/nor: flash driver for Synwit SWM050 MCUs 2019-09-08 11:53:12 +01:00
tcl.c flash/nor: Change missing protect_check message from WARN to Info. 2020-04-05 14:09:24 +01:00
tms470.c flash/nor/fm4,tms470: fix clang static analyzer warnings 2020-03-07 15:28:53 +00:00
virtual.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
w600.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
xcf.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
xmc1xxx.c Constify struct flash_driver instances 2019-03-27 08:57:14 +00:00
xmc4xxx.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00