openocd/tcl
Tomas Vanek 5a2608bbbc flash Kinetis: handle all types of watchdog, disable in reset-init
Active watchdog forces reset during armv7m_checksum_memory()
in verify_image command if run just after reset init.

COP watchdog in KL series and WDOG32 in KE1 series
have longer timeout however they need to be disabled too.

The change extends 'kinetis disable_wdog' command to optionally
probe the chip and use appropriate algorithm to disable watchdog.

Setting of cache type is also split from flash_support flags.

Tcl command 'kinetis disable_wdog' is called in reset-init event.

Change-Id: I3191e230f38b679ed74f2a97fe323ef8fb3fe22e
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3901
Tested-by: jenkins
Reviewed-by: Joakim Nohlgård <joakim.nohlgard@eistec.se>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2017-06-17 12:01:55 +01:00
..
board tcl/board: Add STMicroelectronics STM32F7 Nucleo config 2017-04-24 22:46:38 +01:00
chip Fix a typo. 2013-07-07 13:00:59 +00:00
cpld tcl/cpld: add config file for Altera 5M570Z CPLD (MAXV family) 2017-05-09 21:41:46 +01:00
cpu/arm Move TCL script files -- Step 2 of 2: 2009-05-27 06:49:24 +00:00
fpga tcl/fpga: add config file for Altera 10M50 FPGA (MAX10 family) 2016-08-14 02:05:18 +01:00
interface imx_gpio: add mmap based jtag interface for IMX processors 2017-05-31 08:16:17 +01:00
target flash Kinetis: handle all types of watchdog, disable in reset-init 2017-06-17 12:01:55 +01:00
test TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
tools tcl/board: add Linksys WAG200G config 2016-10-17 09:16:33 +01:00
bitsbytes.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
mem_helper.tcl tcl: add mrb command to mem_helper.tcl 2016-07-17 22:36:47 +01:00
memory.tcl target: add "phys" argument to mem2array, array2mem 2016-08-09 14:32:12 +01:00
mmr_helpers.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00